/* First Class Drain Cleaning shared site styles. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: optional;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Dark Mode Variables */
  --bg-image: url("../images/fcdc2.webp");
  --bg-color: #0b1220;

  /* 25% Opacity (More Transparent) */
  --glass-bg: rgba(10, 18, 32, 0.25);

  --glass-border: rgba(255, 255, 255, 0.15);

  /* 6px Blur (Subtle) */
  --glass-blur: 6px;

  --glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 18px 45px rgba(0, 0, 0, 0.55);

  --text-main: rgba(255, 255, 255, 0.94);
  --text-muted: rgba(
    255,
    255,
    255,
    0.85
  ); /* Slightly brighter for readability on clear glass */

  --accent-color: #2b95e3;

  /* Chrome 3D Effect */
  --chrome-gradient: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
  --chrome-border: 1px solid rgba(255, 255, 255, 0.6);
  --btn-shadow:
    0 4px 15px rgba(0, 242, 254, 0.3), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

html[data-theme="light"] {
  --bg-image: url("../images/fcdc1.webp");
  --bg-color: #eef2f6;

  /* Light Mode 25% Opacity */
  --glass-bg: rgba(255, 255, 255, 0.25);

  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 12px 32px rgba(0, 0, 0, 0.1);
  --text-main: #16202a;
  --text-muted: #4a5568; /* Adjusted for visual hierarchy vs main text */
  --accent-color: #0d47a1;

  /* Light Mode Chrome */
  --chrome-gradient: linear-gradient(180deg, #1e5799 0%, #2989d8 100%);
  --btn-shadow:
    0 4px 15px rgba(41, 137, 216, 0.4), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  margin: 0;
  min-height: 100vh;
  transition:
    background-image 0.5s ease,
    background-color 0.5s ease;
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.service-wrapper { max-width: 920px; }

/* Header & Logo */
header {
  text-align: center;
  margin-bottom: 2rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 auto 1.75rem;
}

.site-nav a {
  background: rgba(8, 18, 34, 0.78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.68rem 1rem;
  border: 2px solid rgba(79, 172, 254, 0.58);
  border-radius: 999px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  background: rgba(43, 149, 227, 0.32);
  border-color: rgba(79, 172, 254, 0.8);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  background: var(--chrome-gradient);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: var(--btn-shadow);
  color: #fff;
}

.site-nav a:focus-visible,
.item-card-link:focus-visible,
.btn-secondary:focus-visible,
.footer-link:focus-visible,
.design-credit:focus-visible,
.build-version:focus-visible {
  outline: 3px solid #00f2fe;
  outline-offset: 3px;
}

html[data-theme="light"] .site-nav a:not([aria-current="page"]) {
  background: rgba(255, 255, 255, 0.72);
}

.logo-img {
  aspect-ratio: 280 / 198;
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.business-name {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #b3e5fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Add text shadow for readability on clear glass */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-title,
.service-hero h1 {
  color: var(--text-main);
  font-size: clamp(2rem, 6vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 auto 1.5rem;
  max-width: 760px;
}

.page-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }

html[data-theme="light"] .business-name {
  background: linear-gradient(to right, #0d47a1, #2196f3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--glass-shadow);
}

.cta-card {
  display: inline-block;
  padding: 1.5rem 3rem;
}

.eyebrow {
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.lead {
  font-size: 1.13rem;
  max-width: 720px;
}

.service-hero {
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  position: relative;
}

.service-hero::after {
  background: radial-gradient(circle, rgba(43, 149, 227, 0.2), transparent 68%);
  content: "";
  width: 330px;
  height: 330px;
  position: absolute;
  right: -130px;
  top: -150px;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.service-note { font-size: 0.9rem; margin-bottom: 0; }

/* Typography & Lists */
h2 {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
h3 {
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
p {
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Chrome Buttons */
.btn-cta {
  display: inline-block;
  background: var(--chrome-gradient);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  border: var(--chrome-border);
  box-shadow: var(--btn-shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  letter-spacing: 0.5px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  display: inline-block;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.phone-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
  margin: 0 0 1rem 0;
  font-weight: 600;
  color: var(--accent-color);
}

/* Grid & Hero */
.hero-split {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.hero-image,
.hero-text {
  flex: 1;
  min-width: 300px;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.item-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 14px;
  border-left: 4px solid var(--accent-color);
}

.item-card-link {
  color: inherit;
  display: block;
  text-decoration: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.item-card-link:hover {
  border-left-color: #00f2fe;
  transform: translateY(-3px);
}

.text-link {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.process-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.process-list li:last-child { border-bottom: 0; }

.process-list li > span {
  align-items: center;
  background: var(--chrome-gradient);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.process-list h3,
.process-list p { margin-top: 0; }

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 2rem;
  align-items: center;
}

.content-split img {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  height: min(440px, 60vw);
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.faq-section details {
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

.faq-section details:last-child { border-bottom: 0; }

.faq-section summary {
  color: var(--text-main);
  cursor: pointer;
  font-weight: 700;
}

.final-cta { text-align: center; }
.final-cta p { margin-left: auto; margin-right: auto; max-width: 620px; }
.logo-link {
  aspect-ratio: 280 / 198;
  display: inline-block;
  width: 190px;
}

.service-logo {
  display: block;
  max-width: 190px;
}
html[data-theme="light"] .item-card {
  background: rgba(255, 255, 255, 0.4);
}

/* Testimonials */
.testimonial-block {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.testimonial-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Footer - Unified Glass Style */
footer {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 20px;

  /* Inherit standard glass variables */
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);

  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-brand {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.footer-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}
.footer-credit {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.build-info {
  margin: 0;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.build-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.build-version {
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-decoration: none;
}

.design-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.design-credit img {
  width: 70px;
  height: auto;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.design-credit:hover img { opacity: 1; }

@media (max-width: 560px) {
  .footer-bottom { justify-content: center; }
  .compact-grid,
  .content-split { grid-template-columns: 1fr; }
  .site-nav { padding-right: 4.25rem; justify-content: flex-start; }
  .site-nav a { padding: 0.5rem 0.7rem; }
  .glass-card { padding: 1.4rem; }
}

/* Toggle Pill - Chrome Style */
.theme-pill {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--chrome-gradient);
  border: var(--chrome-border);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  box-shadow: var(--btn-shadow);
  transition: transform 0.2s ease;
}
.theme-pill:hover {
  transform: scale(1.05);
}
.theme-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}
