/* ============================================================
   assets/css/home.css — Belgrader Homepage
   Editorial / Magazine aesthetic
   ============================================================ */

/* ── FONTS & VARS ── */
:root {
  --gold: #C9A84C;
  --gold-light: #E8CC80;
  --ink: #0D0D0D;
  --cream: #F5F0E8;
  --rust: #C8102E;
  --mist: #EBE6DC;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Bebas Neue', sans-serif;
}

body.home-page {
  background: var(--ink);
  font-family: var(--font-body);
}

/* ── NAV OVERRIDE for home ── */
body.home-page .navbar-dark-custom {
  background: transparent;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s;
}
body.home-page .navbar-dark-custom.scrolled {
  background: rgba(13,13,13,.95);
  backdrop-filter: blur(12px);
}

/* ── HERO ── */
.hero-new {
  min-height: 100vh;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}

.sketch-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: .04;
  filter: sepia(1);
  pointer-events: none;
}

.hero-container { position: relative; z-index: 2; }

/* ── HERO TEXT ── */
.brand-eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.brand-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: .95;
  color: #fff;
  margin-bottom: 1.75rem;
  letter-spacing: -1px;
}
.hero-heading .outline-text {
  -webkit-text-stroke: 2px #fff;
  color: transparent;
}
.hero-heading em {
  font-style: italic;
  color: var(--gold);
  font-weight: 700;
}

.hero-para {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  background: var(--rust);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .2s;
}
.btn-hero-primary:hover {
  background: #a80d24;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,16,46,.4);
}

.btn-hero-ghost {
  background: transparent;
  color: rgba(255,255,255,.75);
  padding: .85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .2s;
}
.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.hstat {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hstat span {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: .2rem;
}
.hstat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* ── COLLAGE ── */
.collage-col { padding: 2rem; }

.collage-wrap {
  position: relative;
  width: 100%;
  height: 560px;
}

.collage-item { position: absolute; }

/* Main — hexagon clip */
.collage-main {
  top: 0; left: 0;
  width: 340px;
  height: 380px;
}
.clip-hex {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
}
.clip-hex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.collage-main:hover .clip-hex img { transform: scale(1.05); }

/* Top right — circle */
.collage-tr {
  top: 20px;
  right: 0;
  width: 200px;
  height: 200px;
}
.clip-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
}
.clip-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.collage-tr:hover .clip-circle img { transform: scale(1.08); }

/* Bottom right — parallelogram */
.collage-br {
  bottom: 10px;
  right: 30px;
  width: 300px;
  height: 180px;
}
.clip-para {
  width: 100%;
  height: 100%;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  overflow: hidden;
}
.clip-para img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.collage-br:hover .clip-para img { transform: scale(1.05); }

/* Labels */
.collage-label {
  position: absolute;
  bottom: -28px;
  left: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.collage-tr .collage-label { bottom: -24px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.collage-br .collage-label { bottom: -24px; left: 8%; }

/* Floating badge */
.collage-badge {
  position: absolute;
  bottom: 160px;
  left: 310px;
  width: 90px;
  height: 90px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-slow 20s linear infinite;
  z-index: 10;
}
.badge-inner {
  text-align: center;
  animation: spin-slow 20s linear infinite reverse;
}
.badge-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--ink);
  line-height: 1;
}
.badge-txt {
  display: block;
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ink);
  opacity: .7;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Deco dots & line */
.deco-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
}
.deco-dot-1 { width: 12px; height: 12px; top: 200px; left: 350px; opacity: .6; animation: pulse-dot 2s ease-in-out infinite; }
.deco-dot-2 { width: 8px; height: 8px; top: 100px; right: 210px; opacity: .4; animation: pulse-dot 2.5s ease-in-out infinite .5s; }
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.5); opacity: .8; } }

.deco-line {
  position: absolute;
  top: 50px;
  left: 330px;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: rotate(-30deg);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.3);
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scroll-anim 1.5s ease-in-out infinite;
}
@keyframes scroll-anim { 0%,100% { opacity: .3; transform: scaleY(1); } 50% { opacity: .7; transform: scaleY(.6) translateY(20px); } }

