/* --- VARIABLES Y RESET --- */
html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #333333;
}

h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #2C5E50;
  padding: 0 30px;
}

/* Encabezado */
header {
  position: sticky;
  top: 0;
  background-color: #2C5E50;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.image-logo {
  max-width: 150px;
  height: auto;
}

.style-ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 0;
  gap: 20px;
}

.style-ul-a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.style-nav-ul-li-a-i {
    margin-right: 8px; /* Espacio entre icono y texto */
}

.style-ul-a:hover {
    color: #ff9800;
}

/* Contenido principal */

section {
  padding-top: 170px;
  margin-top: -170px;
}

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
}

.feature .text-content {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.feature-img {
  width: 100%;
  height: 50vh;
}

.map-container {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Botón */
button {
  background-color: #0077cc;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

button:hover {
  background-color: #005fa3;
}

/* Pie de página */
footer {
  background-color: #333;
  color: #ffffff;
  text-align: center;
  padding: 10px;
}

.sectionIntro {
    background-color: #daf6d9;
}

.btn-mail {
  display: inline-block;
  padding: 10px 20px;
  background-color: #D4AF37;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }
}