/* Navbar Styles - Unified */

/* Variables */
:root {
    --primary-teal: #1a5c61;
    --light-teal: #4db6ac;
    --gold-accent: #d4af37;
    --white: #ffffff;
}

/* Navbar Container */
.navbar {
    position: absolute;
    /* Overlay on hero */
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    /* Default transparent */
    font-family: 'Inter', sans-serif;
}

.container,
.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Nav Links (Desktop) */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    color: var(--primary-teal);
}

/* On dark pages or transparent overlay, we might need white text. 
   For now, strictly following style.css of primary teal. 
   If contrast is low on some heroes, we might need a modifier class. */

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--gold-accent);
}

/* Login Button */
.btn-nav.outline {
    border: 2px solid var(--primary-teal);
    padding: 8px 20px;
    border-radius: 25px;
    color: var(--primary-teal);
    transition: all 0.3s;
}

.btn-nav.outline:hover {
    background-color: var(--primary-teal);
    color: var(--white);
}

/* Menu Toggle (Desktop Hidden) */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-teal);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        /* layout flow for mobile */
        background-color: var(--primary-teal);
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
        /* adjustments for mobile logo if needed */
        filter: brightness(0) invert(1);
        /* make logo white if transparent image allows, or keep original */
    }

    /* Since the logo image is likely colored, filter might be needed or just keep bg white. 
       Let's keep text white on mobile teal bg. */

    .menu-toggle {
        display: block;
        color: var(--white);
        margin-right: 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-teal);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 15px 0;
        width: 100%;
    }

    .nav-links li a {
        color: var(--white) !important;
        font-size: 1.2rem;
        display: block;
        width: 100%;
    }

    .btn-nav.outline {
        border-color: var(--white);
        color: var(--white);
        display: inline-block;
        width: auto;
    }

    .btn-nav.outline:hover {
        background-color: var(--white);
        color: var(--primary-teal);
    }
}