/* =========================================================
   home_modular.css  — JKC Premium Homepage Styles
   ---------------------------------------------------------
   Variables, layout, hero, cards, sliders, gallery, utility
   ========================================================= */

:root{
  --jkc-gold: #D4AF37;
  --jkc-maroon: #800000;
  --jkc-dark: #0f1724;
  --jkc-muted: #6b7280;
  --jkc-radius: 12px;
  --max-width: 1200px;
}

/* ----- Global helpers ----- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.section-heading { display:flex; align-items:center; gap:18px; margin-bottom:28px; }
.section-heading .label-box { background:var(--jkc-maroon); color:#fff; padding:8px 14px; border-radius:8px; font-weight:700; font-size:13px; }
.section-heading h2 { margin:0; color:var(--jkc-gold) ;font-family: 'Ubuntu', sans-serif; font-weight:800; font-size:28px; }

/* ----- HERO ----- */
.jkc-hero { position:relative; min-height:560px; display:flex; align-items:center; overflow:hidden; }
.jkc-hero .video-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; filter:brightness(.45) contrast(1.02); }
.jkc-hero .hero-overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05)); z-index:1; pointer-events:none; }
.container-hero { position:relative; z-index:2; width:100%; }
.hero-title { font-family:'Ubuntu', sans-serif; font-size:48px; font-weight:800; color:#fff; line-height:1.02; letter-spacing:.6px; text-shadow:0 16px 40px rgba(0,0,0,.5); margin:8px 0; }
.jkc-hero .lead { color: rgba(255,255,255,.88); }

/* card on right */
.card-premium { background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96)); border-radius:16px; padding:16px; box-shadow:0 30px 60px rgba(3,3,3,0.12); }
.hero-right-swiper .swiper-slide img { width:100%; height:320px; object-fit:cover; border-radius:10px; display:block; }

