/*
Theme Name: C&M Valeting
Theme URI: https://cmvaleting.co.uk
Author: Welch Marketing Ltd
Author URI: https://welchmarketing.co.uk
Description: Premium WordPress theme for C&M Valeting & Pressure Washing Services. Mobile car detailing covering Kent & East Sussex. Fully customisable via WordPress admin.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cm-valeting
Tags: one-column, custom-menu, custom-logo, featured-images, theme-options
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ========================================
   CSS VARIABLES & RESET
======================================== */
:root {
  --cm-navy: #0a1628;
  --cm-navy-light: #111f3a;
  --cm-navy-mid: #0d1e35;
  --cm-blue: #1a5fba;
  --cm-blue-light: #2d7ee6;
  --cm-blue-glow: #4da3ff;
  --cm-silver: #c0c8d4;
  --cm-silver-light: #e8ecf2;
  --cm-white: #ffffff;
  --cm-text: #cdd6e4;
  --cm-heading: #ffffff;
  --cm-accent: #2d7ee6;
  --cm-gradient: linear-gradient(135deg, #1a5fba 0%, #2d7ee6 50%, #4da3ff 100%);
  --cm-gradient-dark: linear-gradient(180deg, #0a1628 0%, #0d1e35 100%);
  --cm-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --cm-shadow-blue: 0 10px 40px rgba(45, 126, 230, 0.2);
  --cm-radius: 16px;
  --cm-radius-sm: 8px;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1200px;
  --section-pad: 100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--cm-navy);
  color: var(--cm-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--cm-heading);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cm-blue-light);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--cm-gradient);
  border-radius: 2px;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--cm-gradient);
  color: var(--cm-white);
  box-shadow: var(--cm-shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(45, 126, 230, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--cm-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--cm-blue-light);
  background: rgba(45, 126, 230, 0.1);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--cm-white);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-3px);
}

/* ========================================
   HEADER / NAVIGATION
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  flex-shrink: 0;
  line-height: 0;
}

.site-logo a,
.site-logo .custom-logo-link {
  display: block;
  line-height: 0;
}

.site-logo img,
.site-logo .custom-logo,
.site-logo .custom-logo-link img {
  height: 38px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  transition: height 0.4s ease;
}

.site-header.scrolled .site-logo img,
.site-header.scrolled .site-logo .custom-logo,
.site-header.scrolled .site-logo .custom-logo-link img {
  height: 32px !important;
}

.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--cm-white);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-logo-text span {
  color: var(--cm-blue-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cm-silver-light);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cm-white);
  background: rgba(45, 126, 230, 0.15);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cm-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.header-phone svg { width: 18px; height: 18px; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 28px;
  height: 2px;
  background: var(--cm-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(13, 30, 53, 0.85) 50%, rgba(26, 95, 186, 0.3) 100%);
  z-index: 1;
}

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

.hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1 1 55%;
  min-width: 0;
}

.hero-visual {
  flex: 1 1 40%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badge cards - vertical stack in the right column */
.hero-badges-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}

.hero-badge-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(45, 126, 230, 0.15);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.hero-badge-card:hover {
  border-color: rgba(45, 126, 230, 0.35);
  background: rgba(45, 126, 230, 0.08);
  transform: translateX(-4px);
}

.hero-badge-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(45, 126, 230, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cm-blue-light);
}

.hero-badge-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
}

.hero-badge-card p {
  font-size: 0.82rem;
  color: var(--cm-silver);
  margin: 0;
  line-height: 1.3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(45, 126, 230, 0.15);
  border: 1px solid rgba(45, 126, 230, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cm-blue-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 span {
  background: var(--cm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--cm-silver);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat h3 {
  font-size: 2.5rem;
  background: var(--cm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--cm-silver);
  margin-bottom: 0;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--cm-blue-light);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  25% { transform: translateY(-100px) translateX(50px); opacity: 0.5; }
  50% { transform: translateY(-200px) translateX(-30px); opacity: 0.3; }
  75% { transform: translateY(-100px) translateX(80px); opacity: 0.4; }
}

/* Water droplet effect */
.water-drops {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.water-drop {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(77, 163, 255, 0.4);
  border-radius: 50%;
  animation: dropFall linear infinite;
}

@keyframes dropFall {
  0% { transform: translateY(-100vh); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* ========================================
   SERVICES OVERVIEW
======================================== */
.services-overview {
  padding: var(--section-pad) 0;
  background: var(--cm-gradient-dark);
  position: relative;
}

.services-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 126, 230, 0.3), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--cm-radius);
  padding: 40px 32px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cm-gradient);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 126, 230, 0.2);
  box-shadow: var(--cm-shadow-blue);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(45, 126, 230, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--cm-silver);
}

