/* ============================================
   FlexPRO Cleaning LLC - Professional Styles
   Premium Cleaning Services in Southern California
   ============================================ */

/* CSS Variables */
:root {
  /* Primary Colors */
  --primary-blue: #007BFF;
  --primary-blue-dark: #0056b3;
  --primary-blue-light: #4da3ff;
  
  /* Accent Colors */
  --accent-green: #28A745;
  --accent-green-dark: #1e7b34;
  --accent-yellow: #F7B731;
  --accent-yellow-light: #ffe066;
  
  /* Neutral Colors */
  --navy: #1A2238;
  --navy-light: #2d3a5a;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --medium-gray: #6C757D;
  --dark-gray: #495057;
  --text-dark: #212529;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #007BFF 0%, #00C6FF 100%);
  --gradient-hero: linear-gradient(135deg, #1A2238 0%, #2d3a5a 50%, #007BFF 100%);
  --gradient-shine: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 30px rgba(0,123,255,0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Spacing */
  --section-padding: 100px;
  --container-max: 1400px;
}

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

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

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

/* Ensure fixed elements are not clipped */
body.menu-open {
  overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-shine);
  transition: var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

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

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

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

.btn-green:hover {
  background: var(--accent-green-dark);
  transform: translateY(-3px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
  color: var(--navy);
}

.header.scrolled .nav-link:hover {
  color: var(--primary-blue);
}

.header.scrolled .logo-text {
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

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

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition-normal);
}

.logo-text span {
  color: var(--accent-yellow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-yellow);
}

.header.scrolled .nav-phone {
  color: var(--primary-blue);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.1);
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
}

.header.scrolled .lang-toggle {
  background: var(--light-gray);
}

.lang-toggle span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition-normal);
}

.header.scrolled .hamburger span {
  background: var(--navy);
}

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

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,34,56,0.9) 0%, rgba(0,123,255,0.7) 100%);
}

/* Sparkle Animation */
.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0;
  animation: sparkle 3s infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-badge i {
  color: var(--accent-yellow);
}

.hero-badge span {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero h1 span {
  color: var(--accent-yellow);
}

.hero-text {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  animation: fadeInUp 1s ease 1s both;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.hero-feature i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--accent-yellow);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 20;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-dot.active {
  background: var(--accent-yellow);
  transform: scale(1.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
}

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

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

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

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--white);
  position: relative;
}

.service-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--primary-blue-light);
  animation: rotate 20s linear infinite;
}

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

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

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.service-features {
  text-align: left;
  margin-bottom: 25px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--dark-gray);
  border-bottom: 1px solid var(--light-gray);
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features i {
  color: var(--accent-green);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-us {
  padding: var(--section-padding) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,123,255,0.2) 0%, transparent 70%);
}

.why-us .section-header h2 {
  color: var(--white);
}

.why-us .section-header p {
  color: rgba(255,255,255,0.7);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 10;
}

.why-card {
  text-align: center;
  padding: 40px 25px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-normal);
}

.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-10px);
}

.why-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 20px;
  font-size: 2.5rem;
  color: var(--white);
  position: relative;
}

.why-icon.eco {
  background: linear-gradient(135deg, var(--accent-green) 0%, #20c997 100%);
}

.why-icon.family {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #fd7e14 100%);
}

.why-icon.trust {
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
}

.why-card h4 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.why-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

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

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--light-gray);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.testimonial-stars i {
  color: var(--accent-yellow);
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  z-index: 10;
}

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

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

