/* ==========================================================================
   CSS Variables & Base Styles
   ========================================================================== */
:root {
    /* Colors */
    --clr-primary: #1a3c34;     /* Deep Forest Green */
    --clr-secondary: #a67c52;   /* Earthy Wood Tone */
    --clr-accent: #c49a6c;      /* Lighter Wood Tone */
    --clr-light: #fafafa;       /* Warm White */
    --clr-gray: #f4f4f2;        /* Soft Stone Grey */
    --clr-dark: #121212;        /* Off Black */
    --clr-text: #333333;        /* Main Text Color */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0 0 1rem 0;
    color: var(--clr-primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 5rem 0;
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.bg-light { background-color: var(--clr-gray); }
.bg-dark { background-color: var(--clr-primary); }
.text-light { color: var(--clr-light); }
.text-light h2, .text-light h3 { color: var(--clr-light); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--clr-secondary);
    color: var(--clr-light);
    border: 2px solid var(--clr-secondary);
}

.btn-primary:hover {
    background-color: var(--clr-accent);
    border-color: var(--clr-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(166, 124, 82, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-light);
    border: 2px solid var(--clr-light);
}

.btn-secondary:hover {
    background-color: var(--clr-light);
    color: var(--clr-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: all var(--transition-fast);
    background: rgba(26, 60, 52, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-light);
}

.logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--clr-light);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: width var(--transition-fast);
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-light);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--clr-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    padding: 0;
}

.lang-btn.active, .lang-btn:hover {
    opacity: 1;
    font-weight: 600;
}

.divider {
    opacity: 0.4;
    font-size: 0.8rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section (Parallax)
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: translateZ(0); /* Hardware acceleration */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 60, 52, 0.4), rgba(18, 18, 18, 0.6));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
    z-index: 1;
    color: var(--clr-light);
}

.hero h1 {
    color: var(--clr-light);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--clr-light);
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--clr-secondary);
}

.text-light .section-title::after {
    background-color: var(--clr-light);
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Cottages Section (Masonry)
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 1.5rem;
}

.gallery-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--clr-primary);
    text-align: center;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 1rem;
}

/* Make some items span differently for masonry look */
.masonry-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.masonry-item:nth-child(4) { grid-column: span 2; }

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.masonry-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 60, 52, 0);
    transition: background var(--transition-fast);
    z-index: 1;
}

.masonry-item:hover img {
    transform: scale(1.08);
}

.masonry-item:hover::before {
    background: rgba(26, 60, 52, 0.2);
}

.interior-grid .masonry-item:nth-child(1) { grid-row: span 1; grid-column: span 2; }
.interior-grid .masonry-item:nth-child(2) { grid-row: span 1; grid-column: span 2; }

@media (min-width: 768px) {
    .interior-grid .masonry-item { grid-column: span 1 !important; }
}

/* ==========================================================================
   Dining Section
   ========================================================================== */
.dining-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dining-images {
    position: relative;
    height: 500px;
}

.dining-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 2;
}

.dining-img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1;
}

.amenities-list {
    margin-top: 2rem;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #444;
}

.amenities-list i {
    font-size: 1.5rem;
    color: var(--clr-secondary);
}

/* ==========================================================================
   Activities Section
   ========================================================================== */
.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.activities-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #111;
    color: #fff;
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--clr-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.contact-link:hover {
    color: var(--clr-secondary);
}

.contact-link i {
    color: var(--clr-secondary);
    font-size: 1.2rem;
}

.contact-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.contact-text i {
    color: var(--clr-secondary);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--clr-light);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--clr-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    transform: translateX(-30px);
}
.fade-right {
    transform: translateX(30px);
}
.fade-left.active, .fade-right.active {
    transform: translateX(0);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .dining-split, .activities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dining-images {
        height: 400px;
        order: -1;
    }
    
    .activities-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--clr-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-fast);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1000;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .masonry-item:nth-child(1),
    .masonry-item:nth-child(4) {
        grid-column: span 1;
    }
}
