/* ============================================================
   THE MINERS 1928 — Shared page components
   Loaded on every page AFTER homepage.css. Holds the navigation
   dropdown, footer additions, sub-page hero, and the reusable
   content blocks (hours, menus, room/event cards, FAQ, gallery,
   CTA bands) used across the multi-page site.
   ============================================================ */

/* ------------------------------------------------------------
   NAVIGATION — dropdowns + active state
   ------------------------------------------------------------ */
.nav__item--dropdown {
    position: relative;
}

.nav__links .nav__trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav__caret {
    font-size: 0.6em;
    transition: transform var(--transition-smooth);
    color: var(--gold);
}

.nav__item--dropdown:hover .nav__caret,
.nav__item--dropdown:focus-within .nav__caret {
    transform: rotate(180deg);
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    margin-top: 14px;
    min-width: 230px;
    list-style: none;
    background: rgba(7, 13, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 110, 0.18);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth);
    z-index: 1001;
}

/* hover bridge so the menu doesn't close in the gap */
.nav__dropdown::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown,
.nav__item--dropdown.is-tap-open .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown a {
    display: block;
    padding: 11px 26px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cream);
    white-space: nowrap;
}

.nav__dropdown a::after { display: none; }

.nav__dropdown a:hover {
    color: var(--gold);
    background: rgba(201, 169, 110, 0.07);
}

.nav__links a.is-active,
.nav__links .nav__trigger.is-active {
    color: var(--gold);
}

.nav__links a.is-active::after {
    width: 100%;
}

/* ------------------------------------------------------------
   MOBILE MENU — group labels + sub-links
   ------------------------------------------------------------ */
.mobile-menu__group {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    margin-top: 10px;
}

.mobile-link--sub {
    font-size: 1.1rem;
    opacity: 0.85;
}

.mobile-menu__book {
    color: var(--gold) !important;
    cursor: pointer;
}

/* ------------------------------------------------------------
   FOOTER — contact + social additions
   ------------------------------------------------------------ */
.footer__contact-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    font-size: 0.85rem;
}

.footer__contact-mini a,
.footer__contact-mini span {
    color: var(--gray-lighter);
    font-size: 0.85rem;
}

.footer__contact-mini a:hover { color: var(--gold); }

.footer__social {
    display: flex;
    gap: 22px;
    margin-top: 20px;
}

.footer__social a {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer__social a:hover { color: var(--gold-light); }

/* ------------------------------------------------------------
   SUB-PAGE HERO — shorter hero for interior pages
   ------------------------------------------------------------ */
.page-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: var(--nav-height) 24px 60px;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 8, 7, 0.55) 0%, rgba(4, 8, 7, 0.45) 45%, rgba(4, 8, 7, 0.85) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    isolation: isolate;
}

/* Soft feathered "frosted halo" behind the hero copy — keeps text
   legible over the photo without a hard panel edge (matches the home
   page hero). Applies to every interior page that uses .page-hero. */
.page-hero__content::before {
    content: '';
    position: absolute;
    inset: -10% -8%;
    z-index: -1;
    background: radial-gradient(
        ellipse at center,
        rgba(6, 9, 8, 0.62) 0%,
        rgba(6, 9, 8, 0.38) 45%,
        transparent 72%
    );
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    -webkit-mask: radial-gradient(ellipse at center, #000 0%, #000 42%, transparent 72%);
    mask: radial-gradient(ellipse at center, #000 0%, #000 42%, transparent 72%);
    pointer-events: none;
}

.page-hero__title {
    color: var(--cream);
    margin: 10px 0 18px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.page-hero__sub {
    font-family: var(--font-subheading);
    font-size: clamp(1.15rem, 1.9vw, 1.6rem);
    font-style: italic;
    color: var(--gold-light);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* ------------------------------------------------------------
   SECTION HELPERS
   ------------------------------------------------------------ */
.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-head .section-label { display: block; margin-bottom: 18px; }

.lead {
    font-family: var(--font-subheading);
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    line-height: 1.8;
    color: var(--cream);
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ------------------------------------------------------------
   FEATURE SPLIT — image beside text
   ------------------------------------------------------------ */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.feature-split--reverse .feature-split__media { order: 2; }

/* top-align columns (for two text columns of different lengths) and
   center the block so the bare-text pair reads as a balanced, centered unit
   rather than stretching the full container width and looking left-shifted */
.feature-split--top {
    align-items: start;
    max-width: 880px;
    margin: 0 auto;
    gap: 80px;
}

.feature-split__media img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
}

.feature-split__body h2 { color: var(--cream); }

/* Two side-by-side text columns (e.g. private-events corporate/social):
   the full h2 scale is too large here, and the bullets read too small
   beside it. Shrink the headers, enlarge the list text, and reserve an
   equal two-line header height so the two columns always align as a pair. */
.feature-split--top .feature-split__body h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.25;
    min-height: 2.5em;
}

.feature-split--top .checklist li {
    font-size: 1.05rem;
}

.feature-split + .feature-split { margin-top: 100px; }

/* ------------------------------------------------------------
   DINING TILES (homepage two-up cards)
   ------------------------------------------------------------ */
.dine-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dine-tile {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 110, 0.18);
    background: var(--charcoal-light);
}

.dine-tile__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.dine-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-elegant);
}