.author-info h5 {
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.author-info span {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* Google Reviews */
.google-reviews-section {
  margin-top: 60px;
  text-align: center;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--white);
  padding: 20px 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.google-badge img {
  height: 40px;
}

.google-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.google-rating .stars {
  display: flex;
  gap: 3px;
  color: var(--accent-yellow);
}

.google-rating span {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* ============================================
   SERVICE AREAS SECTION
   ============================================ */
.service-areas {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.areas-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.areas-map {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.areas-map iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.areas-list h3 {
  margin-bottom: 30px;
}

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

.area-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: var(--off-white);
  border-radius: 10px;
  transition: var(--transition-normal);
}

.area-item:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateX(10px);
}

.area-item:hover i {
  color: var(--white);
}

.area-item i {
  color: var(--primary-blue);
  font-size: 1.2rem;
}

/* ============================================
   ABOUT SECTION (Homepage Preview)
   ============================================ */
.about-preview {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}

.about-img-float img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  top: 30px;
  left: -30px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge .number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.experience-badge span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text .section-tag {
  margin-bottom: 20px;
}

.about-text h2 {
  margin-bottom: 25px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 35px;
}

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

.about-feature i {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 12px;
  color: var(--primary-blue);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.about-feature h5 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.about-feature p {
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   BLOG PREVIEW SECTION
   ============================================ */
.blog-preview {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

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

.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

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

.blog-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-green);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-content {
  padding: 30px;
}

.blog-content h4 {
  margin-bottom: 15px;
  transition: var(--transition-normal);
}

.blog-card:hover .blog-content h4 {
  color: var(--primary-blue);
}

.blog-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--medium-gray);
}

.blog-meta i {
  margin-right: 5px;
  color: var(--primary-blue);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-text p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin: 0;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.cta-buttons .btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.cta-buttons .btn-secondary:hover {
  background: transparent;
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  margin-bottom: 25px;
}

.footer-brand .logo-text {
  font-size: 1.8rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 25px;
}

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

.footer-social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary-blue);
  transform: translateY(-5px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-yellow);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-normal);
}

.footer-links a:hover {
  color: var(--accent-yellow);
  padding-left: 10px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.7);
}

.footer-contact i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--accent-yellow);
  flex-shrink: 0;
}

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

.footer-contact a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  margin: 0;
  font-size: 0.9rem;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 30px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.trust-badge i {
  color: var(--accent-green);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(37,211,102,0.5);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
}

/* ============================================
   PAGES - ABOUT PAGE
   ============================================ */
.page-hero {
  padding: 180px 0 100px;
  background: var(--gradient-hero);
  position: relative;
  text-align: center;
}

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

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: var(--accent-yellow);
}

/* About Full Section */
.about-full {
  padding: var(--section-padding) 0;
}

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

.about-story.reverse {
  direction: rtl;
}

.about-story.reverse > * {
  direction: ltr;
}

.story-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.story-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.story-content h3 {
  margin-bottom: 20px;
}

.story-content p {
  margin-bottom: 15px;
}

/* Team Section */
.team-section {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

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

.team-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-normal);
}

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

