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

/* ── Nav ── */
#nav {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
#nav.scrolled {
    background: rgba(6, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* ── Menu lines animation ── */
.menu-line { transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
#menuBtn.active .menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#menuBtn.active .menu-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menuBtn.active .menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 20px; }

.mobile-menu-open { overflow: hidden; }
#mobileMenu.open { opacity: 1 !important; pointer-events: all !important; }

/* ── Hero animations ── */
.hero-badge {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.3s forwards;
}
.hero-image-main {
    opacity: 0;
    transform: translateX(40px);
    animation: slideIn 1s 0.5s forwards;
}
.hero-float-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.8s forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Menu cards ── */
.menu-card {
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(201, 168, 76, 0.15);
}

/* ── Gold shimmer on hover ── */
.menu-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(105deg, transparent 40%, rgba(201, 168, 76, 0.04) 50%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.menu-card:hover::after { opacity: 1; }

/* ── Input focus glow ── */
input:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.08);
}

/* ── Button ripple ── */
button[type="submit"] {
    position: relative;
    overflow: hidden;
}
button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
button[type="submit"]:active::before {
    width: 400px;
    height: 400px;
}

/* ── Gallery hover ── */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #060e1a; }
::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201, 168, 76, 0.5); }

/* ── Selection ── */
::selection { background: rgba(201, 168, 76, 0.3); color: #fff; }
