/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 248, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(165, 22, 48, 0.08);
    transition: box-shadow 0.3s ease;
}
#navbar.nav-scrolled {
    box-shadow: 0 1px 12px rgba(100, 15, 30, 0.08);
}
.nav-link {
    position: relative;
    font-weight: 500;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a51630;
    border-radius: 1px;
    transition: width 0.25s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    font-weight: 500;
}
#mobile-menu.open {
    animation: slideDown 0.25s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO BLOBS ===== */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}
.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: #f9d4d8;
    top: -100px;
    right: -100px;
}
.hero-blob-2 {
    width: 350px;
    height: 350px;
    background: #ffe0d9;
    bottom: -50px;
    left: 20%;
}
.hero-blob-3 {
    width: 200px;
    height: 200px;
    background: #f2a6af;
    top: 40%;
    right: 30%;
    opacity: 0.3;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
    outline: 2px solid #a51630;
    outline-offset: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ===== SUBTLE CARD TILT ===== */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* ===== SELECTION ===== */
::selection {
    background: #f9d4d8;
    color: #5c152b;
}
