/* ------------------------------------------------------------
   FRIENDLY THEME — Typography + Spacing Only
   (NO COLOR OVERRIDES)
------------------------------------------------------------ */

body.theme-friendly {
  /* Typography */
  --bs-body-font-family: "Merriweather", serif;
  font-size: 1.125rem;
  line-height: 1.65;

  /* Rounded UI */
  --bs-border-radius: 0.75rem;
}

/* Headings */
body.theme-friendly h1 {
  font-size: 2.75rem;
  line-height: 1.2;
}
body.theme-friendly h2 {
  font-size: 2.25rem;
  line-height: 1.25;
}
body.theme-friendly h3 {
  font-size: 1.75rem;
}
body.theme-friendly h4 {
  font-size: 1.35rem;
}

/* Lead text */
body.theme-friendly .lead {
  font-size: 1.3rem;
  line-height: 1.7;
}

/* Navigation (keeps white surface, no color override) */
body.theme-friendly .navbar {
  background-color: var(--color-surface);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

body.theme-friendly .nav-link {
  font-size: 1.15rem;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Buttons */
body.theme-friendly .btn,
body.theme-friendly .btn-primary {
  font-size: 1.1rem;
}

body.theme-friendly .btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

body.theme-friendly .btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-scroll {
  animation: fadeIn 1s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

@keyframes heroFloatIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-animate {
  animation: heroFloatIn 1s ease-out forwards;
}

/* ------------------------------------------------------------
   GALLERY
------------------------------------------------------------ */
/* ABOUT */


.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-image {
  width: 100%;
  height: 275px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* ------------------------------------------------------------
   HERO THREE PANEL
------------------------------------------------------------ */

#hero-three-panel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.hero-images {
  position: absolute;
  inset: 0;

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

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

.hero-content {
  position: relative;
  z-index: 2;

  height: 70vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content h1 {
  animation: fade-in 1s ease-out forwards;
}

.hero-content p:has(+ .btn) {
  animation: fade-in 2s ease-in-out forwards;
}

.btn {
  animation: fade-in 3s ease-in-out forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* ------------------------------------------------------------
   HERO IMAGE ROTATOR
------------------------------------------------------------ */
.hero-image-rotator {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 700px;
  overflow: hidden;
}

.hero-image-rotator .rotating-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-image-rotator .rotating-image.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-image-rotator {
    height: 220px;
  }
}

/* ------------------------------------------------------------
   SERVICES SECTION
------------------------------------------------------------ */

.service-card {
  background: rgba(255, 255, 255);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
  margin: 1rem;
  flex: 1 1 calc(50% - 2rem);
}

/* ================================
   REVIEW SUMMARY SECTION
================================ */
.review-summary {
  background-image: url(assets/images/background-4.webp);
  background-size: cover;
  background-position: bottom;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.main-box {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap-reverse;
}


#review-summary .stars {
  font-size: 2rem;
  color: #f4b400; /* Google star color */
  letter-spacing: 3px;
}

#review-summary .review-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

#review-summary .review-logo svg {
  height: 32px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

#review-summary .review-logo svg:hover {
  opacity: 1;
}

#review-summary .btn {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
}
.reviews-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  /* border-radius: 10px; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
}

.fb-card {
  border-radius: 0.5rem;
  color: white;
  display: flex;
  direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  margin: 3%;
  max-width: 250px;
  aspect-ratio: 1/1;
}

#reviews-summary .img {
  width: 80px;
  height: 80px;
}

.google-card {
  border-radius: 0.5rem;
  color: white;
  display: flex;
  direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: 3%;
  padding: 1.5rem;
  max-width: 250px;
  aspect-ratio: 1/1;
}

/* ============================================
    FAQ
   ============================================ */

.faq {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-item {
  background: rgba(255, 255, 255);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
  margin: 1rem;
  flex: 1 1 calc(50% - 2rem);
}

/* ============================================
   MOBILE LAYOUT FIX — Friendly Theme
   Makes every section breathe properly
   ============================================ */
@media (max-width: 768px) {
  /* Global spacing */
  body {
    padding: 0 1rem;
    line-height: 1.55;
  }

  .btn {
    padding: 1rem;
  }

  main#content {
    padding: 1rem 0;
  }

  section {
    padding: 1.75rem 0 !important;
  }

  /* Headings */
  h1,
  .hero-title {
    font-size: 1.5rem !important;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  h2 {
    font-size: 1.2rem !important;
    margin-bottom: 0.4rem;
  }

  h3 {
    font-size: 1.2rem !important;
  }

  /* Paragraphs */
  p {
    font-size: 1rem !important;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  .service-card {
    width: 100%;
    margin: 1rem 0;
    padding: 1.5rem !important;
  }

  .service-card .card-title {
    min-height: auto !important;
  }

  .service-card .card-text {
    line-height: 1.6;
  }

  /* Gallery */
  .gallery-item img {
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  /* Testimonials */

  .testimonial-carousel-item {
    height: 100%;
    padding: 1rem !important;
    margin-bottom: 1.25rem;
  }

  /* Hero */

  #hero-three-panel {
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-content {
    width: 90%;
    max-width: 400px;
    padding: 1.5rem;
    background: rgba(33, 31, 31, 0.057);
    backdrop-filter: blur(4px);
    border-radius: 12px;
  }

  .hero-images img:nth-child(n + 2) {
    display: none;
  }

  .hero-images {
    grid-template-columns: 1fr;
    background: rgba(0, 0, 0, 0.4);
  }

  .hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: #fff;
    text-shadow:
      -2px -2px 0 #000,
      0px -2px 0 #000,
      2px -2px 0 #000,
      -2px 0px 0 #000,
      2px 0px 0 #000,
      -2px 2px 0 #000,
      0px 2px 0 #000,
      2px 2px 0 #000;
  }

  .hero-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
  }

  /* Reviews block */
  .reviews-summary,
  .stars {
    text-align: center;
  }

  .reviews-summary h3 {
    font-size: 1.4rem !important;
  }

  .reviews-summary p {
    font-size: 0.95rem !important;
  }
/* About */

  .about img {
    max-width: 150px;
    max-height: 150px;
  }
  /* Footer */
  footer {
    text-align: center;
    padding: 2rem 0 !important;
  }

  footer ul {
    margin-top: 1rem;
  }
}