/* ── HOW IT WORKS ── */
.how-section { background: var(--cream); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: .75rem;
  position: relative;
  padding: 0 1rem;
}
.section-tag::before, .section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--rust);
}
.section-tag::before { left: -20px; }
.section-tag::after  { right: -20px; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: .5rem;
  letter-spacing: -0.5px;
}
.section-heading.sm { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.section-sub { color: #666; font-size: 1.05rem; }

.how-grid {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.how-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}
.how-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.how-card-accent { background: var(--ink); color: #fff; }
.how-card-accent h3 { color: #fff; }
.how-card-accent p { color: rgba(255,255,255,.6); }

.how-num {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  color: var(--rust);
  line-height: 1;
  margin-bottom: .75rem;
}
.how-card-accent .how-num { color: var(--gold); }
.how-icon { font-size: 1.5rem; margin-bottom: .75rem; }
.how-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--ink); }
.how-card p { font-size: .9rem; color: #666; line-height: 1.65; margin: 0; }

.how-arrow {
  font-size: 1.5rem;
  color: rgba(0,0,0,.15);
  flex-shrink: 0;
}

/* ── EVENTS TICKER ── */
.events-section {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 3rem 0;
}
.events-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
}
.events-header .section-heading { margin-bottom: 0; color: #fff; }
.events-header .section-tag { color: var(--gold); }
.events-header .section-tag::before,
.events-header .section-tag::after { background: var(--gold); }

.btn-text-link {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: color .2s;
  white-space: nowrap;
}
.btn-text-link:hover { color: var(--gold); }

.events-ticker {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.events-ticker-inner {
  display: flex;
  gap: 1rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.event-pill {
  flex-shrink: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  padding: .6rem 1.25rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
  animation: ticker-scroll 35s linear infinite;
}
.event-pill:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--gold);
  color: var(--gold);
}
/* Stagger the animation so pills scroll like a marquee */
.events-ticker {
  display: flex;
  gap: 1rem;
  animation: ticker-scroll 35s linear infinite;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.events-ticker:hover { animation-play-state: paused; }

/* ── PRICING ── */
.pricing-section { background: var(--cream); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.price-card-new {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1.5px solid rgba(0,0,0,.08);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.price-card-new:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.1); }

.price-card-featured-new {
  background: var(--ink);
  border-color: var(--ink);
  transform: scale(1.04);
}
.price-card-featured-new:hover { transform: scale(1.04) translateY(-4px); }
.price-card-featured-new .pc-features li { color: rgba(255,255,255,.7); }
.price-card-featured-new .pc-features li.off { color: rgba(255,255,255,.25); }

.pc-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .3rem 1.2rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pc-name {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  margin-bottom: .5rem;
}
.price-card-featured-new .pc-name { color: rgba(255,255,255,.4); }

.pc-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 1.75rem;
}
.price-card-featured-new .pc-price { color: #fff; }
.pc-price span { font-family: var(--font-body); font-size: .9rem; font-weight: 400; color: #aaa; margin-left: .25rem; }
.price-card-featured-new .pc-price span { color: rgba(255,255,255,.4); }

.pc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.pc-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .88rem;
  color: #444;
}
.price-card-featured-new .pc-features li { border-color: rgba(255,255,255,.08); }
.pc-features li.off { color: #bbb; }
.pc-features .bi-check2 { color: var(--rust); font-weight: 800; }

.pc-btn {
  display: block;
  text-align: center;
  padding: .85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
}
.pc-btn-primary { background: var(--rust); color: #fff; }
.pc-btn-primary:hover { background: #a80d24; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,16,46,.35); }
.pc-btn-ghost { background: transparent; color: var(--ink); border: 2px solid rgba(0,0,0,.15); }
.pc-btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.pricing-note {
  text-align: center;
  font-size: .85rem;
  color: #888;
  margin-top: .5rem;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.how-card:nth-child(1) { transition-delay: 0s; }
.how-card:nth-child(3) { transition-delay: .15s; }
.how-card:nth-child(5) { transition-delay: .3s; }
.price-card-new:nth-child(1) { transition-delay: 0s; }
.price-card-new:nth-child(2) { transition-delay: .1s; }
.price-card-new:nth-child(3) { transition-delay: .2s; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .collage-wrap { height: 400px; }
  .collage-main { width: 260px; height: 290px; }
  .collage-tr { width: 160px; height: 160px; }
  .collage-br { width: 240px; height: 140px; }
  .collage-badge { left: 240px; bottom: 100px; width: 75px; height: 75px; }
  .how-grid { flex-direction: column; }
  .how-arrow { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 1.5rem; }
  .price-card-featured-new { transform: scale(1); }
  .price-card-featured-new:hover { transform: translateY(-4px); }
}
@media (max-width: 576px) {
  .hero-new { padding: 80px 0 40px; }
  .collage-col { display: none; }
  .hero-heading { font-size: 3rem; }
  .events-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
