/* ================================
   JKC CORE — TYPOGRAPHY & SCALE
================================ */

:root {
  --jkc-gold: #d4af37;
  --jkc-maroon: #800000;

  --text-main: #1f2937;
  --text-muted: #6b7280;

  /* TIGHT SCALE (PREMIUM) */
  --fs-xl: clamp(28px, 3.6vw, 40px);
  --fs-lg: 18px;
  --fs-md: 15px;
  --fs-sm: 13px;

  --space-xl: 64px;
  --space-lg: 48px;
  --space-md: 28px;
  --space-sm: 16px;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

p {
  font-size: var(--fs-md);
  color: var(--text-muted);
}


/*==========================
  JKC HERO STYLES*/
  
.jkc-hero-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--jkc-gold);
}

.jkc-hero-desc {
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 520px;
  color: rgba(255,255,255,.9);
}

.jkc-hero-badge {
  display: inline-block;
  background: var(--jkc-maroon);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.jkc-hero {
  position: relative;
  overflow: hidden;
}


  .jkc-hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;

    /* FORCE SCALE */
    min-width: 100%;
    min-height: 100%;

    width: auto;
    height: auto;

    transform: translate(-50%, -50%);
    object-fit: cover;

    z-index: 0;
    pointer-events: none;
  }


.jkc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.55),
    rgba(0,0,0,.2)
  );
  z-index: 1;
  pointer-events: none;
}

.jkc-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.jkc-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1%;
  align-items: center;
}

.jkc-hero-grid.reverse {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  
  .jkc-hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;

    /* FORCE SCALE */
    min-width: 100%;
    min-height: 100%;

    width: auto;
    height: auto;

    transform: translate(-50%, -50%);
    object-fit: cover;

    z-index: 0;
    pointer-events: none;
  }

  .jkc-hero,
  .jkc-hero .swiper,
  .jkc-hero .swiper-wrapper,
  .jkc-hero .swiper-slide {
    height: 100svh; /* 🔥 mobile-safe viewport */
  }
  .jkc-hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
  }
  .jkc-hero-grid,
  .jkc-hero-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2%;
  }

  .jkc-hero-clip {
    max-width: 90%;
    border-radius: 18px;
    margin: 0 auto;
  }

  .jkc-hero-clip img {
    width: 100%;
    height: auto;
    max-height: 320px; /* 🔥 balanced size */
    object-fit: cover;
  }

}

@media (max-width: 768px) {
  .jkc-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .jkc-hero-actions .btn {
    width: 50%;
    max-width: 320px;
  }
}
/* =========================
   HERO IMAGE SWIPER (RIGHT)
========================= */

.jkc-hero-image-swiper {
  width: 100%;
  height: 100%;
}

.jkc-hero-image-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.jkc-hero-image-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
}

.jkc-hero-image-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   HERO PAGINATION — FINAL FIX
=============================== */

.jkc-hero-swiper {
  position: relative;
}

.jkc-hero-swiper > .jkc-hero-pagination {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: auto;
}

/* bullets */
.jkc-hero-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(255,255,255,.65);
  opacity: 1;
}

.jkc-hero-pagination .swiper-pagination-bullet-active {
  background: var(--jkc-gold);
}


.jkc-reveal-left,
.jkc-reveal-right {
  opacity: 0;
  transition: all 1.1s cubic-bezier(.22,.61,.36,1);
}

.jkc-reveal-left {
  transform: translateX(-40px);
  clip-path: inset(0 100% 0 0);
}

.jkc-reveal-right {
  transform: translateX(40px);
  clip-path: inset(0 0 0 100%);
}

.swiper-slide-active .jkc-reveal-left,
.swiper-slide-active .jkc-reveal-right {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  transition-delay: .35s;
}

/* SHUTTER SPLIT */
.jkc-shutter {
  position: relative;
  overflow: hidden;
}

.jkc-shutter::before,
.jkc-shutter::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 2;
  transform: translateY(0);
}

.jkc-shutter::before {
  clip-path: inset(0 0 50% 0);
}

.jkc-shutter::after {
  clip-path: inset(50% 0 0 0);
}

.swiper-slide-active .jkc-shutter::before {
  transform: translateY(-100%);
  transition: transform 1.2s ease .4s;
}

.swiper-slide-active .jkc-shutter::after {
  transform: translateY(100%);
  transition: transform 1.2s ease .4s;
}
