@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Aplicar un reset básico */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body {
  font-family: 'Poppins', sans-serif; 
  line-height: 1.6; 
  background: #f5f7fa;  
  color: #333;  
}

/* Navbar */
header {
  background: ##6DD5FA;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #00c897;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #f5f7fa;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #00c897;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  height: 100vh;
  background: url("../img/banner.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero h1 span {
  color: #00c897;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #00c897;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #009f74;
}

/* Secciones */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #002b45;
}

/* Servicios */
.services {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
  width: 300px;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

/* Contacto */
.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input, .contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  background: #002b45;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact button:hover {
  background: #00c897;
}

/* Footer */
footer {
  background: #002b45;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Oculta el menú */
    flex-direction: column;
    position: absolute;
    top: 70px; /* justo debajo del header */
    right: 0;
    background: #002b45;
    width: 200px;
    padding: 20px;
  }

  .nav-links.active {
    display: flex; /* Aparece cuando activamos el menú */
  }

  .menu-toggle {
    display: block; /* Ahora sí se muestra el botón ☰ */
  }
}
