/* 
   Taşçılar Su Tesisat Adana - Sarıçam Su Tesisatçısı
   Custom Stylesheet - Modern, Responsive, Fast-Loading
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- DESIGN TOKENS --- */
:root {
  --primary: #0f2e5c;
  --primary-light: #1e40af;
  --primary-hover: #0a1f3d;
  --secondary: #00a8cc;
  --secondary-hover: #0090b0;
  --accent: #f59e0b;
  --danger: #dc2626;
  --danger-hover: #b91c1c;
  --success: #10b981;
  --success-hover: #059669;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0b132b;
  --bg-dark-accent: #1c2541;
  --bg-accent: #eff6ff;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #ffffff;
  --text-light-muted: #cbd5e1;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }

.bg-white { background-color: var(--bg-card); }
.bg-accent-light { background-color: var(--bg-accent); }
.bg-dark-section { background-color: var(--bg-dark); color: var(--text-light); }

.py-section { padding-top: 5rem; padding-bottom: 5rem; }
.py-sm { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.my-grid { display: grid; gap: 2rem; }

/* Grid systems */
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-danger {
  background-color: var(--danger);
  color: var(--text-light);
}
.btn-danger:hover {
  background-color: var(--danger-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  box-shadow: none;
}
.btn-outline-white:hover {
  background-color: var(--text-light);
  color: var(--primary);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--text-light);
}
.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-danger {
  background-color: #fee2e2;
  color: var(--danger);
}

.badge-primary {
  background-color: #dbeafe;
  color: var(--primary-light);
}

.badge-accent {
  background-color: #fef3c7;
  color: var(--accent);
}

/* Section Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: var(--radius-full);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.header-top {
  background-color: var(--primary);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-info {
  display: flex;
  gap: 1.5rem;
}

.header-top-info a, .header-top-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-top-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-main {
  padding: 1rem 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo svg {
  width: 40px;
  height: 40px;
  fill: var(--primary);
}

.logo-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-menu-cta {
  display: none;
}

@media (min-width: 1024px) {
  .btn-menu-cta {
    display: inline-flex;
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: all var(--transition-normal);
}

@media (max-width: 991px) {
  .header-top {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background-color: var(--bg-card);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
    align-items: stretch;
    overflow-y: auto;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .header-main {
    padding: 0.75rem 0;
  }
}

/* Burger Animation */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}


/* --- BREADCRUMBS --- */
.breadcrumb-section {
  background-color: var(--bg-accent);
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--primary-light);
  font-weight: 500;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span.separator {
  color: #94a3b8;
}

.breadcrumbs span.current {
  color: var(--text-dark);
  font-weight: 600;
}


/* --- EMERGENCY BANNER --- */
.emergency-banner {
  background-color: var(--danger);
  color: var(--text-light);
  padding: 0.75rem 0;
  font-weight: 700;
  font-family: var(--font-heading);
  text-align: center;
  position: relative;
  z-index: 9;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.emergency-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.emergency-pulse {
  width: 12px;
  height: 12px;
  background-color: var(--text-light);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-danger 1.5s infinite;
}

@keyframes pulse-danger {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}


/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(15, 46, 92, 0.95) 0%, rgba(11, 19, 43, 0.98) 100%), 
              url('../images/hero-bg-placeholder.svg') center/cover no-repeat;
  color: var(--text-light);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to top, var(--bg-main), transparent);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero {
    padding: 7rem 0;
  }
  .hero .container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.hero h1 {
  color: var(--text-light);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 2rem;
  }
}

