/* ═══════════════════════════════════════════════════════════════════
   JV GROUP — Responsive & Page-Specific Overrides
   Extends style.css
═══════════════════════════════════════════════════════════════════ */

/* ─── HERO FALLBACK (when no video) ────────────────────────────── */
.hero-media {
  background-image: url('../images/hero-poster.jpg');
  background-size: cover;
  background-position: center top;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── BODY PADDING FOR FIXED NAV ───────────────────────────────── */
body {
  padding-top: 0;
}

/* Prevent content jump under fixed header on inner pages */
.page-hero {
  padding-top: var(--nav-height);
}

/* ─── NAV TRANSPARENT ON HOME HERO ─────────────────────────────── */
.index-page .site-header:not(.scrolled) {
  background: transparent;
}

/* ─── COLLECTION CARD PLACEHOLDER IMG ──────────────────────────── */
.card-img-wrap {
  background: linear-gradient(135deg, #1a1810 0%, #111008 50%, #1a1810 100%);
}

.card-img[src=""] ,
.card-img:not([src]) {
  display: none;
}

/* ─── LOOKBOOK CARD IMAGE FILL ──────────────────────────────────── */
.lookbook-card .card-img-wrap {
  position: absolute;
  inset: 0;
  height: 100%;
}

/* ─── FORM SELECT ARROW ─────────────────────────────────────────── */
.luxury-form .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a96e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* ─── SWIPER OVERRIDE ───────────────────────────────────────────── */
.testimonials-swiper {
  padding-bottom: 56px !important;
}

.swiper-pagination {
  bottom: 0 !important;
}

/* ─── EDITORIAL SECTION TEXT SHADOW ────────────────────────────── */
.editorial-content .editorial-title,
.editorial-content .editorial-body {
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* ─── ABOUT PAGE — TIMELINE MOBILE ─────────────────────────────── */
@media (max-width: 991px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 20px;
    margin-bottom: 40px;
  }

  .timeline-item .timeline-node {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-item .timeline-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: left !important;
    padding: 0 !important;
  }

  .timeline-item .timeline-empty {
    display: none !important;
  }

  .timeline-year {
    font-size: 1.4rem;
  }
}

/* ─── CONTACT PAGE MAP FILTER ───────────────────────────────────── */
.map-embed iframe {
  filter: grayscale(0.85) invert(0.92) contrast(0.85) sepia(0.1);
}

/* ─── LOOKBOOK ASYMM GRID MOBILE ────────────────────────────────── */
@media (max-width: 767px) {
  .lookbook-grid-asymm {
    grid-template-columns: 1fr;
  }

  .lookbook-card-tall {
    aspect-ratio: 4/3;
  }
}

/* ─── COLLECTION GRID TABLET ───────────────────────────────────── */
@media (max-width: 1199px) and (min-width: 992px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ─── PROCESS STEP ICON AREA ────────────────────────────────────── */
@media (max-width: 575px) {
  .process-step {
    padding: 24px 20px;
  }
}

/* ─── FOOTER RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .footer-upper .row > [class*='col-'] {
    margin-bottom: 32px;
  }

  .footer-legal {
    margin-top: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-copy {
    margin-bottom: 0;
  }
}

/* ─── HAMBURGER BREAKPOINT VISIBILITY ───────────────────────────── */
@media (min-width: 992px) {
  .hamburger-btn {
    display: none !important;
  }

  .navbar-collapse {
    display: flex !important;
  }
}

/* ─── HERO HEADLINE RESPONSIVE ──────────────────────────────────── */
@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-luxury,
  .hero-ctas .btn-luxury-outline {
    text-align: center;
    justify-content: center;
  }
}

/* ─── MOBILE OVERLAY FULL HEIGHT ───────────────────────────────── */
@media (max-width: 991px) {
  .mobile-overlay {
    padding-top: 0;
  }

  .mobile-overlay-inner {
    padding: 100px 40px 60px;
  }

  .mobile-nav-link {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* ─── CTA SECTION MOBILE ────────────────────────────────────────── */
@media (max-width: 575px) {
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn-luxury,
  .cta-actions .btn-luxury-outline {
    justify-content: center;
    text-align: center;
  }
}

/* ─── STATS SECTION MOBILE ──────────────────────────────────────── */
@media (max-width: 767px) {
  .stats-section .row {
    justify-content: center;
    gap: 32px !important;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 120px;
  }
}

/* ─── PARTNERS GRID MOBILE ──────────────────────────────────────── */
@media (max-width: 575px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── PAGE HERO MOBILE ──────────────────────────────────────────── */
@media (max-width: 575px) {
  .page-hero {
    min-height: 280px;
  }

  .page-hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

/* ─── VALUE CARD HOVER FIX ──────────────────────────────────────── */
.value-card:hover .value-icon {
  color: var(--c-gold-light);
  transition: color 0.3s ease;
}

/* ─── PRODUCT CARD EQUAL HEIGHT ─────────────────────────────────── */
.collections-grid .collection-card {
  height: 100%;
}

/* ─── SMOOTH PAGE TRANSITIONS ───────────────────────────────────── */
body {
  animation: fadeIn 0.35s ease both;
}

/* ─── SELECTION HIGHLIGHT ───────────────────────────────────────── */
::selection {
  background: rgba(201, 169, 110, 0.25);
  color: var(--c-ivory);
}

/* ─── CUSTOM SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--c-bg-2);
}

::-webkit-scrollbar-thumb {
  background: var(--c-gold-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--c-gold);
}

/* ─── FOCUS VISIBLE ─────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── PRINT STYLES ──────────────────────────────────────────────── */
@media print {
  .site-header,
  .whatsapp-float,
  .mobile-overlay,
  .hero-scroll {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