/* ========================================
   PACKAGES SECTION
======================================== */
.packages {
  padding: var(--section-pad) 0;
  background: var(--cm-navy);
  position: relative;
}

.packages-header {
  text-align: center;
  margin-bottom: 60px;
}

.packages-header p {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--cm-silver);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.package-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--cm-radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.package-card:hover {
  border-color: rgba(45, 126, 230, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--cm-shadow-blue);
}

.package-card.featured {
  border-color: rgba(45, 126, 230, 0.4);
  background: linear-gradient(135deg, rgba(26, 95, 186, 0.1) 0%, rgba(45, 126, 230, 0.05) 100%);
}

.package-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 16px;
  background: var(--cm-gradient);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cm-white);
}

.package-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--cm-heading);
  margin-bottom: 8px;
}

.package-tagline {
  font-size: 0.85rem;
  color: var(--cm-blue-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 20px;
}

.package-prices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.price-tag {
  padding: 6px 16px;
  background: rgba(45, 126, 230, 0.1);
  border: 1px solid rgba(45, 126, 230, 0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cm-white);
}

.price-tag .size {
  color: var(--cm-silver);
  font-weight: 400;
  font-size: 0.8rem;
}

.price-tag .amount {
  color: var(--cm-blue-light);
  font-weight: 700;
}

.package-features {
  margin-bottom: 28px;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--cm-silver);
}

.package-features li::before {
  content: '✓';
  color: var(--cm-blue-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.package-card .btn {
  width: 100%;
  justify-content: center;
}

/* ========================================
   ADD-ONS
======================================== */
.addons {
  padding: var(--section-pad) 0;
  background: var(--cm-gradient-dark);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--cm-radius-sm);
  transition: all 0.3s ease;
}

.addon-item:hover {
  border-color: rgba(45, 126, 230, 0.2);
  background: rgba(45, 126, 230, 0.05);
}

.addon-name {
  font-weight: 600;
  color: var(--cm-heading);
}

.addon-price {
  color: var(--cm-blue-light);
  font-weight: 700;
  white-space: nowrap;
}

/* ========================================
   ABOUT / WHY CHOOSE US
======================================== */
.about-section {
  padding: var(--section-pad) 0;
  background: var(--cm-navy);
}

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

.about-image {
  position: relative;
  border-radius: var(--cm-radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  border-radius: var(--cm-radius);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(45, 126, 230, 0.2);
  border-radius: var(--cm-radius);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--cm-silver);
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(45, 126, 230, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cm-blue-light);
}

.about-feature h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--cm-silver);
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--cm-gradient-dark);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--cm-radius);
  padding: 36px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--cm-silver-light);
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cm-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--cm-white);
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--cm-heading);
}

.testimonial-location {
  font-size: 0.82rem;
  color: var(--cm-silver);
}

/* ========================================
   AREAS COVERED
======================================== */
.areas {
  padding: var(--section-pad) 0;
  background: var(--cm-navy);
}

.areas-header {
  text-align: center;
  margin-bottom: 48px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.area-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--cm-radius-sm);
  font-size: 0.9rem;
  color: var(--cm-silver-light);
  transition: all 0.3s ease;
}

.area-tag:hover {
  border-color: rgba(45, 126, 230, 0.3);
  background: rgba(45, 126, 230, 0.05);
  color: var(--cm-white);
}

.area-tag svg {
  width: 16px;
  height: 16px;
  color: var(--cm-blue-light);
}

/* ========================================
   GALLERY
======================================== */
.gallery {
  padding: var(--section-pad) 0;
  background: var(--cm-gradient-dark);
}

.gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--cm-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Gallery Project Layout */
.gallery-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.gallery-project-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-project-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
}

