/* ============================================================
   services.css — Styles specific to services.html
   ============================================================ */

/* ------------------------------------------------------------
   PAGE HERO
   ------------------------------------------------------------ */
.page-hero {
  padding: 10rem 5% 5rem;
  background: linear-gradient(135deg, var(--ivory), var(--cream));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 151, 90, 0.1), transparent 70%);
}

.page-hero-inner { max-width: 1200px; margin: 0 auto; }

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
  max-width: 700px;
}

.page-hero h1 em { font-style: italic; color: var(--gold); }

.page-hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 1.2rem;
  font-weight: 300;
}

.page-hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 2rem;
}

/* ------------------------------------------------------------
   FILTER TABS
   ------------------------------------------------------------ */
.filter-section {
  background: var(--warm-white);
  padding: 2rem 5%;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

/* ------------------------------------------------------------
   SERVICES SECTIONS
   ------------------------------------------------------------ */
.services-section { padding: 6rem 5%; }
.services-section:nth-child(even) { background: var(--ivory); }

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

.service-card {
  background: var(--warm-white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-top {
  background: linear-gradient(135deg, var(--cream), #E4D9C8);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.service-card-top::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(184, 151, 90, 0.1);
}

.service-card-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 1rem;
}

.service-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
}

.service-card-body { padding: 2rem; }

.service-card-body p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.service-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-details li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-body);
}

.service-details li::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.45rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(184, 151, 90, 0.1);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Override shared btn-primary padding for services cards */
.service-card .btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.btn-outline-sm {
  background: transparent;
  color: var(--gold);
  padding: 0.75rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-outline-sm:hover {
  background: var(--gold);
  color: white;
}

/* ------------------------------------------------------------
   FEATURED PROCEDURES
   ------------------------------------------------------------ */
.featured-procedure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.featured-procedure.reverse { direction: rtl; }
.featured-procedure.reverse > * { direction: ltr; }

.featured-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cream), #DDD0BC);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.featured-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.featured-img-label { text-align: center; }
.featured-img-label span { font-size: 4rem; display: block; margin-bottom: 0.5rem; }
.featured-img-label p { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--text-muted); }

.featured-content .section-tag { margin-bottom: 0.8rem; }

.featured-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.featured-content h2 em { font-style: italic; color: var(--gold); }

.featured-content p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.featured-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.featured-info-item {
  background: var(--cream);
  padding: 1rem;
  border-radius: 4px;
  border-left: 2px solid var(--gold);
}

.featured-info-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.featured-info-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 0.2rem;
}

/* ------------------------------------------------------------
   GALLERY PREVIEW
   ------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--cream), #D8CDBF);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  height: 340px;
}

.gallery-item:hover { transform: scale(1.02); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 23, 0);
  transition: background 0.3s;
}

.gallery-item:hover::after { background: rgba(28, 26, 23, 0.35); }

.gallery-item-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: white;
  text-align: center;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.4rem;
}

.gallery-notice {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.8rem 1.2rem;
  background: var(--cream);
  border-radius: 4px;
  border-left: 2px solid var(--gold);
}

/* ------------------------------------------------------------
   CTA BANNER
   ------------------------------------------------------------ */
.cta-banner { background: var(--charcoal); padding: 5rem 5%; }

.cta-banner-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: white;
  margin-bottom: 1rem;
}

.cta-banner h2 em { color: var(--gold-light); font-style: italic; }

.cta-banner p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   RESPONSIVE — Services page
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-procedure { grid-template-columns: 1fr; gap: 2rem; }
  .featured-procedure.reverse { direction: ltr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 1; grid-row: span 1; height: auto; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-section { padding: 1.5rem 5%; }
  .featured-info-grid { grid-template-columns: 1fr; }
}
