/* home.css - Home page specific styles */

.banner::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: -400px;
  right: -400px;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(50px, 50px) rotate(180deg);
  }
}

.banner-content {
  position: relative;
  z-index: 2;
}

/* About Section */
.about-section {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  height: 600px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  opacity: 0.9;
}

body.dark-mode .about-content p {
  color: var(--text-dark);
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.7;
  font-weight: 500;
}

.services {
  ul.list-unstyled {
    columns: 3;
  }
}

/* Two Column Section */
.two-column-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* CTA WhatsApp */
.cta-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-whatsapp::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  bottom: -250px;
  left: -250px;
}

.cta-whatsapp h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
}

@media (max-width: 991px) {
  .banner h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .two-column-img,
  .about-image-wrapper {
    height: 350px;
    margin-bottom: 2rem;
  }

  .about-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Testimonials Section */
#testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 80px;
}

.testimonials-container {
  overflow: hidden;
  border-radius: 30px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 2rem;
}

.testimonial-card {
  min-width: 100%;
  background: var(--card-light);
  border-radius: 30px;
  padding: 3rem;
  border: 2px solid var(--border-light);
  opacity: 0.5;
  transform: scale(0.95);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

body.dark-mode .testimonial-card {
  background: var(--card-dark);
  border-color: var(--border-dark);
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.3rem;
}

.testimonial-rating i {
  color: #fbbf24;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-style: italic;
}

body.dark-mode .testimonial-text {
  color: var(--text-dark);
}

.testimonial-date {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--card-light);
  border: 2px solid var(--border-light);
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-mode .testimonial-nav {
  background: var(--card-dark);
  border-color: var(--border-dark);
  color: var(--text-dark);
}

.testimonial-nav:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
  left: 0;
}

.testimonial-next {
  right: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

body.dark-mode .dot {
  background: var(--border-dark);
}

.dot.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  width: 35px;
  border-radius: 6px;
}

.dot:hover {
  transform: scale(1.2);
}

@media (max-width: 991px) {
  .testimonials-wrapper {
    padding: 0 60px;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-nav {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .testimonials-wrapper {
    padding: 0 50px;
  }

  .testimonial-header {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-avatar {
    width: 70px;
    height: 70px;
  }

  .testimonial-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-rating {
    justify-content: center;
  }

  .services {
    .list-unstyled {
      columns: 2 !important;
    }
  }
}

@media (max-width: 468px) {
  .services {
    .list-unstyled {
      columns: 1 !important;
    }
  }
}
