/* ========================================
   Austin's Restaurant & Bar — Styles
   Deep Navy + Warm Gold · Vibrant Modern
   ======================================== */

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

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

body {
    background-color: #0A1D3A;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.04;
}

.geo-circle-1 {
    top: 10%;
    right: -5%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 3px solid #C8A961;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 15%;
    left: -8%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8A961 0%, transparent 70%);
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-triangle {
    top: 40%;
    right: 10%;
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #C8A961;
    animation: rotate-slow 25s linear infinite;
    opacity: 0.03;
}

.geo-rect {
    bottom: 30%;
    left: 5%;
    width: 200px;
    height: 200px;
    border: 2px solid #C8A961;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Navbar --- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 29, 58, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C8A961;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #D4B878 !important;
}

/* --- Mobile Menu --- */
.mobile-menu {
    transition: opacity 0.4s ease, pointer-events 0.4s ease;
}

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

.mobile-menu-link {
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #C8A961;
    transition: width 0.3s ease;
}

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

/* Hamburger Animation */
.menu-line {
    transition: all 0.3s ease;
}

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

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

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

/* --- Hero Animations --- */
.hero-anim {
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 0.8s ease forwards;
}

.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-anim:nth-child(3) { animation-delay: 0.5s; }
.hero-anim:nth-child(4) { animation-delay: 0.7s; }

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.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; }

/* --- Section Dividers --- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 169, 97, 0.3), transparent);
}

/* --- Button Hover Effects --- */
a, button {
    cursor: pointer;
}

/* --- Form Focus States --- */
input:focus, textarea:focus {
    outline: none;
}

/* --- Selection --- */
::selection {
    background: rgba(200, 169, 97, 0.3);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #0A1D3A;
}

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

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-triangle {
        display: none;
    }
    
    .geo-rect {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 640px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
