/*
=========================================================
HOME.CSS — HOMEPAGE STYLES
=========================================================
*/


/*
=========================================================
1) BANNER (BOOTSTRAP CAROUSEL)
=========================================================
*/

section.banner-cont {
  width: 100%;
  height: 90dvh;
  box-sizing: border-box;
  position: relative;
}

/* Carousel fills the section */
.banner-carousel,
.banner-inner,
.banner-slide {
  height: 100%;
}

.banner-slide {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Dark overlay so text remains readable */
.banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* Content overlay */
.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 50px 30px;
  gap: 40px;
  z-index: 5;
}

p.banner-para {
  color: white;
  font-size: 22px;
  margin: 0;
}

a.catalogue-a {
  color: white;
  border: 1px solid white;
  padding: 10px 90px;
  text-decoration: underline;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* Force-center indicators (final single source of truth) */
.banner-carousel .carousel-indicators.banner-indicators {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;

  bottom: 22px !important;
  margin: 0 !important;

  justify-content: center !important;
  transform: none !important;
  z-index: 6;
}

.banner-indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  margin: 0 6px;
  border: 0;
  opacity: 0.45;
}

.banner-indicators .active {
  opacity: 1;
}

/* Mobile responsive (down to 400px) */
@media (max-width: 400px) {
  .banner-overlay {
    padding: 34px 18px;
    gap: 18px;
  }

  p.banner-para {
    font-size: 15px;
    line-height: 1.4;
  }

  a.catalogue-a {
    width: 100%;
    padding: 12px 18px;
  }

  .banner-carousel .carousel-indicators.banner-indicators {
    bottom: 14px !important;
  }

  .banner-indicators [data-bs-target] {
    width: 26px;
  }
}


/*
=========================================================
2) SECONDARY BANNER (HERO CUT)
=========================================================
*/

.hero-cut {
  position: relative;
  width: 100%;
  min-height: 70dvh;
  overflow: hidden;
  background: #0b0b0c;
}

.hero-cut-bg {
  position: absolute;
  inset: 0;
  background: url(/media/banner/1.jpg) center/cover no-repeat;
  transform: scale(1.05);
}

.hero-cut-film {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(0,0,0,0.15), rgba(0,0,0,0.75) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.80));
}

.hero-cut::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 62%;
  width: 140%;
  height: 10px;
  background: rgba(255,255,255,0.22);
  transform: rotate(-6deg);
  filter: blur(0.2px);
}

.hero-cut-content {
  position: relative;
  z-index: 2;
  min-height: 70dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.hero-cut .hero-logo {
  width: 92px;
  height: auto;
  margin-bottom: 14px;
  opacity: 0.96;
}

.hero-cut .hero-slogan {
  margin: 0;
  max-width: 720px;
  color: rgba(255,255,255,0.92);
  font-size: clamp(16px, 2.1vw, 26px);
  line-height: 1.7;
  letter-spacing: 0.2px;
}

.hero-text {
  display: grid;
  gap: 10px;
}

.hero-title {
  margin: 0;
  color: rgba(255,255,255,0.96);
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.hero-sub {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.7;
}

.hero-cut-bg,
.hero-cut-film {
  z-index: 0;
}

.hero-cut-content {
  z-index: 2;
}



@media (max-width: 400px) {
  .hero-cut { min-height: 60dvh; }
  .hero-cut-content { min-height: 60dvh; padding: 18px; }
  .hero-cut .hero-logo { width: 78px; }
  .hero-cut .hero-slogan { font-size: 15px; line-height: 1.65; }
  .hero-cut::after { top: 68%; }
}


/*
=========================================================
3) WHY CHOOSE US (TEXT CARDS)
=========================================================
*/

section.text-cont {
  width: 100%;
  background: #ffffff;
}

.info-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 22px 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.info-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: 0.2px;
}

.info-card-text {
  color: rgba(0,0,0,0.70);
  line-height: 1.6;
}

.info-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}


/*
=========================================================
4) ICON STRIP
=========================================================
*/

.feature-strip {
  background: #0b0b0c;
  color: #fff;
}

.feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  flex: 0 0 auto;
  font-size: 20px;
}

.feature-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.45;
}


/*
=========================================================
5) MATERIAL SECTION (SPLIT)
=========================================================
*/

.material-shadow {
  -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.42); 
  box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.42);
}
.material-split {
  background: #ffffff;
}

.material-split-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.material-media {
  height: 520px;
  border-radius: 26px;
  background-image: url(/media/banner/material-cover.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.material-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.18), rgba(0,0,0,0.00));
}

.material-text {
  padding-left: 18px;
  border-left: 2px solid rgba(0,0,0,0.10);
}

.material-title {
  margin: 0 0 12px 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: 0.2px;
}

.material-para {
  margin: 0 0 16px 0;
  color: rgba(0,0,0,0.72);
  line-height: 1.8;
  font-size: 16px;
}

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.03);
  font-size: 14px;
  color: rgba(0,0,0,0.78);
}

.material-note {
  font-size: 13px;
  color: rgba(0,0,0,0.55);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .material-split-inner { grid-template-columns: 1fr; }
  .material-media { height: 360px; }
  .material-text { padding-left: 0; border-left: 0; text-align: center; }
  .material-tags { justify-content: center; }
}

