/* Hero Sections */
.hero {
  background-color: var(--light-color);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

/* Home Page */
.home-services {
  padding: 5rem 0;
  background-color: white;
}

.home-services h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* Gallery Page */
.gallery-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1598420301064-6d1c91e1749a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  text-align: center;
  color: white;
}

.gallery-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.gallery-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Page */
.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1598420301064-6d1c91e1749a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  text-align: center;
  color: white;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Page Titles and Subtitles */
.page-title {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Services Page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  text-align: center;
  padding: 2rem;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Reservas Page */
.reservation-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1598420301064-6d1c91e1749a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  text-align: center;
  color: white;
}

.reservation-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.reservation-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Reservas */
.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
}

.step-indicator {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.step {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #f5efe6;
  color: var(--text-light);
  font-weight: 600;
}

.step.active {
  background: var(--primary-color);
  color: white;
}

.service-selection-grid,
.specialist-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.service-option,
.specialist-card {
  border: 1px solid #eee;
  border-radius: 1rem;
  overflow: hidden;
  background: white;
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-option:hover,
.specialist-card:hover,
.service-option.selected,
.specialist-card.selected {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.service-option img,
.specialist-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-option h3,
.specialist-card h3 {
  margin: 1rem 1rem 0.3rem;
}

.service-option p,
.specialist-card p {
  margin: 0 1rem 1rem;
  color: var(--text-light);
}

.service-option .price {
  display: inline-block;
  margin: 0 1rem 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.booking-summary {
  background: #faf6ef;
  border: 1px solid #eee4d3;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.datetime-picker {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.step-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-cta {
  padding: 0.9rem 1.6rem;
  box-shadow: 0 10px 24px rgba(138, 109, 59, 0.25);
}

.modal {
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  width: min(90%, 520px);
  padding: 2rem;
  position: relative;
  box-shadow: var(--box-shadow);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .gallery-hero h1,
  .contact-hero h1,
  .reservation-hero h1 {
    font-size: 2.5rem;
  }
  
  .home-services {
    padding: 3rem 0;
  }

  .step-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 1.75rem;
  }
  
  .gallery-hero h1,
  .contact-hero h1,
  .reservation-hero h1 {
    font-size: 2rem;
  }
}