/* ===== Custom Styles for Oakwood & Fire Pizzeria ===== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0f1e;
}

/* Selection */
::selection {
    background-color: rgba(201, 149, 46, 0.3);
    color: #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0f1e;
}
::-webkit-scrollbar-thumb {
    background: #1e2d4a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9952e;
}

/* ===== Navbar ===== */
#navbar {
    backdrop-filter: blur(0px);
    transition: backdrop-filter 0.5s ease, background-color 0.5s ease, padding 0.3s ease;
}

#navbar.scrolled {
    backdrop-filter: blur(20px);
    background-color: rgba(10, 15, 30, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#navbar.scrolled .text-white/70 {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Feature Items ===== */
.feature-item {
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

/* ===== Reveal Animations (Progressive Enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered delays */
    .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 Item Hover ===== */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* ===== Gold Glow Effects ===== */
.shadow-gold-500\/20 {
    box-shadow: 0 25px 50px -12px rgba(201, 149, 46, 0.2);
}

.shadow-gold-500\/30 {
    box-shadow: 0 25px 50px -12px rgba(201, 149, 46, 0.3);
}

/* ===== Mobile Menu ===== */
#mobileMenu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Button Ripple Effect ===== */
a[href="tel:+12173941413"],
a[href="#menu"],
a[href="#about"],
a[href="#gallery"],
a[href="#visit"] {
    position: relative;
    overflow: hidden;
}

/* ===== Gallery Grid ===== */
.grid-cols-2 .col-span-2 {
    grid-column: span 2;
}

/* ===== Map Dark Filter ===== */
iframe[title*="location"] {
    border-radius: 16px;
}

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

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Smooth Image Loading ===== */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ===== Utility for gold gradient text ===== */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a853 0%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
