/* ============================================================
   Qazzaz Coffee – Home page showcase (premium visuals)
   Scoped to .page-home; pairs with index.html structure.
   ============================================================ */

/* ── Shared home accents ───────────────────────────────────── */
.page-home {
  --home-glow-gold: rgba(212, 184, 122, 0.55);
  --home-glow-rose: rgba(232, 168, 160, 0.35);
  --home-glow-mint: rgba(160, 200, 180, 0.2);
  --home-glass: rgba(255, 252, 248, 0.72);
  --home-glass-border: rgba(184, 151, 93, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .hero-atmosphere__shift,
  .tradition-panel::before,
  .home-video-frame::after {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO – layered atmosphere + glass inner
   ═══════════════════════════════════════════════════════════ */
.page-home .hero-dark {
  background: linear-gradient(
    165deg,
    #1a0d06 0%,
    #2d1810 18%,
    #4a2818 42%,
    #6b3d28 58%,
    #c49a6c 78%,
    #f0d4a8 92%,
    #fff4e4 100%
  );
  color: var(--cream);
  isolation: isolate;
}

.page-home .hero-dark::before {
  opacity: 0.85;
  background:
    radial-gradient(ellipse 90% 70% at 50% 120%, rgba(13, 5, 1, 0.65) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 15% 25%, rgba(212, 184, 122, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 85% 30%, rgba(232, 168, 160, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 244, 228, 0.5) 0%, transparent 50%);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-atmosphere__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 184, 122, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139, 90, 60, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  opacity: 0.9;
}

.hero-atmosphere__shift {
  position: absolute;
  inset: -30%;
  background: conic-gradient(
    from 220deg at 50% 50%,
    rgba(212, 184, 122, 0.12),
    rgba(232, 168, 160, 0.08),
    rgba(100, 60, 40, 0.15),
    rgba(212, 184, 122, 0.1),
    rgba(232, 168, 160, 0.12)
  );
  animation: hero-aurora-drift 18s ease-in-out infinite alternate;
  opacity: 0.6;
}

@keyframes hero-aurora-drift {
  0%   { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(25deg) scale(1.08); }
}

.hero-atmosphere__ring {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(140vw, 900px);
  height: min(140vw, 900px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(212, 184, 122, 0.12);
  box-shadow:
    0 0 80px rgba(212, 184, 122, 0.08),
    inset 0 0 60px rgba(255, 244, 228, 0.04);
  opacity: 0.7;
}

.hero-atmosphere__ring--2 {
  width: min(110vw, 720px);
  height: min(110vw, 720px);
  border-color: rgba(255, 244, 228, 0.1);
  opacity: 0.5;
}

.hero-atmosphere__sparkles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.35) 0, transparent 1.5px),
    radial-gradient(circle at 88% 18%, rgba(255, 244, 228, 0.4) 0, transparent 1px),
    radial-gradient(circle at 76% 78%, rgba(212, 184, 122, 0.5) 0, transparent 1px),
    radial-gradient(circle at 24% 85%, rgba(255, 255, 255, 0.25) 0, transparent 1.5px),
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.2) 0, transparent 1px);
  opacity: 0.45;
}

.hero-atmosphere__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, transparent 30%, rgba(13, 5, 1, 0.35) 100%);
  pointer-events: none;
}

.page-home .hero-dark-inner {
  padding: 5.5rem 1.5rem 5.5rem;
  max-width: 56rem;
  margin: 0 auto;
  background: linear-gradient(
    145deg,
    rgba(255, 252, 248, 0.14) 0%,
    rgba(255, 244, 228, 0.08) 50%,
    rgba(42, 21, 8, 0.06) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 2rem;
  border: 1px solid rgba(255, 244, 228, 0.22);
  box-shadow:
    0 4px 40px rgba(13, 5, 1, 0.2),
    0 0 0 1px rgba(212, 184, 122, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.page-home .hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 244, 228, 0.95);
  background: linear-gradient(135deg, rgba(212, 184, 122, 0.35) 0%, rgba(42, 21, 8, 0.45) 100%);
  border: 1px solid rgba(255, 244, 228, 0.28);
  padding: 0.45rem 1rem 0.45rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(13, 5, 1, 0.15);
}

.page-home .hero-location-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ddf9a;
  box-shadow: 0 0 10px rgba(125, 223, 154, 0.9);
}

