/* =========================================================
   HABANO CIGAR LOUNGE - styles.css
   Warm, old-world gentleman's lounge. Oxblood + aged brass.
   ========================================================= */

:root {
  --bg: #1a0f0f;            /* deep oxblood-black, warm */
  --bg-alt: #150c0c;
  --card-bg: #241414;
  --card-bg-2: #2b1818;
  --text-primary: #f2e9dc;  /* warm cream */
  --text-secondary: #cbb9a8;
  --text-muted: #8a7568;
  --hairline: rgba(203,185,168,0.16);
  --hairline-strong: rgba(203,185,168,0.30);
  --accent: #b8863b;        /* aged brass */
  --accent-bright: #d9a95c;
  --accent-deep: #7a2e2e;   /* oxblood red */

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;

  --radius: 3px;
  --maxw: 1200px;
  --nav-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; }

/* ---------- Shared layout ---------- */
.section { padding: 104px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__wrap { width: 90%; max-width: var(--maxw); margin: 0 auto; }
.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: 0.2px; }
.section__intro { color: var(--text-secondary); margin-top: 14px; font-size: 1.15rem; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
}
.btn--brass {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #241207;
  box-shadow: 0 6px 20px rgba(184,134,59,0.22);
}
.btn--brass:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(184,134,59,0.34); }
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--hairline-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); }
.btn--sm { padding: 10px 22px; font-size: 0.92rem; }
.btn--block { display: block; width: 100%; text-align: center; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(21,12,12,0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.is-scrolled { background: rgba(21,12,12,0.94); border-bottom-color: var(--hairline); }
.nav__inner {
  width: 90%; max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-img { height: 52px; width: auto; display: block; }
.nav__logo.has-img .nav__logo-mark,
.nav__logo.has-img .nav__logo-text { display: none; }   /* hide fallback once the emblem loads */
.footer__logo .nav__logo-img { height: 76px; }
.nav__logo-mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  color: var(--accent-bright);
  border: 1.5px solid var(--accent); border-radius: 50%;
}
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-name { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: 1px; }
.nav__logo-sub {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.34em;
  color: var(--text-muted); margin-top: 3px;
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 1rem; letter-spacing: 0.05em; color: var(--text-secondary);
  text-transform: uppercase; font-weight: 500; position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { flex: none; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 6px;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--text-primary); transition: .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(21,12,12,0.98); border-bottom: 1px solid var(--hairline);
  flex-direction: column; padding: 18px 5% 28px; gap: 6px;
  display: none;                     /* hidden by default */
}
.mobile-menu:not([hidden]) { display: flex; }   /* shown only when toggled open */
.mobile-menu a {
  padding: 14px 4px; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-secondary); border-bottom: 1px solid var(--hairline);
}
.mobile-menu__cta { margin-top: 16px; text-align: center; border-bottom: 0 !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 82vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-h) + 40px) 5% 64px; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media .placeholder { width: 100%; height: 100%; border-radius: 0; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(26,15,15,0.35), rgba(26,15,15,0.82) 75%),
    linear-gradient(180deg, rgba(26,15,15,0.55), rgba(21,12,12,0.96));
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.4em; font-size: 0.85rem; font-weight: 600;
  color: var(--accent-bright); margin: 0 0 20px;
}
.hero__title {
  font-size: clamp(2.8rem, 8vw, 5.6rem); font-weight: 700; letter-spacing: 0.5px;
}
.hero__title .accent {
  color: var(--accent-bright);
  font-style: italic; font-weight: 500;
}
.hero__sub {
  color: var(--text-secondary); font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 620px; margin: 18px auto 14px;
}
.hero__location {
  text-transform: uppercase; letter-spacing: 0.34em; font-size: 0.82rem; font-weight: 600;
  color: var(--accent-bright); margin: 0 0 30px;
}
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   STORY
   ============================================================ */
.story__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 64px; align-items: center; }
.story__copy p { color: var(--text-secondary); margin: 0 0 18px; }
.story__copy .section__title { margin-bottom: 22px; }
.story__media .placeholder { width: 100%; }

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.amenity {
  background: var(--card-bg); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 40px 32px; text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}
.amenity:hover { transform: translateY(-4px); border-color: var(--hairline-strong); }
.amenity__icon {
  width: 58px; height: 58px; margin: 0 auto 22px; color: var(--accent-bright);
  display: grid; place-items: center;
}
.amenity__icon svg { width: 100%; height: 100%; }
.amenity h3 { font-size: 1.4rem; margin-bottom: 10px; }
.amenity p { color: var(--text-secondary); font-size: 1.02rem; margin: 0; }

