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

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #faf0f8 0%, #f5e0f0 25%, #ffe69c 50%, #f5e0f0 75%, #faf0f8 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Hero Blobs ── */
.hero-blob {
    animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-1 { animation-delay: 0s; }
.hero-blob-2 { animation-delay: -3s; }
.hero-blob-3 { animation-delay: -5s; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Nav ── */
#nav {
    background: rgba(250, 240, 248, 0.8);
    backdrop-blur-lg;
    border-bottom: 1px solid rgba(219, 149, 200, 0.15);
}
#nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 30px rgba(181, 64, 142, 0.08);
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ── Hero Entrance ── */
#hero .hero-eyebrow {
    animation: fadeUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#hero h1 {
    animation: fadeUp 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#hero p {
    animation: fadeUp 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#hero .flex-col {
    animation: fadeUp 0.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#hero .mt-16 {
    animation: fadeUp 0.8s 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Menu List Items ── */
#menu ul li {
    animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#menu ul li:nth-child(1) { animation-delay: 0.1s; }
#menu ul li:nth-child(2) { animation-delay: 0.15s; }
#menu ul li:nth-child(3) { animation-delay: 0.2s; }
#menu ul li:nth-child(4) { animation-delay: 0.25s; }
#menu ul li:nth-child(5) { animation-delay: 0.3s; }
#menu ul li:nth-child(6) { animation-delay: 0.35s; }

/* ── Mobile Menu ── */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(219, 149, 200, 0.15);
    transition: color 0.2s, padding-left 0.2s;
}
.mobile-link:hover {
    color: #b5408e;
    padding-left: 0.5rem;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf0f8; }
::-webkit-scrollbar-thumb { background: #db95c8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #b5408e; }

/* ── Focus Visible ── */
*:focus-visible {
    outline: 2px solid #b5408e;
    outline-offset: 2px;
}

/* ── Selection ── */
::selection {
    background: #ebbfdf;
    color: #7f2b62;
}

/* ── Print ── */
@media print {
    #nav, #contact, footer { display: none; }
    body { background: white; }
}
