/* styles/eventos.css */

/* Estilos base */
body {
  font-family: 'Nunito Sans', sans-serif;
  color: #333;
  background-color: #f9f7f5;
  line-height: 1.6;
}

/* Section Title */
.section-title {
  text-align: center;
  font-family: 'Parisienne', cursive;
  font-size: 3rem;
  color: #8e6c88;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: #e8c7c7;
  margin: 1rem auto;
}

/* Event Cards */
.event-types {
  padding: 4rem 0;
}

.event-card {
  display: flex;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.event-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-info {
  flex: 1;
  padding: 2.5rem;
}

.event-info h3 {
  font-family: 'Parisienne', cursive;
  font-size: 2.5rem;
  color: #8e6c88;
  margin-bottom: 1.5rem;
}

.event-info p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.event-services {
  list-style: none;
  padding: 0;
}

.event-services li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 2rem;
}

.event-services li i {
  color: #e8c7c7;
  position: absolute;
  left: 0;
  top: 0.2rem;
}

/* CTA Section */
.event-cta {
  background: linear-gradient(135deg, #f5e6e8, #e8c7c7);
  padding: 4rem 0;
  text-align: center;
  margin: 4rem 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-content h2 {
  font-family: 'Parisienne', cursive;
  font-size: 3rem;
  color: #8e6c88;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: #8e6c88;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #8e6c88;
}

.cta-button:hover {
  background: transparent;
  color: #8e6c88;
  transform: translateY(-3px);
}

/* Carousel Styles */
.carousel-container {
  margin: 4rem 0;
  padding: 0 2rem;
}

.carousel-item img {
  border-radius: 10px;
  height: 500px;
  object-fit: cover;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: #8e6c88;
  opacity: 0.5;
}

.carousel-indicators .active {
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #8e6c88;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 60%;
}

/* Eco Products Section */
.eco-products {
  padding: 4rem 0;
  background: #f0f7f0;
}

.eco-product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.eco-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.eco-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #5a8f5a;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Accordion Menu */
.accordion-menu {
  max-width: 800px;
  margin: 4rem auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
  border: 1px solid #e8c7c7 !important;
}

.accordion-button {
  background-color: #f9f7f5;
  color: #8e6c88;
  font-weight: bold;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background-color: #f5e6e8;
  color: #8e6c88;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: #e8c7c7;
}

/* Widgets */
.widget-feeds {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
}

.widget-title {
  font-family: 'Parisienne', cursive;
  color: #8e6c88;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.feed-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: center;
}

.feed-item img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 2px solid #e8c7c7;
}

.feed-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #8e6c88;
}

.feed-content p {
  font-size: 0.9rem;
  color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
  .event-card {
    flex-direction: column;
  }
  
  .event-image {
    height: 300px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .event-info h3 {
    font-size: 2rem;
  }
  
  .carousel-item img {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .events-hero {
    height: 50vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





/* Hero Section para Eventos - IDÉNTICO a Galería y Contacto */
.events-hero {
  background-color: #735b56; /* russett */
  color: #f9f7ea; /* quarter-spanish white */
  padding: 100px 20px;
  text-align: center;
  background-image: linear-gradient(rgba(115, 91, 86, 0.8), rgba(115, 91, 86, 0.8)), 
                    url('../images/eventos-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Asegura la misma altura mínima */
  animation: fadeIn 0.8s ease-out forwards;
}

/* Contenido del Hero (igual que en galería y contacto) */
.events-hero .hero-content {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.events-hero .hero-content h1 {
  font-family: 'Parisienne', cursive;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.events-hero .hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  animation: fadeIn 1s ease-out 0.5s both;
}

/* Efecto hover (mismo que galería/contacto) */
.events-hero:hover {
  background-image: linear-gradient(rgba(115, 91, 86, 0.7), rgba(115, 91, 86, 0.7)), 
                    url('../images/eventos-hero-bg.jpg');
}

/* Responsive IDÉNTICO a las otras secciones */
@media (max-width: 768px) {
  .events-hero {
    padding: 80px 20px;
    min-height: 350px;
  }
  .events-hero .hero-content h1 {
    font-size: 2.8rem;
  }
  .events-hero .hero-content p {
    font-size: 1.1rem;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .events-hero {
    padding: 60px 15px;
    min-height: 300px;
  }
  .events-hero .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .events-hero .hero-content p {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 10px;
  }
}

.event-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 400px; /* Añade esta línea para altura fija */
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@media (max-width: 768px) {
    .event-image {
        height: 300px;
    }
}