/* ============================================================
   VINTAGE CIGAR ROOM
   ============================================================ */
.vintage { padding: 0; position: relative; min-height: 560px; display: flex; align-items: center; }
.vintage__media { position: absolute; inset: 0; }
.vintage__media .placeholder { width: 100%; height: 100%; }
.vintage__overlay {
  position: relative; width: 100%; z-index: 2;
  background: linear-gradient(90deg, rgba(21,12,12,0.94) 0%, rgba(21,12,12,0.82) 45%, rgba(26,15,15,0.35) 100%);
  padding: 120px 0;
}
.vintage__inner { max-width: 620px; }
.vintage__lead { color: var(--text-secondary); font-size: 1.2rem; margin: 22px 0 16px; }
.vintage__note {
  color: var(--accent-bright); font-style: italic; font-size: 1.25rem; margin: 0;
  font-family: var(--font-display);
}

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.tier {
  background: var(--card-bg); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 40px 32px; display: flex; flex-direction: column;
  position: relative; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.tier:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,0.4); }
/* Social - quietest */
.tier:first-child { opacity: 0.92; }
/* Featured Premium */
.tier--featured {
  background: linear-gradient(180deg, var(--card-bg-2), var(--card-bg));
  border-color: var(--accent); box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  transform: translateY(-10px) scale(1.02);
}
.tier--featured:hover { transform: translateY(-16px) scale(1.02); }
.tier--ultimate { border-color: var(--hairline-strong); }
.tier__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent-bright), var(--accent)); color: #241207;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700;
  padding: 6px 16px; border-radius: 40px; white-space: nowrap;
}
.tier__name { font-size: 1.55rem; margin-bottom: 6px; }
.tier__price { margin: 0 0 6px; }
.tier__amount { font-family: var(--font-display); font-size: 2.9rem; font-weight: 700; color: var(--accent-bright); }
.tier__per { color: var(--text-muted); font-size: 1.05rem; }
.tier__list { list-style: none; padding: 22px 0; margin: 18px 0 26px; border-top: 1px solid var(--hairline); flex: 1; }
.tier__list li {
  color: var(--text-secondary); padding: 9px 0 9px 28px; position: relative; font-size: 1.05rem;
}
.tier__list li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.tier__cta { text-align: center; }

/* ============================================================
   EVENT BANNER (fat full-width image under the hero)
   ============================================================ */
.event-banner { position: relative; background: var(--bg-alt); }
.event-banner__link { display: block; }
.event-banner__img {
  display: block; width: 100%; height: auto;
}
/* Fallback placeholder shown only when the flyer file is missing */
.event-banner__placeholder { display: none; }
.event-banner.no-img .event-banner__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 64px 20px; min-height: 320px;
  background:
    repeating-linear-gradient(45deg, rgba(203,185,168,0.03) 0 12px, rgba(203,185,168,0.06) 12px 24px),
    linear-gradient(160deg, var(--card-bg-2), var(--bg-alt));
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.event-banner__rsvp { text-align: center; padding: 30px 5% 44px; }

/* ============================================================
   FEATURED CIGARS - HEXAGON HONEYCOMB
   (Managers Picks / New Arrivals. Each hex links to a buy URL.)
   ============================================================ */
.featured__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.featured__col-title {
  text-align: center; text-transform: uppercase; letter-spacing: 0.34em;
  font-family: var(--font-body); font-weight: 700; font-size: 1.1rem;
  color: var(--text-primary); margin: 0 0 30px;
}
.featured__note { text-align: center; color: var(--text-muted); font-size: 0.98rem; margin: 40px 0 0; }

/* Honeycomb: pointy-top hexagons in centered, interlocking rows */
.hexgrid { --hexw: 128px; display: flex; flex-direction: column; align-items: center; }
.hexrow { display: flex; justify-content: center; }
.hexrow + .hexrow { margin-top: calc(var(--hexw) * -0.28); }

