* {
  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;
  transition: color 0.3s ease;
  padding: 0 20px;
}
.navbar ul li a:hover {
  color: #FFCC00;
}
.logo {
  height: 80px;
}

.slider {
  position: relative;
  width: 80%;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  min-width: 100%;
  height: 500px; /* Ajusta esta altura según lo que necesites */
  object-fit: cover;
}

button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s ease;
}

button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

#prevBtn {
  left: 10px;
}

#nextBtn {
  right: 10px;
}

hr.rounded {
  border-top: 20px solid #000000;
  border-radius: 5px;
}

.container {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    gap: 30px;
    background-image: url(8.png);
    background-size: cover;
  }

  .left {
    flex: 2;
  }

  .right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  h1 {
    color: black;
    font-weight: bold;
    font-size: 32px;
    text-align: center;
    font-family: 'ethnocentric rg', sans-serif;
  }

  p {
    color: white;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    
  }

  .section-title {
    color: black;
    font-weight: bold;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-family: 'ethnocentric rg', sans-serif;
  }

  img {
    max-width: 80%;
    border-radius: 10px;
  
  }

  @media (max-width: 900px) {
    .container {
      flex-direction: column;
    }
    .right {
      margin-top: 30px;
    }
  }
  hr.rounded {
    border-top: 20px solid #000000;
    border-radius: 5px;
  }
.servicios {
    background-image: url(blancoynegro.png); /* Fondo amarillo */
    text-align: center;
    padding: 50px 40px;
}

.servicios h2 {
    color: black; /* Título en negro */
    margin-bottom: 20px;
   text-align: center;
   font-family: 'ethnocentric rg', sans-serif;
}

/* GRID: 2 COLUMNAS, 5 FILAS */
.iconos {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 2 columnas */
    gap: 100px; /* Espaciado */
    justify-content: center;
    max-width: 200px; /* Ajuste de ancho */
    margin: auto;
}

.icono {
    text-align: center;
}

.icono img {
    width: 100px; /* Iconos más pequeños */
    height: 100px;
    object-fit: contain;
}

.icono p {
    color: rgb(0, 0, 0); /* Texto en blanco */
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
}

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;
    justify-items: center;
}
footer a {
  color: white; /* Blanco u otro color contrastante */
  font-family: 'CORBEL', sans-serif;
  font-size: 16px;
  margin: 5px 0;
}
/* Responsividad general */
@media (max-width: 1024px) {
  .iconos {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  .slider {
    width: 95%;
  }

  .slides img {
    height: auto;
  }

  .container {
    flex-direction: column;
    padding: 20px;
  }

  .left, .right {
    width: 100%;
  }

  .right {
    margin-top: 20px;
  }

  .iconos {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    justify-items: center; /* <- esta es la clave */
  }
  }

  .logo {
    height: 60px;
  }

  h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .icono img {
    width: 80px;
    height: 80px;
  }

  .icono p {
    font-size: 16px;
  }


@media (max-width: 480px) {
  .iconos {
    grid-template-columns: 1fr;
  }

  .navbar ul li a {
    padding: 10px 0;
  }

  .logo {
    height: 50px;
  }

  button {
    padding: 8px;
    font-size: 20px;
  }

  footer h4 {
    font-size: 18px;
  }

  footer a, footer p {
    font-size: 14px;
  }
}

