/* ============================================================
   SERVICES.CSS — Services page & detail page styles
   11 Dreamland RealBuild India Private Limited
   ============================================================ */

/* ---------- HERO (shared) ---------- */
.svc-hero-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.svc-hero-centered .breadcrumb { justify-content: center; margin-top: 1.1rem; }
.svc-hero-centered .page-hero-sub {
  max-width: 580px;
  margin: .6rem auto 0;
  color: rgba(255,255,255,.8);
  font-size: .98rem;
  line-height: 1.75;
}

/* ---------- OVERVIEW: EXPLORE SECTION ---------- */
.svc-explore-section { padding: 4rem 0 2rem; background: #fff; }

/* ---------- OVERVIEW: IMAGE CARDS ---------- */
.svc-overview-section { padding: 0 0 5rem; background: #fff; }

.svc-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.svc-ov-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
  display: block;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(15,35,71,.14);
  cursor: pointer;
}
.svc-ov-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.svc-ov-card:hover .svc-ov-bg { transform: scale(1.07); }

.svc-ov-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,50,.88) 0%, rgba(10,22,50,.35) 60%, rgba(10,22,50,.2) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 2rem 1.5rem;
  transition: background .4s ease;
}
.svc-ov-card:hover .svc-ov-overlay {
  background: linear-gradient(to top, rgba(10,22,50,.92) 0%, rgba(10,22,50,.55) 60%, rgba(10,22,50,.3) 100%);
}

.svc-ov-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: background .3s ease, border-color .3s ease;
}
.svc-ov-card:hover .svc-ov-icon-wrap {
  background: rgba(200,160,32,.3);
  border-color: rgba(200,160,32,.6);
}
.svc-ov-icon-wrap svg { width: 26px; height: 26px; stroke: #fff; fill: none; }

.svc-ov-title {
  font-family: 'Figtree', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: #fff; text-align: center;
  margin: 0 0 .5rem; line-height: 1.3;
}
.svc-ov-arrow {
  font-size: .78rem; color: rgba(255,255,255,.65);
  font-family: 'Figtree', sans-serif;
  font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.svc-ov-card:hover .svc-ov-arrow { opacity: 1; transform: translateY(0); }

/* ---------- OVERVIEW: FEATURES SECTION ---------- */
.svc-features-section {
  padding: 5rem 0;
  background: var(--warm-bg, #f8f6f1);
}

.svc-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.svc-feat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(27,58,112,.08);
  box-shadow: 0 2px 14px rgba(15,35,71,.05);
  transition: transform .28s ease, box-shadow .28s ease;
}
.svc-feat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(15,35,71,.11);
}

.svc-feat-icon {
  width: 56px; height: 56px;
  background: rgba(27,58,112,.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  transition: background .28s ease;
}
.svc-feat-icon svg { width: 24px; height: 24px; stroke: var(--emerald, #1B3A70); fill: none; }
.svc-feat-item:hover .svc-feat-icon { background: rgba(200,160,32,.12); }
.svc-feat-item:hover .svc-feat-icon svg { stroke: var(--gold, #C8A020); }

.svc-feat-title {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--text-dark, #1a2744);
  margin: 0 0 .6rem;
}
.svc-feat-desc {
  font-size: .85rem; color: var(--text-mid, #5a6a7e);
  line-height: 1.75; margin: 0;
}

/* ============================================================
   DETAIL PAGE STYLES
   ============================================================ */

/* ---------- DETAIL PAGE BODY ---------- */
.svc-detail-section { padding: 4rem 0 5rem; background: #fff; }

.svc-detail-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

/* ---------- SIDEBAR ---------- */
.svc-sidebar {
  border: 1px solid rgba(27,58,112,.12);
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 90px;
  box-shadow: 0 4px 20px rgba(15,35,71,.07);
}

.svc-sidebar-heading {
  background: var(--emerald, #1B2D72);
  color: #fff;
  padding: .9rem 1.25rem;
  font-family: 'Figtree', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin: 0;
}

.svc-sidebar-nav { list-style: none; padding: 0; margin: 0; }
.svc-sidebar-nav li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem 1.25rem;
  font-family: 'Figtree', sans-serif;
  font-size: .9rem; font-weight: 600;
  color: var(--text-dark, #1a2744);
  text-decoration: none;
  border-bottom: 1px solid rgba(27,58,112,.08);
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.svc-sidebar-nav li:last-child a { border-bottom: none; }
.svc-sidebar-nav li a::after {
  content: '›';
  font-size: 1.1rem;
  color: rgba(27,58,112,.3);
  transition: color .2s ease;
}
.svc-sidebar-nav li a:hover {
  background: rgba(27,58,112,.04);
  color: var(--gold, #C8A020);
  padding-left: 1.5rem;
}
.svc-sidebar-nav li a:hover::after,
.svc-sidebar-nav li a.active::after { color: var(--gold, #C8A020); }
.svc-sidebar-nav li a.active {
  background: rgba(200,160,32,.08);
  color: var(--gold, #C8A020);
  font-weight: 700;
  border-left: 3px solid var(--gold, #C8A020);
}

/* ---------- DETAIL CONTENT ---------- */
.svc-detail-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 32px rgba(15,35,71,.12);
}
.svc-detail-img-wrap img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; display: block;
}

.svc-detail-heading {
  font-family: 'Figtree', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--text-dark, #1a2744);
  margin: 0 0 1.25rem; line-height: 1.25;
}

.svc-detail-para {
  font-size: .93rem;
  color: var(--text-mid, #5a6a7e);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.svc-detail-sub {
  font-family: 'Figtree', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-dark, #1a2744);
  margin: 2rem 0 1rem; line-height: 1.3;
}

.svc-detail-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.svc-detail-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  font-size: .9rem; color: var(--text-mid, #5a6a7e);
  line-height: 1.65;
}
.svc-detail-list li::before {
  content: '';
  width: 8px; height: 8px; min-width: 8px;
  background: var(--gold, #C8A020);
  border-radius: 50%;
  margin-top: 7px; flex-shrink: 0;
}
.svc-detail-list strong { color: var(--text-dark, #1a2744); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .svc-feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .svc-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-detail-wrap { grid-template-columns: 1fr; }
  .svc-sidebar { position: static; }
}

@media (max-width: 600px) {
  .svc-overview-grid { grid-template-columns: 1fr; }
  .svc-ov-card { height: 240px; }
  .svc-feat-grid { grid-template-columns: 1fr; }
}
