/* ==========================================================================
   Base Design System & CSS Variables
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

   :root {
       /* Color Palette: Warm, Earthy, Elegant */
       --color-primary: #8C6A53; /* Warm Wood Tone */
       --color-primary-light: #A8866E;
       --color-primary-dark: #664A38;
       --color-secondary: #D4AF37; /* Soft Gold/Ochre */
       
       /* Neutrals */
       --color-bg-light: #FDFBF7; /* Warm Cream */
       --color-bg-alt: #F4EFEA; /* Slightly darker cream for contrast */
       --color-text-main: #2C2A29; /* Deep Charcoal, softer than black */
       --color-text-muted: #595552;
       --color-white: #FFFFFF;
       
       /* Typography */
       --font-heading: 'Playfair Display', serif;
       --font-body: 'Inter', sans-serif;
       
       /* Shadows & Glassmorphism */
       --shadow-sm: 0 2px 8px rgba(44, 42, 41, 0.05);
       --shadow-md: 0 8px 24px rgba(44, 42, 41, 0.08);
       --shadow-lg: 0 16px 40px rgba(44, 42, 41, 0.12);
       --glass-bg: rgba(253, 251, 247, 0.85);
       --glass-border: 1px solid rgba(255, 255, 255, 0.5);
       
       /* Spacing */
       --space-xs: 0.5rem;
       --space-sm: 1rem;
       --space-md: 2rem;
       --space-lg: 4rem;
       --space-xl: 6rem;
       
       /* Transitions */
       --transition-fast: 0.2s ease;
       --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
       --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
   }
   
   /* ==========================================================================
      Reset & Base Styles
      ========================================================================== */
   
   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   html {
       scroll-behavior: smooth;
       font-size: 16px;
   }
   
   body {
       font-family: var(--font-body);
       color: var(--color-text-main);
       background-color: var(--color-bg-light);
       line-height: 1.6;
       overflow-x: hidden;
       -webkit-font-smoothing: antialiased;
   }
   
   h1, h2, h3, h4, h5, h6 {
       font-family: var(--font-heading);
       font-weight: 600;
       line-height: 1.2;
       color: var(--color-text-main);
       margin-bottom: var(--space-sm);
   }
   
   a {
       color: var(--color-primary);
       text-decoration: none;
       transition: color var(--transition-fast);
   }
   
   a:hover {
       color: var(--color-primary-dark);
   }
   
   img {
       max-width: 100%;
       height: auto;
       display: block;
   }
   
   /* ==========================================================================
      Layout & Utility Classes
      ========================================================================== */
   
   .container {
       width: 100%;
       max-width: 1280px;
       margin: 0 auto;
       padding: 0 var(--space-md);
   }
   
   .section {
       padding: var(--space-xl) 0;
   }
   
   .section-alt {
       background-color: var(--color-bg-alt);
   }
   
   .text-center {
       text-align: center;
   }
   
   .mb-sm { margin-bottom: var(--space-sm); }
   .mb-md { margin-bottom: var(--space-md); }
   .mb-lg { margin-bottom: var(--space-lg); }
   
   /* ==========================================================================
      Components
      ========================================================================== */
   
   /* Header / Navigation */
   .site-header {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       z-index: 1000;
       background: var(--glass-bg);
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       border-bottom: var(--glass-border);
       transition: padding var(--transition-normal), box-shadow var(--transition-normal);
       padding: 0.8rem 0;
   }
   
   .site-header.scrolled {
       padding: 0.4rem 0;
       box-shadow: var(--shadow-sm);
   }
   
   .nav-container {
       display: flex;
       justify-content: space-between;
       align-items: center;
   }
   
    .logo {
        display: flex;
        align-items: center;
        gap: 15px;
        text-decoration: none;
    }
    
    .header-logo {
        height: 55px;
        width: auto;
        mix-blend-mode: multiply;
        transition: height var(--transition-normal);
        display: block;
    }
    
    .logo-text {
        font-family: var(--font-heading);
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--color-primary);
        letter-spacing: 0.5px;
        transition: font-size var(--transition-normal);
        white-space: nowrap;
    }
    
    .site-header.scrolled .header-logo {
        height: 40px;
    }

    .site-header.scrolled .logo-text {
        font-size: 1.1rem;
    }
    
    @media (max-width: 768px) {
        .logo {
            gap: 8px;
        }

        .header-logo {
            height: 45px;
        }

        .logo-text {
            font-size: 1.1rem;
        }
        
        .site-header.scrolled .header-logo {
            height: 35px;
        }

        .site-header.scrolled .logo-text {
            font-size: 1rem;
        }
    }
   
   .nav-links {
       display: flex;
       gap: var(--space-md);
       list-style: none;
   }
   
   .nav-links a {
       font-weight: 500;
       color: var(--color-text-muted);
       position: relative;
   }
   
   .nav-links a::after {
       content: '';
       position: absolute;
       bottom: -4px;
       left: 0;
       width: 0;
       height: 2px;
       background-color: var(--color-primary);
       transition: width var(--transition-normal);
   }
   
   .nav-links a:hover {
       color: var(--color-text-main);
   }
   
   .nav-links a:hover::after {
       width: 100%;
   }
   
   /* Mobile Menu Button */
   .mobile-menu-btn {
       display: none;
       background: none;
       border: none;
       font-size: 1.5rem;
       color: var(--color-text-main);
       cursor: pointer;
   }
   
   /* Buttons */
   .btn {
       display: inline-block;
       padding: 0.8rem 2rem;
       border-radius: 4px;
       font-weight: 500;
       text-align: center;
       cursor: pointer;
       transition: all var(--transition-normal);
       font-family: var(--font-body);
       border: none;
   }
   
   .btn-primary {
       background-color: var(--color-primary);
       color: var(--color-white);
       box-shadow: var(--shadow-sm);
   }
   
   .btn-primary:hover {
       background-color: var(--color-primary-dark);
       color: var(--color-white);
       transform: translateY(-2px);
       box-shadow: var(--shadow-md);
   }
   
   .btn-outline {
       background-color: transparent;
       color: var(--color-primary);
       border: 2px solid var(--color-primary);
   }
   
   .btn-outline:hover {
       background-color: var(--color-primary);
       color: var(--color-white);
   }
   
   /* Hero Section */
   .hero {
       min-height: 100vh;
       display: flex;
       align-items: center;
       justify-content: center;
       text-align: center;
       padding-top: 80px; /* Offset for fixed header */
       position: relative;
       overflow: hidden;
   }
   
   .hero::before {
       content: '';
       position: absolute;
       top: -50%;
       left: -50%;
       width: 200%;
       height: 200%;
       background: radial-gradient(circle at center, rgba(140, 106, 83, 0.08) 0%, transparent 60%);
       z-index: -1;
   }
   
   .hero-content {
       max-width: 800px;
       animation: fadeUp 1s ease forwards;
       opacity: 0;
   }
   
   .hero h1 {
       font-size: 4rem;
       margin-bottom: var(--space-md);
       color: var(--color-text-main);
   }
   
   .hero p {
       font-size: 1.25rem;
       color: var(--color-text-muted);
       margin-bottom: var(--space-lg);
       max-width: 600px;
       margin-inline: auto;
   }
   
   .hero-buttons {
       display: flex;
       gap: var(--space-sm);
       justify-content: center;
   }
   
   /* Gallery Section */
   .gallery-filter {
       display: flex;
       justify-content: center;
       flex-wrap: wrap;
       gap: var(--space-sm);
       margin-bottom: var(--space-lg);
   }
   
   .filter-btn {
       background: none;
       border: 1px solid var(--color-text-muted);
       color: var(--color-text-muted);
       padding: 0.5rem 1.5rem;
       border-radius: 30px;
       cursor: pointer;
       transition: all var(--transition-fast);
       font-family: var(--font-body);
   }
   
   .filter-btn.active, .filter-btn:hover {
       background-color: var(--color-primary);
       color: var(--color-white);
       border-color: var(--color-primary);
   }
   
   .gallery-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
       gap: var(--space-md);
   }
   
   .gallery-item {
       position: relative;
       border-radius: 8px;
       overflow: hidden;
       box-shadow: var(--shadow-sm);
       cursor: pointer;
       background-color: var(--color-white);
       aspect-ratio: 4/3;
   }
   
   .gallery-item img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       transition: transform var(--transition-slow);
   }
   
   .gallery-item:hover img {
       transform: scale(1.05);
   }
   
   .gallery-overlay {
       position: absolute;
       inset: 0;
       background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
       display: flex;
       flex-direction: column;
       justify-content: flex-end;
       padding: var(--space-md);
       opacity: 0;
       transition: opacity var(--transition-normal);
       pointer-events: none;
   }
   
   .gallery-item:hover .gallery-overlay {
       opacity: 1;
   }
   
   .gallery-overlay h3 {
       color: var(--color-white);
       margin-bottom: 0.25rem;
       transform: translateY(20px);
       transition: transform var(--transition-normal);
   }
   
   .gallery-overlay p {
       color: rgba(255, 255, 255, 0.8);
       font-size: 0.9rem;
       transform: translateY(20px);
       transition: transform var(--transition-normal);
       transition-delay: 0.05s;
   }
   
   .gallery-item:hover .gallery-overlay h3,
   .gallery-item:hover .gallery-overlay p {
       transform: translateY(0);
   }
   
   /* About Section */
   .about-grid {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: var(--space-lg);
       align-items: center;
   }
   
   .about-image {
       border-radius: 12px;
       box-shadow: var(--shadow-lg);
       position: relative;
   }
   
   .about-image::after {
       content: '';
       position: absolute;
       inset: -20px;
       border: 2px solid var(--color-primary-light);
       border-radius: 12px;
       z-index: -1;
       transform: translate(10px, 10px);
   }
   
   .about-content h2 {
       font-size: 2.5rem;
       margin-bottom: var(--space-md);
   }
   
   .about-content p {
       font-size: 1.1rem;
       color: var(--color-text-muted);
       margin-bottom: var(--space-sm);
   }
   
   /* Contact / CTA Section */
   .cta-section {
       background-color: var(--color-primary-dark);
       color: var(--color-white);
       padding: var(--space-xl) var(--space-md);
       border-radius: 12px;
       margin: var(--space-xl) auto;
       max-width: 1000px;
       box-shadow: var(--shadow-lg);
       position: relative;
       overflow: hidden;
   }
   
   .cta-section::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
       opacity: 0.5;
       z-index: 1;
   }
   
   .cta-content {
       position: relative;
       z-index: 2;
       text-align: center;
   }
   
   .cta-section h2 {
       color: var(--color-white);
       font-size: 2.5rem;
   }
   
   .cta-section p {
       font-size: 1.1rem;
       margin-bottom: var(--space-lg);
       opacity: 0.9;
   }
   
   .contact-wrapper {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: var(--space-md);
       align-items: start;
       background: rgba(255, 255, 255, 0.1);
       padding: var(--space-md);
       border-radius: 8px;
       border: 1px solid rgba(255, 255, 255, 0.2);
       text-align: left;
   }

   .contact-info {
       display: flex;
       flex-direction: column;
       justify-content: center;
       height: 100%;
   }

   .contact-form {
       display: flex;
       flex-direction: column;
       gap: 1rem;
   }

   .form-group input,
   .form-group textarea {
       width: 100%;
       padding: 0.8rem 1rem;
       border: 1px solid rgba(255, 255, 255, 0.3);
       border-radius: 4px;
       background: rgba(255, 255, 255, 0.05);
       color: var(--color-white);
       font-family: var(--font-body);
       transition: all var(--transition-fast);
   }

   .form-group input::placeholder,
   .form-group textarea::placeholder {
       color: rgba(255, 255, 255, 0.6);
   }

   .form-group input:focus,
   .form-group textarea:focus {
       outline: none;
       border-color: var(--color-white);
       background: rgba(255, 255, 255, 0.1);
   }

   .btn-submit {
       background-color: var(--color-white);
       color: var(--color-primary-dark);
       width: 100%;
       font-weight: 600;
   }

   .btn-submit:hover {
       background-color: var(--color-bg-alt);
       color: var(--color-primary-dark);
   }
   
   .cta-section .btn-outline {
       border-color: var(--color-white);
       color: var(--color-white);
   }
   
   .cta-section .btn-outline:hover {
       background-color: var(--color-white);
       color: var(--color-primary-dark);
   }
   
   /* Footer */
   .site-footer {
       background-color: var(--color-text-main);
       color: var(--color-white);
       padding: var(--space-lg) 0 var(--space-md);
       text-align: center;
   }
   
   .footer-info {
       margin-bottom: var(--space-md);
   }
   
   .footer-info h3 {
       color: var(--color-white);
       font-size: 1.5rem;
   }
   
   .footer-info p {
       color: rgba(255, 255, 255, 0.7);
   }
   
   .copyright {
       border-top: 1px solid rgba(255, 255, 255, 0.1);
       padding-top: var(--space-md);
       color: rgba(255, 255, 255, 0.5);
       font-size: 0.9rem;
   }
   
   /* FAQ Section */
   .faq-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
       gap: var(--space-md);
   }

   .faq-item {
       background-color: var(--color-white);
       padding: var(--space-md);
       border-radius: 8px;
       box-shadow: var(--shadow-sm);
       border-left: 4px solid var(--color-primary);
       transition: transform var(--transition-fast), box-shadow var(--transition-fast);
   }

   .faq-item:hover {
       transform: translateY(-2px);
       box-shadow: var(--shadow-md);
   }

   .faq-item h3 {
       font-size: 1.25rem;
       margin-bottom: var(--space-xs);
       color: var(--color-primary-dark);
   }

   .faq-item p {
       color: var(--color-text-muted);
       font-size: 0.95rem;
   }

   /* ==========================================================================
      Animations
      ========================================================================== */
   
   @keyframes fadeUp {
       0% {
           opacity: 0;
           transform: translateY(30px);
       }
       100% {
           opacity: 1;
           transform: translateY(0);
       }
   }
   
   .animate-on-scroll {
       opacity: 0;
       transform: translateY(30px);
       transition: opacity 0.8s ease, transform 0.8s ease;
   }
   
   .animate-on-scroll.is-visible {
       opacity: 1;
       transform: translateY(0);
   }
   
   /* ==========================================================================
      Media Queries
      ========================================================================== */
   
   @media (max-width: 992px) {
       .about-grid {
           grid-template-columns: 1fr;
       }
       
       .hero h1 {
           font-size: 3rem;
       }
   }
   
   @media (max-width: 768px) {
       :root {
           --space-xl: 4rem;
           --space-lg: 3rem;
       }
       
       .nav-links {
           display: none; /* Hide on mobile initially, JS will handle toggle */
           position: absolute;
           top: 100%;
           left: 0;
           width: 100%;
           background: var(--color-white);
           flex-direction: column;
           padding: var(--space-md);
           box-shadow: var(--shadow-md);
           text-align: center;
       }
       
       .nav-links.active {
           display: flex;
       }
       
       .mobile-menu-btn {
           display: block;
       }
       
       .hero h1 {
           font-size: 2.5rem;
       }
       
       .hero-buttons {
           flex-direction: column;
       }
       
       .gallery-grid {
           grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
       }
   }

   /* ==========================================================================
      Custom Lightbox
      ========================================================================== */
   
   .custom-lightbox {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background-color: rgba(0, 0, 0, 0.9);
       z-index: 2000;
       display: flex;
       justify-content: center;
       align-items: center;
       opacity: 0;
       visibility: hidden;
       transition: opacity var(--transition-normal), visibility var(--transition-normal);
       backdrop-filter: blur(5px);
       -webkit-backdrop-filter: blur(5px);
   }
   
   .custom-lightbox.active {
       opacity: 1;
       visibility: visible;
   }
   
   .custom-lightbox img {
       max-width: 90%;
       max-height: 90vh;
       object-fit: contain;
       border-radius: 4px;
       box-shadow: var(--shadow-lg);
       transform: scale(0.9);
       transition: transform var(--transition-normal);
   }
   
   .custom-lightbox.active img {
       transform: scale(1);
   }
   
   .custom-lightbox-close {
       position: absolute;
       top: 20px;
       right: 30px;
       color: var(--color-white);
       font-size: 3rem;
       font-weight: 300;
       cursor: pointer;
       background: none;
       border: none;
       padding: 10px;
       line-height: 1;
       transition: color var(--transition-fast), transform var(--transition-fast);
       z-index: 2001;
   }
   
   .custom-lightbox-close:hover {
       color: var(--color-secondary);
       transform: scale(1.1);
   }

   .custom-lightbox-prev,
   .custom-lightbox-next {
       position: absolute;
       top: 50%;
       transform: translateY(-50%);
       color: var(--color-white);
       font-size: 3rem;
       font-weight: 300;
       cursor: pointer;
       background: rgba(0, 0, 0, 0.3);
       border: none;
       padding: 15px 20px;
       line-height: 1;
       transition: background var(--transition-fast), color var(--transition-fast);
       z-index: 2001;
       border-radius: 4px;
   }
   
   .custom-lightbox-prev {
       left: 20px;
   }
   
   .custom-lightbox-next {
       right: 20px;
   }
   
   .custom-lightbox-prev:hover,
   .custom-lightbox-next:hover {
       background: rgba(0, 0, 0, 0.8);
       color: var(--color-secondary);
   }
   
   .custom-lightbox-loader {
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       width: 40px;
       height: 40px;
       border: 3px solid rgba(255, 255, 255, 0.3);
       border-radius: 50%;
       border-top-color: var(--color-white);
       animation: spin 1s ease-in-out infinite;
       z-index: -1;
   }
   
   @keyframes spin {
       to { transform: translate(-50%, -50%) rotate(360deg); }
   }
