/* ====== RESET ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* ====== HEADER ====== */
header {
  background-color: rgba(189, 69, 69);
  padding: 10px 30px;
  color: #fff;
  height: 70px; 
  display: flex;
  align-items: center; 
  position: fixed;      /* ← Siempre visible */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px; 
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo {
  margin-top: 17px;
  height: 90px;
  width: auto;
}

nav a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
}


/* ====== SECCIÓN INICIO ====== */
#inicio {
  width: 100%;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  background-image: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("imgTransporte/fondoTurismo.jpg");
  background-size: cover;
    margin-top: 15px;
  background-position: center;
}

#inicio h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ====== SECCIONES GENERALES ====== */
section {
  padding: 40px 20px;
}

.bloque {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.bloque h2 {
  color: #b30000;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.bloque p {
  font-size: 1.15rem;
}

.lugares {
  text-align: center;
  padding: 40px 20px;
}

.lugares h2 {
  color: #b30000;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.lugares p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.lugares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

.lugar {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 220px;
}

.lugar img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.lugar h4 {
  margin: 10px 0;
  font-size: 1rem;
  color: #b30000;
}



/* ====== PRESENTACIÓN ====== */
#presentacion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.video video {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.informacion {
  max-width: 600px;
}

.informacion h2 {
  color: #b30000;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.informacion p {
  text-align: justify;
  font-size: 1.15rem;
}

/* ====== VEHÍCULOS ====== */
.vehiculos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.vehiculo {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  flex: 1 1 250px;
}

.vehiculo img {
  width: 100px;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
}

.vehiculo-info h4 {
  margin: 0;
  font-size: 1rem;
  color: #b30000;
}

.vehiculo-info p {
  margin: 5px 0 0 0;
  font-size: 0.85rem;
}

/* ====== CONTACTO ====== */

.redes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 15px;
  justify-content: center; 
}

.redes a.red {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-decoration: none;
  color: #333;
  background-color: #f8f8f8;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.3s ease;
  min-width: 260px;
}

.redes a.red img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.redes a.red span {
  font-size: 1rem;
  font-weight: 500;
}

.redes a.red:hover {
  background-color: #b30000;
  color: #fff;
  transform: translateY(-2px);
}


.mapa {
  margin-top: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.mapa h3 {
  margin-bottom: 10px;
}

.mapa-container {
  display: flex;
  justify-content: center; 
}

.mapa-container iframe {
  display: block;
  max-width: 100%; 
  height: auto;    
  border-radius: 8px;
}

/* ====== FOOTER ====== */
footer {
  background-color: rgba(189, 69, 69);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  padding: 40px;
  text-align: left;
}

footer img {
  width: 260px;
  flex-shrink: 0;
  align-self: center;
}

.footer-bloque {
  max-width: 380px;
}

.footer-bloque h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.footer-bloque p {
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: justify;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  footer {
    justify-content: center;
  }
  
  #inicio{
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  #presentacion {
    flex-direction: column;
  }

   header {
    height: 60px;
    padding: 10px 15px;
  }

  .logo {
    height: 80px;
  }
  
  #inicio{
    margin-top: 15px;
  }
  
  
    .logo-link {
    font-size: 0; 
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 0.9rem;
    padding: 6px;
  }

  #inicio h1 {
    font-size: 1.8rem;
  }

  .video video {
    max-width: 250px;
  }

  .bloque {
    padding: 20px 10px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .redes {
    flex-direction: column;
    align-items: center;
  }

  .footer-bloque {
    max-width: 100%;
  }

  .footer-bloque p {
    text-align: center;
  }


}

@media (min-width: 1400px) {
  header {
    height: 100px;
    padding: 20px 60px;
  }

  .logo {
    margin-top: 25px;
    height: 130px;
  }

  .logo-link {
    font-size: 1.3rem; 
  }

  nav a {
    font-size: 1.2rem;
    margin-left: 25px;
  }
}