/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=Inter:wght@400;500&display=swap');

/* ─── Base ─────────────────────────────────────────── */
.tail-container {
    font-family: 'Inter', system-ui, sans-serif;
}

.logo-font {
    font-family: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --beige: #f8f1e9;
    --light-pink: #f9d5e3;
}

/* ─── Nav ───────────────────────────────────────────── */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #3f2a2a;
    transition: width 0.4s ease;
}

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

.nav-link.active {
    color: #3f2a2a;
    font-weight: 600;
}

/* Nav scroll shadow — toggled by JS */
nav.scrolled {
    box-shadow: 0 4px 24px -4px rgb(63 42 42 / 0.10);
}

/* ─── Hero Entrance (CSS only, fires on load) ───────── */
.hero-title {
    animation: heroFade 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-tagline {
    animation: heroFade 1.1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-cta {
    animation: heroFade 1.1s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-scroll-hint {
    animation: heroFade 1.1s 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* Hero parallax image (moved by JS via transform) */
.hero-img {
    will-change: transform;
}

/* ─── Scroll Reveal ─────────────────────────────────── */

/* Hidden state set by JS — non-JS users see content normally */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stagger delays for product grid */
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

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

/* ─── Product Cards ─────────────────────────────────── */
.product-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
}

/* ─── Shimmer divider ───────────────────────────────── */
.shimmer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e8d5c0 30%, #f9d5e3 50%, #e8d5c0 70%, transparent);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
