@import url('styles.css');

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--header-height);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(43, 78, 114, 0.3), rgba(212, 163, 115, 0.3));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 0.5s;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-family: 'Lora', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  margin-bottom: 20px;
}

.hero-content .btn-primary {
  padding: 12px 30px;
  font-size: 1.1rem;
  transition: transform 0.3s, background 0.3s;
}

.hero-content .btn-primary:hover {
  transform: scale(1.1);
  background: var(--accent-color);
}

/* Overview Section */
.overview-section {
  padding: 60px 20px;
 costumbre: #f9f1f5;
  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: 20px;
  height: 20px;
  background: var(--primary-color);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: rotate 3s infinite linear;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.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);
}

/* Section Labels */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

/* Event Spaces Section */
.event-spaces-section {
  padding: 60px 20px;
}

.table-container {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.wedding-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Lora', serif;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.wedding-table th, .wedding-table td {
  padding: 15px;
  border: 1px solid #f0e4ea;
  text-align: center;
}

.wedding-table th {
  background: var(--primary-color);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.wedding-table tr {
  transition: background 0.3s;
}

.wedding-table tr:hover {
  background: #f9f1f5;
}

.wedding-table .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;
}

.wedding-table .details-btn:hover {
  transform: scale(1.05);
}

/* Gallery Section */
.gallery-section {
  padding: 60px 20px;
  background-color: #f9f1f5;
  text-align: center;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.2s;
}

.gallery-zoom:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 80%;
  max-height: 80%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-modal-caption {
  font-family: 'Lora', serif;
  margin-top: 10px;
  color: #333;
}

.gallery-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s;
}

.gallery-modal-close:hover {
  color: var(--accent-color);
}

.gallery-modal-prev,
.gallery-modal-next {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s, transform 0.2s;
}

.gallery-modal-prev {
  left: 15px;
}

.gallery-modal-next {
  right: 15px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover,
.gallery-modal-prev:focus,
.gallery-modal-next:focus {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
  outline: none;
}

.view-more-container {
  margin-top: 30px;
  text-align: center;
}

.view-more-container .btn-primary {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.view-more-container .btn-primary:hover {
  background: var(--accent-color);
  transform: scale(1.05);
}

/* Wedding Journey Section */
.journey-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  padding: 20px;
  background: #fff;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.timeline-item h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.timeline-item p {
  font-family: 'Lora', serif;
}

/* Catering and Packages Section */
.packages-section {
  padding: 60px 20px;
  text-align: center;
}

.packages-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.package-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-10px);
}

.package-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.package-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.package-card p {
  font-family: 'Lora', serif;
  margin-bottom: 20px;
}

.package-card .download-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  margin-top: auto;
  align-self: center;
}

.package-card .download-btn:hover {
  background: var(--accent-color);
  transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  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 h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.modal-content div {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--dark-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-content .btn-primary {
  padding: 10px 20px;
  font-size: 1rem;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* 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: clamp(2rem, 3vw, 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;
  margin: 10px;
  transition: transform 0.3s;
}

.cta-container .btn-primary:hover {
  transform: scale(1.1);
}

.cta-section a {
  color: #fff;
  text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 3vw, 2.5rem);
  }

  .hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
  }

  .overview-section {
    padding: 40px 15px;
  }

  .event-spaces-section {
    padding: 40px 15px;
  }

  .wedding-table {
    font-size: 0.9rem;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .journey-section {
    padding: 40px 15px;
  }

  .timeline-item {
    margin: 10px 0;
  }

  .packages-container {
    grid-template-columns: 1fr;
  }

  .testimonials-section {
    padding: 40px 15px;
  }

  .cta-section {
    padding: 30px 15px;
  }

  .gallery-modal-prev,
  .gallery-modal-next {
    font-size: 1.2rem;
    padding: 8px;
  }
}

@media (max-width: 600px) {
  .modal-content {
    padding: 20px;
  }

  .gallery-modal-content img {
    max-height: 50vh;
  }

  .gallery-modal-prev,
  .gallery-modal-next {
    font-size: 1rem;
    padding: 6px;
  }

  .cta-container .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
}