@font-face {
  font-family: "Montserrat-Regular";
  src: url("../fonts/Montserrat-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat-Light";
  src: url("../fonts/Montserrat-Light.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat-Bold";
  src: url("../fonts/Montserrat-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: bold;
}

@font-face {
  font-family: "Montserrat-Hairline";
  src: url("../fonts/Montserrat-Hairline.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lora-Regular";
  src: url("../fonts/Lora-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat-Regular", sans-serif;
}

.heroe {
  background: url('../img/banner-heroe1.png') no-repeat center center;
  background-size: cover;
  height: 300px;
  position: relative;
}

.titulo {
  color: #ffffff;
  font-size: 2em;
  text-align: left;
  padding-top: 100px;
  text-transform: uppercase;
  margin-left: 10%;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.titulo h1:before {
  display: block;
  width: 5px;
  height: 35px;
  content: "";
  position: absolute;
  left: 8%;
  top: 110px;
  background: hsl(0, 0%, 100%);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.infoEvento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 300px;
  align-items: center;
  background-color: black;
}

.lugar,
.fecha,
.hora {
  color: #ffffff;
  text-align: center;
}

.hora h2,
.lugar h2,
.fecha h2 {
  padding-top: 20px;
  color: rgb(194, 192, 192);
}

.eventoCompleto {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px;
  height: auto;
  justify-content: center;
  text-align: center;
}

.fotoInfo {
  flex: 2;
  height: fit-content;
}

.imagenEvento {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.imagenEvento img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 20px;
}

.descripcionEvento {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  color: #161616;
  font-size: 20px;
  border-top: #d94423 3px;
  border-style: solid;
  border-bottom: none;
  border-left: none;
  border-right: none;
  margin: 25px 25px;
  margin-bottom: 25px;
  padding: 20px;
  font-family: "Monserrat-Light", sans-serif;
}

.asientosGuardarReservar {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  position: sticky;
  height: fit-content;
  background-color: rgb(255, 255, 255);
}

.opcionesAsientos {
  margin-left: 175px;
}

.opcionesAsientos h1 {
  color: #d94423;
}

.opcionesAsientos h2 {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.25rem;
  color: rgb(58, 58, 58);
}

.ticket-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.ticket-info h3 {
  margin: 0;
  color: #444;
}

.precio {
  font-size: 1.25rem;
  font-weight: bold;
  color: #2c3e50;
}

.ticket-cantidad {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cantidad {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  background: #f8f9fa;
  cursor: pointer;
  border-radius: 4px;
}

.ticket-cantidad input {
  width: 60px;
  text-align: center;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.total-seccion {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 2px solid #eee;
}

.total-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: bold;
}

.botones {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  height: 100px;
  width: 325px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 25px;
  gap: 25px;
  margin-left: 300px;
}

.btn-guardar, .btn-comprar, .btn-agotado {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-guardar {
  background: #d94423;
  border: 1px solid #ddd;
  color: white;
}

.btn-guardar:hover {
  background: #86a641;
  border: 1px solid #ddd;
  color: white;
}

.btn-comprar {
  background: #d94423;
  color: white;
}

.btn-comprar:hover {
  background: #86a641;
  color: white;
}

.btn-agotado {
  background: #dc3545;
  color: white;
  cursor: not-allowed;
}

.tickets-disponibles {
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.boton {
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
  box-sizing: border-box;
  border: 1px;
  border-style: ridge;
  border-radius: 5px;
  color: #ffffff;
  transition: 0.2s;
  background-color: #d94423;
}

.boton:hover {
  background-color: #86a641;
}

.opcionesAsientos {
  height: 405px;
  width: 600px;
  margin-left: 175px;
}

.opcionesAsientos h1 {
  color: #d94423;
}

.opcionesAsientos h2 {
  color: rgb(58, 58, 58);
}

.asiento1,
.asiento2,
.asiento3 {
  width: 600px;
  height: 135px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  justify-content: center;
}

.cantidadAsientos {
  border-radius: 5px;
  border: 2px;
  border-style: solid;
  margin-left: 20px;
  padding: 10px;
}

/* Estilos para eventos relacionados */
.eventos-relacionados {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.eventos-relacionados h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    padding-left: 1rem;
}

.eventos-relacionados h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background-color: #d94423;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.evento-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.evento-card:hover {
    transform: translateY(-5px);
}

.evento-card a {
    text-decoration: none;
    color: inherit;
}

.evento-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.evento-card .evento-info {
    padding: 1.5rem;
}

.evento-card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.evento-card .fecha {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.evento-card .precio {
    color: #d94423;
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .eventos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .eventos-grid {
        grid-template-columns: 1fr;
    }
}
