/* ── Puffy's Smoke & Vape — style.css ── */
 
/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
 
/* ── COLOR VARIABLES ── */
:root {
  --orange:      #FF6B00;
  --orange-dark: #CC5500;
  --black:       #0A0A0A;
  --dark:        #111111;
  --card-bg:     #181818;
  --text:        #F0EDE8;
  --muted:       #888;
  --border:      rgba(255, 107, 0, 0.2);
}
 
/* ── BASE ── */
body { font-family: 'DM Sans', sans-serif; background: var(--black); color: var(--text); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
 
 
/* ── AGE GATE ── */
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}
 
.age-gate-box     { max-width: 380px; width: 100%; }
.age-gate-logo    { font-family: 'Bebas Neue', sans-serif; font-size: 56px; color: var(--orange); letter-spacing: 4px; line-height: 1; }
.age-gate-sub     { color: var(--muted); font-size: 14px; margin: 6px 0 28px; }
.age-gate-heading { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 2px; color: var(--text); margin-bottom: 6px; }
.age-gate-fine    { font-size: 12px; color: #555; margin-bottom: 24px; }
.age-btn-group    { display: flex; gap: 12px; justify-content: center; }
 
.btn-yes, .btn-no { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; padding: 14px 40px; border-radius: 4px; cursor: pointer; border: none; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.btn-yes          { background: var(--orange); color: white; }
.btn-yes:hover    { background: var(--orange-dark); }
.btn-no           { background: transparent; color: var(--muted); border: 1px solid #333; }
.btn-no:hover     { border-color: #666; color: var(--text); }
 
 
/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--orange);
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 72px;
  /* NO overflow:hidden — it blocks clicks on absolutely positioned children */
}
 
.nav-logo       { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img   { height: 52px; width: 52px; object-fit: contain; display: block; }
.nav-logo-text  { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: var(--orange); letter-spacing: 2px; display: none; }
.nav-logo img.error + .nav-logo-text { display: block; }
 
/* flex:1 + justify-content:center = links float to the true middle */
.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 36px;
  list-style: none;
  align-items: center;
}
 
/* spacer mirrors the logo width so links stay mathematically centered */
.nav-spacer { width: 52px; flex-shrink: 0; }
 
.nav-links a        { font-size: 14px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover  { color: var(--orange); }
 
.nav-links .nav-call       { background: var(--orange); color: white; padding: 8px 20px; border-radius: 4px; transition: background 0.2s; }
.nav-links .nav-call:hover { background: var(--orange-dark); color: white; }
 
 
/* ── HERO ── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
 
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(255,107,0,0.12) 0%, transparent 70%); pointer-events: none; }
.smoke-rings { position: absolute; top: 15%; right: -60px; opacity: 0.05; pointer-events: none; }
 
.ring { border-radius: 50%; border: 20px solid var(--orange); margin-bottom: -80px; animation: float 6s ease-in-out infinite; }
.ring:nth-child(1) { width: 220px; height: 220px; }
.ring:nth-child(2) { width: 160px; height: 160px; margin-left: 30px; animation-delay: 1.5s; }
.ring:nth-child(3) { width: 100px; height: 100px; margin-left: 60px; animation-delay: 3s; }
 
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
 
.hero-eyebrow  { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; position: relative; }
.hero-title    { font-family: 'Bebas Neue', sans-serif; font-size: clamp(72px, 14vw, 130px); line-height: 0.9; letter-spacing: 4px; color: var(--text); margin-bottom: 8px; position: relative; }
.hero-title span { color: var(--orange); }
.hero-subtitle { font-size: 16px; color: var(--muted); max-width: 420px; margin: 16px auto 40px; position: relative; }
.hero-actions  { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; }
 
 
/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: white; padding: 16px 32px; font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; border-radius: 4px; transition: background 0.2s, transform 0.1s; }
.btn-primary:hover  { background: var(--orange-dark); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
 
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--text); padding: 16px 28px; font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; border-radius: 4px; border: 1px solid var(--border); transition: border-color 0.2s, color 0.2s; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
 
 
/* ── TICKER ── */
.ticker       { background: var(--orange); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; animation: ticker 25s linear infinite; font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: 3px; color: white; }
 
@keyframes ticker {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}
 
 
/* ── SECTIONS ── */
section        { padding: 80px 24px; max-width: 900px; margin: 0 auto; }
.section-label { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 6vw, 58px); letter-spacing: 2px; line-height: 1; color: var(--text); margin-bottom: 40px; }
 

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }
 
/* ── PRODUCTS GRID ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
 
.product-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 28px 20px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.product-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.product-icon { font-size: 32px; display: block; margin-bottom: 12px; }
.product-name { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 1px; color: var(--text); margin-bottom: 4px; }
.product-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
 
 
/* ── HOURS & INFO ── */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card    { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.info-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1.5px; color: var(--orange); margin-bottom: 16px; }
 
.info-row               { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
.info-row:last-of-type  { border-bottom: none; }
.info-row .label        { color: var(--muted); }
.info-row .value        { color: var(--text); font-weight: 500; }
.info-row .value.accent { color: var(--orange); }
 
 
/* ── MAP ── */
.map-wrapper { margin-top: 32px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
 
.map-placeholder { background: var(--card-bg); height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; cursor: pointer; transition: background 0.2s; }
.map-placeholder:hover { background: #1e1e1e; }
 
.map-pin { width: 40px; height: 40px; background: var(--orange); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); position: relative; flex-shrink: 0; }
.map-pin::after { content: ''; position: absolute; inset: 8px; background: var(--dark); border-radius: 50%; }
.map-addr { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1px; color: var(--text); }
.map-link { font-size: 13px; color: var(--orange); }
 
 
/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); max-width: 900px; margin: 0 auto; }
 
 
/* ── FOOTER ── */
footer { background: var(--dark); border-top: 1px solid var(--border); text-align: center; padding: 36px 24px; color: var(--muted); font-size: 13px; }
.footer-logo        { font-family: 'Bebas Neue', sans-serif; font-size: 30px; color: var(--orange); letter-spacing: 3px; display: block; margin-bottom: 6px; }
.footer-phone       { color: var(--orange); }
.footer-phone:hover { text-decoration: underline; }
.footer-disclaimer  { margin-top: 14px; font-size: 11px; color: #444; }
 
 
/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
}

#lightbox.open { display: flex; }

#lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
}

#lb-close {
  position: absolute;
  top: 20px; right: 28px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

#lb-prev, #lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,107,0,0.7);
  border: none;
  color: white;
  font-size: 48px;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 4px;
  line-height: 1;
  transition: background 0.2s;
}

#lb-prev:hover, #lb-next:hover { background: var(--orange); }
#lb-prev { left: 20px; }
#lb-next { right: 20px; }

/* ── FLOATING CALL BUTTON ── */
.float-call { position: fixed; bottom: 24px; right: 24px; z-index: 90; background: var(--orange); color: white; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 20px rgba(255,107,0,0.45); transition: transform 0.2s, background 0.2s; }
.float-call:hover { transform: scale(1.08); background: var(--orange-dark); }
 
 
/* ── MOBILE ── */
@media (max-width: 600px) {
  .nav-links  { display: none; }
  .info-grid  { grid-template-columns: 1fr; }
  .hero-title { font-size: 72px; }
}