/* buttons */
.btn-gold { background:var(--jkc-gold); color:#111; border: none; font-weight:700; border-radius:8px; padding:10px 18px; box-shadow:0 8px 18px rgba(212,175,55,0.12); }
.btn-outline-light { border:1px solid rgba(255,255,255,.14); color:#fff; background:transparent; padding:10px 18px; border-radius:8px; }

/* ----- ABOUT + VALUES ----- */
.about-values { background: #fff; }
.about-values .about-content p { color:var(--jkc-muted); font-size:15px; line-height:1.65; }
.values-accordion .accordion-button { font-weight:700; color:var(--jkc-dark); background:#fff; }

/* ----- STATS ----- */
.stats-section { background: #f8fafc; }
.stat-card { padding:18px; border-radius:12px; background:transparent; }
.stat-card h3 { font-size:32px; margin:0; color:var(--jkc-maroon); font-weight:900; }
.stat-card p { margin:4px 0 0; color:var(--jkc-muted); }

/* ----- SERVICES ----- */
.services-section .service-card { background:#fff; border-radius:var(--jkc-radius); padding:20px; transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s; box-shadow:0 12px 30px rgba(3,3,3,0.06); }
.services-section .service-card:hover { transform: translateY(-10px); box-shadow:0 30px 80px rgba(3,3,3,0.12); border:1px solid rgba(212,175,55,0.08); }
.services-section .icon-wrap { display:flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius:10px; background:linear-gradient(180deg, #fff, #f7f7f7); box-shadow:0 8px 20px rgba(3,3,3,0.04); }

/* ----- PROJECTS TABS ----- */
.projects-section .nav-tabs .nav-link { color:var(--jkc-dark); border: none; background:transparent; padding:10px 14px; border-radius:8px; margin-right:8px; }
.projects-section .nav-tabs .nav-link.active { background: rgba(212,175,55,0.12); color:var(--jkc-maroon); font-weight:700; }
.project-card { background:#fff; border-radius:12px; overflow:hidden; transition:transform .35s; box-shadow:0 16px 36px rgba(3,3,3,0.06); }
.project-card img { width:100%; display:block; }

/* ----- TESTIMONIALS ----- */
.testimonials-section .card { border-radius:12px; }
.testimonials-swiper .swiper-pagination-bullet { background:var(--jkc-maroon); opacity:.4; }
.testimonials-swiper .swiper-pagination-bullet-active { opacity:1; }

/* ----- TEAM ----- */
.team-card { background:#fff; border-radius:14px; padding:18px; transition: transform .35s; text-align:center; box-shadow:0 12px 28px rgba(3,3,3,0.06); }
.team-card:hover { transform:translateY(-6px); }

/* ----- BRANDS ----- */
.brand-item img { height:70px; object-fit:contain; filter:grayscale(1); transition: filter .28s, transform .28s; }
.brand-item img:hover { filter:none; transform:scale(1.03); }

/* ----- CONTACT MINI FORM ----- */
.contact-block .card { border-radius:12px; padding:18px; box-shadow:0 18px 40px rgba(3,3,3,0.06); }
.contact-block input.form-control { border-radius:8px; padding:12px; }

/* ----- RECENT GALLERY ----- */
.recent-gallery .nav-pills .nav-link { margin-right:8px; border-radius:8px; }
.gallery-grid .card { border-radius:12px; overflow:hidden; transition: transform .35s, box-shadow .35s; }
.gallery-grid .card:hover { transform:translateY(-6px); box-shadow:0 30px 60px rgba(3,3,3,0.10); }

/* Hide filtered items */
.gallery-item.hide { opacity:0.06; transform:scale(.98); pointer-events:none; }

/* ----- POSTS ----- */
.posts-preview .card { border-radius:12px; overflow:hidden; transition: transform .28s; }
.posts-preview .card:hover { transform:translateY(-6px); }

/* ----- FINAL CTA ----- */
.final-cta .card { border-radius:14px; }

/* ----- Utilities & Responsive ----- */
.text-white-50 { color: rgba(255,255,255,.85); }
.small { font-size:13px; }

@media (max-width:991px){
  .hero-title { font-size:28px; }
  .hero-right-swiper .swiper-slide img { height:220px; }
  .project-card img, .project-card { height:auto; }
  .team-card img { width:90px; height:90px; }
  .jkc-hero { min-height:420px; }
}
/* ======================================================
   PREMIUM — HERO COVER SLIDER
   ====================================================== */
/* ======================================================
   JKC — HERO COVER (CLEAN, NON-CONFLICTING VERSION)
   ====================================================== */

.jkc-hero-cover {
  position: relative;
  width: 100%;
  height: 480px !important;       /* <— FIXED height */
  min-height: 480px !important;
  overflow: hidden;
}

/* Swiper wrapper & slide must inherit the SAME height */
.jkc-hero-cover .swiper,
.jkc-hero-cover .swiper-wrapper,
.jkc-hero-cover .jkc-hero-slide {
  height: 100% !important;
}

/* Background image/video */
.jkc-hero-cover .hero-bg-image,
.jkc-hero-cover .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  z-index: 1;
}

/* Dark overlay */
.jkc-hero-cover .hero-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );
  z-index: 2;
}

/* Content block */
.jkc-hero-cover .hero-content {
  position: relative;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  max-width: 780px;
  color: #fff;
}

.jkc-hero-cover .hero-text-title {
  font-size: 60px;
  font-weight: 800;
  text-shadow: 0 12px 40px rgba(0,0,0,0.5);
  line-height: 1.15;
  margin-bottom: 10px;
}

.jkc-hero-cover .hero-text-sub {
  font-size: 20px;
  opacity: .92;
  max-width: 560px;
}

.jkc-hero-cover .btn-gold {
  padding: 12px 22px;
  font-size: 16px;
}

/* Swiper controls */
.jkc-hero-cover .swiper-button-next,
.jkc-hero-cover .swiper-button-prev {
  color: #fff;
  z-index: 20;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,0.4));
}

.jkc-hero-cover .swiper-pagination-bullet {
  background: rgba(255,255,255,0.6);
}

.jkc-hero-cover .swiper-pagination-bullet-active {
  background: var(--jkc-gold);
}

/* Responsive */
@media(max-width: 768px){
  .jkc-hero-cover {
    height: 600px !important;
    min-height: 600px !important;
  }
  
  .jkc-hero-cover .hero-text-title { font-size: 32px; }
  .jkc-hero-cover .hero-text-sub { font-size: 15px; }
  .jkc-hero-cover .hero-content { text-align: center; }
}

/* ======================================================
   PREMIUM — MASONRY GALLERY
   ====================================================== */

.jkc-masonry-gallery .nav-pills .nav-link {
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
}

.jkc-masonry-gallery .nav-link.active {
  background: var(--jkc-gold);
  color: #111;
}

.jkc-masonry-grid {
  column-count: 3;
  column-gap: 18px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 18px;
  transition: opacity .3s, transform .3s;
}

.masonry-item.hide {
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
}

.masonry-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
  background: #fff;
  transition: transform .35s;
}

.masonry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.masonry-card img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #eee;
  object-fit: cover;
}

.masonry-info {
  padding: 14px;
}

.masonry-info h6 {
  margin: 0;
  font-weight: 700;
}

.masonry-info p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--jkc-muted);
}

/* Responsive */
@media(max-width: 992px) {
  .jkc-masonry-grid { column-count: 2; }
}

@media(max-width: 576px) {
  .jkc-masonry-grid { column-count: 1; }
}

/* PROCESS TIMELINE */
.jkc-process-timeline {
  background: #fff;
}

.timeline-wrapper {
  position: relative;
  margin-left: 20px;
  border-left: 3px solid #dfdfdf;
  padding-left: 40px;
}

.timeline-step {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -52px;
  top: 10px;
  width: 18px;
  height: 18px;
  background: var(--jkc-gold);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--jkc-gold);
}

