/* ========================================
   alcoholdeliverycalgary.ca — Main Styles
   Bottle-shop theme: light, Calgary-red accent, product-forward.
   Same class names as the old gold/black theme so every page +
   all 119 landing pages re-skin at once.
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/tabler-icons/3.2.0/iconfont/tabler-icons.min.css');

:root {
  --bg-primary:    #FAF7F2;
  --bg-secondary:  #ffffff;
  --bg-card:       #ffffff;
  --bg-card-hover: #fbfaf8;
  --bg-elevated:   #f3f1ec;
  --gold:          #D6242E;   /* now Calgary red — kept var name so all refs work */
  --gold-light:    #e23b44;
  --gold-dark:     #b01d26;
  --gold-glow:     rgba(214,36,46,0.08);
  --text:          #1a1a1a;
  --text-muted:    #5d5d5d;
  --text-dim:      #9a9a9a;
  --white:         #1a1a1a;   /* "white" headings were on dark; now dark ink on light */
  --wine:          #D6242E;
  --wine-glow:     rgba(214,36,46,0.12);
  --success:       #1B7A33;
  --danger:        #c0392b;
  --border:        rgba(0,0,0,0.08);
  --border-gold:   rgba(214,36,46,0.35);
  --shadow:        0 4px 24px rgba(0,0,0,0.06);
  --shadow-gold:   0 8px 24px rgba(214,36,46,0.12);
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     16px;
  --ff-display:    'Inter Tight', -apple-system, system-ui, sans-serif;
  --ff-body:       'Inter Tight', -apple-system, system-ui, sans-serif;
  --header-h:      68px;
  --max-w:         1200px;
  --transition:    0.25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--ff-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg-primary); overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  letter-spacing: 0; text-transform: none; transition: color var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #fff !important; padding: 9px 18px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
  text-transform: none; letter-spacing: 0; transition: all var(--transition);
  border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); color: #fff !important; }
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 8px; }

/* ========== HERO ========== */
.hero {
  min-height: auto; position: relative; display: flex; align-items: center;
  padding: calc(var(--header-h) + 24px) 0 32px; overflow: hidden; background: var(--bg-primary);
}
.hero-flex { display: flex; align-items: center; position: relative; min-height: 440px; }
.hero-content { position: relative; z-index: 2; max-width: 620px; padding: 10px 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.8rem; font-weight: 600;
  text-transform: none; letter-spacing: 0; color: var(--success); margin-bottom: 20px;
  padding: 6px 14px; background: rgba(27,122,51,0.1); border-radius: 50px; border: none;
}
.hero-eyebrow .pulse { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.hero h1 {
  font-family: var(--ff-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--gold); -webkit-text-fill-color: var(--gold); }
.hero-sub { font-size: 1.12rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 30px; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #fff;
  padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0; transition: all var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--text);
  padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid var(--border); transition: all var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: var(--text); color: var(--text); }

/* Hero floating tiles -> static product cards */
.hero-tiles { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); width: 460px; height: 420px; z-index: 1; }
.hero-tile {
  position: absolute; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border);
  padding: 18px; box-shadow: var(--shadow); transition: transform 0.6s ease;
}
.hero-tile:nth-child(1) { top: 0; left: 40px; width: 220px; animation: float1 6s ease-in-out infinite; }
.hero-tile:nth-child(2) { top: 120px; right: 0; width: 230px; animation: float2 7s ease-in-out infinite; }
.hero-tile:nth-child(3) { bottom: 60px; left: 0; width: 200px; animation: float3 8s ease-in-out infinite; }
.hero-tile:nth-child(4) { bottom: 10px; right: 40px; width: 210px; animation: float1 9s ease-in-out infinite; }
.hero-tile-icon { font-size: 2rem; margin-bottom: 10px; color: var(--gold); }
.hero-tile-title { font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: 4px; }
.hero-tile-info { font-size: 0.8rem; color: var(--text-muted); }
.hero-tile-price { color: var(--gold); font-weight: 700; font-size: 0.95rem; margin-top: 8px; }
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes float3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ========== TRUST BAR ========== */
.trust-bar { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; }
.trust-items { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: 0.92rem; color: var(--text-muted); }
.trust-item .icon { font-size: 1.4rem; color: var(--gold); }
.trust-item strong { color: var(--text); }

