/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: color-mix(in srgb, #52d182 30%, transparent);
    color: #0e1e3a;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(160deg, #0e1e3a 0%, #162c54 30%, #1f3a6e 55%, #284888 75%, #1fa853 100%);
}

/* ── Section Titles ── */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: #0e1e3a;
}

.section-title-light {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: #ffffff;
}

/* ── Label ── */
.label {
    letter-spacing: 0.15em;
}

/* ── Navbar ── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 1px 0 rgba(14, 30, 58, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #52d182;
    transition: width 0.3s ease;
}

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

#navbar.scrolled .nav-link {
    color: #1f3a6e;
}

#navbar.scrolled .nav-link:hover {
    color: #1fa853;
}

/* ── Hero Animations ── */
.hero-badge {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-headline {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

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

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

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ── Flavor Cards ── */
.flavor-card {
    transform: translateY(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.flavor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(14, 30, 58, 0.25);
}

/* ── Cake Cards ── */
.cake-card {
    box-shadow: 0 25px 50px -12px rgba(14, 30, 58, 0.15);
}

.cake-card:hover {
    box-shadow: 0 35px 60px -15px rgba(14, 30, 58, 0.25);
}

/* ── Mobile Menu ── */
.mobile-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ── Decorations ── */
.about-decoration-1 {
    animation: float 8s ease-in-out infinite;
}

.about-decoration-2 {
    animation: float 6s ease-in-out infinite reverse;
}

.cta-decoration-1 {
    animation: float 10s ease-in-out infinite;
}

.cta-decoration-2 {
    animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* ── 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;
    }
}

/* ── Focus Styles ── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #52d182;
    outline-offset: 4px;
    border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .section-title,
    .section-title-light {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
