  * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { 
            font-family: 'Source Sans 3', sans-serif; 
            background-color: #f5f0e8; 
            overflow-x: hidden;
            color: #1a1a1a;
        }
        h1, h2, h3, h4, h5, h6 { font-family: 'Cormorant Garamond', serif; }

        /* Navigation */
        .nav-link {
            position: relative;
            color: #fff;
            font-weight: 500;
            transition: color 0.3s ease;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: #c9a227;
            transition: width 0.3s ease;
        }
        .nav-link:hover { color: #c9a227; }
        .nav-link:hover::after { width: 100%; }
        
        .nav-scrolled {
            background: rgba(13, 40, 24, 0.98) !important;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
        }

        /* Buttons */
        .btn-primary {
            background: linear-gradient(135deg, #c9a227 0%, #b8922a 100%);
            color: #0d2818;
            font-weight: 600;
            padding: 12px 28px;
            border-radius: 4px;
            transition: all 0.3s ease;
            display: inline-block;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
        }
        
        .btn-secondary {
            border: 2px solid #c9a227;
            color: #c9a227;
            font-weight: 600;
            padding: 10px 24px;
            border-radius: 4px;
            transition: all 0.3s ease;
            background: transparent;
            display: inline-block;
        }
        .btn-secondary:hover {
            background: #c9a227;
            color: #0d2818;
        }

        /* Mobile menu */
        .mobile-menu {
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .mobile-menu.active { transform: translateX(0); }

        /* Scroll Animations */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .delay-100 { transition-delay: 100ms; }
        .delay-200 { transition-delay: 200ms; }
        .delay-300 { transition-delay: 300ms; }

        /* Gallery Grid */
        .gallery-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.25rem;
            grid-auto-rows: 280px;
            grid-auto-flow: dense;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 0.75rem;
            cursor: pointer;
            background: #e5e5e5; /* Light grey background while loading */
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px -12px rgba(26, 77, 46, 0.25);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            opacity: 0; /* Hidden initially */
        }
        
        /* Class added when image is loaded */
        .gallery-item img.loaded {
            opacity: 1;
        }

        .gallery-item:hover img {
            transform: scale(1.08);
        }

        .gallery-item.tall { grid-row: span 2; }
        .gallery-item.wide { grid-column: span 2; }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(13, 40, 24, 0.85) 0%, transparent 60%);
            opacity: 0;
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.25rem;
            z-index: 2;
        }

        .gallery-item:hover .gallery-overlay { opacity: 1; }

        .gallery-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 50px;
            height: 50px;
            background: rgba(201, 162, 39, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.25rem;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 3;
        }

        .gallery-item:hover .gallery-icon {
            transform: translate(-50%, -50%) scale(1);
        }

        /* Lightbox */
        .lightbox {
            position: fixed;
            inset: 0;
            background: rgba(13, 40, 24, 0.95);
            backdrop-filter: blur(10px);
            z-index: 9999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .lightbox.active {
            display: flex;
            opacity: 1;
        }

        .lightbox-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .lightbox-img {
            max-width: 90%;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            transform: scale(0.9);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .lightbox.active .lightbox-img { transform: scale(1); }

        .lightbox-caption {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            color: white;
            max-width: 600px;
        }

        .lightbox-close, .lightbox-nav {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(201, 162, 39, 0.5);
            border-radius: 50%;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-close {
            top: 1.5rem;
            right: 1.5rem;
            width: 45px;
            height: 45px;
            font-size: 1.25rem;
            z-index: 10;
        }

        .lightbox-close:hover, .lightbox-nav:hover {
            background: #c9a227;
            border-color: #c9a227;
        }

        .lightbox-close:hover { transform: rotate(90deg); }

        .lightbox-nav {
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            font-size: 1.25rem;
            z-index: 10;
        }

        .lightbox-prev { left: 1.5rem; }
        .lightbox-next { right: 1.5rem; }

        /* Category Tabs */
        .category-tab {
            position: relative;
            transition: all 0.3s ease;
            cursor: pointer;
            color: #666;
            border-bottom: 2px solid transparent;
        }
        .category-tab.active {
            color: #1a4d2e;
            font-weight: 600;
            border-bottom-color: #c9a227;
        }
        .category-tab:hover {
            color: #1a4d2e;
        }

        /* Focus states */
        a:focus-visible, button:focus-visible {
            outline: 2px solid #c9a227;
            outline-offset: 4px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .gallery-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.75rem;
                grid-auto-rows: 180px;
            }
            .gallery-item.wide { grid-column: span 2; }
            .gallery-item.tall { grid-row: span 2; }
            .lightbox-nav {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            .lightbox-prev { left: 0.75rem; }
            .lightbox-next { right: 0.75rem; }
        }

        /* Reduced motion */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }
