/* Hero Section */
.hero-section {
  position: relative;
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* No .hero-video needed */

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-family: "Lora", serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Overview Section */
.overview-section {
  padding: 60px 20px;
  background-color: #f0f6f6;
  text-align: center;
}

.overview-container {
  max-width: 800px;
  margin: 0 auto;
}

.overview-divider {
  width: 100px;
  height: 2px;
  background: var(--accent-color);
  margin: 20px auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.overview-divider::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary-color),
    transparent
  );
  animation: wave 3s infinite linear;
}

@keyframes wave {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.overview-container p[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.overview-container p[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Spa Facilities Section */
.facilities-section {
  padding: 60px 20px;
  text-align: center;
}

.facilities-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.facility-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s;
}

.facility-card:hover {
  transform: translateY(-10px);
}

.facility-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.facility-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.facility-card p {
  font-family: "Lora", serif;
  margin-bottom: 15px;
}

.facility-card .details-btn {
  padding: 8px 16px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: transform 0.2s;
}

.facility-card .details-btn:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .facilities-container {
    grid-template-columns: 1fr;
  }
}

/* Indulgent Treatments Section */
.treatments-section {
  padding: 60px 20px;
  background-color: #f0f6f6;
  text-align: center;
}

.treatments-container {
  max-width: 600px;
  margin: 0 auto;
}

.treatments-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s;
}

.treatments-card:hover {
  transform: translateY(-10px);
}

.treatments-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.treatments-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.treatments-card p {
  font-family: "Lora", serif;
  margin-bottom: 20px;
}

.treatments-card .details-toggle {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: background 0.3s;
}

.treatments-card .details-toggle:hover {
  background: var(--accent-color);
}

.treatment-details {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background: #e6f0f0;
  border-radius: 6px;
  font-family: "Lora", serif;
}

.treatment-details.active {
  display: block;
  animation: slideDown 0.3s ease;
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 20px;
  text-align: center;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.testimonial-card.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card p {
  font-family: "Lora", serif;
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card h4 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color);
}

.carousel-controls {
  margin-top: 20px;
}

.carousel-prev,
.carousel-next {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 10px;
  transition: background 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--accent-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  animation: fadeIn 0.5s ease;
}

.modal-content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* CTA Section */
.cta-section {
  padding: 40px 20px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-container h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-container p {
  font-family: "Lora", serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-container .btn-primary {
  padding: 12px 30px;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.cta-container .btn-primary:hover {
  transform: scale(1.1);
}
.cta-section a {
  color: white;
  text-decoration: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: auto;
    opacity: 1;
  }
}