.step-content {
  width: 35%;
}

.step-number {
  background: var(--jkc-gold);
  color: #000;
  font-weight: 800;
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.step-slider {
  width: 55%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.step-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* Small buttons */
.btn-small {
  width: 26px !important;
  height: 26px !important;
  background: #00000080;
  border-radius: 50%;
  color: white !important;
  top: 50% !important;
  transform: translateY(-50%);
}

.btn-small::after { font-size: 12px !important; }

/* Mobile */
@media(max-width: 768px){
  .timeline-step {
    flex-direction: column;
    padding-left: 10px;
  }
  .step-content { width: 100%; }
  .step-slider { width: 100%; height: 240px; }
  .step-image { height: 240px; }
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -52px;
  top: 10px;
  width: 18px;
  height: 18px;
  background: var(--jkc-gold);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--jkc-gold);

  /* AOS animation */
  opacity: 0;
  transform: scale(0.4);
  transition: all .6s ease;
}

.timeline-step[data-aos][data-aos][aos-animate]::before {
  opacity: 1;
  transform: scale(1);
}


/* Timeline wrapper */
.timeline-wrapper {
  position: relative;
  margin: 0 auto;
  border-left: 3px dashed #d9d9d9;
  padding-left: 40px;
}

/* Timeline row */
.timeline-row {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  gap: 40px;
}

/* ALTERNATING UI */
.timeline-row.left-layout {
  flex-direction: row;
}

.timeline-row.right-layout {
  flex-direction: row-reverse;
  padding-right: 40px;
}

/* Marker */
.timeline-marker {
  position: absolute;
  left: -55px;
  top: 0;
}

.marker-number {
  background: var(--jkc-gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #000;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--jkc-gold);
  transition: 0.4s;
}

.timeline-row:hover .marker-number {
  transform: scale(1.15);
}

/* Text */
.timeline-text {
  width: 34%;
}

/* Media / Slider */
.timeline-media {
  width: 50%;
}

.media-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 40px rgba(0,0,0,0.15);
}

.media-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Navigation */
.small-nav {
  background: #00000090;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
}

.small-nav::after {
  font-size: 12px !important;
}

/* Mobile */
@media (max-width: 768px){
  .timeline-row,
  .timeline-row.right-layout {
    flex-direction: column !important;
    padding-right: 0 !important;
  }

  .timeline-text, .timeline-media {
    width: 100%;
  }

  .timeline-marker {
    left: -30px;
  }

  .media-img {
    height: 200px;
  }
}

/* ======== INTERIOR DESIGN PROCESS PREMIUM BLOCK ======== */
.design-process-section {
  position: relative;
}

/* glowing animated vertical line */
.design-timeline-wrapper {
  position: relative;
  margin-left: 50px;
}
.design-timeline-wrapper::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #ffd700, #ff8a00, #ff3d00);
  border-radius: 10px;
  animation: glowLine 4s linear infinite;
}

