/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* ── Navbar ── */
.navbar {
    background: rgba(253, 244, 250, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(107, 33, 85, 0.08);
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(107, 33, 85, 0.1);
}

/* ── Mobile Menu ── */
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #521841 0%, #6B2155 25%, #9A3A68 50%, #B84D80 75%, #7A2D52 100%);
}

/* ── Hero Pattern ── */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(253, 244, 250, 0.05) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, rgba(253, 244, 250, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ── Nav Links ── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FBBF24;
    border-radius: 1px;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Links ── */
.mobile-link {
    position: relative;
}

/* ── Service Cards ── */
.service-card {
    perspective: 1000px;
}

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Animation Keyframes ── */
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-blob-1 { animation: float 8s ease-in-out infinite; }
.hero-blob-2 { animation: float 10s ease-in-out infinite reverse; }
.hero-blob-3 { animation: float 6s ease-in-out infinite; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDF4FA; }
::-webkit-scrollbar-thumb { background: #D472A8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #B84D80; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    .hero-blob { display: none; }
}
