/* ============================================================
   ProService Portugal - Index Page Styles
   Used ONLY by index.html
   ============================================================ */

/* ============================================================
   1. COMPONENTS
   ============================================================ */

/* --- Lightbox --- */

.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  cursor: default;
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #D4AF37;
}

/* --- Dropdown Serviços --- */

.dropdown-servicos {
  display: none;
}

.dropdown-servicos.show {
  display: block;
  animation: fadeInUpDropdown 0.25s ease-out;
}

/* --- FAQ Accordion --- */

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.rotate {
  transform: rotate(45deg);
}

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

.faq-answer p {
  padding-bottom: 1.25rem;
}

/* --- Swiper Testimonials (index page) --- */

.testimonials-swiper {
  padding: 10px 5px 40px 5px;
}

.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  color: #D4AF37;
}

.testimonials-swiper .swiper-button-next:after,
.testimonials-swiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: 900;
}

.testimonials-swiper .swiper-pagination {
  bottom: 0;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: #D4AF37;
}

/* --- Gradient Overlay --- */

.gradient-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}
