/* ===================================================
   Bonspiel Technology Ltd — Holding Page Styles
   =================================================== */

:root {
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-text-inverse: #f8fafc;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;
    --color-card-bg: #ffffff;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --max-width: 960px;
    --radius: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --transition: 0.2s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    color: var(--color-primary);
    line-height: 1.3;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus-visible {
    color: var(--color-accent-hover);
}

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Header */
.site-header {
    padding: 80px 0 24px;
    text-align: center;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-size: 32px;
    font-weight: 700;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    letter-spacing: -1px;
}

.company-name {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

.company-type {
    font-size: 1rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Image */
.hero-image {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 0 40px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    text-align: center;
}

.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--color-text-inverse);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.photo-credit {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

/* About */
.about {
    padding: 64px 0;
    background-color: var(--color-bg-alt);
}

.about h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.about p {
    max-width: 680px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about p:last-child {
    margin-bottom: 0;
}

/* Focus Areas */
.focus-areas {
    padding: 64px 0;
}

.focus-areas h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 10px;
    margin-bottom: 18px;
    color: var(--color-accent);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Contact */
.contact {
    padding: 64px 0;
    background-color: var(--color-bg-alt);
    text-align: center;
}

.contact h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.contact > .container > p {
    color: var(--color-text-light);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.contact-item:hover,
.contact-item:focus-visible {
    color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--color-accent);
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.site-footer p {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.footer-location {
    margin-top: 4px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 640px) {
    .site-header {
        padding: 48px 0 16px;
    }

    .logo-mark {
        width: 56px;
        height: 56px;
        font-size: 24px;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .hero-image,
    .hero-image img {
        max-height: 320px;
        height: 320px;
    }

    .hero-overlay {
        padding: 32px 0 28px;
    }

    .about,
    .focus-areas,
    .contact {
        padding: 48px 0;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
    }
}
