/* ========== General ========== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #212529;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 960px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

/* ========== Imagen bandera izquierda ========== */

.background-left-image {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100vw;       /* 40% of the viewport width */
  /* height: 60vh;    60% of the viewport height */
  object-fit: contain; /* Crop and scale the image to fill the box */
  z-index: -1;       /* Put behind all other elements */
  opacity: 1.0;      /* Optional: make it subtle */
  pointer-events: none; /* Prevent blocking interaction */
}

/* ========== spacer ========== */

.spacer {
  height: 100px;  /* adjust to the amount of space you need */
}


/* ========== Imagen Principal ========== */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ========== Títulos y Textos ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #2c3e50;
}

h1 {
  font-size: 2.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #444;
  text-align: center;
}

.text-center {
  text-align: center;
}

/* ========== Formulario de Contacto ========== */
form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  max-width: 600px;
  margin: 2rem auto;
}

form .form-group {
  margin-bottom: 1rem;
}

form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

form input, form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button[type="submit"] {
  background-color: #007bff;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 1rem auto 0 auto;
  font-size: 1.1rem;
  width: 100%;
  max-width: 200px;
}

form button[type="submit"]:hover,
form button[type="submit"]:focus {
  background-color: #0056b3;
}

/* ========== Google Maps Responsive Embed ========== */
.map-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin: 2rem auto;
  max-width: 600px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== Footer Profesional ========== */
footer {
  background-color: #00a5aa;
  color: #5e1616;
  font-size: 0.9rem;
  padding: 2rem 0;
  margin-top: 3rem;
}

footer h5 {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}

footer p, footer ul {
  color: #5e1616;
  margin-bottom: 0.8rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #5e1616;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: #fff;
  text-decoration: underline;
}

footer .bi {
  vertical-align: middle;
  font-size: 1.3rem;
}

footer .social-icons a {
  margin-right: 1rem;
  color: #5e1616;
  transition: color 0.3s ease;
}

footer .social-icons a:hover,
footer .social-icons a:focus {
  color: #0d6efd;
}

/* ========== Responsive Media Queries ========== */

/* Smartphones (portrait and landscape) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }

  form {
    padding: 15px;
  }

  footer .col-md-4 {
    margin-bottom: 2rem;
    text-align: center;
  }

  footer .social-icons a {
    margin-right: 0.8rem;
  }
}

/* Tablets */
@media (min-width: 576px) and (max-width: 991.98px) {
  h1 {
    font-size: 2.2rem;
  }

  form {
    max-width: 100%;
  }

  footer .col-md-4 {
    margin-bottom: 1.5rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  form {
    max-width: 600px;
  }

  footer {
    font-size: 1rem;
  }
}

/* floater */

.info-fija {
  position: fixed;
  top: 140px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  z-index: 999;
  width: 260px;
  font-size: 0.95rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.info-fija a {
  color: #007bff;
  text-decoration: none;
}

.info-fija a:hover {
  text-decoration: underline;
}

/* Responsivo: ocultar en pantallas pequeñas si lo deseas 
@media (max-width: 576px) {
  .info-fija {
    display: none;
  }*/
}
