/* miris.bar — Art Deco Speakeasy */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-espresso: #0C0A08;
    --bg-mahogany: #1A1510;
    --gold: #C9A54E;
    --gold-bright: #E8C547;
    --champagne: #D4C5A0;
    --brass: #8A7D65;
    --ruby: #7B1F3A;
    --gold-border: rgba(201, 165, 78, 0.2);
    --gold-glow: rgba(201, 165, 78, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-espresso);
    font-family: 'Raleway', sans-serif;
    color: var(--champagne);
    overflow-x: hidden;
}

/* Film grain overlay */
#grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-image:
        repeating-radial-gradient(circle at 17% 32%, rgba(201,165,78,0.02) 0px, transparent 1px),
        repeating-radial-gradient(circle at 63% 68%, rgba(201,165,78,0.02) 0px, transparent 1px),
        repeating-radial-gradient(circle at 41% 12%, rgba(201,165,78,0.02) 0px, transparent 1px),
        repeating-radial-gradient(circle at 89% 55%, rgba(201,165,78,0.02) 0px, transparent 1px);
    background-size: 3px 3px, 4px 4px, 2px 2px, 5px 5px;
}

#grain-overlay.visible {
    opacity: 1;
}

/* Navigation */
#top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 20px 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#top-nav.visible {
    opacity: 1;
}

.nav-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-variant: small-caps;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--brass);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.nav-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    right: 50%;
    height: 1px;
    background: var(--gold-bright);
    transition: left 0.3s ease, right 0.3s ease;
}

.nav-label:hover {
    color: var(--gold);
}

.nav-label:hover::after {
    left: 0;
    right: 0;
}

.nav-bullet {
    width: 4px;
    height: 4px;
    background: var(--gold);
    opacity: 0.4;
    transform: rotate(45deg);
}

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

.sunburst {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    animation: sunburstRotate 120s linear infinite;
}

.sunburst.small {
    width: 300px;
    height: 300px;
    opacity: 0.06;
}

@keyframes sunburstRotate {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.deco-frame {
    position: absolute;
    width: 80%;
    max-width: 600px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.frame-path {
    stroke-dasharray: 2200;
    stroke-dashoffset: 2200;
    transition: stroke-dashoffset 1.5s ease;
}

.frame-path.drawn {
    stroke-dashoffset: 0;
}

.frame-detail {
    opacity: 0;
    transition: opacity 0.5s ease 1.5s;
}

.frame-detail.visible {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

.hero-title {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 56px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    clip-path: inset(0 50% 0 50%);
    transition: clip-path 0.6s ease;
}

.hero-title.reveal {
    clip-path: inset(0 0% 0 0%);
}

.hero-subtitle {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 36px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    clip-path: inset(0 50% 0 50%);
    transition: clip-path 0.6s ease;
}

.hero-subtitle.reveal {
    clip-path: inset(0 0% 0 0%);
}

/* Candle flicker */
.candle-flicker {
    animation: candleFlicker 4s ease-in-out infinite;
}

@keyframes candleFlicker {
    0%, 100% { opacity: 1; }
    30% { opacity: 0.95; }
    60% { opacity: 1; }
    80% { opacity: 0.93; }
}

/* Deco Divider */
.deco-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 20px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.divider-line.left {
    background: linear-gradient(to right, transparent, var(--gold));
    opacity: 0.3;
}

.divider-line.right {
    background: linear-gradient(to left, transparent, var(--gold));
    opacity: 0.3;
}

.diamond-medallion {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.diamond-medallion:hover {
    transform: rotate(45deg);
}

/* Content Sections */
.content-section {
    min-height: 80vh;
    position: relative;
    padding: 80px 40px;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-section.reveal {
    opacity: 1;
    transform: scale(1);
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.section-frame {
    position: absolute;
    inset: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
}

.chevron-border {
    position: absolute;
    left: 20px;
    right: 20px;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        rgba(201, 165, 78, 0.3) 8px,
        rgba(201, 165, 78, 0.3) 9px,
        transparent 9px,
        transparent 16px
    );
    opacity: 0.3;
}

.chevron-border.top {
    top: 20px;
}

.section-content {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 36px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 48px;
}

/* Content panels */
.content-panels {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.panel {
    background: var(--bg-mahogany);
    border: 1px solid var(--gold-border);
    border-radius: 2px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.panel:hover {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
    border-color: rgba(201, 165, 78, 0.5);
}

.panel.primary {
    flex: 6;
}

.panel.secondary {
    flex: 3;
    margin-top: 40px;
}

.panel-title {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

/* Cocktail items */
.cocktail-item {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid rgba(201, 165, 78, 0.08);
}

.cocktail-item:last-child {
    border-bottom: none;
}

.cocktail-name {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 6px;
}

.cocktail-desc {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.6;
    color: var(--brass);
}

/* Spirit list */
.spirit-list {
    list-style: none;
}

.spirit-item {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-variant: small-caps;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--champagne);
    padding: 10px 0;
    border-bottom: 1px solid rgba(201, 165, 78, 0.08);
    cursor: pointer;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.spirit-item:hover {
    color: var(--gold);
    padding-left: 8px;
}

.spirit-item:last-child {
    border-bottom: none;
}

/* Body text */
.body-text {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--champagne);
    margin-bottom: 20px;
}

/* Detail blocks */
.detail-block {
    display: flex;
    flex-direction: column;
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 165, 78, 0.08);
}

.detail-block:last-child {
    border-bottom: none;
}

.detail-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-variant: small-caps;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--brass);
    margin-bottom: 4px;
}

.detail-value {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--champagne);
}

/* Evening items */
.evening-item {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid rgba(201, 165, 78, 0.08);
}

.evening-item:last-child {
    border-bottom: none;
}

.evening-day {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-variant: small-caps;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--brass);
    margin-bottom: 4px;
}

.evening-title {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 6px;
}

.evening-desc {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.6;
    color: var(--brass);
}

/* Responsive */
@media (max-width: 768px) {
    .content-panels {
        flex-direction: column;
    }

    .panel.secondary {
        margin-top: 0;
    }

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

    .hero-subtitle {
        font-size: 28px;
    }

    .content-section {
        padding: 60px 20px;
    }

    #top-nav {
        gap: 12px;
        flex-wrap: wrap;
    }

    .nav-label {
        font-size: 11px;
    }
}
