html {
    scroll-padding-top: 100px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #003B5C; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D45D5D; 
}
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

/* Hero Zoom Animation */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
.hero-zoom {
    animation: slowZoom 20s infinite alternate ease-in-out;
}

/* Wave Overlay Pattern */
.bg-wave-overlay {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z' fill='%23D4AF37' fill-opacity='0.15' fill-rule='nonzero' /%3E%3C/g%3E%3C/svg%3E");
}

/* Reveal Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Preloader Spinners */
.animate-spin-slow {
    animation: spin 3s linear infinite;
}
.animate-spin-slow-reverse {
    animation: spinReverse 4s linear infinite;
}
@keyframes spinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Text Fade for Hero */
.hero-content-fade {
    animation: fadeInUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Card Image Zoom */
.group:hover .card-img-zoom {
    transform: scale(1.05);
}
.card-border-transition {
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.hover\:border-gold-leaf:hover {
    border-color: #D4AF37;
}

/* Taste-Skill Ripple Canvas Container */
.ripple-container {
    position: relative;
    overflow: hidden;
}

/* FAQ Accordion Transitions */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease, padding 0.4s ease;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.faq-content.open {
    max-height: 1000px;
    transition: max-height 0.6s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease;
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.faq-icon {
    transition: transform 0.4s ease;
}
.faq-icon.open {
    transform: rotate(180deg);
}

/* Letter Spacing Wide for ref number */
.letter-spacing-wide {
    letter-spacing: 0.15em;
}

/* Input Styles Custom */
input:focus, textarea:focus, select:focus {
    box-shadow: none;
    outline: none;
}
