/* -------------------- Reset básico -------------------- */
body,
header,
main {
  margin: 0;
  padding: 0;
  background-color: #dad1d1;
}

@font-face {
  font-family: 'Glacial Indifference';
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/glacialindifference/GlacialIndifference-Regular.ttf')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* -------------------- Header & Menú -------------------- */
.barra-superior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  gap: 15px;
}

/* Logo */
.logo {
  font-family: 'Marcellus', serif;
  display: flex;
  align-items: center;
  color: rgb(0, 0, 0);
  gap: 10px;
  font-size: 18px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu a {
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  padding: 12px 20px;
  color: #000;
  border: 1px solid rgb(93, 55, 55);
  border-radius: 12px;
  font-size: 14px;
  display: inline-block;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.menu a:hover {
  transform: scale(1.1);
  background-color: rgba(156, 82, 82, 0.46);
  border-color: #ab2a2a;
}

/* -------------------- Botón Menú -------------------- */
.hamburguesa {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  z-index: 3;
}

/* -------------------- Tarifas -------------------- */
.tarifas {
  padding: 0 40px;
  text-align: center;
}

.tarifas h2 {
  font-family: 'Playfair Display', serif;
  font-weight: normal;
  text-align: left;
  font-size: 38px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.subtitulo {
  font-family: 'Marcellus', serif;
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 500;
}

.tarifas-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.tarifa-estacion {
  font-family: 'Glacial Indifference', sans-serif;
  flex: 1 1 300px;
  max-width: 400px;
  color: #f8f6f6;
  padding: 30px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.tarifa-estacion h3 {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 35px;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow:
    0.7px 0.7px 0.5px black,
    -0.7px 0.7px 0.5px black,
    0.7px -0.7px 0.5px black,
    -0.7px -0.7px 0.5px black;
}

.tarifa-estacion p {
  -webkit-text-stroke: 0.5px black;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

.tarifa-estacion ul {
  list-style: none;
  padding: 0;
  color: white;
  -webkit-text-stroke: 1px black;
}

.tarifa-estacion li {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 30px;
  font-weight: 900;
}

/* -------------------- Colores de estaciones -------------------- */
.primavera {
  background-image: url('../public/primavera.png');
}

.invierno {
  background-image: url('../public/octubre y nov.png');
}

.tarifa-estacion.invierno h3 {
  color: black;
}

/* -------------------- Nota -------------------- */
.nota {
  margin-top: 30px;
  font-size: 17px;
  font-weight: 400;
}

/* -------------------- Footer -------------------- */
.footer {
  padding: 10px 20px;
  text-align: left;
}

.footer-icons {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
}

.footer-icons .icon-link img {
  width: 30px;
  height: 30px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.footer-icons .icon-link:hover img {
  filter: none;
  transform: scale(1.1);
}

/* -------------------- Responsive -------------------- */

/* Tablets */
@media (max-width: 1024px) {
  .tarifas {
    padding: 0 20px;
  }

  .tarifas h2 {
    font-size: 32px;
    text-align: center;
  }

  .tarifa-estacion {
    max-width: 100%;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction:row;
    gap: 15px;
    justify-content: center;
    width: 100%;
    
  }
  .menu.show {
    display: flex;
  }
  .menu a {
    padding: 10px;
    border-radius: 8px;
    display: block;
    text-align: center;
  }

  .hamburguesa {
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
  }
  
  .barra-superior {
    flex-wrap: wrap;
  }

  .tarifas {
    padding: 0 15px;
  }

  .tarifas h2 {
    font-size: 26px;
    text-align: center;
  }

  .tarifa-estacion {
    flex: 1 1 100%;
    padding: 20px;
    font-size: 14px;
  }

  .tarifa-estacion h3 {
    font-size: 24px;
  }

  .tarifa-estacion li {
    font-size: 20px;
  }

  .nota {
    font-size: 15px;
    text-align: center;
  }
}