@keyframes glowLine {
  0% { filter: drop-shadow(0 0 6px #ffd700); }
  50% { filter: drop-shadow(0 0 20px #ff4500); }
  100% { filter: drop-shadow(0 0 6px #ffd700); }
}

/* Row layout */
.design-step-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 90px;
  position: relative;
}
.alt-left { flex-direction: row; }
.alt-right { flex-direction: row-reverse; }

/* Number marker */
.design-marker {
  position: absolute;
  left: -50px;
}
.design-marker-number {
  background: linear-gradient(135deg, #ffb700, #ff7a00);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 12px rgba(255,140,0,.4);
  transition: .4s;
}
.design-step-row:hover .design-marker-number {
  transform: scale(1.15) rotate(8deg);
}

/* Glassmorphism text card */
.glass-effect {
  background: rgba(255,255,255,0.28);
  padding: 22px;
  border-radius: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  width: 35%;
}

/* Slider */
.design-step-media {
  width: 50%;
}
.design-media-card {
  overflow: hidden;
  border-radius: 18px;
  transition: transform .4s;
  box-shadow: 0 25px 40px rgba(0,0,0,0.20);
}
.design-media-card:hover {
  transform: translateY(-6px) scale(1.03);
}
.design-media-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

/* Navigation */
.design-nav-next,
.design-nav-prev {
  width: 35px;
  height: 35px;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}
.design-nav-next { right: 10px; }
.design-nav-prev { left: 10px; }
.design-nav-next::after,
.design-nav-prev::after {
  color: #fff;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .design-step-row,
  .alt-right { flex-direction: column !important; }
  .glass-effect, .design-step-media {
    width: 100%;
  }
  .design-media-img { height: 220px; }
}


/* Section wrapper */
.jkc-bg-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
}

/* Background Image */
.jkc-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

/* Background Video */
.jkc-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.8);
}

/* Overlay */
.jkc-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.35)
  );
  z-index: 2;
}


/* ⭐ FIX: CONTENT must be above overlay */
.jkc-bg-section .container,
.jkc-bg-section .jkc-content-wrapper {
    position: relative;
    z-index: 5;   /* make content visible */
}

.jkc-services-section {
    background: #f9fafb;
}

.jkc-service-box {
    background: white;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    transition: 0.35s ease;
}

.jkc-service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

.service-cat-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 18px;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f3f4f6;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    transition: 0.3s;
}

.service-item:hover {
    background: var(--jkc-gold);
    color: #fff;
}

.service-icon img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 8px;
}

.service-icon i {
    font-size: 28px;
    color: var(--jkc-maroon);
}


.jkc-packages-section {
    background: #ffffff;
}

.pkg-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.35s;
}

.pkg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.pkg-header {
    background: var(--jkc-gold);
    padding: 16px;
    text-align: center;
    color: #111;
}

.pkg-price {
    font-size: 22px;
    font-weight: 800;
}

.pkg-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.pkg-body {
    padding: 16px;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.serv-gal-img-box {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
}

.serv-gal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.serv-gal-img-box img:hover {
  transform: scale(1.05);
}

.cat-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 8px;
}

.cat-icon {
    font-size: 28px;
    color: var(--jkc-gold);
    margin-right: 8px;
}
