/* ========================================
   Aloha Home Services - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
  --primary: #c94a00;
  --primary-dark: #a83d00;
  --secondary: #061f49;
  --secondary-light: #0F172A;
  --accent: #e1624b;
  --text-dark: #333333;
  --text-body: #444444;
  --text-light: #4a4f54;
  --text-muted: #5a6370;
  --white: #ffffff;
  --light-bg: #f5f5f5;
  --light-gray: #f3f3f3;
  --border: #e1e5eb;
  --star-gold: #f5a623;
  --success: #39b54a;
  --blue-link: #3771c8;
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Sunflower', sans-serif;
  --font-body: 'Assistant', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 20px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
  font-size: 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--secondary);
  line-height: 1.3;
  font-weight: 600;
}

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

section {
  padding: 60px 0;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
  background: var(--secondary);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

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

.top-bar a {
  color: var(--white);
}

.top-bar a:hover {
  color: var(--primary);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-right .social-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s;
}

.top-bar-right .social-link:hover {
  background: var(--primary);
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

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

.logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  padding: 10px 15px;
  font-size: 17px;
  font-weight: 500;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
  font-family: var(--font-primary);
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--primary);
}

/* Dropdown */
.nav-menu .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.nav-menu li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text-body);
  transition: all 0.3s;
}

.dropdown li a:hover {
  color: var(--primary);
  background: var(--light-bg);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  transition: all 0.3s;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

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

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(236, 88, 0, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 31, 73, 0.85) 0%, rgba(6, 31, 73, 0.6) 50%, rgba(6, 31, 73, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 80px 0;
  color: var(--white);
}

.hero-content h1 {
  font-size: 58px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 22px;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-social {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.hero-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 18px;
  transition: all 0.3s;
}

.hero-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.hero-phone:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.hero-phone-sub {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 5px;
}

/* ========================================
   About / Welcome Section
   ======================================== */
.about-section {
  padding: 80px 0;
  background: var(--white);
}

.about-section .container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.section-subtitle {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

/* Skip link for accessibility */
.skip-link:focus {
  position: fixed !important;
  left: 10px !important;
  top: 10px !important;
  width: auto !important;
  height: auto !important;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  z-index: 10000;
  border-radius: 4px;
}

.section-title {
  font-size: 44px;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.section-title span {
  color: var(--primary);
}

.about-text p {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-body);
}

.about-text strong {
  color: var(--secondary);
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.services-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
}

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

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

.service-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.service-card-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  flex: 1;
}

.service-card-content .btn {
  margin-top: 15px;
  align-self: flex-start;
}

/* Service card icon variant (homepage) */
.service-icon-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.service-icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 88, 0, 0.1);
  border-radius: 50%;
  color: var(--primary);
  font-size: 24px;
}

.service-icon-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.service-icon-card p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-section {
  padding: 80px 0;
  background: var(--white);
}

.why-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  text-align: center;
  padding: 30px;
}

.why-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border-radius: 50%;
  color: var(--white);
  font-size: 28px;
}

.why-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.why-card p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   Phone CTA Banner
   ======================================== */
.phone-banner {
  background: var(--primary);
  padding: 30px 0;
  text-align: center;
}

.phone-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.phone-banner a {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-banner a:hover {
  opacity: 0.9;
}

.phone-banner .sub-text {
  color: var(--white);
  font-size: 16px;
  opacity: 0.9;
}

/* ========================================
   Reviews Section
   ======================================== */
.reviews-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.reviews-section .section-header {
  text-align: center;
  margin-bottom: 15px;
}

.reviews-rating-summary {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-rating-summary .rating-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
}

.reviews-rating-summary .stars {
  color: var(--star-gold);
  font-size: 24px;
  margin: 5px 0;
}

.reviews-rating-summary .review-count {
  font-size: 14px;
  color: var(--text-muted);
}

.reviews-grid {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 10px 0 20px;
  position: relative;
}

.reviews-grid.dragging {
  overflow-x: auto;
  cursor: grabbing;
}

.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  min-width: 300px;
  max-width: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.review-card:hover {
  transform: translateY(-3px);
}

.reviewer-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card .stars {
  color: var(--star-gold);
  font-size: 16px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 12px;
}

.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card .reviewer-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.review-card .reviewer-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.review-card .reviewer-name {
  font-weight: 600;
  color: var(--secondary);
  font-size: 15px;
}

.review-card .reviewer-source {
  font-size: 12px;
  color: var(--text-muted);
}

.review-card .google-icon {
  width: 20px;
  height: 20px;
}

.trustindex-badge {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   CTA / Schedule Section
   ======================================== */
.cta-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(236,88,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 25px;
  opacity: 0.85;
}

.cta-section .cta-sub {
  font-size: 14px;
  opacity: 0.6;
  margin-top: 12px;
}

/* Smart CTA Button - shows phone on hover */
.cta-smart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 18px 44px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-primary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 25px rgba(236, 88, 0, 0.4);
  cursor: pointer;
}

.cta-smart-btn:hover {
  background: #fff;
  color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 8px 35px rgba(236, 88, 0, 0.5);
}

/* White variant hover -> go orange */
.phone-banner .cta-smart-btn:hover {
  background: var(--primary) !important;
  color: #fff !important;
}

/* WhatsApp CTA button */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-primary);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.wa-btn:hover {
  background: #1fb855;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  color: #fff;
}