@media (max-width: 400px) {
  .material-media { height: 300px; border-radius: 20px; }
}

/*
=========================================================
MATERIAL SECTION — REVERSED VARIANT (ALIGN RIGHT)
=========================================================
*/

.material-reversed .material-media {
  order: 2;
}

.material-reversed .material-text {
  order: 1;

  /* spacing */
  padding-left: 0;
  padding-right: 18px;

  /* divider on the right */
  border-left: 0;
  border-right: 2px solid rgba(0,0,0,0.10);

  /* 🔥 IMPORTANT PART */
  text-align: right;          /* text aligns right */
  margin-left: auto;          /* pushes block to the right */
}

/* Keep text width neat */
.material-reversed .material-para {
  margin-left: auto;
  max-width: 620px;
}

/* Reverse gradient for image */
.material-reversed .material-media::after {
  background: linear-gradient(270deg,
    rgba(0,0,0,0.18),
    rgba(0,0,0,0.00)
  );
}

@media (max-width: 900px) {
  .material-reversed .material-media { order: 1; }

  .material-reversed .material-text {
    order: 2;
    padding-right: 0;
    border-right: 0;
    text-align: center;
    margin-left: 0;
  }

  .material-reversed .material-para {
    margin-left: 0;
    max-width: 100%;
  }
}


/*
=========================================================
6) ACCORDION
=========================================================
*/

.order-process {
  padding: clamp(70px, 8vw, 150px) 0;
}

.title {
  text-align: center;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: clamp(18px, 3vw, 30px);
  font-weight: 600;
  padding: 0 16px;
}

.accordion {
  width: min(800px, calc(100% - 32px));
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid #ccc;
  border-top: none;
  border-left: none;
  border-right: none;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  padding: clamp(10px, 1.8vw, 15px) 0;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.accordion-header:hover { color: #8d8d8d; }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border: none;
}

.accordion-content p {
  padding: 0 0 clamp(10px, 1.8vw, 15px) 0;
  margin: 0;
  color: #555;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.65;
}


/*
=========================================================
7) THEME HELPERS (SINGLE SOURCE)
=========================================================
*/

.bubble {
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
}

.bubble-surface {
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.bubble-dark {
  border: 1px solid rgba(255,255,255,0.10);
}

.btn-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
  color: rgba(0,0,0,0.85);
  transition: transform .15s ease, opacity .15s ease;
}

.btn-bubble:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-bubble-light {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
}

.mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.02);
  font-size: 18px;
}

.feature-strip .mini-icon {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}


/*
=========================================================
8) PROJECTS STRIP
=========================================================
*/

.projects-strip { background: #ffffff; }

.project-card {
  display: block;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

.project-thumb {
  height: 280px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.closet-bg { background-image: url(/media/projects/closet.jpg); }
.kitchen-matt-bg { background-image: url(/media/projects/kitchen-matt.jpg); }
.tv-bg { background-image: url(/media/projects/tv.jpg); }
.dentist-bg { background-image: url(/media/projects/dentist.jpg); }
.wardrobe-bg { background-image: url(/media/projects/wardrobe.jpg); }
.kitchen-bg { background-image: url(/media/projects/kitchen.jpg); }

.project-meta {
  padding-top: 14px;
  display: grid;
  gap: 6px;
}

.project-title { font-weight: 800; letter-spacing: 0.2px; }

.project-sub {
  color: rgba(0,0,0,0.65);
  font-size: 14px;
  line-height: 1.45;
}


/*
=========================================================
9) 3D SECTION
=========================================================
*/

.project-3d { display: none !important; }
.project-3d-new { background: #ffffff; }

.lead-para { color: rgba(0,0,0,0.70); line-height: 1.75; }

.mini-bubble {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  background: rgba(0,0,0,0.02);
}

.mini-title { font-weight: 800; }

.mini-sub {
  color: rgba(0,0,0,0.65);
  font-size: 14px;
  line-height: 1.45;
}

.project-3d-photo-wrap {
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.project-3d-photo {
  width: min(380px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 100%;
  border: 1px solid rgba(0,0,0,0.10);
}


/*
=========================================================
10) REVIEWS STRIP
=========================================================
*/

.reviews-strip { background: #ffffff; }

.fb-post {
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  padding: 16px;
}

.fb-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.fb-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.03);
}

.fb-name { font-weight: 800; }

.fb-sub { color: rgba(0,0,0,0.55); font-size: 13px; }

.fb-text {
  color: rgba(0,0,0,0.70);
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.fb-comments { display: grid; gap: 8px; }

.fb-comment {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.02);
  padding: 10px 12px;
  color: rgba(0,0,0,0.68);
  font-size: 14px;
}


/*
=========================================================
11) FAQ STRIP
=========================================================
*/

.faq-strip { background: #ffffff; }

.faq-item {
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  padding: 18px 16px;
}

.faq-q { font-weight: 900; margin-bottom: 8px; }

.faq-a {
  color: rgba(0,0,0,0.70);
  line-height: 1.6;
  text-align: justify;
}


/*
=========================================================
12) RESPONSIVE TWEAKS
=========================================================
*/

@media (max-width: 900px) {
  section.image-cont {
    height: auto;
    flex-direction: column;
  }

  section.image-cont > div {
    width: 100% !important;
    min-height: 320px;
  }
}