/* ==========================================================================
   Jean's Mobile Detailing - Premium Stylesheet (Light Theme - Mobile-First)
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors - Light Theme */
  --bg-primary: #ffffff;        /* Pure white base background */
  --bg-secondary: #f0fdfa;      /* Distinct premium light mint-teal separator background */
  --bg-card: #ffffff;           /* Pure white for cards */
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-light: rgba(15, 23, 42, 0.12);
  
  --accent: #14b8a6;            /* Electric teal */
  --accent-hover: #0d9488;      /* Darker ocean teal */
  --accent-rgb: 20, 184, 166;
  --accent-gradient: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  --accent-gradient-hover: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
  
  /* Text colors */
  --text-primary: #334155;      /* slate-700 body text */
  --text-secondary: #475569;    /* slate-600 secondary text */
  --text-muted: #64748b;        /* slate-500 muted labels */
  --text-light: #0f172a;        /* slate-900 heading colors */
  --text-white: #ffffff;        /* Pure white for contrast on elements */
  
  --star-color: #fbbf24;
  --success: #10b981;
  --error: #ef4444;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Premium Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08), 0 1px 10px rgba(15, 23, 42, 0.02);
  --glow-accent: 0 0 20px rgba(20, 184, 166, 0.2);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --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;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Background Glowing Accents (Softened for Light Theme) */
body::before {
  content: '';
  position: fixed;
  top: 10%;
  left: 70%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.04) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 60%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.03) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.85rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

input:focus, select:focus, textarea:focus, button:focus {
  outline: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .subpage-hero {
    padding: 8rem 0 7rem 0;
  }
  .subpage-hero .hero-actions {
    justify-content: center;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

/* Section Header styling */
.section-title {
  margin-bottom: 3.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.section-title p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Header & Navigation (Light Theme Glassmorphism)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--accent);
}

.logo-img {
  max-height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .logo-img {
    max-height: 58px;
  }
}

/* Desktop Navigation */
.nav-menu {
  display: none; /* Hidden on mobile */
}

/* Header actions wrapper for close spacing call & hamburger menu on mobile */
.header-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* Very close spacing to align call icon next to hamburger */
}

/* Call Button Header styling */
.header-call {
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all var(--transition-fast);
  padding: 0.4rem;
}

.header-call:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
  box-shadow: var(--glow-accent);
}

.header-call-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.header-call:hover .header-call-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.header-call-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--text-white);
}

.header-call:hover .header-call-icon svg {
  fill: var(--text-white);
}

.header-call-text {
  display: none; /* Hidden on mobile */
  padding: 0 0.75rem 0 0.5rem;
  font-size: 0.9rem;
}

/* Hamburger menu button */
.hamburger-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-primary);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: all var(--transition-normal);
}

/* Hamburger active animations */
.hamburger-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Fullscreen Mobile Overlay Menu (Light theme) */
.mobile-overlay-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-secondary);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: left var(--transition-normal);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.mobile-overlay-menu.active {
  left: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
  margin-bottom: 3rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent);
}

.mobile-nav-dropdown-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.mobile-nav-dropdown-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-dropdown-items.active {
  max-height: 300px;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.mobile-nav-dropdown-item {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.mobile-nav-dropdown-item:hover {
  color: var(--accent);
}

.mobile-overlay-footer {
  text-align: center;
}

.mobile-overlay-footer p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Close Button on overlay menu */
.overlay-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: var(--bg-primary);
}

.overlay-close-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--text-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3), var(--glow-accent);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: rgba(15, 23, 42, 0.04);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Forms & Inputs (Premium Booking Form Card - Light)
   ========================================================================== */
.booking-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #3b82f6 100%);
}

.booking-card-title {
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.booking-card-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  background-color: var(--bg-secondary);
}

.form-select option {
  background-color: var(--bg-secondary);
  color: var(--text-light);
}

/* Dynamic Alert/Status Banner */
.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  display: none;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid transparent;
}

.form-status.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: #065f46;
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: #991b1b;
}

