/* ==========================================================================
   GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
  --primary-orange: #E5941A;
  --primary-hover: #cf800a;
  --brand-dark: #1a1a1a;
  --dark-text: #222222;
  --gray-text: #555555;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --max-width: 1200px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

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

body {
  font-family: var(--font-family);
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.6;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative; /* Anchor for full-width dropdown */
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 80px;
}

/* Logo */
.logo a {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--primary-orange);
}

.logo img {
  max-height: 55px;
  width: auto;
  display: block;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  height: 100%;
  gap: 10px;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 700;
  font-size: 15px;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

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

.dropdown-toggle::after {
  content: '▼';
  font-size: 9px;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.nav-item.active .dropdown-toggle::after,
.nav-item:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* ==========================================================================
   MEGA MENU DROPDOWN (DESKTOP)
   ========================================================================== */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 90vw;
  max-width: 1100px;
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--primary-orange);
  padding: 25px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-in-out;
  pointer-events: none;
  border-radius: 0 0 6px 6px;
  z-index: 1001;
  box-sizing: border-box;
}

/* Open Mega Menu on Hover/Active */
.nav-item:hover .mega-menu,
.nav-item.active .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Mega Menu Column Styles */
.menu-column h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-orange);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.menu-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-column a {
  text-decoration: none;
  color: var(--gray-text);
  font-size: 13.5px;
  line-height: 1.4;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
}

.menu-column a:hover {
  color: var(--dark-text);
  padding-left: 4px;
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-link:hover {
  color: var(--primary-orange);
}

.btn-book {
  background-color: var(--primary-orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.btn-book:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   PAGE LAYOUT & COMPONENTS
   ========================================================================== */
.hero {
  background-color: var(--brand-dark);
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  color: #cccccc;
  max-width: 700px;
  margin: 0 auto 25px auto;
}

.container, .content-container {
  max-width: var(--max-width);
  margin: 50px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.grid-2, .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card, .service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Restrain images to card containers */
.image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 15px;
}

.image-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.card h3, .card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--brand-dark);
  text-transform: uppercase;
}

.btn, .btn-cta, .btn-orange {
  display: inline-block;
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover, .btn-cta:hover, .btn-orange:hover {
  background-color: var(--primary-hover);
}

/* Footer */
footer {
  background-color: var(--brand-dark);
  color: #aaaaaa;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  font-size: 14px;
}
/* Card & Image Container Scaling */
.image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 15px;
}

.image-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
/* ==========================================================================
   MOBILE RESPONSIVE NAVIGATION
   ========================================================================== */
@media (max-width: 768px) {
  .site-header {
    position: relative;
  }

  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 15px 10px;
    gap: 12px;
  }

  .logo a {
    font-size: 18px;
    text-align: center;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    height: auto;
  }

  .nav-link {
    font-size: 13px;
    padding: 4px 6px;
    height: auto;
  }

  .header-actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 12px;
    margin-top: 4px;
  }

  .phone-link {
    font-size: 14px;
  }

  .btn-book {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Mobile Dropdown Overrides */
 .mega-menu {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    box-shadow: none !important;
    grid-template-columns: 1fr !important; /* Stack columns vertically */
    gap: 15px !important;
    padding: 15px !important;
    display: none !important; /* Hide by default */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Show menu ONLY when JS adds the .active class */
  .nav-item.active .mega-menu {
    display: grid !important;
    transform: none !important;
  }
}
/* ==========================================================================
   REVIEWS & TESTIMONIALS GRID
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 30px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.review-caption {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-text);
  background-color: var(--light-bg);
}
/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.site-footer {
  background-color: var(--brand-dark, #1a1a1a);
  color: #cccccc;
  padding: 50px 0 0 0;
  margin-top: 60px;
  border-top: 4px solid var(--primary-orange, #E5941A);
  font-family: var(--font-family);
}

.footer-container {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Hero Text Section */
.footer-hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding-bottom: 30px;
  border-bottom: 1px solid #333333;
}

