:root {
    --primary-green: #1a3c34;
    --accent-gold: #ff7b00;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    /* Slightly reduced padding for a cleaner look */
    transition: #ff7b00;
    background: #ff7b00;
    /* Ensure it's readable over images */
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    /* Increased slightly for better breathability */
    margin: 0 auto;
    padding: 0 4%;
    width: 100%;
}


/* Logo Styling */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.2rem;
    white-space: nowrap;
    /* Prevents logo text from breaking */
    flex-shrink: 0;
}

.logo img {
    height: 40px;
}


/* Nav Menu */

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    /* Better spacing between links */
    align-items: center;
    margin: 0 20px;
    /* Gives some breathing room from logo and button */
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
    /* CRITICAL: Prevents links from stacking on live server */
    transition: var(--transition);
}


/* Hover underline effect */

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: orange;
    /* Using gold for the highlight */
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* Button Styling */

.header-cta {
    flex-shrink: 0;
    /* Keeps the button from getting squished */
}

.btn-book {
    background: var(--primary-green);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-book:hover {
    background: transparent;
    color: var(--primary-green) !important;
}


/* Hide mobile elements on desktop */

.mobile-only,
.nav-btn,
#nav-check {
    display: none;
}


/* Mobile Responsive Logic */

@media (max-width: 1100px) {
    /* Trigger mobile menu earlier to avoid overlap */
    .nav-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }
    .nav-btn span {
        width: 25px;
        height: 2px;
        background: var(--primary-green);
        transition: var(--transition);
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        margin: 0;
        padding: 40px;
    }
    .header-cta {
        display: none;
        /* Hide main button on mobile header */
    }
    .mobile-only {
        display: block;
        /* Show the button inside the side menu instead */
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }
    #nav-check:checked~.nav-links {
        right: 0;
    }
    #nav-check:checked~.nav-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    #nav-check:checked~.nav-btn span:nth-child(2) {
        opacity: 0;
    }
    #nav-check:checked~.nav-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
