/* ============================================================
   Singdia — A Song for Every Occasion (block 10)
   Horizontal card deck on ALL viewports — swipe + arrows + dots.
   ============================================================ */

.occ {
  position: relative;
  padding: 110px 0 130px;
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  overflow: hidden;
}
.occ__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.occ__bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: 10%; left: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.12) 0%, transparent 70%);
  filter: blur(70px);
}
.occ__bg::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  bottom: 0; right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 79, 109, 0.1) 0%, transparent 70%);
  filter: blur(70px);
}

.occ__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.occ__head {
  text-align: center;
  margin-bottom: 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.occ__head .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}
.occ__head .eyebrow::before { display: none; }
.occ__head .eyebrow::after {
  content: '';
  width: 18px; height: 1px;
  background: var(--saffron);
}
.occ__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.occ__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--maroon);
}
.occ__lede {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}

/* ─────────── Carousel ─────────── */

.occ__deck {
  position: relative;
  /* Bleed into the section gutter so cards don't get clipped weirdly */
  margin: 0 -32px;
}

.occ__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 32px;
  padding: 14px 32px 28px;
  scrollbar-width: none;
}
.occ__grid::-webkit-scrollbar { display: none; }

.occ__card {
  position: relative;
  flex: 0 0 calc((100% - 64px - 40px) / 3); /* 3 visible on desktop */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(107, 18, 49, 0.08);
  border-radius: 24px;
  padding: 28px 28px 28px;
  overflow: hidden;
  box-shadow: 0 16px 32px -22px rgba(74, 8, 32, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  min-height: 280px;
}
.occ__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 50px -22px rgba(74, 8, 32, 0.35),
    0 0 0 1px var(--occ-c, var(--maroon));
}

/* Top-right accent glow */
.occ__card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--occ-glow, rgba(217, 164, 65, 0.2)) 0%, transparent 70%);
  filter: blur(20px);
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.occ__card:hover::before {
  opacity: 1;
  transform: scale(1.1);
}

/* Icon */
.occ__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--occ-bg, linear-gradient(135deg, var(--cream), var(--cream-warm)));
  color: var(--occ-c, var(--maroon));
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.occ__icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  border: 1px dashed rgba(0,0,0,0.06);
  pointer-events: none;
}

/* Name */
.occ__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}
.occ__name em {
  font-style: italic;
  color: var(--occ-c, var(--maroon));
}

/* Teaser */
.occ__teaser {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 16px;
  flex: 1;
  text-wrap: pretty;
  position: relative;
  z-index: 1;
}

/* Tag pills (small) */
.occ__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.occ__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.occ__chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--occ-c, var(--gold));
}

/* Card color variants */
.occ__card--birthday   { --occ-c: #c94f6d; --occ-bg: linear-gradient(135deg, #fce7eb 0%, #f6dccf 100%); --occ-glow: rgba(201, 79, 109, 0.22); }
.occ__card--wedding    { --occ-c: #6b1231; --occ-bg: linear-gradient(135deg, #f6dccf 0%, #f1d080 100%); --occ-glow: rgba(217, 164, 65, 0.25); }
.occ__card--anniv      { --occ-c: #b07a2a; --occ-bg: linear-gradient(135deg, #fdf3d4 0%, #f6dccf 100%); --occ-glow: rgba(217, 164, 65, 0.25); }
.occ__card--love       { --occ-c: #a8324a; --occ-bg: linear-gradient(135deg, #fde0e2 0%, #fbc8c8 100%); --occ-glow: rgba(168, 50, 74, 0.2); }
.occ__card--diwali     { --occ-c: #e67a2b; --occ-bg: linear-gradient(135deg, #fde4c4 0%, #fbd58c 100%); --occ-glow: rgba(230, 122, 43, 0.25); }
.occ__card--rakhi      { --occ-c: #b03a4d; --occ-bg: linear-gradient(135deg, #fbe1cf 0%, #f6c8d4 100%); --occ-glow: rgba(176, 58, 77, 0.22); }
.occ__card--valentine  { --occ-c: #d13760; --occ-bg: linear-gradient(135deg, #fce3e9 0%, #f6c8d4 100%); --occ-glow: rgba(209, 55, 96, 0.2); }
.occ__card--farewell   { --occ-c: #4a6e5d; --occ-bg: linear-gradient(135deg, #e1efe5 0%, #d4e3da 100%); --occ-glow: rgba(74, 110, 93, 0.18); }
.occ__card--corp       { --occ-c: #3a4a5e; --occ-bg: linear-gradient(135deg, #e3e7ee 0%, #cfd6e0 100%); --occ-glow: rgba(58, 74, 94, 0.18); }

/* Nav: arrows + dots */
.occ__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 8px 32px 0;
  margin-top: 6px;
}
.occ__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(107, 18, 49, 0.18);
  background: #fff;
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 8px 18px -8px rgba(74, 8, 32, 0.22);
  -webkit-tap-highlight-color: transparent;
}
.occ__arrow:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--maroon);
  background: var(--maroon);
  color: #fff;
}
.occ__arrow:active {
  transform: scale(0.94);
}
.occ__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.occ__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.occ__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(107, 18, 49, 0.18);
  transition: all 0.25s ease;
  cursor: pointer;
  padding: 0;
}
.occ__dot:hover { background: rgba(107, 18, 49, 0.4); }
.occ__dot.is-active {
  width: 22px;
  background: var(--maroon);
}

/* Bottom CTA strip */
.occ__cta {
  margin-top: 40px;
  padding: 26px 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(107, 18, 49, 0.1);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 16px 32px -22px rgba(74, 8, 32, 0.16);
}
.occ__cta-text {
  flex: 1;
  min-width: 240px;
}
.occ__cta-h {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 4px;
}
.occ__cta-h em {
  font-style: italic;
  color: var(--maroon);
}
.occ__cta-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   Tablet
   ============================================================ */
@media (max-width: 980px) {
  .occ__card {
    flex: 0 0 calc((100% - 64px - 20px) / 2);  /* 2 visible */
  }
}

/* Mobile */
@media (max-width: 640px) {
  .occ { padding: 72px 0 88px; }
  .occ__inner { padding: 0 18px; }
  .occ__head { margin-bottom: 28px; }
  .occ__deck { margin: 0 -18px; }
  .occ__grid {
    gap: 14px;
    scroll-padding-left: 18px;
    padding: 12px 18px 24px;
  }
  .occ__card {
    flex: 0 0 calc(100vw - 64px);
    padding: 26px 24px 24px;
    border-radius: 22px;
  }
  .occ__icon { width: 52px; height: 52px; border-radius: 15px; margin-bottom: 16px; }
  .occ__name { font-size: 21px; }
  .occ__teaser { font-size: 14.5px; }

  .occ__nav {
    padding: 0 22px;
    justify-content: space-between;
    gap: 14px;
    margin-top: -4px;
  }
  .occ__arrow {
    width: 44px;
    height: 44px;
  }
  .occ__cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 24px 22px;
    margin-top: 26px;
  }
  .occ__cta-text { min-width: 0; }
  .occ__cta .btn { width: 100%; }
}
