/* ============================================================
   miko.bar — Art Deco Cocktail Bar
   Colors: #0E1A14 #1B3A2D #D4AF6A #E8D5A3 #B8CEB8 #7A9E7E #C9B97A #F5E6C8 #3D2B1F
   Fonts: Cormorant Garamond (display + body), Raleway (nav + labels)
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0E1A14;
    color: #B8CEB8;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    line-height: 1.75;
    overflow-x: hidden;
}

/* ─── Candle Flicker Animation ─────────────────────────────── */
@keyframes candleFlicker {
    0%, 100% { opacity: 0.8; filter: brightness(1); }
    25% { opacity: 0.75; filter: brightness(0.95); }
    50% { opacity: 0.85; filter: brightness(1.05); }
    75% { opacity: 0.78; filter: brightness(0.97); }
}

.candle-glow {
    animation: candleFlicker 3s ease-in-out infinite;
}

/* ─── Art Deco Corner Brackets ─────────────────────────────── */
.deco-frame {
    position: relative;
}

.deco-frame::before,
.deco-frame::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: rgba(212, 175, 106, 0.6);
    border-style: solid;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.deco-frame::before {
    top: 12px; left: 12px;
    border-width: 2px 0 0 2px;
}

.deco-frame::after {
    bottom: 12px; right: 12px;
    border-width: 0 2px 2px 0;
}

/* Extra corner brackets via nested pseudo on gallery items */
.gallery-item.deco-frame::before,
.gallery-item.deco-frame::after {
    opacity: 0.3;
}

.gallery-item.deco-frame:hover::before,
.gallery-item.deco-frame:hover::after {
    opacity: 0.8;
}

/* ─── Navigation ───────────────────────────────────────────── */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, opacity 0.3s ease;
}

#main-nav.scrolled {
    background: #0E1A14;
    border-bottom-color: #D4AF6A;
}

#main-nav.hidden {
    opacity: 0;
    pointer-events: none;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D4AF6A;
}

.nav-flame {
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-variant: small-caps;
    font-size: 13px;
    letter-spacing: 0.2em;
    color: #C9B97A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #F5E6C8;
}

