/* Primary variables for the premium warm-countryside design system */
:root {
    --bg-primary: #fcfbfa;
    --bg-secondary: #f4f1eb;
    --color-primary: #1f2c22;
    --color-secondary: #3c4f3f;
    --color-accent: #c49d68;
    --color-accent-light: #e4d7c5;
    --color-accent-dark: #a27b46;
    --color-light: #ffffff;
    --color-muted: #727f74;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(31, 44, 34, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(31, 44, 34, 0.08), 0 4px 6px -2px rgba(31, 44, 34, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(31, 44, 34, 0.1), 0 10px 10px -5px rgba(31, 44, 34, 0.04);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--color-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* Sticky Header with Glassmorphism */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(252, 251, 250, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(196, 157, 104, 0.15);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 10px 5%;
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-primary);
}

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

.header-cta {
    background: var(--color-accent);
    color: var(--color-light) !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(196, 157, 104, 0.3);
}

.header-cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(196, 157, 104, 0.4);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8%;
    background-color: var(--color-primary);
    overflow: hidden;
    margin-bottom: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(31, 44, 34, 0.85) 0%, rgba(31, 44, 34, 0.4) 100%);
    z-index: 2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    color: var(--color-light);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.15;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-main {
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-main.primary {
    background: var(--color-accent);
    color: var(--color-light);
}

.btn-main.primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 157, 104, 0.4);
}

.btn-main.outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--color-light);
}

.btn-main.outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-light);
    transform: translateY(-2px);
}

/* Sections General Layout */
section {
    padding: 100px 8%;
    position: relative;
}

.section-bg-alt {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

/* Key Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-light);
    border: 1px solid rgba(196, 157, 104, 0.1);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 157, 104, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-accent);
    background: rgba(196, 157, 104, 0.08);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--color-accent);
    color: var(--color-light);
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--color-muted);
}

/* Image Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 44, 34, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.gallery-zoom-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-zoom-icon {
    transform: scale(1);
}

/* Video Section */
.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.video-wrapper {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(196, 157, 104, 0.1);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detailed Description Split Layout */
.detail-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .detail-split {
        grid-template-columns: 1fr;
    }
}

.detail-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.detail-text p {
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.detail-specs {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--color-accent);
    padding-left: 15px;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.detail-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.detail-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.detail-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(196, 157, 104, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    max-width: 250px;
    box-shadow: var(--shadow-md);
}

.badge-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.badge-text {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Call To Action Panel */
.cta-panel {
    background: var(--color-primary);
    color: var(--color-light);
    border-radius: var(--border-radius-lg);
    padding: 70px 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(196, 157, 104, 0.15);
}

.cta-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 157, 104, 0.15) 0%, rgba(31, 44, 34, 0) 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-tag {
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.cta-contact-details {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-detail-label {
    font-size: 0.8rem;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail-value {
    font-size: 1.25rem;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-light {
    background: var(--color-light);
    color: var(--color-primary);
}

.btn-light:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-light);
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

/* Custom Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 44, 34, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--color-light);
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.lightbox-nav:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 60px 8% 30px;
    border-top: 1px solid rgba(196, 157, 104, 0.15);
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }
    
    .nav-menu {
        display: none; /* Can implement simple responsive drawer if needed */
    }
    
    .mobile-toggle {
        display: block;
        color: var(--color-primary);
    }
    
    .hero {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    section {
        padding: 70px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-panel {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-contact-details {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2rem;
    }
    
    .detail-image img {
        height: 300px;
    }
}