/* ========== SECTIONS ========== */
.section { padding: 72px 0; }
.section-dark { background: #fff; }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-header h2 { font-family: var(--ff-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--text); margin-bottom: 12px; letter-spacing: -0.02em; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.6; }
.gold-line { width: 46px; height: 3px; background: var(--gold); margin: 0 auto 18px; border-radius: 2px; }

/* ========== CATEGORY TILES ========== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; cursor: pointer; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.cat-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.cat-card .icon { font-size: 2.2rem; margin-bottom: 10px; display: block; color: var(--gold); }
.cat-card .name { font-weight: 600; font-size: 0.95rem; color: var(--text); }

/* ========== PRODUCT GRID ========== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.product-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.product-img { height: 180px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 3rem; padding: 14px; position: relative; overflow: hidden; }
.product-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.05em; }
.product-body { padding: 16px; }
.product-brand { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.product-name { font-weight: 600; color: var(--text); margin-bottom: 4px; font-size: 0.98rem; }
.product-size { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 12px; }
/* price hidden per business model — we say "Call to order" */
.product-price { font-size: 0; }
.product-price::after { content: 'Call to order'; display: block; font-size: 0.85rem; font-weight: 600; color: #fff; background: var(--text); text-align: center; padding: 9px 0; border-radius: var(--radius-sm); }
.product-price .was { display: none; }

/* ========== HOW IT WORKS ========== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step-card { text-align: left; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); position: relative; }
.step-num { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--gold); border: none; border-radius: 50%; margin: 0 0 14px; font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; color: #fff; }
.step-card h3 { color: var(--text); font-size: 1.1rem; margin-bottom: 7px; }
.step-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ========== FEATURES / USP ========== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); transition: all var(--transition); }
.feature-card:hover { border-color: var(--border-gold); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; color: var(--gold); }
.feature-card h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 7px; }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* ========== DELIVERY AREAS ========== */
.areas-wrap { display: flex; gap: 36px; flex-wrap: wrap; }
.areas-list { flex: 1; min-width: 280px; columns: 2; column-gap: 28px; list-style: none; }
.areas-list li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--text-muted); break-inside: avoid; }
.areas-list li::before { content: '\2713  '; color: var(--success); font-weight: 700; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--gold); border-radius: var(--radius-lg); padding: 54px; text-align: center;
  margin: 0 24px; position: relative; overflow: hidden; border: none;
}
.cta-banner h2 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: 10px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.92); margin-bottom: 26px; font-size: 1.05rem; position: relative; }
.cta-banner .btn-primary { font-size: 1.05rem; padding: 15px 34px; position: relative; background: #fff; color: var(--gold); }
.cta-banner .btn-primary:hover { background: var(--text); color: #fff; }

/* ========== FOOTER ========== */
.site-footer { background: var(--text); border-top: none; padding: 52px 0 26px; color: #bbb; }
.site-footer .logo { color: #fff; }
.site-footer .logo span { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand .logo { margin-bottom: 14px; display: inline-block; }
.footer-brand p { color: #9a9a9a; font-size: 0.9rem; line-height: 1.65; max-width: 300px; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #bbb; font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: #888; }

/* ========== PAGE LAYOUTS ========== */
.page-hero { padding: calc(var(--header-h) + 50px) 0 44px; text-align: center; background: var(--bg-primary); }
.page-hero h1 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--text); margin-bottom: 14px; letter-spacing: -0.02em; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto; }
.content-section { padding: 52px 0; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--ff-display); font-weight: 700; color: var(--text); font-size: 1.55rem; margin: 36px 0 14px; }
.prose h3 { color: var(--text); font-size: 1.18rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 15px; color: var(--text-muted); line-height: 1.75; }
.prose ul, .prose ol { margin: 15px 0; padding-left: 24px; color: var(--text-muted); }
.prose li { margin-bottom: 7px; line-height: 1.6; }
.prose a { color: var(--gold); font-weight: 500; }

/* ========== CONTACT FORM ========== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 640px; margin: 0 auto; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: none; letter-spacing: 0; margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff;
  border: 1px solid var(--border); color: var(--text); font-family: var(--ff-body); font-size: 0.95rem;
  transition: border-color var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ========== BLOG ========== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-img { height: 180px; background: var(--bg-elevated); }
.blog-card-body { padding: 22px; }
.blog-card-date { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.12rem; color: var(--text); margin-bottom: 7px; }
.blog-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; padding: 36px 24px; gap: 20px; z-index: 999; }
  .nav-links.open a { color: var(--text); }
  .hero { padding: calc(var(--header-h) + 16px) 0 24px; min-height:auto; }
  .hero-flex { min-height: auto; display: block; }
  .hero-tiles { display: none; width:0; height:0; }
  .hero-content { max-width: 100%; padding: 0; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { margin-bottom: 22px; }
  .trust-items { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 22px; margin: 0 16px; }
  .areas-list { columns: 1; }
  .section { padding: 48px 0; }
}
@media (max-width: 1024px) { .hero-tiles { width: 360px; right: -40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-20 { margin-top: 20px; } .mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; } .mb-40 { margin-bottom: 40px; }
.hide { display: none !important; }

@media (prefers-reduced-motion: no-preference) {
  .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .fade-in.visible { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; } }

/* ========== PHONE STICKY ========== */
.sticky-phone {
  position: fixed; bottom: 22px; right: 22px; z-index: 900; background: var(--gold); color: #fff;
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: var(--shadow-gold); transition: all var(--transition); cursor: pointer; border: none;
}
.sticky-phone:hover { transform: scale(1.08); background: var(--gold-dark); color: #fff; }