.team-image {
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-info {
  padding: 30px;
}

.team-info h4 {
  margin-bottom: 5px;
}

.team-info .role {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 15px;
  display: block;
}

.team-info p {
  font-size: 0.95rem;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-full {
  padding: var(--section-padding) 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--light-gray);
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.service-detail-content h3 {
  margin-bottom: 20px;
}

.service-detail-content p {
  margin-bottom: 20px;
}

.service-checklist {
  list-style: none;
  margin-bottom: 30px;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
}

.service-checklist i {
  color: var(--accent-green);
  font-size: 1.2rem;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section {
  padding: var(--section-padding) 0;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  border: 2px solid var(--light-gray);
  background: transparent;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}

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

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,123,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-overlay i {
  color: var(--white);
  font-size: 2rem;
  transform: scale(0.5);
  transition: var(--transition-normal);
}

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

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

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Before/After Slider */
.before-after-section {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.before-after-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.before-after-slider {
  position: relative;
  width: 100%;
  height: 350px;
}

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

.before-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
}

.after-img {
  width: 100%;
}

.ba-label {
  position: absolute;
  bottom: 15px;
  padding: 8px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 20px;
}

.ba-label.before {
  left: 15px;
  background: #dc3545;
}

.ba-label.after {
  right: 15px;
  background: var(--accent-green);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* ============================================
   BOOKING PAGE
   ============================================ */
.booking-section {
  padding: var(--section-padding) 0;
}

.booking-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.booking-form {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.booking-form h3 {
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0,123,255,0.1);
}

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

.booking-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-card {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.sidebar-card h4 {
  color: var(--white);
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--accent-yellow);
}

.contact-item p {
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.contact-item a {
  color: var(--white);
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  transition: var(--transition-normal);
}

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

.faq-question i {
  transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

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

.faq-answer p {
  padding: 0 30px 25px;
}

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

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: var(--section-padding) 0;
}

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

.contact-info-cards {
  display: grid;
  gap: 25px;
  margin-bottom: 40px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  background: var(--off-white);
  border-radius: 15px;
  transition: var(--transition-normal);
}

.info-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(10px);
}

.info-card i {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 15px;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-card h4 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
}

.info-card a {
  color: var(--primary-blue);
  font-weight: 500;
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 350px;
}

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

.contact-form-wrapper {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  margin-bottom: 30px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --section-padding: 80px;
  }
  
  /* =============================================
     MOBILE HEADER FIX - CRITICAL
     Using isolation to create controlled stacking context
     ============================================= */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: var(--navy) !important;
    isolation: isolate;
  }
  
  .header.scrolled {
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
  }
  
  /* =============================================
     MOBILE NAV-MENU FIX - CRITICAL
     Using right positioning instead of transform
     to avoid stacking context issues
     ============================================= */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -320px !important;
    width: 300px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: var(--navy) !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px !important;
    transition: right 0.3s ease !important;
    display: flex !important;
    z-index: 99998 !important;
    padding: 20px !important;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3) !important;
  }
  
  .nav-menu.active {
    right: 0 !important;
  }
  
  .nav-menu .nav-link {
    color: var(--white) !important;
    font-size: 1.2rem !important;
    padding: 15px 30px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  /* =============================================
     MOBILE HAMBURGER FIX - CRITICAL
     Always visible at any scroll position
     ============================================= */
  .hamburger,
  .header .hamburger,
  .header.scrolled .hamburger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100000 !important;
    position: relative !important;
    flex-direction: column !important;
    gap: 6px !important;
    cursor: pointer !important;
    padding: 10px !important;
  }
  
  .hamburger span,
  .header .hamburger span {
    display: block !important;
    width: 30px !important;
    height: 3px !important;
    background: var(--white) !important;
    border-radius: 3px !important;
    transition: 0.3s ease !important;
  }
  
  .header.scrolled .hamburger span {
    background: var(--navy) !important;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px) !important;
    background: var(--white) !important;
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px) !important;
    background: var(--white) !important;
  }
  
  .nav-cta {
    display: none !important;
  }
  
  .about-content,
  .areas-content,
  .about-story,
  .service-detail,
  .contact-grid,
  .booking-container {
    grid-template-columns: 1fr;
  }
  
  .about-story.reverse,
  .service-detail.reverse {
    direction: ltr;
  }
  
  .testimonials-wrapper,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .why-us-grid,
  .testimonials-wrapper,
  .blog-grid,
  .team-grid,
  .before-after-grid,
  .areas-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 15px;
  }
  
  .about-features,
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .trust-badges {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .booking-form {
    padding: 30px 20px;
  }
  
  .experience-badge {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 20px;
    display: inline-block;
  }
  
  .about-img-float {
    display: none;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Shimmer Effect for Cards */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  transition: var(--transition-slow);
}

.shimmer:hover::after {
  left: 100%;
}

/* Glow effect */
.glow-on-hover {
  transition: var(--transition-normal);
}

.glow-on-hover:hover {
  box-shadow: 0 0 40px rgba(0,123,255,0.4);
}

/* Print styles */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .cta-section {
    display: none;
  }
  
  .page-hero {
    padding-top: 50px;
    background: none;
    color: var(--navy);
  }
  
  .page-hero h1,
  .page-hero p {
    color: var(--navy);
  }
}
