/* ==========================================================
   SERVICE DETAIL PAGES — Shared Stylesheet
    Used by: corporate.html, hospitality.html,
             retail.html, outdoor.html,
             led.html, acrylic.html,
             metal.html
   ========================================================== */

/* --- Body & Layout --- */
body.service-detail-body {
  background-color: #FAF9F6;  /* Canvas White */
  color: #111111;           /* Noir */
}


/* --- Hero Section --- */
.service-detail-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  overflow: hidden;
  background-color: #EAE6DA !important; /* Brand Sand */
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.1'/%3E%3C/svg%3E") !important;
  background-blend-mode: multiply;
}

.service-detail-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 20px;
  display: block;
}

.service-detail-hero h1 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #111111;
  line-height: 1.15;
  margin: 0 0 24px;
}

.service-detail-hero h1 .gold-text {
  color: #D4AF37;
}

.hero-description {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Content Wrapper --- */
.service-detail-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
}

.service-detail-content h2 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #111111;
  margin: 60px 0 24px;
  line-height: 1.2;
}

.service-detail-content h2:first-of-type {
  margin-top: 0;
}

.service-detail-content h2 .gold-text {
  color: #D4AF37;
}

.service-detail-content h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.3rem;
  color: #D4AF37;
  margin: 40px 0 16px;
}

.service-detail-content p {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.75);
  margin: 0 0 20px;
}

.service-detail-content ul,
.service-detail-content ol {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.75);
  padding-left: 24px;
  margin: 0 0 24px;
}

.service-detail-content li {
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.75);
}

.service-detail-content strong {
  color: #111111;
  font-weight: 600;
}

/* --- Image Gallery Strip --- */
.service-gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 40px 0 48px;
}

.service-gallery-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  filter: brightness(0.9);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.service-gallery-strip img:hover {
  filter: brightness(1);
  transform: scale(1.02);
}

/* --- CTA Block --- */
.service-cta-block {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
  margin: 60px 0 0;
}

.service-cta-block h2 {
  margin: 0 0 16px !important;
  font-size: 1.8rem;
}

.service-cta-block p {
  max-width: 500px;
  margin: 0 auto 28px;
}

.service-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #D4AF37;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.service-cta-btn:hover {
  background: #e6c555;
  transform: translateY(-2px);
}

/* --- Stats Row --- */
.service-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-box {
  text-align: center;
}

.stat-box .stat-num {
  font-family: 'Bodoni Moda', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #D4AF37;
  display: block;
  margin-bottom: 6px;
}

.stat-box .stat-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Related Services Grid --- */
.related-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0 0;
}

.related-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 6px;
  padding: 32px 24px;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.related-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
}

.related-card h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.15rem;
  color: #111111;
  margin: 0 0 8px;
}

.related-card p {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
  line-height: 1.6;
}

/* --- Breadcrumb (Hero Integration) --- */
.service-detail-hero .breadcrumb {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.4);
  padding: 0;
  margin: 0 auto 30px;
  max-width: none;
  background: transparent;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.service-detail-hero .breadcrumb a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.service-detail-hero .breadcrumb a:hover {
  color: #D4AF37;
}

.service-detail-hero .breadcrumb span {
  margin: 0 8px;
}


/* --- Responsive --- */
@media (max-width: 768px) {
  .service-detail-hero {
    min-height: 55vh;
    padding: 100px 24px 60px;
  }

  .service-detail-hero .breadcrumb {
    margin-bottom: 20px;
    font-size: 0.75rem;
    justify-content: flex-start;
    text-align: left;
    padding: 0;
  }

  .service-detail-content {
    padding: 50px 24px;
  }

  .service-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-gallery-strip {
    grid-template-columns: 1fr;
  }

  .service-cta-block {
    padding: 36px 24px;
  }

  .related-services {
    grid-template-columns: 1fr;
  }
}

/* Hide the old static breadcrumb if it exists outside hero */
body.service-detail-body > main > .breadcrumb {
  display: none !important;
}
