@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --navy: #0F1C2E;
  --navy-light: #1a2942;
  --red: #D62828;
  --red-dark: #B91C1C;
  --red-light: #EF4444;
  --white: #FFFFFF;
  --light-gray: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-700: #374151;
  --gray-900: #111827;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 20px;
  --container-max: 1200px;
  
  /* Transitions */
  --transition: all 0.3s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  color: var(--gray-900);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--navy);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
}

.logo-icon {
  font-size: 1.8rem;
}

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

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:not(.btn-nav):hover {
  color: var(--red);
}

.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--red);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after {
  width: 100%;
}

.btn-nav {
  background-color: var(--red);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.btn-nav:hover {
  background-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1562259949-e8e7689d7828?q=80&w=2131&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 28, 46, 0.9) 0%, rgba(15, 28, 46, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  color: var(--white);
}

.trust-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.star {
  color: #FCD34D;
  font-size: 1rem;
}

.rating-text {
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 4px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 35px;
  opacity: 0.95;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.check-icon {
  background: var(--red);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--red);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 25px rgba(214, 40, 40, 0.3);
  transition: var(--transition);
}

.btn-main:hover {
  background-color: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(214, 40, 40, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white);
  color: var(--navy);
  padding: 16px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-lg);
}

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

.phone-icon {
  font-size: 1.2rem;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  padding: 40px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.trust-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

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

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--section-padding);
  background: var(--light-gray);
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 4px solid var(--navy);
}

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

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card > p {
  color: var(--gray-700);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: var(--section-padding);
  background: var(--white);
}

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

.gallery-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

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

/* Before/After Slider */
.ba-slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.ba-before,
.ba-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after {
  width: 50%;
  border-right: 3px solid var(--white);
  z-index: 2;
  overflow: hidden;
}

.ba-label {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 5;
  letter-spacing: 1px;
}

.ba-label-before {
  /* Only before label is shown now, centered at top */
}

.ba-label-after {
  display: none;
}

.ba-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 10;
  margin: 0;
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.ba-handle-line {
  width: 2px;
  height: 80px;
  background: var(--white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ba-handle-circle {
  width: 50px;
  height: 50px;
  background: var(--red);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--white);
  font-weight: bold;
  font-size: 1.2rem;
}

.arrow-left,
.arrow-right {
  font-size: 1.3rem;
  line-height: 1;
}

.gallery-info {
  padding: 25px;
  border-top: 3px solid var(--navy);
}

.gallery-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}

.gallery-info p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-padding);
  background: var(--light-gray);
}

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

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-left: 4px solid var(--red);
}

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

.stars {
  color: #FCD34D;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.testimonial-text {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  color: var(--navy);
  font-weight: 700;
}

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

/* ===== WHY CHOOSE US ===== */
.why-us {
  padding: var(--section-padding);
  background: var(--navy);
  color: var(--white);
}

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

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 35px 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.feature-card h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* ===== LOCATIONS ===== */
.locations {
  padding: 50px 20px;
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--gray-200);
}

.locations h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.location-tag {
  background: var(--gray-100);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}

.location-tag:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.contact-info h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 35px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.contact-method:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.method-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-info {
  display: flex;
  flex-direction: column;
}

.method-info strong {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.phone-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
}

.method-info span:not(.phone-number) {
  color: var(--gray-700);
  font-size: 0.95rem;
}

.business-hours {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.business-hours h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 15px;
  font-weight: 700;
}

.business-hours p {
  color: var(--gray-700);
  margin-bottom: 8px;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--navy);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1rem;
  background: var(--gray-100);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}

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

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.btn-submit:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-arrow {
  transform: translateX(5px);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-700);
  text-align: center;
  margin-top: 10px;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto 40px;
}

.footer-section h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--red);
  padding-left: 5px;
}

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

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

/* ===== FLOATING CALL BUTTON ===== */
.floating-call-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(214, 40, 40, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.floating-call-btn svg {
  stroke: var(--white);
}

.floating-call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(214, 40, 40, 0.6);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(214, 40, 40, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(214, 40, 40, 0.7);
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 20px;
  }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: 20px;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
  }
  
  .btn-nav {
    margin-top: 10px;
    text-align: center;
  }
  
  .hero {
    min-height: 80vh;
    background-attachment: scroll;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .service-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .ba-slider {
    height: 250px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-wrapper {
    padding: 30px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .trust-items {
    grid-template-columns: 1fr;
  }
  
  .trust-item {
    justify-content: flex-start;
  }
  
  .location-tags {
    gap: 8px;
  }
  
  .location-tag {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .floating-call-btn {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
