/* Cenas Top Carousel Styles */



.cenas-top-section {
  padding: 2rem 0 7rem 0;
  background: url('../../assets/backgrounds/fondocenas.png') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.cenas-top-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, grey 50%, transparent 100%);
}

.cenas-top-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.cenas-top-title-container {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.cenas-top-main-title {
  font-family: 'Cinzel', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.cenas-top-main-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--accent-color);
  margin: 0;
  opacity: 0.9;
  line-height: 1;
}

.cenas-carrousel {
  width: 60vw;
  max-width: 800px;
  height: 33.625vw;
  margin: 0 auto;
  font-size: 0;
  overflow: visible;
  position: relative;
  text-align: center;
}

.cenas-carrousel .screens {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  height: 33.625vw;
  position: relative;
  transform: translate(0%, 0);
}

.cenas-carrousel .screens > li {
  width: 30vw;
  height: 16.875vw;
  max-height: 16.875vw;
  display: inline-block;
  font-size: 15px;
  overflow: hidden;
  background: var(--accent-color);
  border-radius: 15px;
  opacity: 0;
  filter: blur(5px);
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 2px solid transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  
}

.cenas-carrousel .screens > li:hover {
  filter: none;
  opacity: 1;
  border-color: var(--accent-color);
  transform: scale(1.02);
}

.cenas-carrousel .screens > li.active {
  opacity: 1;
  filter: none;
  width: 52vw;
  height: 33.625vw;
  max-height: 33.625vw;
  z-index: 100;
  transform: translate(-50%, -50%);
  border-color: grey;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  
}

.cenas-carrousel .screens > li.active,
.cenas-carrousel .screens > li.left,
.cenas-carrousel .screens > li.right {
  pointer-events: all;
  max-height: 470px;
  max-width: 750px;
}

.cenas-carrousel .screens > li.left,
.cenas-carrousel .screens > li.right {
  transform: translate(-50%, -50%);
  opacity: 0.5;
  width: 30vw;
  height: 20.5vw;
  max-height: 20.5vw;
  
}

.cenas-carrousel .screens > li.left {
  transform: translate(-150%, -50%);
  max-height: 470px;
  max-width: 750px;
}

.cenas-carrousel .screens > li.right {
  transform: translate(50%, -50%);
  max-height: 470px;
  max-width: 750px;
}

.cenas-carrousel .screens > li p {
  margin: 0;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--white);
  font-size: 1rem;
  pointer-events: none;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  border-radius: 15px;
}

.cenas-carrousel .screens > li .cenas-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}



.cenas-carrousel .pagination {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  padding: 5px;
  text-align: center;
  position: absolute;
  bottom: -60px;
  z-index: 10;
}

.cenas-carrousel .pagination li {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin: 10px;
  opacity: 0.4;
  cursor: pointer;
  background: var(--accent-color);
  border-radius: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--accent-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cenas-carrousel .pagination li:hover {
  opacity: 0.8;
  background: var(--white);
  transform: scale(1.3);
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cenas-carrousel .pagination li.active {
  opacity: 1;
  background: var(--white);
  transform: scale(1.4);
  border-color: var(--accent-color);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* MOBILE STYLES */
@media (max-width: 600px) {
  .cenas-top-title-container {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
  }

  .cenas-top-main-title {
    font-family: 'Cinzel', serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }

  .cenas-top-main-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--accent-color);
    margin: 0;
    opacity: 0.9;
    line-height: 1;
  }

  /* Carrusel titles mobile */
  .cenas-carrousel .screens > li .cenas-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem !important;
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  }
}

/* TABLET STYLES */
@media (min-width: 601px) and (max-width: 1200px) {
  .cenas-top-title-container {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
  }

  .cenas-top-main-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }

  .cenas-top-main-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin: 0;
    opacity: 0.9;
    line-height: 1;
  }

  /* Carrusel titles tablet */
  .cenas-carrousel .screens > li .cenas-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem !important;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  }
}

/* DESKTOP STYLES */
@media (min-width: 1201px) {
  .cenas-top-title-container {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
  }

  .cenas-top-main-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }

  .cenas-top-main-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--accent-color);
    margin: 0;
    opacity: 0.9;
    line-height: 1;
  }

  /* Carrusel titles desktop */
  .cenas-carrousel .screens > li .cenas-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  }
}