/* ============================================================
   CLIENT.CSS — CANNA DREAMS NYC
   World-class luxury cannabis dispensary design system.
   Dark premium aesthetic with electric blue accents.
   Hybrid walk-in + delivery focus. Custom HTML polish only.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
  /* Colors - locked blue palette + luxury extensions */
  --color-bg:          #0a0c10;
  --color-surface:     #111418;
  --color-surface-2:   #1a1f26;
  --color-surface-3:   #242a33;
  --color-accent:      #4ed1ff;
  --color-accent-light:#7ee0ff;
  --color-accent-dark: #2aa8d4;
  --color-accent-glow: rgba(78, 209, 255, 0.25);
  --color-border:      rgba(78, 209, 255, 0.22);
  --color-border-soft: rgba(255, 255, 255, 0.06);
  --color-text-1:      #f8f9fb;
  --color-text-2:      #9aa3b0;
  --color-text-3:      #5c6573;
  --color-gold:        #f5c542;
  --color-error:       #ef4444;
  --color-success:     #22c55e;

  /* Typography - upgraded for premium dispensary feel */
  --font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing and shape - tighter luxury */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --container:  1280px;
  --section-gap: 120px;

  /* Shadows - cinematic depth */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 0 1px var(--color-accent-glow), 0 8px 32px rgba(78, 209, 255, 0.15);

  /* Light brand palette (nav, footer, page sections) */
  --sky:           #5BC4E5;
  --accent:        #00B4D8;
  --accent-deep:   #0096C7;
  --sky-light:     #A8DFF0;
  --sky-pale:      #E0F5FC;
  --sky-ultra:     #F0FAFE;
  --white:         #ffffff;
  --ink:           #0A1628;
  --ink-soft:      #1E3A4A;
  --slate:         #4A6070;
  --gold:          #F4C542;
  --shadow:        0 4px 24px rgba(0,180,216,0.13);
  --shadow-halo:   0 12px 48px rgba(0,180,216,0.18);
}

/* Global polish */
body {
  font-family: var(--font-body);
  color: var(--color-text-1);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3, .heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
}

/* Premium buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #0a0c10;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--color-accent), 0 20px 60px rgba(78, 209, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-1);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface-2);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

/* Hero upgrades - hybrid focus */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(10,12,16,0.65), rgba(10,12,16,0.85)), url('/assets/images/hero-bg.jpg') center/cover no-repeat;
}

.hero-content {
  max-width: 620px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(52px, 8vw, 88px);
  margin-bottom: 24px;
  color: #fff;
}

.hero .subhead {
  font-size: 22px;
  color: var(--color-text-2);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* App promo - prominent and irresistible */
.app-promo {
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-surface-3));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}

.app-promo .badge {
  display: inline-block;
  background: var(--color-accent);
  color: #0a0c10;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.app-promo h3 {
  font-size: 28px;
  margin: 8px 0 12px;
}

.app-promo p {
  color: var(--color-text-2);
  margin-bottom: 20px;
}

/* Product categories nav */
.category-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 48px 0;
}

.category-pill {
  padding: 12px 28px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-1);
  transition: all 0.2s ease;
  text-decoration: none;
}

.category-pill:hover,
.category-pill.active {
  background: var(--color-accent);
  color: #0a0c10;
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

/* Top Sellers grid - elevated cards */
.top-sellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}

.product-info {
  padding: 24px;
}

.product-info h4 {
  font-size: 20px;
  margin: 0 0 8px;
  font-family: var(--font-heading);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
}

.thc-range {
  font-size: 13px;
  color: var(--color-text-2);
  background: var(--color-surface-2);
  padding: 4px 12px;
  border-radius: 999px;
}

.quick-add {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  background: var(--color-accent-dark);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quick-add:hover {
  background: var(--color-accent);
  color: #0a0c10;
}

/* ETA Band & Maps - live hybrid feel */
.eta-band {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

/* Section headers */
.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 48px;
  margin-bottom: 12px;
}

.section-header .sub {
  font-size: 18px;
  color: var(--color-text-2);
  max-width: 560px;
}

/* Final luxury touches */
.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-soft);
}

.glow-on-hover:hover {
  box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .btn {
    padding: 18px 24px;
  }
}
