/* ============================================
   NOIR CIGAR — Global Stylesheet
   Dark, cinematic, 1940s film noir aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- TOKENS ---- */
:root {
  --black:       #0a0a0a;
  --charcoal:    #141414;
  --dark:        #1c1c1c;
  --mid:         #2a2a2a;
  --smoke:       #3d3d3d;
  --ash:         #888;
  --silver:      #b8b8b0;
  --cream:       #e8e4d8;
  --white:       #f5f2eb;
  --gold:        #c9a84c;
  --gold-dim:    #8a6f2e;
  --red-noir:    #8b1a1a;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Libre Baskerville', Georgia, serif;
  --font-sans:    'Jost', system-ui, sans-serif;

  --nav-h: 72px;
  --max-w: 1100px;
  --section-pad: 5rem 1.5rem;
}

/* ---- BASE ---- */
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.04em; }

p { color: var(--silver); margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

em, i { font-style: italic; color: var(--cream); }
strong, b { color: var(--white); font-weight: 700; }

.gold { color: var(--gold); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* ---- DIVIDER ---- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.divider.center { margin: 1.5rem auto; }

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: var(--section-pad); }
.section-dark { background: var(--charcoal); }
.section-mid  { background: var(--dark); }

/* ---- NAV ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--mid);
  transition: color 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); }

/* ---- PAGE OFFSET ---- */
.page-body { padding-top: var(--nav-h); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0.35;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.hero-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 4px;
  padding: 3rem 3.5rem;
  max-width: 700px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: #d4b566;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(232,228,216,0.3);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- CARDS ---- */
.card {
  background: var(--charcoal);
  border: 1px solid var(--mid);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: grayscale(60%);
  transition: filter 0.3s;
}
.card:hover .card-img { filter: grayscale(20%); }
.card-body { padding: 1.5rem; }
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.card-meta {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ---- GRID LAYOUTS ---- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }

/* ---- TWO-COL LAYOUT ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
}

/* ---- LAYERED IMAGE BLOCK ---- */
.img-layer-wrap {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}
.img-layer-wrap img {
  width: 100%;
  filter: grayscale(100%);
  opacity: 0.5;
  display: block;
}
.img-layer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.4), rgba(10,10,10,0.1));
}

/* ---- STAT BAR ---- */
.stat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--mid);
}
.stat-item {
  flex: 1;
  min-width: 140px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--mid);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  display: block;
  margin-top: 0.4rem;
}

/* ---- PRICING CARDS ---- */
.price-card {
  background: var(--dark);
  border: 1px solid var(--mid);
  border-radius: 3px;
  padding: 2rem;
  transition: border-color 0.25s;
}
.price-card:hover { border-color: var(--gold-dim); }
.price-card.featured {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.price-tier {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.price-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}
.price-card ul { margin: 1rem 0; }
.price-card ul li {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--silver);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--mid);
  padding-left: 1rem;
  position: relative;
}
.price-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-dim);
  font-size: 0.7rem;
}

/* ---- MUSIC GRID ---- */
.music-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--dark);
  border: 1px solid var(--mid);
  border-radius: 3px;
  transition: border-color 0.2s;
}
.music-track:hover { border-color: var(--gold-dim); }
.track-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(70%);
  flex-shrink: 0;
}
.track-info { flex: 1; min-width: 0; }
.track-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-artist {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ---- FORM ---- */
.form-section {
  background: var(--charcoal);
  border: 1px solid var(--mid);
  border-radius: 3px;
  padding: 3rem;
  max-width: 560px;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 0.5rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--smoke);
  border-radius: 2px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--mid);
}
.footer-logo img { height: 64px; width: auto; margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ash);
  line-height: 1.6;
}
.footer-nav-title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-nav-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav-links a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ash);
  transition: color 0.2s;
}
.footer-nav-links a:hover { color: var(--cream); }
.footer-contact p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ash);
  margin-bottom: 0.4rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--smoke);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ash);
  transition: all 0.2s;
  text-transform: uppercase;
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--smoke);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--smoke);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--ash); }
.age-warning {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--smoke);
  margin-top: 0.4rem;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 4rem;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(100%);
  opacity: 0.3;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.85) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ---- VIDEO GRID ---- */
.video-card {
  background: var(--dark);
  border: 1px solid var(--mid);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
  cursor: pointer;
}
.video-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--mid);
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  transition: filter 0.3s;
}
.video-card:hover .video-thumb img { filter: grayscale(20%); }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201,168,76,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.video-card:hover .video-play-btn { transform: scale(1.1); background: var(--gold); }
.play-triangle {
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid var(--black);
  margin-left: 3px;
}
.video-info { padding: 1.1rem 1.25rem; }
.video-tag {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.video-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

/* ---- INLINE QUOTE ---- */
.noir-quote {
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  background: rgba(201,168,76,0.04);
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.6;
}

/* ---- ABOUT IMAGE GALLERY ---- */
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}
.about-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(80%);
  border-radius: 2px;
  transition: filter 0.4s;
}
.about-gallery img:hover { filter: grayscale(20%); }
.about-gallery img:first-child {
  grid-column: 1 / -1;
  height: 320px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --section-pad: 3.5rem 1.25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-glass { padding: 2rem 1.5rem; }
  .stat-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--mid); }
  .stat-item:last-child { border-bottom: none; }
  .form-section { padding: 2rem 1.25rem; }
  .about-gallery img:first-child { height: 220px; }
  .about-gallery img { height: 160px; }
}

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.gap-btn { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- FOOTER SMOKE VIDEO — mobile fallback ---- */
@media (max-width: 768px) {
  .footer-smoke-video {
    display: none;
  }
  .footer-smoke-fallback {
    display: block !important;
  }
}
.footer-smoke-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background-image: url('images/noir-cigar-smoke-circle-community.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