.form-status.loading {
  display: block;
  background-color: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.2);
  color: #075985;
}

/* ==========================================================================
   Hero Section with Detailing Background Image
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0 5rem 0;
  display: flex;
  align-items: center;
}

/* Hero Background image selectors with white transparent readable masks */
.hero-home {
  background: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.88)), url('../assets/hero_home.png') center/cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(14, 165, 233, 0.08);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.hero-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-light);
}

.hero-title span {
  display: block;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */

/* Why Choose Us Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
  box-shadow: var(--glow-accent);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  transition: fill var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper svg {
  fill: var(--text-white);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Services Preview */
.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-md);
}

.service-card-title {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-card-title svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.service-card-desc {
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-card-footer {
  margin-top: auto;
}

/* Review Card styling (Equalized Heights) */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  min-height: 280px; /* Equalizes card heights for content + badges */
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), var(--glow-accent);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.reviewer-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
}

.stars-wrapper {
  color: var(--star-color);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  color: var(--text-secondary);
}

/* Gallery Section Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-light);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.1) 70%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-overlay-content {
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay-content {
  transform: translateY(0);
}

.gallery-zoom-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: var(--glow-accent);
}

.gallery-zoom-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--text-white);
}

.gallery-overlay-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Call to Action (Large Banner) */
.cta-banner {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-headline {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.cta-subtext {
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 5rem 3rem;
  }
  .cta-headline {
    font-size: 2.75rem;
  }
}

/* ==========================================================================
   Services Page Styles & Subpage Headers (With Background Images)
   ========================================================================== */
.subpage-hero {
  padding: 5rem 0 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.subpage-hero h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  color: var(--text-light);
}

.subpage-hero p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Subpage Hero image selectors with transparent overlay mask */
.hero-services {
  background: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.88)), url('../assets/hero_gallery.png') center/cover no-repeat;
}
.hero-gallery {
  background: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.88)), url('../assets/hero_gallery.png') center/cover no-repeat;
}
.hero-reviews {
  background: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.88)), url('../assets/hero_reviews.png') center/cover no-repeat;
}
.hero-contact {
  background: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.88)), url('../assets/hero_contact.png') center/cover no-repeat;
}
.hero-area {
  background: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.88)), url('../assets/hero_services.png') center/cover no-repeat;
}

/* Detailed Services Container with alternating image layouts on desktop */
.detailed-services-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.detailed-service-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* Reduced Link Spacing */
}

.detailed-service-item:hover {
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: var(--shadow-md);
}

.detailed-service-img {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.detailed-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.detailed-service-item:hover .detailed-service-img img {
  transform: scale(1.04);
}

.detailed-service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.detailed-service-header svg {
  width: 32px;
  height: 32px;
  fill: var(--accent);
}

.service-benefits-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-benefits-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .service-benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.service-benefit-item svg {
  width: 16px;
  height: 16px;
  fill: var(--success);
  flex-shrink: 0;
}

/* Alternating service layouts on large screens */
@media (min-width: 992px) {
  .detailed-service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  .detailed-service-item:nth-child(even) .detailed-service-img {
    order: 2;
  }

  .detailed-service-item:nth-child(even) .detailed-service-content {
    order: 1;
  }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.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-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.contact-info-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-info-content p,
.contact-info-content a {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.contact-info-content a:hover {
  color: var(--accent);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 350px;
  margin-top: 4rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  /* Premium light styled maps */
  filter: grayscale(0.2) contrast(1);
}

/* ==========================================================================
   Enlarged Lightbox Gallery Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.96); /* Deep translucent charcoal overlay */
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-wrapper {
  position: relative;
  max-width: 1200px; /* ENLARGED: Up from 900px */
  width: 95vw;       /* ENLARGED: Stretches closer to edges */
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh; /* ENLARGED: Scales to take maximum height */
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform var(--transition-normal);
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: -3.5rem;
  right: 0;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  background-color: rgba(15, 23, 42, 0.6);
  transition: background-color var(--transition-fast);
}

.lightbox-close-btn:hover {
  background-color: var(--accent);
}

.lightbox-close-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text-white);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-white);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-arrow:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}

