body {
    background-color: #FDFBF7;
    color: #163323;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Smooth reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Custom image masking for organic shapes */
.organic-shape {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite both alternate;
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Glassmorphism Navigation */
.glass-nav {
    background: rgba(253, 251, 247, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22, 51, 35, 0.05);
}

.hero-enter {
    animation: hero-enter 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#products .group,
#process .grid.items-center .relative.rounded-\[2rem\],
#production-gallery {
    will-change: transform;
}

#products .group {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

#products .group::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.13), transparent 38%);
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

#products .group:hover::before {
    opacity: 1;
}

#products .group a {
    position: relative;
    overflow: hidden;
}

#products .group a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transition: left 700ms ease;
}

#products .group a:hover::after {
    left: 140%;
}

#process .grid.items-center .relative.rounded-\[2rem\] {
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 700ms ease;
}

#process .grid.items-center:hover .relative.rounded-\[2rem\] {
    transform: translateY(-6px);
    box-shadow: 0 35px 70px -25px rgba(22, 51, 35, 0.22);
}

#production-gallery > div:first-child {
    box-shadow: 0 30px 70px -30px rgba(22, 51, 35, 0.28);
}

#production-gallery figure img {
    transition: transform 8s ease;
}

#production-gallery figure {
    overflow: hidden;
}

#production-gallery figure:nth-child(1) img {
    animation: gallery-breath 8s ease-in-out infinite alternate;
}

@keyframes gallery-breath {
    from { transform: scale(1); }
    to { transform: scale(1.025); }
}

/* Hide scrollbar for a cleaner look in galleries */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