.dine-tile:hover .dine-tile__media img { transform: scale(1.05); }

.dine-tile__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 40px 40px;
}

.dine-tile__body h3 { color: var(--cream); margin-bottom: 12px; }
.dine-tile__body p { color: var(--gray-lighter); margin-bottom: 24px; }

/* ------------------------------------------------------------
   HOURS
   ------------------------------------------------------------ */
.hours-list {
    list-style: none;
    max-width: 460px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    font-size: 0.95rem;
    color: var(--cream);
}

.hours-list li span:last-child { color: var(--gold-light); white-space: nowrap; }

.hours-note {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--gray-light);
    margin-top: 16px;
}

/* ------------------------------------------------------------
   INFO / MENU CALLOUT
   ------------------------------------------------------------ */
.info-callout {
    border: 1px solid rgba(201, 169, 110, 0.25);
    background: rgba(201, 169, 110, 0.04);
    padding: 40px;
    text-align: center;
}

.info-callout h3 { color: var(--cream); margin-bottom: 12px; }
.info-callout p { margin-bottom: 22px; }

/* ------------------------------------------------------------
   CHECKLIST (what's included / amenities)
   ------------------------------------------------------------ */
.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 36px;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    color: var(--cream);
    font-size: 0.98rem;
    line-height: 1.6;
}

.checklist li::before {
    content: '\2666';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
}

.checklist--single { grid-template-columns: 1fr; }

/* ------------------------------------------------------------
   ROOM CARDS
   ------------------------------------------------------------ */
.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}

@media (max-width: 768px) {
    .room-grid { grid-template-columns: 1fr; }
}

.room-card {
    border: 1px solid rgba(201, 169, 110, 0.18);
    background: var(--charcoal);
    display: flex;
    flex-direction: column;
}

.room-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.room-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-elegant);
}

.room-card:hover .room-card__media img { transform: scale(1.05); }

.room-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-card__body h3 { color: var(--cream); margin-bottom: 10px; }
.room-card__body p { font-size: 0.92rem; margin-bottom: 22px; flex: 1; }

/* ------------------------------------------------------------
   SPACE CARDS (weddings / private events venues)
   ------------------------------------------------------------ */
.space-card {
    border-left: 2px solid var(--gold);
    padding: 6px 0 6px 30px;
    margin-bottom: 40px;
}

.space-card h3 { color: var(--cream); margin-bottom: 6px; }

.space-card__capacity {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

/* ------------------------------------------------------------
   EVENT CARDS
   ------------------------------------------------------------ */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 34px;
}

.event-card {
    border: 1px solid rgba(201, 169, 110, 0.18);
    background: var(--charcoal);
    display: flex;
    flex-direction: column;
}

.event-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
}

.event-card__media img { width: 100%; height: 100%; object-fit: cover; }

.event-card__date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(4, 8, 7, 0.85);
    border: 1px solid rgba(201, 169, 110, 0.4);
    color: var(--gold-light);
    text-align: center;
    padding: 8px 14px;
    line-height: 1.1;
}

.event-card__date strong { display: block; font-size: 1.4rem; font-family: var(--font-display); color: var(--cream); }
.event-card__date span { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; }

.event-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.event-card__body h3 { color: var(--cream); margin-bottom: 10px; }
.event-card__body p { font-size: 0.9rem; margin-bottom: 20px; flex: 1; }
.event-card__meta { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }

/* ------------------------------------------------------------
   GALLERY
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   GALLERY LIGHTBOX
   ------------------------------------------------------------ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(4, 8, 7, 0.92);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.lightbox.is-open { display: flex; }

.lightbox__img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border: 1px solid rgba(201, 169, 110, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: none;
    border: none;
    color: var(--cream);
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition-smooth);
}

.lightbox__close:hover,
.lightbox__nav:hover { color: var(--gold); }

.lightbox__close {
    top: 24px;
    right: 28px;
    font-size: 2.6rem;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    padding: 10px 18px;
}

.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

@media (max-width: 600px) {
    .lightbox { padding: 20px; }
    .lightbox__nav { font-size: 2.2rem; padding: 8px 10px; }
    .lightbox__close { top: 14px; right: 16px; font-size: 2.2rem; }
}

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

.menu-page {
    display: block;
    border: 1px solid rgba(201, 169, 110, 0.25);
    overflow: hidden;
    transition: border-color var(--transition-smooth);
}

/* A landscape menu page (e.g. the café drinks menu) spans the full row,
   sitting above the portrait food-menu pages. */