/* Pill pinned to top-right of hero-dark-inner */
.page-home .hero-location-pill--corner {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  margin: 0;
  z-index: 2;
}

@media (max-width: 600px) {
  .page-home .hero-location-pill--corner {
    top: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    padding: 0.35rem 0.75rem 0.35rem 0.65rem;
  }
}

/* Slogan under the hero logo */
.hero-logo-slogan {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
  color: rgba(255, 244, 228, 0.92);
  letter-spacing: 0.06em;
  margin: 0.65rem 0 0;
  text-align: center;
  text-shadow: 0 2px 20px rgba(13, 5, 1, 0.4);
}

.page-home .hero-dark h1 {
  color: #fff9f0;
  text-shadow: 0 2px 40px rgba(13, 5, 1, 0.35);
}

.page-home .hero-dark h1 em {
  background: linear-gradient(120deg, #ffe8b8 0%, #f0c97a 40%, #d4b87a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(212, 184, 122, 0.4));
}

.page-home .hero-dark .hero-sub {
  color: rgba(255, 244, 228, 0.82);
  font-size: 1.125rem;
}

.page-home .hero-logo-wrap {
  filter: drop-shadow(0 8px 32px rgba(13, 5, 1, 0.35));
}

.page-home .hero-bean {
  opacity: 0.09;
  filter: saturate(1.2);
}

.page-home .btn-primary-light {
  box-shadow:
    0 4px 24px rgba(212, 184, 122, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.15);
}

.page-home .btn-outline-light {
  color: rgba(255, 244, 228, 0.95);
  border-color: rgba(255, 244, 228, 0.35);
  background: rgba(13, 5, 1, 0.15);
}

.page-home .btn-outline-light:hover:not(:disabled) {
  background: rgba(255, 244, 228, 0.12);
  border-color: rgba(255, 244, 228, 0.55);
}

.page-home .hero-scroll-hint {
  color: rgba(255, 244, 228, 0.4);
}

.page-home .hero-scroll-hint::after {
  background: linear-gradient(to bottom, rgba(255, 244, 228, 0.45), transparent);
}

/* ═══════════════════════════════════════════════════════════
   FEATURES – bento-style cards
   ═══════════════════════════════════════════════════════════ */
.page-home .home-features-premium {
  position: relative;
  padding: 5.5rem 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(255, 252, 248, 0.75) 0%,
    rgba(250, 243, 232, 0.88) 45%,
    rgba(255, 255, 255, 0.65) 100%
  ) !important;
  border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.page-home .home-features-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    #5c3d2a 0%,
    #c9a962 20%,
    #e8a898 40%,
    #7d9b8c 60%,
    #c9a962 80%,
    #3d2314 100%
  );
  opacity: 0.85;
}

.page-home .home-features-premium .section-eyebrow {
  background: linear-gradient(90deg, var(--caramel-600), var(--brand-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.page-home .home-features-premium .feature-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 242, 0.9) 100%);
  border: 1px solid rgba(184, 151, 93, 0.22);
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-home .home-features-premium .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 1.35rem 1.35rem 0 0;
  opacity: 0.95;
}

