:root {
    /* Accent font variables for navigation and headings */
    --accent-font-family: 'Times New Roman', 'Georgia', serif;
    --accent-font-style: italic;
    --accent-font-weight: 600;
    --accent-text-transform: uppercase;
    --accent-letter-spacing: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    background: linear-gradient(135deg, #f4f9f4 0%, #edf4ed 100%);
    color: #0f1f0f;
    line-height: 1.6;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 8px 70px;
    background: linear-gradient(135deg, #f4f9f4 0%, #edf4ed 100%);
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    transition: background 0.1s ease-out;
}


.logo {
    height: 125px;
    width: auto;
    overflow: hidden;
    justify-self: center;
    visibility: hidden; /* Hidden from start, canvas renders it instead */
}

.logo img {
    height: 140%;
    width: auto;
    margin-top: -12.5%;
}

.menu-toggle {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: #0f1f0f;
    position: absolute;
    transition: 0.3s ease;
    border-radius: 0;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.bookings-link {
    font-size: 0.95rem;
    color: #0f1f0f;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 16px;
    /* border: 2px solid #0f1f0f;
    border-radius: 25px; */
    transition: all 0.3s ease;
    justify-self: end;
}

.bookings-link:hover {
    background-color: #0f1f0f;
    color: #f4f9f4;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(15, 31, 15, 0.2);
}

/* Hamburger Menu Styles */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 31, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-overlay.active {
    transform: translateX(0);
}

.menu-content {
    text-align: center;
    padding: 40px;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.menu-link {
    font-family: var(--accent-font-family);
    font-style: var(--accent-font-style);
    font-weight: var(--accent-font-weight);
    text-transform: var(--accent-text-transform);
    letter-spacing: var(--accent-letter-spacing);
    font-size: 2rem;
    color: #f4f9f4;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 15px 0;
}

.menu-link:hover {
    color: #4b7a4b;
    transform: translateY(-3px);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #4b7a4b;
    transition: width 0.4s ease;
    transform: translateX(-50%);
}

.menu-link:hover::after {
    width: 100%;
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.main-content {
    margin-top: 140px;
    padding: 0 70px;
}

.hero-section {
    height: 75vh;
    background: #f2f7f2;
    border-radius: 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(15, 31, 15, 0.15);
}

.hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../images/IMG_6567-2.webp') center/cover;
    animation: fadeInOut 8s ease-in-out forwards;
}

.hero-image:nth-child(2) {
    background: url('../images/IMG_3826.webp') center/cover;
    animation: fadeInOut 8s ease-in-out reverse forwards;
}

@keyframes fadeInOut {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

/* Hero section and images fade out after slideshow */
.hero-section.fade-out {
    opacity: 0 !important;
    transition: opacity 1s ease-out;
}

.hero-section.fade-out .hero-image {
    opacity: 0 !important;
    transition: opacity 1s ease-out;
    animation: none !important;
}

/* Canvas overlay for logo animation */
#logo-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1500;
    pointer-events: none;
}

#logo-canvas.scrollable {
    position: absolute;
    z-index: 1;
}

/* Header logo is hidden from start, canvas renders it instead */

.navigation {
    display: flex;
    justify-content: center;
    gap: 90px;
    margin-bottom: 100px;
}

.nav-link {
    font-family: var(--accent-font-family);
    font-style: var(--accent-font-style);
    font-weight: var(--accent-font-weight);
    text-transform: var(--accent-text-transform);
    letter-spacing: var(--accent-letter-spacing);
    font-size: 1.4rem;
    color: #0f1f0f;
    text-decoration: none;
    position: relative;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #3a6a3a;
    transform: translateY(-3px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #4b7a4b;
    transition: width 0.4s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #5a7a5a;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .header {
        padding: 8px 10px;
        grid-template-columns: auto 1fr auto;
        gap: 15px;
    }
    
    .logo {
        height: 80px;
    }
    
    .bookings-link {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .menu-link {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .menu-nav {
        gap: 20px;
    }
    
    .main-content {
        padding: 0 30px;
    }
    
    .navigation {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .hero-section {
        height: 60vh;
    }
}
