/* ── 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 Blobs ── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}
.blob-1 {
    width: 500px;
    height: 500px;
    background: #f8c4ce;
    top: -100px;
    right: -100px;
    animation: blobFloat 8s ease-in-out infinite;
}
.blob-2 {
    width: 350px;
    height: 350px;
    background: #f9d8ce;
    bottom: 10%;
    left: -50px;
    animation: blobFloat 10s ease-in-out infinite reverse;
}
.blob-3 {
    width: 200px;
    height: 200px;
    background: #fce4e8;
    top: 40%;
    right: 30%;
    animation: blobFloat 6s ease-in-out infinite;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* ── Floating Cards ── */
.floating-card {
    animation: floatCard 4s ease-in-out infinite;
}
.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: 1s; }
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ── Scroll Animations ── */
.scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Initial state: below-fold items start visible (progressive enhancement) */
.scroll-animate {
    transform: translateY(20px);
    opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .scroll-animate.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navbar ── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7B2432;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
.mobile-link {
    display: block;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFFBF7; }
::-webkit-scrollbar-thumb { background: #f294a7; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7B2432; }

/* ── Selection ── */
::selection { background: #f8c4ce; color: #3d1219; }

/* ── Utility ── */
@media (max-width: 768px) {
    html { scroll-padding-top: 70px; }
}