.hex {
  width: var(--hexw);
  aspect-ratio: 1 / 1.1547;      /* pointy-top hexagon ratio */
  margin: 0 4px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--accent);      /* acts as a thin brass frame */
  transition: transform .22s ease, filter .22s ease;
  display: block;
}
.hex:hover { transform: scale(1.06); filter: brightness(1.12); z-index: 3; }
.hex__inner {
  width: 100%; height: 100%;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transform: scale(0.965);         /* reveals brass frame underneath */
  background:
    linear-gradient(160deg, var(--card-bg-2), var(--card-bg));
  background-size: cover; background-position: center;
  display: grid; place-items: center; text-align: center; padding: 14px;
}
/* When a real product image is set via data-img, it fills the hex */
.hex__inner[style*="background-image"] .hex__label { display: none; }
.hex__label {
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; line-height: 1.25;
  color: var(--text-secondary); letter-spacing: 0.02em;
}
.hex:hover .hex__label { color: var(--text-primary); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px;
}
.gph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
}
.gph--empty {
  background:
    repeating-linear-gradient(45deg, rgba(203,185,168,0.03) 0 12px, rgba(203,185,168,0.06) 12px 24px),
    linear-gradient(160deg, var(--card-bg-2), var(--bg-alt));
  border: 1px dashed var(--hairline-strong);
}
.gph__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gph:hover .gph__img { transform: scale(1.05); }
.gph--wide { grid-column: span 2; }
.gph--tall { grid-row: span 2; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact__block { margin-top: 26px; }
.contact__block h3 {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.9rem; color: var(--accent-bright); font-weight: 700; margin-bottom: 8px;
}
.contact__block p, .contact__block a { color: var(--text-secondary); }
.contact__block a:hover { color: var(--accent-bright); }
.hours { border-collapse: collapse; width: 100%; max-width: 340px; }
.hours th, .hours td { text-align: left; padding: 6px 0; color: var(--text-secondary); font-weight: 500; }
.hours th { color: var(--text-primary); font-family: var(--font-body); padding-right: 24px; }
.contact__map { margin-top: 30px; }
.contact__map .placeholder { height: 240px; }

.contact__form-wrap {
  background: var(--card-bg); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 40px;
}
.contact__form-title { font-size: 1.6rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
.field .opt { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius);
  color: var(--text-primary); font-family: var(--font-body); font-size: 1.05rem; padding: 12px 14px;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.form-note { color: var(--text-muted); font-size: 0.92rem; margin: 14px 0 0; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--hairline); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__tag { color: var(--accent-bright); font-family: var(--font-display); font-style: italic; margin: 16px 0 18px; }
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 40px; height: 40px; border: 1px solid var(--hairline); border-radius: 50%;
  display: grid; place-items: center; color: var(--text-secondary); transition: .2s;
}
.footer__social a svg { width: 20px; height: 20px; }
.footer__social a:hover { border-color: var(--accent); color: var(--accent-bright); }
.footer h4 {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.9rem; color: var(--text-primary); font-weight: 700; margin-bottom: 18px;
}
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__hours p, .footer__visit p { color: var(--text-secondary); font-size: 1rem; margin: 0; }
.footer__hours p, .footer__visit p { margin-bottom: 8px; }
.footer__nav a:hover { color: var(--accent-bright); }
.footer__bar {
  border-top: 1px solid var(--hairline); margin-top: 56px; padding: 24px 5%;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  width: 90%; max-width: var(--maxw); margin-left: auto; margin-right: auto;
}
.footer__bar p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.footer__legal { color: var(--accent) !important; }

/* ============================================================
   PLACEHOLDERS (all image/video slots)
   ============================================================ */
.placeholder {
  position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(203,185,168,0.03) 0 12px, rgba(203,185,168,0.06) 12px 24px),
    linear-gradient(160deg, var(--card-bg-2), var(--bg-alt));
  border: 1px dashed var(--hairline-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; padding: 20px; color: var(--text-muted);
}
.placeholder--45 { aspect-ratio: 4 / 5; }
.placeholder--wide { aspect-ratio: 16 / 9; }
.placeholder--11 { aspect-ratio: 4 / 5; }
.placeholder--video { aspect-ratio: auto; }
.placeholder--map { width: 100%; }
.placeholder__tag {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; font-weight: 700; color: var(--accent);
}
.placeholder__desc { font-size: 0.92rem; color: var(--text-muted); max-width: 90%; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }   /* never show mobile menu on desktop */
}

@media (max-width: 960px) {
  body { font-size: 19px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .story__grid { grid-template-columns: 1fr; gap: 36px; }
  .story__media { max-width: 440px; margin: 0 auto; }
  .amenities__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tiers { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .tier--featured { transform: none; }
  .tier--featured:hover { transform: translateY(-8px); }
  .featured__cols { grid-template-columns: 1fr; gap: 56px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hexgrid { --hexw: 104px; }
  .event-card { grid-template-columns: 1fr; }
  .event-card__media .placeholder { min-height: 200px; }
  .event-card__body { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gph--wide, .gph--tall { grid-column: auto; grid-row: auto; }
}
@media (max-width: 380px) {
  .hexgrid { --hexw: 88px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}
