@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;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: #002b45;
    width: 200px;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .logo {
      height: 40px;
  }

  .navbar {
      flex-wrap: wrap;
  }

  .btn-call {
      padding: 8px 14px;
      font-size: 14px;
      order: 3;
      width: 100%;
      margin: 10px 0 0 0;
      text-align: center;
      justify-content: center;
  }
}


/* BOTÓN LLAMAR PROFESIONAL */
.btn-call {
    background: linear-gradient(135deg, #002b45, #0a2540);
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}


/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: white;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}



.whatsapp-float i {
    font-size: 32px;
    line-height: 60px;
}

@media (max-width: 768px) {
    .btn-call {
        padding: 8px 14px;
        font-size: 14px;
    }

    .logo {
        height: 40px;
    }
}