.footer-hero-text h2 {
  color: var(--white, #ffffff);
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-hero-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #aaaaaa;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h3, 
.footer-col h4 {
  color: var(--white, #ffffff);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after,
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-orange, #E5941A);
}

/* Service Area Styling */
.service-lead {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.towns-list {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #aaaaaa;
  margin-bottom: 18px;
}

.footer-contact-info p {
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-contact-info a {
  color: var(--primary-orange, #E5941A);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-info a:hover {
  color: var(--primary-hover, #cf800a);
}

/* Links List */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-orange, #E5941A);
  padding-left: 4px;
}

/* Hours List */
.footer-hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.9rem;
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  border-bottom: 1px dashed #333333;
  padding-bottom: 4px;
  color: #aaaaaa;
}

.footer-hours-list span {
  color: var(--white, #ffffff);
  font-weight: 600;
}

.btn-footer-cta {
  display: inline-block;
  background-color: var(--primary-orange, #E5941A);
  color: var(--white, #ffffff);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.btn-footer-cta:hover {
  background-color: var(--primary-hover, #cf800a);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid #333333;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #888888;
}

/* Responsive Adjustments */
@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* ==========================================================================
   REVIEWS PAGE STYLES
   ========================================================================== */
.rating-summary-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px 30px;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: 15px;
}

.score-display {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding-right: 25px;
}

.score-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-dark);
}

.stars-large {
  color: var(--primary-orange);
  font-size: 1.2rem;
  margin-top: 4px;
}

.summary-text p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-text);
}

.summary-text span {
  font-size: 0.9rem;
  color: var(--gray-text);
}

.reviews-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin: 40px auto;
}

.review-card-text {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

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

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--brand-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.author-details h3 {
  font-size: 1rem;
  color: var(--brand-dark);
  margin-bottom: 2px;
  text-transform: none;
}

.review-stars {
  color: var(--primary-orange);
  font-size: 0.95rem;
}

.source-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.source-badge.google {
  background-color: #e8f0fe;
  color: #1a73e8;
}

.source-badge.facebook {
  background-color: #e7f3ff;
  color: #1877f2;
}

.review-body {
  font-size: 0.95rem;
  color: var(--dark-text);
  line-height: 1.6;
  margin-bottom: 15px;
}

.owner-response {
  background-color: var(--light-bg);
  border-left: 3px solid var(--primary-orange);
  padding: 10px 14px;
  border-radius: 0 4px 4px 0;
  font-size: 0.88rem;
  color: var(--gray-text);
  margin-top: 10px;
}

.owner-response strong {
  color: var(--brand-dark);
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reviews-cta {
  background-color: var(--brand-dark);
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
  border-radius: 8px;
  margin-top: 40px;
}

.reviews-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.reviews-cta p {
  color: #cccccc;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .rating-summary-card {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .score-display {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 12px;
  }
}

    .form-group {
      margin-bottom: 20px;
    }
    .form-group label {
      display: block;
      font-weight: bold;
      margin-bottom: 6px;
      color: var(--brand-dark);
    }
    .form-group input, 
    .form-group textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 16px;
    }
    .form-group textarea {
      height: 140px;
      resize: vertical;
    }
/* Before & After Section */
.before-after-section {
  padding: 4rem 1.5rem;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.before-after-section .section-title {
  text-align: center;
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.before-after-section .section-subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.transformation-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background-color: #e2e8f0;
}

.image-box {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

/* Before & After Section Layout */
/* Prevent horizontal overflow on mobile viewports */
.before-after-section {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 2rem 10px;
  background-color: #f1f5f9;
  overflow: hidden; /* Prevents child elements from spilling out horizontally */
}
/* BEFORE & AFTER Badge Styling */
.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
}

.before-badge {
  background-color: #dc2626; /* Bright Red */
  color: #ffffff;
}

.after-badge {
  background-color: #16a34a; /* Bright Green */
  color: #ffffff;
}
.card-caption {
  padding: 12px 16px;
  background-color: #ffffff;
}

.card-caption h3 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.card-caption p {
  margin: 0;
  font-size: 0.875rem;
  color: #475569;
}
.transformation-wrapper-card {
  width: 100%;
  max-width: 1150px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem 0.75rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid #cbd5e1;
  margin: 0 auto;
}

/* Ensure title and text wrap properly without clipping */
.transformation-wrapper-card .section-title {
  text-align: center;
  font-size: 1.35rem; /* Scaled down for mobile */
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  word-break: break-word; /* Breaks long words if viewport is extremely narrow */
}

.transformation-wrapper-card .section-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 0 5px;
}

/* Grid & Cards sizing adjustments */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr; /* Forces single column stack on mobile */
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.transformation-card {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

/* Media Query for larger screens (Tablet & Desktop) */
@media (min-width: 768px) {
  .before-after-section {
    padding: 3rem 1.5rem;
  }
  .transformation-wrapper-card {
    padding: 2.5rem 2rem;
  }
  .transformation-wrapper-card .section-title {
    font-size: 2rem;
  }
  .transformation-wrapper-card .section-subtitle {
    font-size: 1.05rem;
  }
  .before-after-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
  }
}
/* Container Box & Image Layout */
.transformation-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.image-pair {
  display: flex;
  gap: 2px;
  background-color: #e2e8f0; /* Crisp divider between before/after images */
}

.image-box {
  position: relative;
  flex: 1;
}

.image-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Badge Styling */
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.before-badge {
  background-color: #dc2626; /* Red */
  color: #ffffff;
}

.after-badge {
  background-color: #16a34a; /* Green */
  color: #ffffff;
}

/* Card Caption Copy */
.card-caption {
  padding: 16px;
  background-color: #ffffff;
}

.card-caption h3 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.card-caption p {
  margin: 0;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.4;
}
