/* ───────── 1. Brand tokens ───────── */

:root {
    --clr-yellow: #f9e415;
    --clr-yellow-dark: #d4c113;
    --clr-bg: #0e0e0e;
    --clr-offwhite: #f4f4f4;
    --clr-grey: #a8a8a8;
    --ff-head: 'Futura PT Condensed', 'Oswald', Impact, sans-serif;
}

/* ───────── 2. Reset / primitives ───────── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, sans-serif;
    line-height: 1.5;
    background: var(--clr-bg);
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

img,
picture {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--ff-head);
    font-weight: 700;
    letter-spacing: .03em;
}

/* ───────── 3. Layout helpers ───────── */

.wrapper-limited {
    width: min(65rem, 90%);
    margin-inline: auto;
}

.wrapper-limited p {
    margin-inline: auto;
}

.wrapper-wide {
    width: min(80rem, 95%);
    /* ~10 rem wider + looser max-width */
}

/* center paragraph block */

section {
    padding-block: clamp(3rem, 5vw, 6rem);
}

/* Utility for any Tailwind-style classes still in markup */

.rounded-xl {
    border-radius: .75rem;
}

.shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .3);
}

/* ───────── 4. Buttons ───────── */

.btn {
    display: inline-block;
    padding: .75rem 2rem;
    border-radius: 50rem;
    font-weight: 700;
    white-space: nowrap;
    background: var(--clr-yellow);
    color: #000;
    transition: background .2s;
}

.btn:is(:hover, :focus-visible) {
    background: var(--clr-yellow-dark);
}

.btn:focus-visible {
    outline: 2px dashed var(--clr-yellow-dark);
    outline-offset: 3px;
}



/* Section titles */

.section-title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    color: var(--clr-yellow);
    text-align: center;
    margin-bottom: 2rem;
}

/* ───────── 5. Header / nav ───────── */

header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: hsla(0, 0%, 6%, .85);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    transform: translateY(-100%);
    transition: transform .4s;
}

header.show {
    transform: none;
}

h2 {
    font-family: "Playfair Display", serif;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: .75rem 1rem;
}

nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: .875rem;
    letter-spacing: .05em;
}

@media (max-width:767.98px) {
    nav a[data-mobile="hide"] {
        display: none;
    }
}

nav a:focus-visible {
    outline: 2px dashed var(--clr-yellow-dark);
}

/* ───────── 6. Hero ───────── */

.hero {
    min-height: 100svh;
    /* full viewport height on all devices */
    background-color: #000;
    background-image: url('images/hero.avif');
    /* local hero image */
    background-position: center;
    /* center crop */
    background-size: cover;
    /* preserve aspect ratio, crop excess */
    background-repeat: no-repeat;
}

/* copy that follows the hero image */

.intro {
    text-align: center;
    background-color: #000;
}

.intro h1 {
    font-size: clamp(2.75rem, 8vw, 5rem);
    color: var(--clr-yellow);
    text-shadow: 0 0 12px #0008;
    margin-bottom: 1rem;
}

.intro__tag {
    font-size: clamp(1rem, 3.2vw, 1.5rem);
    max-width: 50ch;
    margin-inline: auto;
    margin-bottom: 2rem;
}

/* ───────── 7. Content blocks ───────── */

.about p,
.food p,
.artists p {
    margin-bottom: 1rem;
    text-wrap: pretty;
}

.about p {
    max-width: 90ch;
}

.artists {
    background: #181818;
}

.food {
    background: #000;
    text-align: center;
}

.about img,
.food img,
.artists img {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: .75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .3);
}

/* ───────── Toggle Buttons Section ───────── */

.promo-toggle {
    background-color: #000;
    /* black background */
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 6rem 0 1rem 0;
    /* more space above, less below */
}

#gaming,
#drinks {
    background: #000;
    /* match toggle background */
    margin-top: 0;
    padding-top: 0;
    display: none;
    /* JS will control visibility */
}

#gaming {
    display: block;
    /* default section visible on page load */
}

.toggle-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50rem;
    font-weight: 700;
    background: var(--clr-grey);
    color: #000;
    cursor: pointer;
    transition: background 0.2s;
}

.toggle-btn.active {
    background: var(--clr-yellow);
    color: #000;
}

