* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:'Corbel', sans-serif;
}
@font-face {
  font-family: 'ethnocentric rg';
  src: url('ethnocentric\ rg.ttf') format('truetype'); /* Ajusta la ruta si es necesario */
  font-weight: normal;
  font-style: normal;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #000000;
    padding: 10px;
}

.navbar {
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: 'ethnocentric rg';
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.navbar ul li a {
    color: white;
    text-decoration: none;
    padding: 0 20px;
    transition: color 0.3s ease;
}
.navbar ul li a:hover {
    color: #FFCC00;
}
.logo {
    height: 80px;
}

.contacto {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap; /* permite que se bajen si no hay espacio suficiente */
  gap: 20px;
  padding: 40px 20px;
}


.contacto .item {
  flex: 1 1 250px; /* se adapta al espacio pero nunca menos de 250px */
  max-width: 100%;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  background-color: #ffffff; /* opcional: fondo claro para visual */
  border-radius: 8px; /* opcional: bordes redondeados */
}

.contacto .item i {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.titulo {
  font-size: 18px;
  margin-bottom: 5px;
  font-family: 'ethnocentric rg';
}

.texto {
  font-size: 16px;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 600px) {
  .contacto {
    justify-content: flex-start;
    overflow-x: auto; /* Scroll horizontal si es necesario */
    padding: 20px;
  }

  .contacto .item {
    flex: 0 0 auto;
    margin-right: 10px;
  }
}

  .contact-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 20px;
    flex-wrap: wrap;
  }

  .map-container iframe {
    width: 400px;
    height: 400px;
    border: 0;
  }

  .form-container {
    display: flex;
    flex-direction: column;
    width: 300px;
  }

  .form-container input,
  .form-container textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 14px;
    border: black;
  }

  .form-container textarea {
    height: 150px;
    resize: none;
  }

  .form-container button {
    background-color: #FFCC00;
    color: #000000;
    font-weight: bold;
    padding: 10px;
    border: none;
    cursor: pointer;
  }

  .form-container button:hover {
    background-color: #000000;
    color: #ffffff;
  }
  footer {
    background-image: url('sand.jpg'); /* Asegúrate de que la imagen esté en la carpeta correcta */
    background-size: contain;
    background-position: center;
    padding: 30px 20px;
    font-family: 'CORBEL', sans-serif;
    font-size: 16px;
    color: #ffffff;
  
}
footer h4 {
  color: #FFCC00; /* Amarillo o el que prefieras */
  font-family: 'ethnocentric rg', sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.social .icons img {
    width: 30px;  /* Tamaño más pequeño */
    height: 30px; 
    margin: 5px;  /* Espaciado entre iconos */
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
    justify-items: center;
}

footer {
    background-image: url('sand.jpg'); /* Asegúrate de que la imagen esté en la carpeta correcta */
    background-size: contain;
    background-position: center;
    padding: 30px 20px;
}
footer h4 {
  color: #FFCC00; /* Amarillo o el que prefieras */
  font-family: 'ethnocentric rg', sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.social .icons img {
    width: 30px;  /* Tamaño más pequeño */
    height: 30px; 
    margin: 5px;  /* Espaciado entre iconos */
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
}
footer a {
  color: white; /* Blanco u otro color contrastante */
  font-family: 'CORBEL', sans-serif;
  font-size: 16px;
  margin: 5px 0;
}

/* Ajustes responsivos generales */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .map-container iframe {
    width: 100%;
    max-width: 100%;
    height: 250px;
  }

  .form-container {
    width: 100%;
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .contact-section {
    flex-direction: column;
    align-items: center;
  }
}

/* Ajuste más fino para móviles muy pequeños */
@media (max-width: 400px) {
  .logo {
    height: 60px;
  }

  .form-container input,
  .form-container textarea {
    font-size: 13px;
    padding: 8px;
  }

  .form-container button {
    padding: 8px;
    font-size: 14px;
  }

  .titulo {
    font-size: 16px;
  }

  .texto {
    font-size: 14px;
  }
}
