/* ============================================================
   Bob's Adult Bookstore — style.css
   Color palette:
     --bg-dark:    #111111   (near-black)
     --bg-card:    #1a1a1a   (dark charcoal)
     --bg-surface: #222222   (elevated surface)
     --gold:       #c9a84c   (warm gold accent)
     --gold-light: #e2c97e   (hover gold)
     --white:      #f5f5f5   (off-white text)
     --muted:      #999999   (secondary text)
     --red:        #c0392b   (age-gate / alert)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #111111;
  --bg-card: #1a1a1a;
  --bg-surface: #222222;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --white: #f5f5f5;
  --muted: #999999;
  --red: #c0392b;
  --font-main: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1140px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ---------- Utility ---------- */
.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }

/* ---------- Age Verification Gate ---------- */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#age-gate.hidden { display: none; }

.age-gate-inner {
  max-width: 480px;
  padding: 2.5rem 2rem;
}

.age-gate-inner h1 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
}

.age-gate-inner .subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.age-gate-inner p.question {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.age-gate-inner p.legal {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.age-gate-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate-buttons button {
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
  letter-spacing: 0.03em;
}

.btn-enter {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn-enter:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-exit {
  background: transparent;
  color: var(--gold);
}
.btn-exit:hover {
  background: rgba(201,168,76,0.1);
}

/* ---------- Header / Nav ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo span { color: var(--white); font-weight: 400; }

nav { display: flex; align-items: center; }
nav a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 1.75rem;
  position: relative;
  transition: color var(--transition);
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
nav a:hover, nav a.active { color: var(--gold); }
nav a:hover::after, nav a.active::after { width: 100%; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all var(--transition);
  border-radius: 2px;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- Sections ---------- */
section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: var(--bg-card);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* ---------- Hero ---------- */
#home {
  padding-top: 9rem;
  padding-bottom: 5rem;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(17,17,17,1) 0%,
    rgba(26,26,26,0.85) 60%,
    rgba(17,17,17,1) 100%
  );
  position: relative;
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero-content h1 .accent { color: var(--gold); }

.hero-content .tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-details {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-detail {
  text-align: center;
}
.hero-detail .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.hero-detail .value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--bg-dark);
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  border: 2px solid var(--gold);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--white);
  line-height: 1.8;
}

.about-text p:last-child { margin-bottom: 0; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-feature {
  background: var(--bg-surface);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid rgba(201,168,76,0.1);
  transition: border-color var(--transition);
}
.about-feature:hover {
  border-color: rgba(201,168,76,0.3);
}

.about-feature .icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-feature h3 {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Services & Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.35);
}

.pricing-card.featured {
  border-color: var(--gold);
  position: relative;
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 1rem;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

.pricing-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.pricing-card .price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.pricing-card .features {
  list-style: none;
  padding: 0;
  text-align: left;
}
.pricing-card .features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pricing-card .features li:last-child { border: none; }
.pricing-card .features li::before {
  content: '\2713';
  color: var(--gold);
  margin-right: 0.5rem;
  font-weight: 700;
}

/* Promo Banner */
.promo-banner {
  background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.05) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
}

.promo-banner h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.promo-banner p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.promo-banner .promo-highlight {
  color: var(--white);
  font-weight: 600;
}

/* ---------- Showroom ---------- */
.showroom-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showroom-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.showroom-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.showroom-category {
  background: var(--bg-dark);
  padding: 1.25rem;
  border-radius: 6px;
  border: 1px solid rgba(201,168,76,0.1);
  text-align: center;
  transition: border-color var(--transition);
}
.showroom-category:hover {
  border-color: rgba(201,168,76,0.3);
}

.showroom-category .icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.showroom-category h3 {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.showroom-category p {
  font-size: 0.8rem;
  color: var(--muted);
}

.ecommerce-notice {
  background: var(--bg-surface);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 8px;
  padding: 1.75rem;
  text-align: center;
  margin-top: 2.5rem;
}

.ecommerce-notice h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.ecommerce-notice p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Events ---------- */
.event-featured {
  background: var(--bg-surface);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.event-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.event-featured h3 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.event-meta-item {
  font-size: 0.9rem;
  color: var(--muted);
}
.event-meta-item strong {
  color: var(--gold);
}

.event-featured p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.event-featured .btn-primary {
  margin-top: 0.5rem;
}

.event-charity {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.events-future {
  max-width: 720px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.events-future p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Location / Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-detail .icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  margin-top: 0.15rem;
}

.contact-detail .info { color: var(--white); }
.contact-detail .info .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.directions {
  margin-top: 2rem;
}
.directions h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.directions p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.15);
  height: 100%;
  min-height: 360px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom .age-notice {
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ---------- Animations (fade-in on scroll) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column !important;
    text-align: center !important;
  }
  .hero-content .hero-details,
  .hero-content .hero-buttons {
    justify-content: center !important;
  }
  .about-grid,
  .showroom-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content h1 { font-size: 2.5rem; }
}

/* Mobile */
@media (max-width: 640px) {
  section { padding: 3.5rem 0; }

  .hero-content h1 { font-size: 2rem; }
  .hero-content .tagline { font-size: 1rem; }

  .section-header h2 { font-size: 1.6rem; }

  .about-features {
    grid-template-columns: 1fr;
  }

  .showroom-categories {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .event-featured {
    padding: 1.5rem;
  }

  .event-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Mobile nav */
  .menu-toggle { display: block; }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(17,17,17,0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  nav.open {
    max-height: 400px;
    padding: 1rem 0;
  }
  nav a {
    margin: 0;
    padding: 0.75rem 1.5rem;
    display: block;
    width: 100%;
    text-align: center;
  }
  nav a::after { display: none; }
}
