/* ========= Base */
:root {
    --accent: #069b67;
    --text: #111;
    --muted: #555;
    --bg: #ffffff;
    --maxw: 1200px;
    --radius: 16px;
    --shadow: 0 8px 24px rgba(0,0,0,.08);
}

* {
    box-sizing: border-box;
}

/* Put near the top */
html {
    color-scheme: light; /* tell browsers NOT to auto-darken form controls, etc. */
    background: #fff;
}

body {
    background: #fff;
    color: #111;
}

/* If the user’s device is in dark mode, keep our site light anyway */
@media (prefers-color-scheme: dark) {
    html {
        color-scheme: light;
    }

    body {
        background: #fff;
        color: #111;
    }
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 2rem, var(--maxw));
    margin-inline: auto;
}

/* ========= Header / Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0;
}

.brand {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    font-weight: 700;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.brand-text {
    font-size: 1.05rem;
    letter-spacing: .3px;
}

.main-nav {
    display: flex;
    gap: 1rem;
}

.nav-link {
    padding: .5rem .75rem;
    border-radius: .6rem;
}

    .nav-link:hover {
        background: #f5f5f5;
    }

    .nav-link.active {
        background: var(--accent);
        color: #fff;
    }

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: .5rem;
    border-radius: .5rem;
}

    .nav-toggle:focus {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

    .nav-toggle .bar {
        display: block;
        width: 24px;
        height: 2px;
        background: #222;
        margin: 5px 0;
    }

/* ========= Hero */
.hero {
    position: relative;
    min-height: 100vh; /* full viewport height */
    background: #e9f7f3 url("assets/hero.jpg") center / cover no-repeat;
    display: grid;
    place-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Darker translucent gradient for legibility of white logo/text */
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.35) 60%, rgba(255,255,255,.85) 100%);
}

.hero-logo {
    position: relative;
    z-index: 1;
    width: 100%; /* fill the width */
    height: auto; /* keep proportions */
    max-height: 90vh; /* so it doesn't overflow vertically */
    object-fit: contain; /* keep the whole logo visible */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.15));
}


/* ========= Tagline */
.tagline {
    padding: 3rem 0 2rem;
    text-align: center;
}

    .tagline h1 {
        font-size: clamp(2rem, 5vw, 3.25rem);
        line-height: 1.12;
        margin: 0;
        letter-spacing: .5px;
        color: var(--text);
    }

/* ========= Split section */
.split {
    padding: 3rem 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.split-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.split-text h2 {
    margin: 0 0 .5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.split-text p {
    color: var(--muted);
    margin: 0 0 1rem;
}

.bullets {
    padding-left: 1rem;
    margin: 0;
}

    .bullets li {
        margin: .35rem 0;
    }

/* ========= Contact */
.contact {
    padding: 3rem 0 4rem;
    background: #f8faf9;
    border-top: 1px solid #eef2ef;
    border-bottom: 1px solid #eef2ef;
    text-align: center;
}

    .contact h2 {
        margin-top: 0;
    }

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: .85rem 1.25rem;
    border-radius: .75rem;
    transition: transform .12s ease, box-shadow .12s ease;
    box-shadow: 0 6px 16px rgba(6,155,103,.25);
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(6,155,103,.3);
    }

/* ========= Team list */
.pad-block {
    padding: 2.5rem 0 3rem;
}

.team-list {
    display: grid;
    gap: 1.5rem;
}

.team-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 1rem;
}

    .team-item img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 12px;
    }

/* ========= News */
.coming-soon {
    min-height: 60vh;
    display: grid;
    place-items: center;
    text-align: center;
}

    .coming-soon h1 {
        font-size: clamp(2rem, 8vw, 4rem);
        margin: 0;
    }

/* ========= Footer */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    color: #666;
}

/* Always two columns, just tighter on small screens */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* stays two columns */
    gap: 1.25rem;
    align-items: center;
}

/* Tighter spacing + smaller text on narrow phones so it fits */
@media (max-width: 540px) {
    .split {
        padding: 1.5rem 0;
    }

    .split-grid {
        gap: 0.75rem;
    }

    .split-text h2 {
        font-size: 1.1rem;
        margin-bottom: .25rem;
    }

    .split-text p {
        font-size: .95rem;
    }

    .bullets li {
        font-size: .95rem;
    }

    .split-media img {
        border-radius: 12px;
    }
}


@media (max-width: 800px) {
    .nav-toggle {
        display: inline-block;
    }

    .main-nav {
        display: none;
    }

        .main-nav.open {
            display: flex;
            flex-direction: column;
            position: absolute;
            right: 1rem;
            top: 56px;
            background: #fff;
            border: 1px solid #eee;
            border-radius: 12px;
            padding: .5rem;
            box-shadow: var(--shadow);
        }

    .nav-link {
        padding: .6rem .9rem;
    }
}