/* ─── Hero Section ─────────────────────────────────────────── */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-image-wrap {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Simulated atmospheric bar photo */
.hero-photo-sim {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 500px at 65% 55%, rgba(61, 43, 31, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 300px 400px at 60% 70%, rgba(212, 175, 106, 0.18) 0%, transparent 70%),
        linear-gradient(135deg, #0E1A14 0%, #1B3A2D 30%, #2A4A35 50%, #1B3A2D 70%, #0E1A14 100%);
}

/* Atmospheric bokeh circles */
.hero-photo-sim::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80px 80px at 30% 40%, rgba(212, 175, 106, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 50px 50px at 70% 30%, rgba(212, 175, 106, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 120px 100px at 80% 60%, rgba(212, 175, 106, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60px 60px at 45% 70%, rgba(212, 175, 106, 0.1) 0%, transparent 70%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, #0E1A14 100%);
}

.hero-deco-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: clamp(48px, 10vw, 140px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D4AF6A;
    line-height: 1;
}

.fan-arc-divider {
    display: block;
    opacity: 0.5;
}

.hero-tagline {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-variant: small-caps;
    font-size: 13px;
    letter-spacing: 0.2em;
    color: #C9B97A;
}

/* ─── Section Common ───────────────────────────────────────── */
section {
    padding: 140px 40px;
}

#philosophy,
#events {
    background-color: #1B3A2D;
}

#drinks,
#atmosphere {
    background-color: #0E1A14;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-inner,
.events-inner {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.section-label {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #7A9E7E;
    display: block;
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: 0.04em;
    color: #E8D5A3;
    line-height: 1.2;
}

.section-heading em {
    font-style: italic;
}

.sunburst-divider {
    display: block;
}

/* ─── Philosophy Section ───────────────────────────────────── */
.philosophy-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
    color: #B8CEB8;
    max-width: 580px;
    text-align: center;
}

/* ─── Drinks Section ───────────────────────────────────────── */
#drinks .section-inner {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

#drinks .section-heading {
    text-align: left;
}

.drinks-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.drinks-photo-wrap {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out;
    border-radius: 2px;
    overflow: hidden;
}

.drinks-photo {
    position: relative;
    width: 100%;
    padding-bottom: 120%;
    overflow: hidden;
}

.drinks-photo-inner {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 300px 400px at 40% 60%, rgba(212, 175, 106, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 200px 200px at 70% 30%, rgba(212, 175, 106, 0.15) 0%, transparent 70%),
        linear-gradient(160deg, #0E1A14 0%, #1B3A2D 25%, #2A4A35 50%, #3D2B1F 75%, #1B3A2D 100%);
    filter: sepia(0.1) brightness(0.9) saturate(1.2);
}

.candle-illustration {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 2;
}

/* Decorative numeral background texture */
.drinks-photo-inner::after {
    content: '01';
    position: absolute;
    bottom: -10px;
    left: -10px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 120px;
    color: #E8D5A3;
    opacity: 0.08;
    line-height: 1;
}

.drinks-categories {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 12px;
}

.category-item {
    padding: 20px 0;
    overflow: hidden;
}

.category-name {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #7A9E7E;
    margin-bottom: 8px;
    cursor: default;
}

.category-desc {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: #B8CEB8;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    margin-bottom: 0;
}

.category-item:hover .category-desc {
    max-height: 80px;
    opacity: 1;
}

.category-rule {
    height: 1px;
    background: rgba(212, 175, 106, 0.2);
    margin-top: 16px;
}

/* ─── Atmosphere / Gallery Section ─────────────────────────── */
#atmosphere .section-inner {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out;
    border-radius: 2px;
    overflow: hidden;
}

.gallery-photo {
    position: relative;
    width: 100%;
    padding-bottom: 130%;
    overflow: hidden;
    filter: sepia(0.15) brightness(0.9) saturate(1.2);
}

.gallery-photo-1 {
    background: linear-gradient(
        170deg,
        #1B3A2D 0%,
        #2A4A35 30%,
        #3D2B1F 70%,
        #1B3A2D 100%
    );
}

/* Bokeh lights on gallery photo 1 */
.gallery-photo-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60px 60px at 30% 40%, rgba(212, 175, 106, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 40px 40px at 70% 25%, rgba(212, 175, 106, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 80px 80px at 50% 70%, rgba(212, 175, 106, 0.2) 0%, transparent 70%);
}

.gallery-photo-2 {
    background: linear-gradient(
        145deg,
        #0E1A14 0%,
        #1B3A2D 40%,
        #2A4A35 60%,
        #0E1A14 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 130%;
}

.gallery-photo-3 {
    background: linear-gradient(
        200deg,
        #2A4A35 0%,
        #1B3A2D 35%,
        #3D2B1F 65%,
        #0E1A14 100%
    );
}

/* Bokeh lights on gallery photo 3 */
.gallery-photo-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70px 70px at 60% 35%, rgba(212, 175, 106, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 45px 45px at 25% 60%, rgba(212, 175, 106, 0.2) 0%, transparent 70%);
}

.gallery-deco-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gallery-svg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.candle-cluster {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ─── Events / Hours Section ───────────────────────────────── */
.geo-rule {
    display: block;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 100%;
    text-align: left;
}

.hours-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 28px;
    color: #E8D5A3;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 106, 0.15);
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
}

.hours-day {
    font-style: italic;
    color: #B8CEB8;
}

.hours-time {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #C9B97A;
    font-weight: 400;
}

.events-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.8;
    color: #B8CEB8;
    margin-bottom: 32px;
}

.cta-wrap {
    display: flex;
    justify-content: flex-start;
}

/* CTA button — rectangular, no rounded corners, Art Deco brackets via ::before/::after */
.cta-btn {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #D4AF6A;
    text-decoration: none;
    padding: 14px 32px;
    border: 1px solid rgba(212, 175, 106, 0.5);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cta-btn:hover {
    background: rgba(212, 175, 106, 0.08);
    color: #F5E6C8;
    border-color: rgba(212, 175, 106, 0.8);
}

.cta-btn.deco-frame::before {
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-width: 1px 0 0 1px;
    border-color: rgba(212, 175, 106, 0.8);
}

.cta-btn.deco-frame::after {
    width: 16px;
    height: 16px;
    bottom: 6px;
    right: 6px;
    border-width: 0 1px 1px 0;
    border-color: rgba(212, 175, 106, 0.8);
}

/* ─── Footer ───────────────────────────────────────────────── */
footer#find-us {
    background-color: #0E1A14;
    padding: 100px 40px 60px;
    border-top: 1px solid rgba(212, 175, 106, 0.15);
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    text-align: center;
}

.footer-candle {
    display: block;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 40px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D4AF6A;
}

.footer-details {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: flex-start;
}

.footer-address,
.footer-contact,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-label {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #7A9E7E;
}

.footer-address p,
.footer-contact p,
.footer-social p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    color: #B8CEB8;
}

.footer-rule {
    opacity: 0.8;
}

.footer-copy {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: #7A9E7E;
    text-transform: uppercase;
}

/* ─── Decorative Numeral Ornaments ─────────────────────────── */
section {
    position: relative;
}

#philosophy::before {
    content: '02';
    position: absolute;
    top: 40px;
    right: 60px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 100px;
    color: #E8D5A3;
    opacity: 0.05;
    pointer-events: none;
    line-height: 1;
}

#atmosphere::before {
    content: '04';
    position: absolute;
    top: 40px;
    right: 60px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 100px;
    color: #E8D5A3;
    opacity: 0.05;
    pointer-events: none;
    line-height: 1;
}

#events::before {
    content: '05';
    position: absolute;
    top: 40px;
    right: 60px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 100px;
    color: #E8D5A3;
    opacity: 0.05;
    pointer-events: none;
    line-height: 1;
}

/* ─── Candle Glow Bloom ─────────────────────────────────────── */
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 300px 400px at 60% 70%, rgba(212, 175, 106, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: candleFlicker 4s ease-in-out infinite;
}

/* ─── Section Transitions (gradient fades) ──────────────────── */
#philosophy {
    background: linear-gradient(180deg, #0E1A14 0%, #1B3A2D 80px, #1B3A2D calc(100% - 80px), #0E1A14 100%);
}

#events {
    background: linear-gradient(180deg, #0E1A14 0%, #1B3A2D 80px, #1B3A2D calc(100% - 80px), #0E1A14 100%);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .nav-inner {
        padding: 16px 24px;
    }

    .nav-links {
        gap: 20px;
    }

    section {
        padding: 100px 24px;
    }

    .drinks-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .drinks-photo {
        padding-bottom: 70%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-photo {
        padding-bottom: 80%;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-details {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 48px;
    }

    section {
        padding: 80px 20px;
    }

    .philosophy-inner,
    .events-inner {
        gap: 24px;
    }
}
