/* Reset global de ventiladores */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Previene scroll horizontal no deseado */
html, body {
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background-color: #070846;
}

/* NAVBAR */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 999;
      width: 100%;
      height: 70px;
      background-color: rgba(7, 8, 70, 0.9);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 5%;
    }

    .logo {
      display: flex;
      justify-content: left;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .logo img {
      height: 65px;
      width: auto;
      margin-top: 1.2rem;
      margin-left: 0;
      object-fit: contain;
    }

    .logos {
      display: flex;
      justify-content: center;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .menu {
      display: flex;
      list-style: none;
      gap: 30px;
    }
    
    .menu li a {
      text-decoration: none;
      color: white;
      font-family: 'Cinzel', serif;
      white-space: nowrap;
      font-size: 1.1rem;
      transition: color 0.3s;
    }
    
    .menu li a:hover {
      color: #acacac;
    }
    
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-around;
      width: 2rem;
      height: 2rem;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1000;
    }

    .hamburger span {
      width: 2rem;
      height: 0.25rem;
      background: white;
      border-radius: 10px;
      transition: all 0.3s linear;
      position: relative;
      transform-origin: 1px;
    }

/* HERO */
    .hero {
      background-color: #070846;
      max-width: 1920px;
      height: 80px;
      margin: 0 auto;
      color: white;
      font-family: 'Cinzel', serif;
      justify-content: center;
      position: relative;
      padding-top: 70px;
      padding-bottom: 0;
    }

/* Sección de Contacto */
.contacto {
  padding: 60px 20px;
  background-color: #070846;
  color: white;
  font-family: 'Cinzel', serif;
  text-align: center;
  position: relative;
}

.contacto-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contacto h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: white;
  position: relative;
  display: inline-block;
}

.contacto h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #acacac;
  margin: 15px auto;
}

.contacto-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 30px;
}

.contacto-info {
  flex: 1;
  text-align: left;
  padding: 20px;
}

.contacto-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #acacac;
}

.contacto-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.contacto-form {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #acacac;
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #acacac;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-enviar {
  background: #acacac;
  color: #070846;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-family: 'Cinzel', serif;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-enviar:hover {
  background: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mapa {
  margin-top: 60px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mapa iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
.footer {
  background: #222;
  color: white;
  font-family: 'Cinzel', serif;
  gap: 30px;
  text-align: center;
  padding: 20px;
}

footer {
  background-color: #070846;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin: 0;
}

@media (max-width: 768px) {
      /* Menú hamburguesa */
      .hamburger {
        display: flex;
      }
      
      .menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 220px;
        background: rgba(7, 8, 70, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 2rem;
        gap: 4rem;
      }
      
      .menu.active {
        right: 0;
      }
      
      .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      
      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }
      
      .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }
    }      
      

/* Responsivo */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
  
  .menu {
    gap: 70px;
  }
  
  .contacto-content {
    flex-direction: column;
  }
  
  .contacto-info, .contacto-form {
    width: 100%;
  }

}