/* ============================================================
   DESIGN TOKENS — unified with all other pages
   ============================================================ */
:root {
    --color-teal:        #043841;
    --color-teal-dark:   #022b32;
    --color-teal-border: #0c454f;
    --color-coral:       #DB5442;
    --color-coral-dark:  #9B3A2D;
    --color-white:       #ffffff;

    --navbar-height:     64px;
    --transition-base:   0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   NAVBAR CONTAINER
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: var(--color-teal);
    

    /* Frosted glass depth — matches the scroll CTA button style */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;

    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    z-index: 1000;

    /* Subtle bottom border accent */
    border-bottom: 1.5px solid rgba(219, 84, 66, 0.25);
}

/* ============================================================
   LOGO
   ============================================================ */
.logo {
    display: flex;
    align-items: center;
    width: 30%;
    padding-left: 1%;
    flex-shrink: 0;
}

.logo img {
    max-height: 42px;
    max-width: 100%;
    object-fit: contain;
    transition: opacity var(--transition-base);
}

.logo img:hover {
    opacity: 0.85;
}

/* ============================================================
   BUTTONS CONTAINER
   ============================================================ */
.container {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.buttons {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    gap: 6px;
}

/* ============================================================
   INDIVIDUAL NAV BUTTONS
   ============================================================ */
.buttons div {
    flex: 1;
    text-align: center;
    height: 38px;
    border-radius: 100px;       /* Full pill shape — matches contact submit btn */
    overflow: hidden;
    transition:
        background-color var(--transition-base),
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.buttons div:hover {
    transform: translateY(-1px);
}

/* ---- Active (current page) ---- */
.buttons .active {
    background-color: var(--color-coral);
    border: 1.5px solid var(--color-coral-dark);
    border-radius: 100px;
    box-shadow: 0 2px 10px rgba(219, 84, 66, 0.35);
}

.buttons .active:hover {
    background-color: var(--color-coral-dark);
    box-shadow: 0 4px 16px rgba(219, 84, 66, 0.5);
}

/* ---- Inactive ---- */
.buttons .inactive {
    background-color: transparent;
    border: 1.5px solid var(--color-teal-border);
    border-radius: 100px;
}

.buttons .inactive:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   LINKS & HEADINGS INSIDE BUTTONS
   ============================================================ */
.buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 10px;
    text-decoration: none;
    color: inherit;
}

.buttons h1 {
    margin: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(0.72rem, 1.5vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-white);
    white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 321px) {
    .navbar {
        height: 56px;
    }
}

@media (max-width: 392px) {
    .container {
        width: 65%;
    }

    .buttons h1 {
        font-size: 0.68rem;
        letter-spacing: 0.02em;
    }
}

@media (min-width: 500px) {
    .logo { width: 25%; }
}

@media (min-width: 600px) {
    .logo { width: 20%; }
}

@media (min-width: 700px) {
    .logo { width: 15%; }
}

@media (min-width: 1000px) {
    .logo {
        width: auto;
        height: 100%;
    }

    .buttons {
        max-width: 70%;
    }

    .buttons div {
        height: 40px;
    }
}