.toggle-btn:hover:not(.active),
.toggle-btn:focus-visible:not(.active) {
    background: var(--clr-yellow-dark);
    color: #000;
}


/* Initially hide both sections except active one */
#gaming,


.food-container {
    display: grid;
    gap: 4rem;
    /* space between blocks */
}

.food-block {
    display: grid;
    grid-template-columns: minmax(0, 38ch) 1fr;
    /* text column narrower, image takes remaining space */
    align-items: center;
    gap: 2rem;
}

#gaming,
#drinks {
    padding-bottom: 0rem;
    /* adjust as needed */
}

.food-text {
    max-width: none;
    /* controlled by grid now */
}

.food-block:nth-child(even) {
    direction: rtl;
    /* reverse order for even blocks */
}

.food-media .media {
    width: 100%;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .3);
}

/* Mobile: stack text and image */
@media (max-width: 767.98px) {
    .food-block {
        grid-template-columns: 1fr;
        /* stack vertically */
        direction: ltr;
        /* reset direction */
    }

    .food-text,
    .food-media {
        width: 100%;
        margin: 0;
    }

    .food-media .media {
        margin-inline: auto;
        /* center image */
    }
}

#drinks {
    background: #000;
    /* match the About section */
    color: #fff;
    /* ensure text is readable */
}



#drinks h2.section-title {
    margin-bottom: 2rem;
}


.about {
    background: #000;
}

/* ───────── 8. Promotions section ───────── */

.promo-group {
    max-width: 50ch;
    margin-inline: auto;
    text-align: center;
    margin-block: 1.75rem;
}

.promo-day {
    font-family: 'Playfair Display', sans-serif;
    /* modern, condensed */
    font-weight: 700;
    color: var(--clr-yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}


#gaming {
    background: #000;
}

.promo-group h3 {
    font: 600 1.5rem/1.2 var(--ff-head), sans-serif;
    color: var(--clr-yellow);
    margin-bottom: 1.25rem;
    text-align: center;
    border-top: #d4c113 1px solid;
    border-bottom: #d4c113 1px solid;
    padding: 0.5rem 0;
}

.promo-item {
    padding-block: 0.25rem;
    text-align: center;
}

.promo-item:last-child {
    border: none;
}

.promo-name {
    color: var(--clr-yellow-dark);
    font-weight: 700;
    font-style: italic;
}

.promo-time {
    color: var(--clr-offwhite);
    font-weight: 700;
    margin-left: .25ch;
}

.promo-desc {
    margin-top: 0rem;
}

/* ───────── 8. Photos ───────── */

.media {
    width: 100%;
    max-width: 800px;
    /* same cap as the artist image */
    aspect-ratio: 16/9;
    /* forces 16 : 9 crop */
    margin-inline: auto;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .3);
}

.media img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Events Section */
.events-section {
    text-align: center;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Optional: limit paragraph width */
.events-section p {
    max-width: 600px;
    margin: 0 auto;
}

/* Calendar Embed Wrapper */
.events-embed-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 2rem;
    border-radius: 1rem;
    /* rounded-xl style */
    overflow: hidden;
    /* ensures rounding applies */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* shadow similar to images */
    background-color: #fff;
    /* optional, matches page background */
}

/* Calendar Iframe */
.events-embed-wrapper iframe {
    width: 100%;
    height: 600px;
    border: 0;
    display: block;
}

/* Responsive: reduce height on smaller screens */
@media (max-width: 600px) {
    .events-embed-wrapper iframe {
        height: 400px;
    }
}

/* ───────── 9. Footer ───────── */

footer {
    font-size: .875rem;
    text-align: center;
    color: #bbb;
    background: #000;
    padding: 2rem 1rem;
}

footer a[href^="tel:"] {
    color: var(--clr-yellow-dark);
    font-weight: 700;
    /* optional: make it stand out more */
}



/* === Gallery Page Styles === */

/* Gallery wrapper */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

/* Each gallery item */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* The artwork images */

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Caption under each artwork */

.gallery-caption {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #eee;
}

/* ================= GALLERY ================= */

body.gallery-page header {
    transform: none !important;
    /* header always visible */
}

.gallery {
    display: grid;
    justify-content: center;
    /* center the section itself */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* default: 1 column */
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on desktop */
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* 1 column by default for mobile */
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on tablet/desktop */
    }
}

.gallery-grid a img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.05);
}