/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   ANIMATION KEYFRAMES & UTILITIES
   ========================================= */

/* Fade In Up Animation (Scroll Reveal) */
.opacity-0-forced {
    opacity: 0 !important;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in-view {
    opacity: 1 !important;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }
.delay-700 { transition-delay: 700ms; }
.delay-800 { transition-delay: 800ms; }
.delay-900 { transition-delay: 900ms; }
.delay-1000 { transition-delay: 1000ms; }

/* Hero Background Animation (Existing + Parallax) */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-in-out infinite alternate;
    will-change: transform;
    /* Base style for parallax JS to hook into if needed, otherwise CSS animation runs */
}

/* Utility */
.hero-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}

/* =========================================
   UI COMPONENT ANIMATIONS
   ========================================= */

/* 1. Header & Navbar */
header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Nav Link Hover Underline */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #FDB813;
    transition: width 0.3s ease-in-out;
}

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

/* 2. Buttons */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-hover-effect:active {
    transform: translateY(0);
    transform: scale(0.98);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.3);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Pulse Animation (Calls/WhatsApp) */
@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 0 0 0 rgba(253, 184, 19, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(253, 184, 19, 0); }
}

.animate-pulse-soft {
    animation: pulse-soft 2s infinite;
}

/* 3. Cards */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(253, 184, 19, 0.3); /* Brand yellow hint */
}

/* 4. Images */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom-hover {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.group:hover .img-zoom-hover {
    transform: scale(1.08);
}

/* 5. Social Icons */
.social-icon-hover {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.social-icon-hover:hover {
    transform: scale(1.1) translateY(-2px);
}

/* 6. FAQ Accordion */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: slideDown 0.3s ease-in-out;
}
@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}