.hero-subhead {
  font-size: 1.125rem;
  color: var(--text-light-muted);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-bullet-icon {
  width: 24px;
  height: 24px;
  background-color: rgba(0, 168, 204, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.hero-bullet-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-bullet-text {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  color: var(--text-dark);
  z-index: 2;
  position: relative;
}

.hero-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.hero-form-group {
  margin-bottom: 1.25rem;
}

.hero-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.hero-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.hero-form-input:focus {
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(15, 46, 92, 0.1);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid rgba(255, 255, 255, 0.95);
  aspect-ratio: 3/4;
  max-width: 420px;
  margin: 0 auto;
  z-index: 2;
  transition: all var(--transition-normal);
}

.hero-image-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--secondary);
  box-shadow: 0 25px 50px -12px rgba(15, 46, 92, 0.4);
}

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


/* --- EMERGENCY CALL TO ACTION --- */
.emergency-cta {
  background-color: var(--bg-accent);
  padding: 3rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.emergency-cta-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 2px solid var(--danger);
  position: relative;
}

.emergency-cta-box::before {
  content: 'HIZLI SERVİS';
  position: absolute;
  top: -14px;
  left: 2rem;
  background-color: var(--danger);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.emergency-cta-text h3 {
  color: var(--danger);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

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

@media (min-width: 992px) {
  .emergency-cta-box {
    flex-direction: row;
  }
  .emergency-cta-text {
    max-width: 60%;
  }
  .emergency-cta-actions {
    width: auto;
  }
}


/* --- ABOUT BLOCK --- */
.about-section {
  background-color: var(--bg-card);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  text-align: center;
  max-width: 180px;
}

.about-img-badge-years {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--secondary);
  display: block;
}

.about-img-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 576px) {
  .about-img-badge {
    position: static;
    margin-top: 1rem;
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }
  .about-img-badge-years {
    font-size: 2rem;
  }
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  color: var(--secondary);
  margin-top: 0.25rem;
}

.about-feature-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.about-feature-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* --- SERVICES CARD GRID --- */
.services-section {
  background-color: var(--bg-main);
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-card-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  background-color: #e2e8f0;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-icon-floating {
  position: absolute;
  bottom: -25px;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.service-card-icon-floating svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card-body {
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--primary);
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-footer {
  padding: 0 1.5rem 2rem 1.5rem;
}


/* --- WHY CHOOSE US --- */
.why-section {
  background-color: var(--bg-card);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border-bottom: 4px solid transparent;
  transition: all var(--transition-fast);
}

.why-card:hover {
  background-color: var(--bg-card);
  border-bottom-color: var(--secondary);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(15, 46, 92, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.why-card:hover .why-icon {
  background-color: var(--primary);
  color: var(--text-light);
}

.why-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}


/* --- SERVICE AREAS (LOCATION SEO) --- */
.areas-section {
  background-color: var(--bg-accent);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 576px) {
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.area-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 3px solid var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.area-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary);
}

.area-card svg {
  width: 18px;
  height: 18px;
  fill: var(--secondary);
}

.area-card span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}


/* --- BEFORE AFTER --- */
.before-after-section {
  background-color: var(--bg-card);
}

.ba-slider-container {
  max-width: 800px;
  margin: 0 auto;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ba-image.before {
  background-image: url('../images/leak-detection-after.jpg');
  width: 50%;
  border-right: 4px solid var(--text-light);
  z-index: 2;
  box-shadow: 10px 0 20px rgba(0,0,0,0.2);
}

.ba-image.after {
  background-image: url('../images/leak-detection-before.jpg');
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--text-light);
  z-index: 3;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.ba-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: var(--secondary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--text-light);
  cursor: pointer;
}

.ba-slider-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ba-label {
  position: absolute;
  bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(0,0,0,0.6);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ba-label.label-before {
  left: 1rem;
}

.ba-label.label-after {
  right: 1rem;
}


/* --- YOUTUBE VIDEO GRID --- */
.video-section {
  background-color: var(--bg-main);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.video-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.video-card-link {
  display: block;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.video-card-link:hover {
  transform: translateY(-5px);
}

.video-preview-wrapper {
  position: relative;
  aspect-ratio: 9/16;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0b132b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-preview-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 46, 92, 0.45);
  transition: background var(--transition-normal);
  z-index: 1;
}

.video-card-link:hover .video-preview-wrapper::before {
  background: rgba(15, 46, 92, 0.65);
}

.video-play-overlay {
  position: relative;
  z-index: 2;
}

.play-btn-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--danger);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
  transition: all var(--transition-normal);
}

.video-card-link:hover .play-btn-circle {
  background-color: var(--text-light);
  color: var(--danger);
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

.play-btn-circle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  margin-left: 4px;
}

.video-click-to-play {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: inline-block;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.video-card-link:hover .video-click-to-play {
  color: var(--primary-light);
}

.video-body {
  padding: 1.25rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-body h3 {
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.4;
}


/* --- TESTIMONIALS --- */
.reviews-section {
  background-color: var(--bg-card);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--secondary);
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-text {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.review-author-info h4 {
  font-size: 1rem;
  color: var(--primary);
}

.review-author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* --- FAQS ACCORDION --- */
.faq-section {
  background-color: var(--bg-main);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  cursor: pointer;
}

.faq-icon {
  color: var(--secondary);
  transition: transform var(--transition-fast);
}

.faq-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  background-color: var(--bg-accent);
}

.faq-answer-content {
  padding: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid #e2e8f0;
}

/* Open State */
.faq-item.open {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.open .faq-answer {
  max-height: 500px; /* arbitrary height to slide down */
}


/* --- CONTACT CTA --- */
.contact-cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  text-align: center;
}

.contact-cta-content h2 {
  color: var(--text-light);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.contact-cta-content p {
  color: var(--text-light-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* --- CONTACT PAGE SPECIFIC --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info-panel {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary);
}

.contact-info-panel h3 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info-text a:hover {
  color: var(--primary-light);
}

.contact-hours-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
}

.contact-hours-table td {
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.contact-hours-table td:first-child {
  font-weight: 600;
}

.contact-hours-table td:last-child {
  text-align: right;
  color: var(--success);
  font-weight: 700;
}

.contact-form-panel {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-panel h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .form-group-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-input-wrapper {
  margin-bottom: 1.25rem;
}

.form-input-wrapper label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: #f8fafc;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(15, 46, 92, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-success-message {
  display: none;
  background-color: #d1fae5;
  color: var(--success-hover);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid #10b981;
}

.map-container {
  height: 400px;
  background-color: #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #cbd5e1;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* --- ABOUT PAGE SPECIFIC --- */
.stats-section {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* --- SERVICES DETAIL PAGE --- */
.service-detail-block {
  background-color: var(--bg-card);
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail-item:not(:last-child) {
  margin-bottom: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 992px) {
  .service-detail-item {
    grid-template-columns: 1fr 1.2fr;
  }
  .service-detail-item:nth-child(even) {
    grid-template-columns: 1.2fr 1fr;
  }
  .service-detail-item:nth-child(even) .service-detail-content {
    order: 1;
  }
  .service-detail-item:nth-child(even) .service-detail-img-box {
    order: 2;
  }
}

.service-detail-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background-color: #cbd5e1;
}

.service-detail-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.service-detail-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-detail-benefits {
  margin-bottom: 2rem;
}

.service-detail-benefits h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-detail-benefits ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-detail-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-detail-benefits li svg {
  width: 16px;
  height: 16px;
  fill: var(--secondary);
}


/* --- FOOTER --- */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light-muted);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 5px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer-col h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-logo svg {
  width: 32px;
  height: 32px;
  fill: var(--text-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '→';
  color: var(--secondary);
  transition: transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-contact-item a:hover {
  color: var(--text-light);
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-dark-accent);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.footer-hours-row span:last-child {
  color: var(--text-light);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--bg-dark-accent);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}


/* --- CONVERSION OPTIMIZATION FLOATING WIDGETS --- */
/* Floating Desktop/Tablet Buttons */
.floating-widgets {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 90;
  display: none;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.floating-btn:hover {
  transform: scale(1.1) rotate(5deg);
}

.floating-call {
  background-color: var(--primary-light);
}

.floating-whatsapp {
  background-color: #25D366;
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .floating-widgets {
    display: flex;
  }
}

/* Sticky Bottom Mobile Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background-color: var(--bg-card);
  border-top: 1px solid #cbd5e1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  z-index: 99;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
}

.sticky-mobile-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
  transition: opacity var(--transition-fast);
}

.sticky-mobile-item:active {
  opacity: 0.8;
}

.sticky-mobile-phone {
  background-color: var(--primary);
}

.sticky-mobile-whatsapp {
  background-color: #25D366;
}

.sticky-mobile-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .sticky-mobile-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 65px; /* prevent bottom content from being cut off by the sticky bar */
  }
}
