/* ===== CSS Custom Properties ===== */
:root {
    --color-burgundy-700: #7B2D3B;
    --color-burgundy-800: #4A1520;
    --color-gold-400: #d4a574;
    --color-gold-500: #b8864e;
    --color-dark-950: #0d0a0b;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

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

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 165, 116, 0.3);
    color: #fff;
}

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

#navbar.scrolled {
    background: rgba(13, 10, 11, 0.92);
    backdrop-blur: 20px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.08);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold-400), transparent);
    transition: width 0.3s ease;
}

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

/* ===== Mobile Menu ===== */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.active .mobile-link {
    animation: fadeUp 0.4s ease forwards;
}

#mobile-menu.active .mobile-link:nth-child(1) { animation-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { animation-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(3) { animation-delay: 0.3s; }

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

/* ===== Hamburger ===== */
.hamburger-line {
    display: block;
    transition: all 0.3s ease;
}

#mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* ===== Scroll Indicator ===== */
@keyframes scrollIndicator {
    0% { top: -16px; opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

.animate-scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* ===== Signature Cards ===== */
.signature-card {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(212, 165, 116, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.signature-card:hover {
    border-color: rgba(212, 165, 116, 0.15);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.15);
}

/* ===== Menu Items ===== */
.menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    padding-left: 0.75rem;
}

.menu-category {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-category.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Gallery ===== */
.gallery-strip {
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

/* ===== About Section ===== */
.about-image {
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 10, 11, 0.3), transparent 50%);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 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; }

/* ===== Parallax Subtle ===== */
.parallax-slow {
    will-change: transform;
}

/* ===== Hover Glow Effects ===== */
.glow-hover:hover {
    box-shadow: 0 0 40px rgba(212, 165, 116, 0.15);
}

/* ===== Image Hover ===== */
img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark-950);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-burgundy-700), var(--color-gold-500));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-burgundy-600), var(--color-gold-400));
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* ===== Print ===== */
@media print {
    body { background: white; color: black; }
    nav, footer, .scroll-indicator { display: none; }
}
