/* ========== SERVICES PAGE BASE ========== */
html, body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Playfair Display', serif;
  overflow-x: hidden;
  background: linear-gradient(
    rgba(163,209,169,.55) 0%,
    rgba(36, 59, 39, 0.35) 10%,
    rgba(106, 42, 42, 0.55) 50%,
    rgba(38, 108, 71, 0.42) 75%,
    #000 100%
  );
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: 100% auto;
  color: #fff;
}
* { box-sizing: border-box; }

.services-wrapper { padding: 0; text-align: center; }

.services-title { font-size: 2.5rem; margin-bottom: 0.5rem; }

.services-wrapper .page-title { margin: 0 0 0.6rem; }
.services-wrapper .page-title::after { margin: 0.25em auto 0; }

.services-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.35;
  margin: 0.35rem 0 0.5rem;
}

/* ========== CAROUSEL ========== */
.carousel-container {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: clamp(12px, 4vw, 20px);
  padding: 0 calc((100vw - var(--service-card-width)) / 2) 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc((100vw - var(--service-card-width)) / 2);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
  overscroll-behavior: auto;
}

/* Columns */
.carousel-column {
  position: relative;
  flex: 1;
  padding: 1.25rem 1rem 2rem;
  border-left: 1px solid transparent;
  transition: flex-basis 0.5s ease, opacity 0.5s ease;
  opacity: 0.5;
  cursor: pointer;
}
.carousel-column:first-child { border-left: none; }
.carousel-column.last { border-right: none; }
.carousel-column.active { flex: 2; opacity: 1; }
.carousel-column:focus,
.carousel-column:target { outline: none; }

.carousel-title {
  font-size: 2.1rem;
  cursor: pointer;
  color: #000;
  margin-bottom: 0;
}

.carousel-media {
  position: relative;
  margin: 1rem 0;
}

.carousel-video img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.services-list { margin-bottom: 1rem; }

/* Dropdowns */
.dropdown {
  text-align: left;
  margin-bottom: 1rem;
  background-color: #52525258;
  border: 1px solid #444;
  border-radius: 15px;
  overflow: hidden;
}
.dropdown-header {
  padding: 1rem;
  cursor: pointer;
  font-weight: bold;
  background-color: #3535358f;
}
.dropdown-content {
  margin: 10px;
  padding: 0 1rem 1rem;
  display: none;
  font-size: 1.25rem;
  color: #fff;
}
.dropdown.open .dropdown-content { display: block; }

.service-cta {
  display: block;
  text-align: right;
  background: transparent;
  color: #000;
  border: none;
  padding: 0;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.75rem;
  border-radius: 0;
  text-decoration: underline;
}
.service-cta:hover { filter: brightness(0.9); }

/* ========== FAQ ========== */
.faq-section {
  width: 80%;
  margin: 0 auto;
  padding: 5vh 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.faq-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}
.faq-list { text-align: left; }

.faq-dropdown {
  background: #7f6e6e;
  border: 1px solid #444;
  margin: 1rem 0;
  border-radius: 6px;
  overflow: hidden;
}
.faq-dropdown .dropdown-title {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 500;
  padding: 1rem;
  background-color: #2222227b;
  border-bottom: 1px solid #444;
  cursor: pointer;
  transition: background 0.3s;
}
.faq-dropdown .dropdown-title:hover { background-color: #000; }
.faq-dropdown .dropdown-content {
  display: none;
  padding: 1rem;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
  background-color: transparent;
}
.faq-dropdown.open .dropdown-content { display: block; }

/* ========== WIND CANVAS ========== */
.wind-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ========== MOBILE ONLY ========== */
@media (max-width: 768px) {
  :root { --service-card-width: min(92vw, 420px); }

  .services-wrapper .page-title {
    margin: 0 0 0.35rem;
  }

  .services-subtitle {
    margin: 0.15rem 0 0.2rem;
  }

  .carousel-container {
    padding-bottom: 0.85rem;
  }

  .carousel-column,
  .carousel-column.active {
    flex: 0 0 var(--service-card-width);
    max-width: var(--service-card-width);
  }

  .carousel-column {
    padding: 0.25rem 0.85rem 0.9rem;
    border-left: none;
    border-right: none;
    scroll-snap-align: center;
  }

  .carousel-title {
    font-size: clamp(1.6rem, 5vw, 1.9rem);
    margin-bottom: 0.35rem;
  }

  .carousel-media { margin: 0.35rem 0 0.6rem; }

  .carousel-video img {
    margin: 0;
    border-radius: 14px;
  }

  .dropdown { margin-bottom: 0.55rem; }
  .dropdown-header { padding: 0.6rem 0.9rem; font-size: 0.95rem; }
  .dropdown-content { font-size: 0.9rem; }
  .service-cta { text-align: center; margin-top: 0.6rem; }

}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0 1.25rem;
}

@media (max-width: 768px) {
  .carousel-dots {
    display: flex;
    padding: 0.2rem 0 0.5rem;
  }
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-dot.is-active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}