.lightbox-arrow svg {
  width: 18px;
  height: 18px;
  fill: var(--text-white);
}

.lightbox-arrow-left {
  left: -0.5rem;
}

.lightbox-arrow-right {
  right: -0.5rem;
}

@media (min-width: 1024px) {
  .lightbox-arrow-left { left: -4rem; }
  .lightbox-arrow-right { right: -4rem; }
}

.lightbox-caption {
  position: absolute;
  bottom: -3.5rem;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ==========================================================================
   Service Area Specific Pages (SEO Content)
   ========================================================================== */
.seo-section {
  padding: 4rem 0;
}

.seo-rich-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.seo-rich-content h2,
.seo-rich-content h3 {
  color: var(--text-light);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.seo-rich-content p {
  margin-bottom: 1.5rem;
}

.seo-rich-content ul {
  list-style-type: none;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}

.seo-rich-content li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.seo-rich-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0f172a; /* Keep dark slate footer for structured contrast */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

.site-footer p {
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-item a:hover {
  color: var(--text-white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: #94a3b8;
}

.footer-social-link:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
  box-shadow: var(--glow-accent);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.9rem;
}

.footer-credit {
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--text-white);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Desktop Navigation Overrides (Media Query)
   ========================================================================== */
@media (min-width: 1024px) {
  .header-container {
    height: 85px;
  }

  .logo {
    font-size: 1.5rem;
  }

  /* Hide hamburger and show inline navigation on desktop */
  .hamburger-toggle {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* Reduced Link Spacing */
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    padding: 0.5rem 0;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--text-light);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-fast);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }

  /* Dropdown styles in header */
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 200px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 10;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
  }

  .nav-dropdown-link {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
  }

  .nav-dropdown-link:hover {
    background-color: var(--bg-primary);
    color: var(--text-light);
  }

  .header-call-text {
    display: inline-block;
  }

  .header-call {
    padding: 0.4rem 0.4rem;
  }
  
  .hero-section {
    padding: 6rem 0 8rem 0;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .hero-content {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

main {
  flex-grow: 1;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto; /* Align badge perfectly at bottom of card */
  margin-bottom: 0.5rem;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.review-badge svg {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  flex-shrink: 0;
}

.hero-content .hero-title {
  color: var(--text-white);
}
.hero-content .hero-desc {
  color: rgba(255, 255, 255, 0.8);
}
.subpage-hero h1 {
  color: var(--text-white);
}
.subpage-hero p {
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Secondary Button (Call Now) styling - White color & border */
.hero-section .btn-secondary,
.subpage-hero .btn-secondary {
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  background-color: transparent !important;
}

.hero-section .btn-secondary:hover,
.subpage-hero .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Leave a Review & Interactive Stars
   ========================================================================== */
.leave-review-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  padding: 5rem 0;
}

.interactive-stars-wrapper {
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 450px;
}

.rating-stars {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 3.5rem; /* Large visible stars */
  line-height: 1;
}

.star-item {
  cursor: pointer;
  color: #cbd5e1; /* slate-300 unchecked gray */
  transition: transform 0.15s ease, color 0.15s ease;
  user-select: none;
}

.star-item:hover {
  transform: scale(1.2);
}

.star-item.hovered,
.star-item.selected {
  color: #eab308; /* amber-500 premium gold color */
}

.rating-caption {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  min-height: 1.5rem;
  transition: all var(--transition-fast);
}

.feedback-form-wrapper {
  max-width: 550px;
  margin: 0 auto;
}

/* ==========================================================================
   Special Promo Banner Styles
   ========================================================================== */
.promo-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(20, 184, 166, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.promo-badge {
  background-color: var(--accent);
  color: var(--text-white);
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  box-shadow: var(--glow-accent);
}

.promo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.promo-title span {
  color: var(--accent);
}

.promo-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin-bottom: 0;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .promo-banner {
    padding: 2.5rem 3rem;
  }
  .promo-title {
    font-size: 1.8rem;
  }
}