@import url("https://fonts.googleapis.com/css2?family=Bungee+Spice&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Josefin+Slab:wght@100&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bungee+Spice&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Josefin+Slab:wght@100&family=Poiret+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bungee+Spice&family=Cardo:ital,wght@0,400;0,700;1,400&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Josefin+Slab:wght@100&family=Poiret+One&display=swap");

:root {
  --blanco: #ffff;
  --cafeclaro: #dabd7b;
  --cafe-principal: #42302e;
  --primary-dark: #1a1a1a;
  --secondary-dark: #333333;
  --accent-gold: #c8a97e;
  --text-dark: #242424;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --color-text: #292828;
  --color-bg: #ddd;
  --color-link: #000;
  --color-link-hover: #000;
  --page-padding: 1rem;
  --angle: -15deg;
  --trans-content: -30vh;
  --font-titles: "Poiret One", serif;
  --font-subtitles: "Sweet Sans Pro";
  --font-paragraphs: "Cardo", serif;
}

@font-face {
  font-family: "Sweet Sans Pro";
  src: local("Sweet Sans Pro Medium"), local("Sweet-Sans-Pro-Medium"),
    url("View/Layout/fonts/SweetSansPro-Medium.woff2") format("woff2"),
    url("View/Layout/fonts/SweetSansPro-Medium.woff") format("woff"), url("View/Layout/fonts/SweetSansPro-Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
}

.intro-reverse .left-event {
  float: right;
}

.intro-reverse .slider-event {
  float: left;
}

.intro {
  position: relative;
  display: flex;
  /* Habilita flexbox */
  flex-direction: row;
  /* Alinea los elementos en fila */
  align-items: center;
  /* Centra los elementos verticalmente */
  justify-content: space-between;
  /* Deja espacio entre los elementos */
  width: 100%;
  height: 100vh;
  padding: 3rem;
  /* Ajusta según sea necesario */
}

.left-event {
  float: left;
  height: 100%;
  width: 60%;
  padding: 3rem 3rem 3rem 5rem;
  display: table;
}

.left-event > .info-content-event {
  display: table-cell;
  vertical-align: middle;
}

.subtitle-event {
  font-family: var(--font-subtitles);
  color: #e8ca2b;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  display: inline-block;
  text-transform: uppercase;
  font-family: sans-serif;
  margin-bottom: 30px;
}

.title-event {
  font-family: var(--font-titles);
  font-size: 4.5rem;
  margin-bottom: 30px;
}

.title-event + .info-content-event p {
  font-family: var(--font-paragraphs);
  color: #949494;
  font-size: 1.6rem;
  margin-bottom: 4rem;
}

.info-content-event p {
  font-family: var(--font-paragraphs);
  font-size: 1.6rem;
  color: #000;
}

.slider-event {
  float: none;
  /* Desactiva el flotado */
  margin: auto;
  /* Centra horizontalmente el slider */
  position: relative;
  width: calc(40% - 2rem);
  /* Ajusta el tamaño con margen incluido */
  height: 80%;
  box-sizing: border-box;
  /* Asegura que el margen no afecte el ancho/alto */
}

.image-event {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  transition: clip .7s ease-in-out, z-index 0s .7s;
  clip: rect(100vh, 100vw, 100vh, 0);
  display: table;
  border-radius: 15px;
}

.center-y {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #fff;
}

.sub-title {
  font-family: var(--font-subtitles);
  font-size: 5rem;
  font-style: italic;
}

.sub-title {
  font-family: var(--font-subtitles);
  font-size: 1.6rem;
  display: inline-block;
  color: #fff;
  margin-top: 2rem;
  opacity: 0;
  transition: opacity .7s 0s, transform .5s .2s;
  transform: translate3d(0, 50%, 0);
}

.image-event .current .sub-title {
  opacity: 1;
  transition-delay: 1s;
  transform: translate3d(0, 0, 0);
}

.image-event.current {
  z-index: 1;
  clip: rect(0, 100vw, 100vh, 0);
}

.image-event.prev {
  clip: rect(0, 100vw, 0, 0);
}

.slider-event .point-container {
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.point-container .point {
  display: inline-block;
  border-radius: 50%;
  width: 0.5rem;
  height: 0.5rem;
  min-width: 12px;
  min-height: 12px;
  background: #fff;
  margin: 0 1rem;
  transition: transform .3s;
}

.point.current_dot {
  transform: scale(1.4);
}

.boton-profesional {
  cursor: pointer;
  position: relative;
  padding: 10px 24px;
  font-size: 18px;
  color: rgb(193, 163, 98);
  border: 2px solid rgb(193, 163, 98);
  border-radius: 34px;
  background-color: transparent;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  margin-top: 30px;
}

.boton-profesional::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: rgb(193, 163, 98);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.boton-profesional:hover::before {
  scale: 3;
}

.boton-profesional:hover {
  color: #212121;
  scale: 1.1;
  box-shadow: 0 0px 20px rgba(193, 163, 98, 0.4);
}

.boton-profesional:active {
  scale: 1;
}

@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .intro {
    min-height: 70vh;
    padding: 3rem 1.5rem;
  }

  .left-event {
    padding: 1.5rem;
  }

  .title-event {
    font-size: clamp(2rem, 3vw, 3.5rem);
    margin-bottom: 1.25rem;
  }

  .info-content-event p {
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
    margin-bottom: 1.5rem;
  }

  .slider-event {
    min-height: 400px;
  }
}


@media screen and (min-width: 1025px) and (max-width: 1280px) {
  .intro {
    padding: 2rem 1rem;
  }

  .left-event {
    padding: 1rem;
  }

  .title-event {
    font-size: clamp(1.8rem, 2.5vw, 3rem);
  }

  .info-content-event p {
    font-size: clamp(0.8rem, 1vw, 1.1rem);
  }

  .slider-event {
    min-height: 350px;
  }
}

@media screen and (max-width: 1024px) {
  .intro {
    flex-direction: column;
    height: auto;
    padding: 0;
    margin-bottom: 2rem;
  }

  .left-event {
    width: 100%;
    height: auto;
    padding: 2rem;
    order: 1;
  }

  .slider-event {
    width: calc(100% - 3rem);
    height: 50vh;
    margin: 0 1.5rem;
    order: 2;
  }

  .title-event {
    font-size: 2.8rem;
  }

  .info-content-event p {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  .slider-event {
    height: 50vh;
  }

  .title-event {
    font-size: 2.5rem;
  }

  .intro:not(:last-child)::after {
    margin: 1.5rem 0;
  }
}

@media screen and (max-width: 480px) {
  .left-event {
    padding: 1.5rem;
  }

  .slider-event {
    height: 35vh;
    width: calc(100% - 2rem);
    margin: 0 1rem;
  }

  .title-event {
    font-size: 2.2rem;
  }

  .info-content-event p {
    font-size: 1rem;
  }

  .subtitle-event {
    font-size: 12px;
  }

  .boton-profesional {
    padding: 8px 16px;
    font-size: 14px;
  }
}