/* ========================================
   Mike & Mario's Italian Restaurant
   Premium Dark Luxury Theme
   ======================================== */

/* CSS Custom Properties */
:root {
    --navy-dark: #0A1628;
    --navy-light: #111D32;
    --navy-darker: #060F1D;
    --gold: #C9A84C;
    --gold-light: #D4B965;
    --gold-dark: #A8893D;
    --cream: #F5F0E8;
    --cream-dark: #E8E0D0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--navy-dark);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-raleway {
    font-family: 'Raleway', sans-serif;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Selection */
::selection {
    background: var(--gold);
    color: var(--navy-dark);
}

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, padding 0.5s ease;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

#navbar.scrolled nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile Menu */
#mobile-menu {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }

/* Menu Toggle */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    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; }

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button hover effects */
button, a {
    cursor: pointer;
}

/* Image hover zoom */
img {
    transition: transform 0.7s ease;
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px;
    }

    #hero h1 {
        font-size: 2.5rem !important;
    }

    #hero h1 br {
        display: none;
    }

    .font-playfair {
        font-size: inherit;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    #navbar, #mobile-menu {
        display: none;
    }
}
