/* ==========================================================================
   MIRK CONSTRUCTION - PREMIUM DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

:root {
  --primary-blue: #102B4E;      /* Deep Professional Blue from reference */
  --secondary-blue: #1C3F6E;
  --accent-orange: #eb2025;     /* Vibrant Red from Rossi */
  --accent-orange-hover: #c7191e;
  --bg-dark: #121212;           /* For hero left side */
  
  --bg-light: #F4F6F8;
  --bg-card: #FFFFFF;
  
  --text-main: #333333;
  --text-muted: #666666;
  --text-light: #94A3B8;
  
  --border-color: #E2E8F0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-card); /* White default */
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.ml-3 { margin-left: 1rem; }
.text-center { text-align: center; }
.text-white { color: #FFFFFF; }
.font-weight-bold { font-weight: 700; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-orange);
  color: #FFFFFF;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.4);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.btn-icon-lg {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.btn-icon-lg:hover {
  background-color: var(--accent-orange-hover);
  transform: scale(1.05);
  box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.4);
}

.btn-icon-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}
.btn-icon-sm:hover {
  background-color: var(--accent-orange-hover);
  transform: scale(1.05);
  box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.4);
}

/* --- TOP BAR --- */
.top-bar {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info span {
  margin-right: 20px;
}

.top-info i {
  color: var(--primary-blue);
  margin-right: 6px;
}

/* --- LANGUAGE TOGGLE --- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--primary-blue);
  border-radius: 20px;
  overflow: hidden;
  margin-right: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 4px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  border-radius: 20px;
}

.phone-link {
  color: var(--accent-orange);
  font-weight: 800;
  font-size: 0.95rem;
}

.phone-link i { margin-right: 6px; }

/* --- NAVBAR --- */
.navbar {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo.footer-logo {
  filter: brightness(0) invert(1);
}

.brand:hover .brand-logo {
  transform: scale(1.04);
}

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

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 1px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-link {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-blue);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-split {
  display: flex;
  min-height: 600px;
}

.hero-left {
  flex: 1;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: 80px 5%;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Push content towards center */
}

.hero-content {
  max-width: 550px;
  width: 100%;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.g-logo-icon {
  width: 30px;
}

.gb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.gb-text .score {
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-block;
}

.gb-text .stars {
  color: #FBBC05;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.gb-text .review-count {
  font-size: 0.75rem;
  color: #AAAAAA;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-content h1 .highlight {
  color: var(--accent-orange);
}

.trust-list {
  margin-bottom: 40px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.trust-list li i {
  color: #FFFFFF;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-right {
  flex: 1;
  background-color: #f0f0f0; /* Fallback */
}

.hero-collage {
  display: flex;
  height: 100%;
  width: 100%;
}

.collage-col {
  flex: 1;
  background-size: cover;
  background-position: center;
  border-left: 2px solid #fff; /* White lines between images */
}
.collage-col:first-child { border-left: none; }


/* --- INTRO / ABOUT SECTION --- */
.intro-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.intro-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.intro-text {
  flex: 1;
}

.intro-text h2 {
  font-size: 2.8rem;
  color: var(--primary-blue);
  margin-bottom: 25px;
  line-height: 1.2;
}

.intro-text p {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.intro-actions {
  display: flex;
  align-items: center;
}

.intro-images {
  flex: 1;
  position: relative;
  min-height: 450px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.intro-images .img-back {
  width: 80%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  animation: float 6s ease-in-out infinite;
}

.intro-images .img-front {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  height: 280px;
  object-fit: cover;
  border: 8px solid #FFFFFF;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  animation: float 5s ease-in-out infinite reverse;
}

/* --- SERVICES CAROUSEL --- */
.services-carousel-section {
  padding: 90px 0;
  background-color: var(--bg-light);
  overflow: hidden;
}

.services-layout {
  display: flex;
  align-items: center;
  padding-left: max(5%, calc((100% - 1200px) / 2)); /* Align left with container */
  gap: 40px;
}

.services-header {
  flex: 0 0 350px; /* Fixed width for the text side */
}

.services-header h2 {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
  line-height: 1.1;
}

.services-header p {
  color: var(--text-main);
  font-size: 1.05rem;
}

.services-slider-container {
  flex: 1;
  position: relative;
}

.services-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px; /* Space for scrollbar */
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.services-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.service-slide {
  flex: 0 0 320px; /* Fixed card width */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.slide-image-wrapper {
  position: relative;
  height: 320px;
  background-color: var(--primary-blue);
  overflow: hidden;
}

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

.service-slide:hover .slide-image-wrapper img {
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 43, 78, 0.9) 0%, rgba(16, 43, 78, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: #FFFFFF;
}

.slide-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.slide-overlay p {
  font-size: 0.9rem;
  color: #E2E8F0;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.service-slide:hover .slide-overlay p {
  opacity: 1;
  transform: translateY(0);
}

.slide-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 20px;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--primary-blue);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
  display: none; /* Show via JS if needed or on hover */
}
.services-slider-container:hover .slider-btn { display: flex; align-items: center; justify-content: center; }
.slider-btn.left { left: 20px; }
.slider-btn.right { right: 20px; }
.slider-btn:hover { background: var(--primary-blue); color: #fff; }


/* --- BEFORE & AFTER SLIDER --- */
.portfolio-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.section-title-blue {
  color: var(--primary-blue);
  font-size: 2.5rem;
  text-transform: uppercase;
}

.ba-subtitle {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ba-slider-wrapper {
  max-width: 750px;
  margin: 0 auto;
}

/* The main comparison container */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

/* Wide / Landscape Sliders (e.g., Roofing) */
.ba-slider.aspect-landscape {
  aspect-ratio: 16 / 10;
}

/* Master Bath & Custom Project Showcase Gallery */
.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

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

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

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  color: #FFFFFF;
}

.showcase-overlay h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.showcase-overlay p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
}

/* --- PAST MASTERPIECES GRID SECTION --- */
.masterpieces-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.masterpieces-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 40px;
}

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

@media (max-width: 992px) {
  .masterpieces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .masterpieces-grid {
    grid-template-columns: 1fr;
  }
}

.masterpiece-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masterpiece-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.16);
}

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

.masterpiece-card:hover img {
  transform: scale(1.06);
}

.btn-masterpieces {
  display: inline-block;
  background-color: var(--accent-orange);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-masterpieces:hover {
  background-color: #A93226;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

.ba-slider img {
  pointer-events: none;
  -webkit-user-drag: none;
}

/* After image — sits as the background, full width */
.ba-after-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

/* Before clip — absolutely positioned, clipped from the left */
.ba-before-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.ba-before-img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  /* Width is set dynamically by JS to match the slider container width */
}

/* Handle — vertical divider line + draggable circle */
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.ba-handle-line {
  width: 3px;
  flex: 1;
  background: #FFFFFF;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.ba-handle-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  cursor: col-resize;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.ba-handle-circle:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.ba-handle-circle i {
  font-size: 18px;
  color: var(--accent-orange);
}

/* Labels */
.ba-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  z-index: 5;
  pointer-events: none;
}

.ba-label-before {
  left: 20px;
}

.ba-label-after {
  right: 20px;
}

/* Thumbnail strip for switching "after" images */
.ba-thumbnails {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.ba-thumb {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  opacity: 0.6;
}

.ba-thumb.active {
  border-color: var(--accent-orange);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(235, 32, 37, 0.3);
}

.ba-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.ba-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- REVIEWS --- */
.reviews-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

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

.review-card {
  background-color: #FFFFFF;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--accent-orange);
}

.review-card::before {
  content: '\f10d'; /* FontAwesome Quote Left */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: var(--bg-light);
  z-index: 0;
}

.review-card .stars {
  color: #FBBC05;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.review-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.review-card h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* --- ESTIMATE FORM --- */
.estimate-section {
  padding: 100px 0;
  background-color: var(--primary-blue);
  color: #FFFFFF;
}

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

.estimate-info h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.estimate-info p {
  color: #CBD5E1;
  font-size: 1.1rem;
}

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

.c-box i {
  font-size: 1.5rem;
  color: var(--accent-orange);
}

.c-label {
  display: block;
  font-size: 0.85rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 600;
}

.c-box a, .c-box span:not(.c-label) {
  font-weight: 800;
  font-size: 1.2rem;
  color: #FFFFFF;
}

.c-box a:hover {
  color: var(--accent-orange);
}

.estimate-form-card {
  background: #FFFFFF;
  color: var(--text-main);
  padding: 40px;
  border-radius: 0; /* Boxy look per reference */
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.estimate-form-card h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 25px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: #FFFFFF;
}

.form-success-msg {
  text-align: center;
  padding: 40px 20px;
}
.form-success-msg i { font-size: 3rem; color: #10B981; margin-bottom: 15px; }
.form-success-msg h4 { font-size: 1.5rem; color: var(--primary-blue); margin-bottom: 10px; }
.hidden { display: none; }

/* --- FOOTER --- */
.footer {
  background-color: #0A192F;
  color: #94A3B8;
  padding-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

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

.footer-col ul li a:hover {
  color: var(--accent-orange);
}

.cities-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cities-list i { color: var(--accent-orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 25px 0;
  text-align: center;
  font-size: 0.9rem;
}


/* --- SERVICE AREAS --- */
.service-areas {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.service-areas-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.areas-content {
  flex: 1;
}

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

.areas-content p {
  margin-bottom: 30px;
  color: var(--text-main);
  font-size: 1.05rem;
}

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

.city-btn {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.city-btn i {
  color: var(--accent-orange);
  font-size: 1.2rem;
}

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

.areas-map {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- CTA BANNER --- */
.cta-banner {
  background-color: #111111;
  color: #FFFFFF;
  padding: 80px 0;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.cta-banner p {
  color: #CBD5E1;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}
.justify-center { justify-content: center; }

/* --- 4-COL FOOTER --- */
.footer-content-4 {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}
.contact-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #94A3B8;
}
.contact-col ul li i {
  color: var(--accent-orange);
  margin-top: 4px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  color: var(--accent-orange);
  font-size: 1.4rem;
}
.social-links a:hover { color: #FFFFFF; }


/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-split { flex-direction: column; min-height: auto; }
  .hero-left { padding: 60px 24px; justify-content: center; }
  .hero-right { height: 400px; }
  
  .intro-container { flex-direction: column; }
  .intro-images { width: 100%; margin-top: 40px; }
  .intro-images .img-front { width: 60%; }
  
  .services-layout { flex-direction: column; padding: 0 24px; }
  .services-header { flex: auto; text-align: center; margin-bottom: 30px; }
  
  .estimate-wrapper { grid-template-columns: 1fr; }
  .footer-content, .footer-content-4 { grid-template-columns: 1fr 1fr; gap: 40px; }
  .service-areas-wrapper { flex-direction: column; }
  .areas-map { width: 100%; height: 300px; }
}

@media (max-width: 768px) {
  .brand-logo {
    height: 35px;
  }
  .brand-name {
    font-size: 1.4rem;
  }
  .brand-sub {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }
  .nav-btn {
    display: none; /* Hide the 'Get a Quote' button on mobile to prevent overlapping */
  }
  .top-info > span {
    display: none; /* Hide the top bar location text to make room for language toggle */
  }
  .top-bar-content {
    justify-content: center; /* Center the remaining items in top bar */
  }
  .lang-toggle {
    margin-right: 15px; /* Adjust margin for mobile */
  }
  .section-title-blue {
    font-size: 1.8rem; /* Make section titles smaller on mobile */
  }
  .masterpieces-title {
    font-size: 1.8rem; /* Make masterpiece title smaller on mobile */
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .mobile-menu-toggle { display: block; }
  
  .cities-grid { grid-template-columns: 1fr; }
  .ba-slider { aspect-ratio: 3 / 4; }
  .ba-handle-circle { width: 40px; height: 40px; }
  .ba-handle-circle i { font-size: 14px; }
  .ba-thumb { width: 70px; height: 70px; }
  .ba-label { font-size: 0.65rem; padding: 4px 12px; bottom: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content h1, .cta-banner h2 { font-size: 2.2rem; }
  .footer-content-4 { grid-template-columns: 1fr; }
}

/* --- TRUST BADGES BAR --- */
.trust-bar {
  background-color: var(--primary-blue);
  color: #fff;
  padding: 20px 0;
  border-bottom: 4px solid var(--accent-orange);
}
.trust-bar-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}
.trust-item i {
  color: var(--accent-orange);
  font-size: 1.4rem;
}

/* --- PROCESS SECTION --- */
.process-section {
  padding: 90px 0;
  background-color: #FFFFFF;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.step-card {
  background: var(--bg-light);
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  background: #FFFFFF;
  border: 1px solid var(--border-color);
}
.step-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-blue);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(16, 43, 78, 0.2);
}
.step-card h3 {
  font-size: 1.2rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

/* --- FAQ ACCORDION --- */
.faq-section {
  padding: 90px 0;
  background-color: #FFFFFF;
}
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}
.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-toggle:hover { color: var(--accent-orange); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-content p {
  padding-top: 15px;
  color: var(--text-muted);
}
.faq-item.active .faq-content { max-height: 200px; }
.faq-item.active .faq-toggle i { transform: rotate(45deg); color: var(--accent-orange); }

/* --- FLOATING ACTION BUTTONS --- */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}
.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
  color: #FFFFFF;
  text-decoration: none;
}
.fab.back-to-top {
  background-color: var(--primary-blue);
  opacity: 0;
  visibility: hidden;
}
.fab.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.fab.mobile-call-fab {
  background-color: var(--accent-orange);
  display: none; /* Only show on mobile */
}
.fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .trust-bar-content { flex-direction: column; align-items: center; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
  .fab.mobile-call-fab { display: flex; }
}

/* --- LIGHTBOX STYLES --- */
.lightbox {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.9); 
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border-radius: 8px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--accent-orange);
  text-decoration: none;
}

/* Allow clicking on images to open lightbox */
.showcase-card, .masterpiece-card {
  cursor: pointer;
}
