/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
    background: rgba(255, 250, 245, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(124, 58, 237, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #f59e0b);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Buttons ── */
.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* ── Badges ── */
.badge-plum {
    background: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(245,158,11,0.1) 100%);
    color: #7c3aed;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(124,58,237,0.15);
}

/* ── Tags ── */
.tag-plum {
    background: rgba(124,58,237,0.1);
    color: #7c3aed;
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
}
.tag-amber {
    background: rgba(245,158,11,0.15);
    color: #b45309;
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
}

/* ── Cards ── */
.card-recipe {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card-recipe:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.14);
}
.card-img-wrap { position: relative; overflow: hidden; }
.card-img {
    transition: transform 0.5s ease;
}
.card-recipe:hover .card-img { transform: scale(1.05); }
.card-tag, .card-tag-new {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #7c3aed, #f59e0b);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(124,58,237,0.3);
}
.card-tag-new {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ── Visit Cards ── */
.card-visit { transition: transform 0.3s ease; }
.card-visit:hover { transform: translateX(4px); }

/* ── Inputs ── */
.input-field { font-family: 'Inter', system-ui, sans-serif; }
.input-field:focus { border-color: #a78bfa; }

/* ── Hero ── */
.hero-bg { position: relative; }
.hero-img {
    animation: heroImgBreath 8s ease-in-out infinite;
}
@keyframes heroImgBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* ── Scroll Indicator ── */
.scroll-indicator { animation: scrollBounce 2s ease-in-out infinite; }
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ── Gallery ── */
.gallery-item { cursor: default; }
.gallery-img {
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.95);
}
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
    filter: brightness(1);
}

/* ── Scroll Reveal ── */
.scroll-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);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Floating Shapes ── */
.floating-shape {
    animation: floatShape 6s ease-in-out infinite;
}
.floating-shape:nth-child(2) { animation-delay: -2s; animation-duration: 8s; }
.floating-shape:nth-child(3) { animation-delay: -4s; animation-duration: 7s; }
@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* ── Mobile Menu ── */
.mobile-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(124,58,237,0.08);
}
.mobile-link:last-child { border-bottom: none; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .font-display { line-height: 1.1; }
    #hero h1 { font-size: 3.5rem; }
}
@media (min-width: 641px) and (max-width: 1023px) {
    #hero h1 { font-size: 5rem; }
}
