/* ============================================
   InstallMe Ltd — Home Page Styles (index.css)
   ============================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 6% 80px;
  gap: 60px;
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--sand) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 122, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text {
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(184, 92, 44, 0.1);
  color: var(--rust);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--deep);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--rust);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 440px;
  margin-bottom: 36px;
  font-weight: 400;
}

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero image */
.hero-image {
  animation: fadeUp 0.8s 0.15s ease both;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(44, 34, 23, 0.18);
  aspect-ratio: 4 / 3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: -16px; left: -16px;
  background: var(--deep);
  color: var(--cream);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-badge strong {
  display: block;
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
  color: var(--clay);
}


/* ── TRUST BAR ── */
.trust-bar {
  background: var(--deep);
  color: var(--sand);
  padding: 22px 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-icon {
  font-size: 1.2rem;
}


/* ── SERVICES ── */
.services {
  background: var(--warm-white);
}

.services-header {
  text-align: center;
}

.services-header .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* CARD */
.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 122, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 510px;
  background: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

/* IMAGE FULL CARD */
.service-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s ease;
}

/* DARK OVERLAY */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.05) 70%
  );
  z-index: 1;
}

/* TEXT ON IMAGE */
.service-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  color: white;
}

.service-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.service-body p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* HOVER ZOOM */
.service-card:hover .service-img img {
  transform: scale(1.05);
}




/* ── WHY US ── */
.why {
  background: var(--cream);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Slideshow */
.why-slideshow {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 20px 60px rgba(44, 34, 23, 0.15);
  position: relative;
  background: var(--sand);
}

.why-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.why-slide.active {
  opacity: 1;
}

.why-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.25);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

/* Reasons */
.reasons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.reason {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1px solid rgba(200, 169, 122, 0.25);
  transition: box-shadow 0.25s;
}

.reason:hover {
  box-shadow: var(--shadow);
}

.reason-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(184, 92, 44, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.reason h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 4px;
}

.reason p {
  color: var(--mid);
  font-size: 0.88rem;
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--sand);
}

.testimonials-header {
  text-align: center;
}

.testimonials-header .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--warm-white);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(200, 169, 122, 0.3);
  position: relative;
}

.testi-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--clay);
  opacity: 0.25;
  position: absolute;
  top: -10px; left: 20px;
  line-height: 1;
}

.stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 12px;
}

.testi-text {
  font-size: 0.95rem;
  color: var(--mid);
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.7;
}

.testi-author {
  font-weight: 700;
  color: var(--deep);
  font-size: 0.9rem;
}

.testi-loc {
  font-size: 0.8rem;
  color: var(--light-mid);
}


/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--rust) 0%, #8B3A18 100%);
  padding: 80px 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #fff;
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  font-size: 1.05rem;
  max-width: 500px;
  margin-inline: auto;
}


/* ── HOME PAGE RESPONSIVE ── */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    text-align: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .btn-group {
    justify-content: center;
  }

  .why-inner {
    grid-template-columns: 1fr;
  }

  .why-image {
    aspect-ratio: 16 / 9;
  }

  .trust-bar {
    gap: 24px;
  }
}


/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #fff;
  position: relative;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.9);
}



.logo {
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 24px;
    background: #fff;
    width: 220px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    gap: 16px;
  }

  .nav-links.show {
    display: flex;
  }
}