/* gabs.bar - Victorian Decorative Bar */
/* Palette: #2a1f14, #1a1410, #3d2e1e, #c9a84c, #b8860b, #ffd700, #e8d8c4 */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #2a1f14;
    color: #e8d8c4;
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== Section 1: Hero / Entry ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Ornate Frame */
.ornate-frame {
    position: relative;
    border: 2px solid #c9a84c;
    padding: 60px 50px;
    text-align: center;
    z-index: 1;
    max-width: 520px;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.ornate-frame.visible {
    opacity: 1;
    transform: scale(1);
}

/* Frame corner ornaments */
.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #c9a84c;
    z-index: 2;
}

.frame-corner::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #c9a84c;
    transform: rotate(45deg);
}

.frame-corner-tl {
    top: -6px;
    left: -6px;
}
.frame-corner-tl::before {
    top: 0;
    left: 0;
}

.frame-corner-tr {
    top: -6px;
    right: -6px;
}
.frame-corner-tr::before {
    top: 0;
    right: 0;
}

.frame-corner-bl {
    bottom: -6px;
    left: -6px;
}
.frame-corner-bl::before {
    bottom: 0;
    left: 0;
}

.frame-corner-br {
    bottom: -6px;
    right: -6px;
}
.frame-corner-br::before {
    bottom: 0;
    right: 0;
}

/* Inner decorative border on frame */
.ornate-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    pointer-events: none;
}

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

.brand-icon {
    margin-bottom: 16px;
}

.tankard-icon {
    opacity: 0.9;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    color: #ffd700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.established {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #b8860b;
    margin-bottom: 20px;
}

.tagline {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #c9a84c;
    font-style: italic;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInHint 1s ease 2s forwards;
}

.scroll-hint-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b8860b;
}

.scroll-hint-arrow {
    width: 12px;
    height: 12px;
    border-right: 1.5px solid #b8860b;
    border-bottom: 1.5px solid #b8860b;
    transform: rotate(45deg);
    animation: bounceArrow 2s ease infinite;
}

@keyframes fadeInHint {
    to { opacity: 1; }
}

@keyframes bounceArrow {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(4px); }
}

/* ===== Section 2: The Menu ===== */
.menu-section {
    position: relative;
    padding: 80px 20px 100px;
    min-height: 160vh;
}

.menu-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.04), transparent 60%);
    pointer-events: none;
}

.menu-board {
    max-width: 600px;
    margin: 0 auto;
    background: #1a1410;
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 50px 40px;
    position: relative;
}

.menu-board::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(201, 168, 76, 0.1);
    pointer-events: none;
}

.menu-board-header {
    text-align: center;
    margin-bottom: 40px;
}

.pinstripe {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #c9a84c, transparent);
    margin: 16px 0;
}

.menu-board-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #ffd700;
    letter-spacing: 0.08em;
}

.menu-board-subtitle {
    font-family: 'Lora', serif;
    font-size: 0.85rem;
    color: #b8860b;
    font-style: italic;
    margin-top: 4px;
}

.menu-category {
    margin-bottom: 36px;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
    color: #c9a84c;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.menu-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    padding: 4px 0;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #e8d8c4;
    white-space: nowrap;
    flex-shrink: 0;
}

.leader-dots {
    flex: 1;
    min-width: 20px;
    height: 6px;
    background-image: radial-gradient(circle, #e8d8c4 1px, transparent 1px);
    background-size: 6px 6px;
    background-position: center;
    background-repeat: repeat-x;
    opacity: 0.4;
    margin-bottom: 2px;
}

.item-desc {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    color: #b8860b;
    white-space: nowrap;
    flex-shrink: 0;
    font-style: italic;
}

/* ===== Section 3: The Corners ===== */
.corners-section {
    position: relative;
    padding: 80px 20px 100px;
    min-height: 80vh;
}

.corners-header {
    text-align: center;
    margin-bottom: 50px;
}

.corners-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #ffd700;
    letter-spacing: 0.04em;
}

.corners-subtitle {
    font-family: 'Lora', serif;
    font-size: 0.85rem;
    color: #b8860b;
    font-style: italic;
    margin-top: 4px;
}

.corners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.corner-panel {
    background: #3d2e1e;
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

.corner-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #c9a84c, transparent);
}

.corner-quote {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #e8d8c4;
    font-style: italic;
    margin-bottom: 16px;
}

.corner-cite {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #b8860b;
    letter-spacing: 0.05em;
    display: block;
}

/* ===== Section 4: Last Orders ===== */
.last-orders-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 80px;
}

.bar-counter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        to bottom,
        #5a4232,
        #3d2e1e 40%,
        #2a1f14 70%,
        transparent
    );
}

.bar-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent 5%,
        #c9a84c 20%,
        #b8860b 50%,
        #c9a84c 80%,
        transparent 95%
    );
}

.last-orders-content {
    width: 100%;
    max-width: 480px;
}

.closing-frame {
    position: relative;
    border: 2px solid #c9a84c;
    padding: 50px 40px;
    text-align: center;
}

.closing-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    pointer-events: none;
}

.closing-inner {
    position: relative;
    z-index: 1;
}

.closing-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 12px;
}

.closing-hours {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #b8860b;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.closing-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tankard-icon-sm {
    opacity: 0.8;
}

.closing-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
    color: #c9a84c;
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .ornate-frame {
        padding: 40px 28px;
    }

    .menu-board {
        padding: 36px 24px;
    }

    .corners-grid {
        grid-template-columns: 1fr;
    }

    .corner-panel {
        padding: 24px 20px;
    }

    .menu-item {
        flex-wrap: wrap;
    }

    .leader-dots {
        display: none;
    }

    .item-desc {
        width: 100%;
        padding-left: 12px;
        white-space: normal;
    }

    .closing-frame {
        padding: 36px 24px;
    }
}