.menu-page--wide { grid-column: 1 / -1; }

.menu-page img {
    width: 100%;
    height: auto;
    display: block;
}

.menu-page:hover { border-color: var(--gold); }

.menu-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--gray-light);
}

@media (max-width: 600px) {
    .menu-pages { grid-template-columns: 1fr; max-width: 420px; }
}

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

.gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform var(--transition-elegant), filter var(--transition-smooth);
    filter: grayscale(0.1);
}

.gallery img:hover { transform: scale(1.03); filter: grayscale(0); }

.gallery__placeholder {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(201, 169, 110, 0.3);
    color: var(--gray-light);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------
   CTA BAND
   ------------------------------------------------------------ */
.cta-band {
    text-align: center;
    padding: var(--section-padding) 24px;
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
}

.cta-band h2 { color: var(--cream); max-width: 760px; margin: 0 auto 18px; }
.cta-band p { max-width: 620px; margin: 0 auto 30px; }

.cta-row {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------
   FAQ ACCORDION
   ------------------------------------------------------------ */
.faq { max-width: 820px; margin: 0 auto; }

.faq__item { border-bottom: 1px solid rgba(201, 169, 110, 0.16); }

.faq__q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 24px 40px 24px 0;
    position: relative;
    font-family: var(--font-subheading);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--cream);
    letter-spacing: 0.02em;
}

.faq__q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform var(--transition-smooth);
}

.faq__item.is-open .faq__q::after { content: '\2212'; }

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-elegant);
}

.faq__a p { padding: 0 0 24px; margin: 0; }

/* ------------------------------------------------------------
   EMBED / FORM PLACEHOLDERS
   ------------------------------------------------------------ */
.embed-placeholder {
    border: 1px dashed rgba(201, 169, 110, 0.35);
    background: rgba(201, 169, 110, 0.03);
    padding: 60px 30px;
    text-align: center;
    color: var(--gray-light);
}

.embed-placeholder strong { color: var(--gold); display: block; margin-bottom: 8px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; }

/* ------------------------------------------------------------
   FORM INPUTS
   ------------------------------------------------------------ */
.form-input {
    width: 100%;
    background: rgba(245, 240, 232, 0.03);
    border: 1px solid rgba(201, 169, 110, 0.25);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 14px 16px;
    transition: border-color var(--transition-smooth), background var(--transition-smooth);
}

.form-input::placeholder { color: var(--gray-light); }

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(245, 240, 232, 0.06);
}

textarea.form-input { resize: vertical; }

/* ------------------------------------------------------------
   TRIPLESEAT LEAD FORM EMBED
   ------------------------------------------------------------ */
.ts-embed {
    max-width: 640px;
    margin: 30px auto 0;
    text-align: left;
}

/* Constrain the injected Tripleseat lead form so it never runs to the
   screen edge on desktop. Scoped to the form id (not just .ts-embed) so it
   holds regardless of where the script attaches the form node. */
#tripleseat_embed_form {
    max-width: 640px !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

#tripleseat_embed_form * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* ------------------------------------------------------------
   INSTAGRAM STRIP
   ------------------------------------------------------------ */
.insta-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.insta-strip img { aspect-ratio: 1; object-fit: cover; }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .feature-split { grid-template-columns: 1fr; gap: 40px; }
    .feature-split--reverse .feature-split__media { order: 0; }
    .dine-tiles { grid-template-columns: 1fr; }
    .insta-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .checklist { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .cta-row { flex-direction: column; align-items: center; }
    .page-hero { min-height: 60vh; }
}

@media (max-width: 480px) {
    .gallery { grid-template-columns: 1fr 1fr; }
    .info-callout, .embed-placeholder { padding: 30px 20px; }
}

/* ------------------------------------------------------------
   PHOTO-SPOT REFERENCE TAGS
   Numbered tags shown over every photo location so people can
   reference a spot by code (e.g. WED-3) when sending photos.
   Hidden by default; turned on by adding ?photos to the address.
   See photo-spots.js and PHOTO-CHECKLIST.md.
   ------------------------------------------------------------ */
#photo-id-layer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
}
.photo-id-badge {
    position: absolute;
    transform: translate(6px, 6px);
    padding: 5px 8px;
    border-radius: 6px;
    background: #c8102e;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.photo-id-badge--empty {
    background: #1769ff;
}
