/* ===================================
   Silver Lake Bar & Grill — Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===================================
   Geometric Background Shapes
   =================================== */
.geo-shapes {
    z-index: 0;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: #d44a2a;
    top: 10%;
    right: -100px;
}

.geo-circle--2 {
    width: 250px;
    height: 250px;
    background: #e0ad44;
    bottom: 20%;
    left: -60px;
}

.geo-rect {
    position: absolute;
    border-radius: 24px;
    opacity: 0.06;
    transform: rotate(15deg);
}

.geo-rect--1 {
    width: 200px;
    height: 200px;
    background: #d44a2a;
    top: 40%;
    left: 5%;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.06;
}

.geo-triangle--1 {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #e0ad44;
    top: 60%;
    right: 8%;
}

.geo-dots {
    position: absolute;
    top: 30%;
    left: 3%;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, #d44a2a 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.2;
}

/* ===================================
   Hero Geometric Shapes
   =================================== */
.hero-geo {
    position: absolute;
    opacity: 0.12;
}

.hero-geo--circle {
    width: 500px;
    height: 500px;
    background: #d44a2a;
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.hero-geo--rect {
    width: 200px;
    height: 200px;
    background: #e0ad44;
    border-radius: 32px;
    bottom: 15%;
    left: -50px;
    transform: rotate(25deg);
}

.hero-geo--triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 170px solid #d44a2a;
    top: 25%;
    left: 5%;
    opacity: 0.08;
}

.hero-geo--dot {
    width: 80px;
    height: 80px;
    background: #e0ad44;
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
    opacity: 0.15;
}

/* ===================================
   Navigation
   =================================== */
.nav-header {
    background: rgba(253, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(224, 173, 68, 0.15);
}

.nav-header.scrolled {
    background: rgba(253, 248, 240, 0.95);
    box-shadow: 0 4px 30px rgba(26, 20, 18, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d44a2a;
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-nav-link {
    display: block;
}

/* ===================================
   Reveal Animations (progressive enhancement)
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger children */
    .reveal-grid > *:nth-child(1) { transition-delay: 0.05s; }
    .reveal-grid > *:nth-child(2) { transition-delay: 0.1s; }
    .reveal-grid > *:nth-child(3) { transition-delay: 0.15s; }
    .reveal-grid > *:nth-child(4) { transition-delay: 0.2s; }
    .reveal-grid > *:nth-child(5) { transition-delay: 0.25s; }
    .reveal-grid > *:nth-child(6) { transition-delay: 0.3s; }
}

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

::-webkit-scrollbar-track {
    background: #FDF8F0;
}

::-webkit-scrollbar-thumb {
    background: #e0ad44;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d44a2a;
}

/* ===================================
   Selection
   =================================== */
::selection {
    background: #d44a2a;
    color: #FDF8F0;
}

/* ===================================
   Focus visible
   =================================== */
:focus-visible {
    outline: 2px solid #d44a2a;
    outline-offset: 2px;
}

/* ===================================
   Responsive tweaks
   =================================== */
@media (max-width: 640px) {
    .hero-geo--circle {
        width: 300px;
        height: 300px;
    }
    
    .hero-geo--rect {
        width: 120px;
        height: 120px;
    }
}