.gallery-label-before {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.gallery-label-after {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.gallery-project-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery-project-images .gallery-item {
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-project-images .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-project-images .gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-project-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========================================
   BOOKING CTA
======================================== */
.booking-cta {
  padding: var(--section-pad) 0;
  background: var(--cm-navy);
  position: relative;
  overflow: hidden;
}

.booking-cta::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 126, 230, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.booking-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.booking-inner h2 {
  margin-bottom: 16px;
}

.booking-inner p {
  color: var(--cm-silver);
  max-width: 500px;
  margin: 0 auto 36px;
}

.booking-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--cm-gradient-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--cm-silver);
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(45, 126, 230, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cm-blue-light);
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--cm-silver);
  font-weight: 400;
  margin-bottom: 4px;
}

.contact-detail p, .contact-detail a {
  font-weight: 600;
  color: var(--cm-heading);
  font-size: 1rem;
}

.contact-detail a:hover {
  color: var(--cm-blue-light);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cm-silver);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(45, 126, 230, 0.15);
  border-color: rgba(45, 126, 230, 0.3);
  color: var(--cm-blue-light);
  transform: translateY(-3px);
}

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--cm-radius);
  padding: 40px;
}

.contact-form-wrap h3 {
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cm-silver);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--cm-radius-sm);
  color: var(--cm-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c0c8d4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-group select option {
  background: var(--cm-navy);
  color: var(--cm-white);
  padding: 12px 16px;
}

.form-group input[type="date"] {
  color-scheme: dark;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cm-blue-light);
  box-shadow: 0 0 0 3px rgba(45, 126, 230, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Add-on checkbox grid */
.form-addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.form-addon-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--cm-radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.form-addon-checkbox:hover {
  border-color: rgba(45, 126, 230, 0.3);
  background: rgba(45, 126, 230, 0.05);
}

.form-addon-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--cm-blue-light);
  flex-shrink: 0;
}

.addon-check-label {
  color: var(--cm-silver-light);
  line-height: 1.3;
}

.addon-check-label small {
  color: var(--cm-silver);
  display: block;
  font-size: 0.75rem;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: var(--cm-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--cm-silver);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer-logo {
  line-height: 0;
}

.footer-logo img,
.footer-logo .custom-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

.footer-logo a {
  display: inline-block;
  line-height: 0;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--cm-heading);
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--cm-silver);
}

.footer-col a:hover {
  color: var(--cm-blue-light);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--cm-silver);
}

.footer-bottom a {
  color: var(--cm-blue-light);
}

/* ========================================
   SCROLL ANIMATIONS
======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.6s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.7s; }

/* ========================================
   COUNTER ANIMATION
======================================== */
.counter {
  display: inline-block;
}

/* ========================================
   PAGE TEMPLATES
======================================== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--cm-gradient-dark);
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 126, 230, 0.3), transparent);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--cm-silver);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--cm-silver);
}

.breadcrumbs a { color: var(--cm-blue-light); }
.breadcrumbs span { color: var(--cm-silver); opacity: 0.5; }

/* Location page */
.location-content {
  padding: var(--section-pad) 0;
}

.location-content .entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.entry-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.entry-content p {
  color: var(--cm-silver);
  margin-bottom: 20px;
}

/* ========================================
   MOBILE NAV
======================================== */

/* Overlay backdrop */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Slide-in panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--cm-navy);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid rgba(45, 126, 230, 0.15);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
  transform: translateX(0);
}

/* Header row with logo + close */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.mobile-nav-header .site-logo img,
.mobile-nav-header .site-logo .custom-logo,
.mobile-nav-header .site-logo .custom-logo-link img {
  height: 28px !important;
  width: auto !important;
  max-width: 120px !important;
}

/* Animated X close button */
.mobile-nav-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.mobile-nav-close:hover {
  background: rgba(45, 126, 230, 0.15);
  border-color: rgba(45, 126, 230, 0.3);
}

.mobile-nav-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--cm-white);
  top: 50%;
  left: 50%;
  border-radius: 2px;
}

.mobile-nav-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Nav links */
.mobile-nav-links {
  padding: 16px 0;
  flex-shrink: 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cm-silver-light);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  color: var(--cm-white);
  background: rgba(45, 126, 230, 0.08);
  border-left-color: var(--cm-blue-light);
}

