/* ===================================
   Bar on Broadway — Custom Styles
   =================================== */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

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

.geo-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 23, 0.08);
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation: geoFloat 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -80px;
    animation: geoFloat 15s ease-in-out infinite reverse;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 69px 40px;
    border-color: transparent transparent rgba(212, 160, 23, 0.06) transparent;
    top: 30%;
    right: 5%;
    animation: geoFloat 18s ease-in-out infinite;
    transform: rotate(15deg);
}

.geo-triangle::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -40px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 35px 20px;
    border-color: transparent transparent rgba(212, 160, 23, 0.03) transparent;
}

.geo-rect {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(212, 160, 23, 0.06);
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    animation: geoFloat 22s ease-in-out infinite;
}

.geo-diamond {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(212, 160, 23, 0.05);
    bottom: 20%;
    right: 12%;
    transform: rotate(45deg);
    animation: geoFloat 16s ease-in-out infinite reverse;
}

@keyframes geoFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotate, 0deg)); }
}

/* Navigation */
.nav-header {
    background: rgba(10, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-header.scrolled {
    background: rgba(10, 26, 46, 0.95);
    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: #d4a017;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #f6e09a;
}

/* Gold button */
.btn-gold {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #d4a017 0%, #eab30a 100%);
    color: #102a43;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.35);
    color: #102a43;
}

.btn-gold-lg {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #d4a017 0%, #eab30a 100%);
    color: #102a43;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.btn-gold-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 160, 23, 0.4);
    color: #102a43;
}

/* Outline button */
.btn-outline-lg {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #f0f4f8;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(240, 244, 248, 0.2);
    transition: all 0.3s ease;
}

.btn-outline-lg:hover {
    border-color: #d4a017;
    color: #f6e09a;
    transform: translateY(-3px);
    background: rgba(212, 160, 23, 0.05);
}

/* Feature pill */
.feature-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(212, 160, 23, 0.08);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 100px;
    color: #f6e09a;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(212, 160, 23, 0.15);
    border-color: rgba(212, 160, 23, 0.4);
}

/* Section styles */
.section-relative {
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-title {
    margin-bottom: 1.5rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    filter: saturate(0.8) brightness(0.7);
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(10, 26, 46, 0.6) 0%,
        rgba(10, 26, 46, 0.5) 50%,
        rgba(10, 26, 46, 0.95) 100%
    );
}

.hero-eyebrow {
    animation: fadeInDown 0.8s ease-out both;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-ctas {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-deco-line {
    animation: expandWidth 0.6s ease-out 0.1s both;
}

.hero-geo {
    animation: geoFloat 12s ease-in-out infinite;
}

.hero-geo--1 { animation-delay: 0s; }
.hero-geo--2 { animation-delay: 2s; }
.hero-geo--3 { animation: pulse 3s ease-in-out infinite; }
.hero-geo--4 { animation: pulse 4s ease-in-out 1s infinite; }
.hero-geo--5 { animation: pulse 2.5s ease-in-out 0.5s infinite; }

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1) rotate(45deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(45deg); }
}

.hero-scroll {
    animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-scroll-line {
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

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

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

@keyframes expandWidth {
    from { width: 0; opacity: 0; }
    to { width: 64px; opacity: 1; }
}

/* About section */
.about-img-wrap {
    position: relative;
    overflow: hidden;
}

.about-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 26, 46, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.about-img {
    transition: transform 0.6s ease;
}

.about-img-wrap:hover .about-img {
    transform: scale(1.05);
}

.about-geo {
    animation: geoFloat 10s ease-in-out infinite;
}

.about-geo-dot {
    animation: pulse 3s ease-in-out infinite;
}

/* Drinks section */
.drink-card {
    perspective: 1000px;
}

.drink-card-inner {
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.drink-card:hover .drink-card-inner {
    transform: translateY(-8px);
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Atmosphere section */
.atmosphere-band {
    position: relative;
}

.atmosphere-band-overlay {
    background: linear-gradient(to right, rgba(10, 26, 46, 0.95) 0%, rgba(10, 26, 46, 0.6) 60%, transparent 100%);
}

.atmosphere-band-content {
    align-items: center;
}

.atmosphere-feature {
    transition: transform 0.3s ease;
}

.atmosphere-feature:hover {
    transform: translateY(-5px);
}

.atmosphere-feature-circle {
    transition: all 0.3s ease;
}

.atmosphere-feature:hover .atmosphere-feature-circle {
    background: rgba(212, 160, 23, 0.2);
    border-color: rgba(212, 160, 23, 0.6);
    transform: scale(1.1);
}

/* Visit section */
.visit-card {
    text-decoration: none;
    display: block;
}

.visit-card:hover {
    background: rgba(212, 160, 23, 0.05);
}

.visit-card-icon {
    transition: all 0.3s ease;
}

.visit-card:hover .visit-card-icon {
    background: rgba(212, 160, 23, 0.2);
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, #102a43 0%, #0a1a2e 100%);
    border-top: 1px solid rgba(212, 160, 23, 0.08);
}

.footer-circle1, .footer-circle2 {
    animation: geoFloat 20s ease-in-out infinite;
}

.footer-circle2 {
    animation-delay: 5s;
    animation-direction: reverse;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    position: relative;
}

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.menu-line {
    transition: all 0.3s ease;
}

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

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

.mobile-menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(100, 125, 152, 0.15);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-img-wrap {
        aspect-ratio: 4/3 !important;
    }
    
    .about-img-wrap:first-child {
        aspect-ratio: 3/4 !important;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn-gold-lg, .btn-outline-lg {
        width: 100%;
        justify-content: center;
    }
}