.page-home .home-features-premium .feature-card:nth-child(1)::before {
  background: linear-gradient(90deg, #8b4513, #d4a574);
}

.page-home .home-features-premium .feature-card:nth-child(2)::before {
  background: linear-gradient(90deg, #2d5a4a, #7d9b8c);
}

.page-home .home-features-premium .feature-card:nth-child(3)::before {
  background: linear-gradient(90deg, #6b4423, #c9a962);
}

.page-home .home-features-premium .feature-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 8px rgba(42, 21, 8, 0.08));
}

/* ═══════════════════════════════════════════════════════════
   VIDEO – cinematic frame
   ═══════════════════════════════════════════════════════════ */
.page-home .home-video-premium {
  position: relative;
  padding: 5.5rem 1.25rem;
  background: linear-gradient(
    165deg,
    rgba(30, 14, 5, 0.04) 0%,
    rgba(255, 252, 248, 0.65) 35%,
    rgba(245, 237, 219, 0.55) 100%
  ) !important;
}

.page-home .home-video-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 184, 122, 0.12) 0%, transparent 55%);
}

.page-home .home-video-premium .home-video-inner {
  position: relative;
  z-index: 1;
}

.page-home .home-video-premium .home-video-frame {
  border-radius: 1.5rem;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface-warm), var(--surface-warm)) padding-box,
    linear-gradient(135deg, #c9a962, rgba(212, 184, 122, 0.4), #5c3d2a, #c9a962) border-box;
  box-shadow:
    var(--shadow-xl),
    0 0 60px rgba(212, 184, 122, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.page-home .home-video-premium .home-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%
  );
  animation: video-sheen 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes video-sheen {
  0%, 100% { opacity: 0; transform: translateX(-20%); }
  50%      { opacity: 1; transform: translateX(20%); }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SPLIT – richer panel
   ═══════════════════════════════════════════════════════════ */
.page-home .home-about-premium {
  background: linear-gradient(
    145deg,
    rgba(255, 248, 238, 0.55) 0%,
    rgba(237, 216, 185, 0.35) 40%,
    rgba(250, 243, 232, 0.7) 100%
  ) !important;
  position: relative;
}

.page-home .home-about-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(201, 169, 98, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.page-home .home-about-premium .about-split {
  position: relative;
  z-index: 1;
}

.page-home .home-about-premium .about-visual-card {
  background: linear-gradient(
    155deg,
    rgba(26, 13, 6, 0.92) 0%,
    rgba(61, 35, 20, 0.95) 45%,
    rgba(42, 21, 8, 0.98) 100%
  );
  color: var(--caramel-100);
  border: 1px solid rgba(212, 184, 122, 0.25);
  box-shadow:
    var(--shadow-xl),
    0 0 80px rgba(13, 5, 1, 0.25);
}

.page-home .home-about-premium .about-visual-card h3,
.page-home .home-about-premium .about-visual-card-eyebrow {
  color: var(--caramel-200);
}

.page-home .home-about-premium .about-visual-card-eyebrow {
  color: var(--caramel-400);
}

.page-home .home-about-premium .about-stat-value {
  background: linear-gradient(120deg, #ffe8b8, #c9a962);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.page-home .home-about-premium .about-stat-label {
  color: rgba(245, 237, 219, 0.55);
}

.page-home .home-about-premium .about-visual-card::before {
  opacity: 0.08;
}

/* ═══════════════════════════════════════════════════════════
   TRADITIONS (replaces drinks ticker) – four culture panels
   ═══════════════════════════════════════════════════════════ */
.home-traditions-section {
  position: relative;
  padding: 5.5rem 1.25rem 5rem;
  margin: 0 calc(-1.25rem);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #0d0501 0%, #1a0d06 35%, #241208 70%, #130801 100%);
}

.home-traditions-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(212, 184, 122, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(120, 60, 80, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(60, 100, 90, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.home-traditions-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
}

.home-traditions-section .section-eyebrow {
  color: var(--caramel-400);
}

.home-traditions-section .section-title {
  color: var(--caramel-100);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.home-traditions-section .section-subtitle {
  color: rgba(245, 237, 219, 0.62);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.home-traditions-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  text-align: left;
  margin-bottom: 2.75rem;
}

@media (min-width: 640px) {
  .home-traditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-traditions-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.tradition-panel {
  position: relative;
  border-radius: 1.35rem;
  padding: 1.75rem 1.35rem 1.5rem;
  min-height: 11rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.tradition-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.5;
  animation: tradition-glow 10s ease-in-out infinite;
}

.tradition-panel:nth-child(1)::before { animation-delay: 0s; }
.tradition-panel:nth-child(2)::before { animation-delay: -2.5s; }
.tradition-panel:nth-child(3)::before { animation-delay: -5s; }
.tradition-panel:nth-child(4)::before { animation-delay: -7.5s; }

@keyframes tradition-glow {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.35; }
  50%      { transform: rotate(8deg) scale(1.05); opacity: 0.55; }
}

.tradition-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border-color: rgba(212, 184, 122, 0.35);
}

.tradition-panel__inner {
  position: relative;
  z-index: 1;
}

.tradition-panel__mark {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.tradition-panel__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.tradition-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tradition-panel p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
  opacity: 0.88;
}

/* Panel color stories */
.tradition-panel--turkish {
  background: linear-gradient(160deg, rgba(90, 40, 50, 0.95) 0%, rgba(45, 20, 28, 0.98) 100%);
  color: #fde8ea;
}

.tradition-panel--turkish::before {
  background: radial-gradient(circle at 30% 20%, rgba(232, 168, 160, 0.4) 0%, transparent 55%);
}

.tradition-panel--yemeni {
  background: linear-gradient(160deg, rgba(100, 55, 30, 0.95) 0%, rgba(50, 28, 15, 0.98) 100%);
  color: #fff0e0;
}

.tradition-panel--yemeni::before {
  background: radial-gradient(circle at 70% 30%, rgba(212, 140, 80, 0.45) 0%, transparent 50%);
}

.tradition-panel--arabic {
  background: linear-gradient(160deg, rgba(35, 75, 65, 0.92) 0%, rgba(18, 40, 36, 0.97) 100%);
  color: #e8f5f0;
}

.tradition-panel--arabic::before {
  background: radial-gradient(circle at 50% 0%, rgba(160, 210, 190, 0.35) 0%, transparent 45%);
}

.tradition-panel--italian {
  background: linear-gradient(160deg, rgba(55, 42, 32, 0.95) 0%, rgba(28, 22, 18, 0.98) 100%);
  color: #faf3e8;
}

.tradition-panel--italian::before {
  background: radial-gradient(circle at 80% 70%, rgba(212, 184, 122, 0.4) 0%, transparent 50%);
}

.tradition-panel--turkish .tradition-panel__label { color: #f5b8b8; }
.tradition-panel--yemeni .tradition-panel__label { color: #e8b88a; }
.tradition-panel--arabic .tradition-panel__label { color: #9dd4c4; }
.tradition-panel--italian .tradition-panel__label { color: #d4b87a; }

.home-traditions-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   HOURS + CTA polish
   ═══════════════════════════════════════════════════════════ */
.page-home .home-hours-premium {
  background: linear-gradient(
    180deg,
    rgba(255, 252, 248, 0.78) 0%,
    rgba(250, 245, 236, 0.9) 100%
  ) !important;
}

.page-home .home-hours-premium .info-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 252, 248, 0.92) 100%);
  border: 1px solid rgba(184, 151, 93, 0.2);
  box-shadow: var(--shadow-md);
}

.page-home .home-cta-premium {
  background: linear-gradient(
    135deg,
    #1a0d06 0%,
    #2d1810 35%,
    #130801 100%
  ) !important;
  position: relative;
}

.page-home .home-cta-premium::before {
  background:
    radial-gradient(ellipse 70% 80% at 30% 20%, rgba(212, 184, 122, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(232, 168, 160, 0.1) 0%, transparent 45%);
}

.page-home .home-cta-premium .cta-strip-inner {
  max-width: 42rem;
}

.page-home .home-cta-premium h2 {
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

/* Softer parallax scrim so hero colors read through */
.page-home .site-parallax-bg__overlay {
  background: linear-gradient(
    to bottom,
    rgba(250, 248, 245, 0.1) 0%,
    rgba(245, 232, 212, 0.2) 38%,
    rgba(250, 245, 236, 0.3) 100%
  );
}