/* Staggered entry animation for links */
.mobile-nav.open .mobile-nav-links a {
  animation: mobileNavSlide 0.4s ease forwards;
  opacity: 0;
  transform: translateX(20px);
}

.mobile-nav.open .mobile-nav-links a:nth-child(1) { animation-delay: 0.05s; }
.mobile-nav.open .mobile-nav-links a:nth-child(2) { animation-delay: 0.1s; }
.mobile-nav.open .mobile-nav-links a:nth-child(3) { animation-delay: 0.15s; }
.mobile-nav.open .mobile-nav-links a:nth-child(4) { animation-delay: 0.2s; }
.mobile-nav.open .mobile-nav-links a:nth-child(5) { animation-delay: 0.25s; }
.mobile-nav.open .mobile-nav-links a:nth-child(6) { animation-delay: 0.3s; }

@keyframes mobileNavSlide {
  to { opacity: 1; transform: translateX(0); }
}

/* Contact details */
.mobile-nav-contact {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-nav-phone,
.mobile-nav-email {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--cm-silver);
  transition: color 0.3s ease;
}

.mobile-nav-phone svg,
.mobile-nav-email svg {
  color: var(--cm-blue-light);
  flex-shrink: 0;
}

.mobile-nav-phone:hover,
.mobile-nav-email:hover {
  color: var(--cm-white);
}

/* Action buttons */
.mobile-nav-actions {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-nav-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 0.95rem;
}

/* Social links */
.mobile-nav-social {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.mobile-nav-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cm-silver);
  transition: all 0.3s ease;
}

.mobile-nav-social a:hover {
  background: rgba(45, 126, 230, 0.15);
  border-color: rgba(45, 126, 230, 0.3);
  color: var(--cm-blue-light);
}

/* Animated hamburger toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.mobile-toggle:hover {
  background: rgba(45, 126, 230, 0.15);
  border-color: rgba(45, 126, 230, 0.3);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cm-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-toggle span:nth-child(1) { top: 12px; }
.mobile-toggle span:nth-child(2) { top: 19px; }
.mobile-toggle span:nth-child(3) { top: 26px; }

/* Prevent body scroll when nav is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* ========================================
   WP ADMIN BAR FIX
======================================== */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }

  .main-nav { display: none; }
  .header-cta .btn { display: none; }
  .mobile-toggle { display: flex; }

  .header-phone { font-size: 0; } /* hide text, keep icon */
  .header-phone svg { width: 20px; height: 20px; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-grid { flex-direction: column; gap: 32px; }
  .hero-content { flex: none; width: 100%; }
  .hero-visual { display: none; }
  .hero-stats { flex-direction: row; gap: 24px; }
  .hero-stat { flex: 1; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .packages-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-addons-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .booking-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .package-prices { flex-direction: column; }
}

/* ========================================
   PRELOADER
======================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--cm-navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(45, 126, 230, 0.2);
  border-top-color: var(--cm-blue-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   PRESSURE WASHING PAGE
======================================== */
.pw-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* ========================================
   BLOG / SINGLE
======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  padding: var(--section-pad) 0;
}

.blog-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--cm-radius);
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 126, 230, 0.2);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-card-content {
  padding: 28px;
}

.blog-card-meta {
  font-size: 0.82rem;
  color: var(--cm-blue-light);
  margin-bottom: 8px;
}

.blog-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.blog-card-content p {
  color: var(--cm-silver);
  font-size: 0.9rem;
}

/* Single post */
.single-post-content {
  padding: var(--section-pad) 0;
}

.single-post-content .entry-content {
  max-width: 750px;
  margin: 0 auto;
}

.entry-content p {
  margin-bottom: 20px;
  color: var(--cm-silver);
  line-height: 1.8;
}

.entry-content h2 { margin: 48px 0 16px; }
.entry-content h3 { margin: 36px 0 12px; }
.entry-content ul, .entry-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.entry-content li {
  color: var(--cm-silver);
  margin-bottom: 8px;
  list-style: disc;
}

.entry-content img {
  border-radius: var(--cm-radius);
  margin: 32px 0;
}
