html{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222;
    font-size: 16px;
    background-color:#f6fdff;
    height: 100%;
}
body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

*{
    margin:0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}
.contenedor-grid{
    background-image: url("../imagenes/ejemplo1.jpg");
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 7.8rem;
    padding-bottom: 3.9rem;
    /*height: 1366px;*/
}

#titulo{
    text-transform: uppercase;
    font-size: 3rem;
    color: whitesmoke;
    font-weight: bold;
}

.subtitulo1{
    padding-left: 20px;
    font-size: 2rem;
    font-weight: 500;
    color: whitesmoke;
}
.parrafo-contacto, label{
    color: whitesmoke;
}
.parrafo-contacto{
    font-size: 1.1rem;
}
span{
    color: transparent;
}

.columna{
    /*border: 2px solid rebeccapurple;*/
    margin-left: 30px;
    
}
.bi-telephone-fill, .bi-geo-alt-fill, .bi-clock-fill{
    color: #008a1a;
    font-size: 1.8rem;
}
#telefono, #direccion, #horario{
    display:flex;
    margin-top: 35px;

}
@media screen and (max-width:431px) {
#titulo{
    font-size: 2.4rem;
}
.navbar-brand{
    font-size: 1.2rem;

}
.subtitulo1{
    font-size: 1.8rem;
}
    
}
.formulario{
    margin-left: 30px;
    background-color: transparent;
    padding: 15px 0;
    max-width: 600px;
    border-radius: 20px;
}

.form_input{
    padding: 10px 20px;
}

input, textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 5px 10px;
  border: none;
  border-radius: 10px;
  background-color: #eeeeee;
}
textarea{
    min-width: 100% ;
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.btn-formulario{
    margin-top: 15px;
    margin-left: 25px;
}
button{
    margin-right: 10px;
    padding: 10px 30px;
    background-color: #008a1a;
    color: whitesmoke;
    letter-spacing: 2px;
    font-weight: 500;
    /*border: 1px solid #006414;*/
    border: none;
    border-radius: 20px;

}
.error {
    color: red;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

@media screen and (max-width:767px) {
    .contenedor-grid{
        grid-template-columns: 1fr;
        height: 1150px;
        
    }
}

/* Contenedor exterior para centrar */
.map-container {
display: flex;
justify-content: center;
margin: 20px 0;
padding: 0 1rem;
}

/* Mapa responsivo con aspecto 16:9 */
.map-responsive {
width: 100%;
max-width: 1200px;
aspect-ratio: 16 / 9;
position: relative;
overflow: hidden;
border: 4px solid #ccc;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}

/* Estilos del iframe */
.map-responsive iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}

/* Efecto hover opcional */
.map-responsive:hover {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
transform: scale(1.01);
}

footer {
background-color:#1c1c1c;
color: #f1f1f1;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}

.footer-left {
font-size: 0.9rem;
}

.footer-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.6rem;
  text-decoration: none;
  margin-left: 10px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Ícono normal */
.footer-right a i {
  font-size: 1.1rem;
}

/* Solo el ícono de WhatsApp más grande */
.footer-right a[aria-label*="WhatsApp"] i {
  font-size: 1.5rem;
}

/* Colores de marca */
.footer-right a[aria-label*="Facebook"] {
  background-color: #1877F2;
}

.footer-right a[aria-label*="X"] {
  background-color: #000000;
}

.footer-right a[aria-label*="TikTok"] {
  background: linear-gradient(135deg, #25F4EE, #FE2C55);
}

.footer-right a[aria-label*="WhatsApp"] {
  background-color: #25D366;
}

/* Hover */
.footer-right a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}


@media (max-width: 767px) {
  footer {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .footer-right {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.5rem 0;
  }

  .footer-right a {
    margin: 6px;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 1366px) and (max-height: 1366px) {
  /* Estilos CSS a aplicar cuando el ancho es 1024px y el alto es 1366px */
  footer{
    padding-top: 30px;
    padding-bottom: 30px;
    
  }
}