.cta-smart-btn > i {
  transition: opacity 0.3s, transform 0.3s;
}

.cta-smart-btn .cta-label {
  transition: opacity 0.3s, transform 0.3s;
}

.cta-smart-btn .cta-number {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  font-size: 24px;
  letter-spacing: 1px;
  text-align: center;
}

.cta-smart-btn:hover > i {
  opacity: 0;
  transform: translateX(-20px);
}

.cta-smart-btn:hover .cta-label {
  opacity: 0;
  transform: translateY(-20px);
}

.cta-smart-btn:hover .cta-number {
  opacity: 1;
  transform: translateY(0);
}

/* Urgency badge */
.cta-urgency {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.cta-urgency i {
  margin-right: 6px;
  color: var(--star-gold);
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.cta-badges img {
  height: 60px;
  width: auto;
}

/* ========================================
   Blog Section
   ======================================== */
.blog-section {
  padding: 80px 0;
  background: var(--white);
}

.blog-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

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

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

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

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

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

.blog-card-content .blog-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-content h3 a:hover {
  color: var(--primary);
}

.blog-card-content p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card-content .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card-content .read-more:hover {
  gap: 8px;
}

/* ========================================
   Service Areas Section
   ======================================== */
.areas-section {
  padding: 80px 0;
  background: var(--light-bg);
}

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

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.area-tag {
  background: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  color: var(--secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.area-tag:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.area-tag.home-base {
  border: 2px solid var(--primary);
  position: relative;
}

.area-tag.home-base::after {
  content: 'Home Base';
  position: absolute;
  top: -10px;
  right: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
}

.areas-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 25px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-payments {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer-payments img {
  height: 30px;
  width: auto;
  border-radius: 4px;
}

.footer-areas {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 5px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
  color: var(--primary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-section {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

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

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

/* Before/After */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.before-after-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.before-after-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.before-after-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* ========================================
   Service Page Hero
   ======================================== */
.page-hero {
  background: var(--secondary);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.page-hero h1 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Service Page Content
   ======================================== */
.service-content {
  padding: 60px 0;
}

.service-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--secondary);
}

.service-content h3 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: var(--secondary);
}

.service-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-body);
}

.service-content ul {
  margin: 15px 0;
  padding-left: 0;
}

.service-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.service-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 25px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  font-family: var(--font-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .icon {
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 25px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
  padding: 80px 0;
}

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

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 88, 0, 0.1);
  border-radius: 50%;
  color: var(--primary);
  font-size: 20px;
}

.contact-info-item h4 {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 3px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text-light);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-body);
  margin-bottom: 15px;
  transition: border-color 0.3s;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ========================================
   About Page
   ======================================== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-hero-grid img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========================================
   Badges Row
   ======================================== */
.badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
  flex-wrap: wrap;
}

.badges-row img {
  height: 70px;
  width: auto;
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Before/After Flip Cards (mobile)
   ======================================== */
.flip-card {
  perspective: 1000px;
  height: 300px;
  border-radius: 12px;
  overflow: visible;
  cursor: pointer;
}

@media (max-width: 768px) {
  .flip-card {
    height: 220px;
  }
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-front .flip-label,
.flip-card-back .flip-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.flip-card-back .flip-label {
  background: var(--primary);
}

/* Tap hint icon */
.flip-card::after {
  content: '\f0ec';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.3s;
  pointer-events: none;
}

.flip-card:hover::after {
  opacity: 1;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 38px;
  }

  .section-title {
    font-size: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu > li > a {
    padding: 12px 0;
    width: 100%;
  }

  .nav-menu .dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    padding-left: 20px;
    display: none !important;
    max-height: 300px;
    overflow-y: auto;
    min-width: auto;
    position: relative !important;
  }

  .nav-menu li.dropdown-open .dropdown {
    display: block !important;
  }

  /* Show scroll hint only on mobile */
  .mobile-scroll-hint {
    display: block !important;
  }

  .nav-menu .dropdown li a {
    padding: 10px 15px;
    font-size: 15px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 450px;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .about-section .container {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .top-bar-left {
    display: none;
  }

  .top-bar .container {
    justify-content: center;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  /* Fix badge images on mobile */
  .cta-badges img, .cta-section img {
    max-height: 60px !important;
    height: auto !important;
  }

  /* Fix floating CTAs overlapping content */
  .floating-cta, [style*="position:fixed"][style*="bottom:30px"][style*="left:"] {
    bottom: 15px !important;
    font-size: 13px !important;
    padding: 10px 16px !important;
  }

  body {
    padding-bottom: 70px; /* space for floating CTAs */
  }

  /* Fix inline-styled grids on mobile */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Review carousel on mobile */
  #reviewTrack > div {
    min-width: 280px !important;
  }

  /* Service page 2-col layout */
  .service-content [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Before/after on mobile - stack vertically */
  .before-after {
    grid-template-columns: 1fr !important;
  }

  .before-after-item img {
    height: 200px !important;
  }

  /* Rating summary bar */
  [style*="display:inline-flex"] {
    flex-wrap: wrap;
    justify-content: center;
  }

  section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 17px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-phone {
    font-size: 18px;
    padding: 12px 24px;
  }

  .btn-lg {
    padding: 12px 30px;
    font-size: 16px;
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .section-title {
    font-size: 24px;
  }

  #reviewTrack > div {
    min-width: 260px !important;
  }
}
