/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }

/* ─── Utility ─── */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c43d1c;
    margin-bottom: 0.5rem;
}
.section-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: #3D2B1F;
    letter-spacing: -0.02em;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #d94f28;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.btn-primary:hover { background: #c43d1c; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(217, 79, 40, 0.3); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: #3D2B1F;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1.5px solid rgba(61, 43, 31, 0.2);
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
    text-decoration: none;
}
.btn-secondary:hover { border-color: #d94f28; background: rgba(217, 79, 40, 0.04); }

/* ─── Hero ─── */
.hero-tag { opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }
.hero-headline { opacity: 0; animation: fadeUp 0.8s 0.4s forwards; }
.hero-subtitle { opacity: 0; animation: fadeUp 0.8s 0.55s forwards; }
.hero-cta { opacity: 0; animation: fadeUp 0.8s 0.7s forwards; }
.hero-stats { opacity: 0; animation: fadeUp 0.8s 0.85s forwards; }
.hero-image-wrapper { opacity: 0; animation: fadeLeft 1s 0.3s forwards; }
.hero-float-card { opacity: 0; animation: fadeUp 0.8s 0.9s forwards; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ─── Navbar ─── */
#navbar { background: transparent; }
#navbar.scrolled {
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(61, 43, 31, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #d94f28;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── Menu Cards ─── */
.menu-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem;
    border: 1px solid rgba(61, 43, 31, 0.07);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(61, 43, 31, 0.1); }

/* ─── Testimonial Cards ─── */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(61, 43, 31, 0.08); }

/* ─── Scroll Reveal ─── */
.reveal, .reveal-left, .reveal-right {
    opacity: 1; /* default visible — progressive enhancement */
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal       { transform: translateY(24px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* ─── Mobile Menu ─── */
#mobileMenu.open { opacity: 1; pointer-events: all; }

/* ─── Responsive tweaks ─── */
@media (max-width: 767px) {
    .hero-float-card { display: none; }
    .hero-stats { gap: 6px; }
    .hero-stats > div > div { font-size: 1.5rem; }
    .hero-stats > div > div:last-child { font-size: 1.25rem; }
}
