html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header {
  display: flex;
  align-items: center;
  padding: 40px 25px 20px;
  background-color: transparent;
  position: relative;
  z-index: 1100;
  flex-wrap: wrap;
}

.header-content {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.logo {
  flex: 0.8;
  display: flex;
  justify-content: flex-start;
}

.logo img {
  height: 50px;
  margin-left: 50px;
}

/* 🔹 Menú de escritorio */
.navbar {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-right: 60px;
}

.nav-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center
}

.nav-row li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  padding: 5px 8px;
  white-space: nowrap;
}

.nav-row li a:hover {
  color: #f2fc6e;
}

.main-menu {
  border-bottom: 2px solid  #f2fc6e;
  padding-bottom: 3px;
}

/* 🔽 Menú hamburguesa (oculto en escritorio) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.menu-toggle .bar {
  width: 30px;
  height: 4px;
  background-color: white;
  border-radius: 5px;
  transition: 0.3s;
}

/* 🔹 Contenedor del menú móvil */
.mobile-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: none;  /* 🔹 Oculto por defecto */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow-y: auto;
}

/* 🔹 Cuando el menú está activo */
.mobile-menu-container.active {
  display: flex;
}

.body-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* 🔹 Botón de cerrar (X) */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  display: none;
}

.mobile-menu-container.active .close-menu {
  display: block;
}

/* 🔹 Estilos de los enlaces en el menú móvil */
.mobile-nav-links {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-nav-links li {
  margin: 20px 0;
}

.mobile-nav-links a {
  text-decoration: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.mobile-nav-links a:hover {
  color: #f2fc6e;
}

.social-icon {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.8em;
  color: #ffffff;
  transition: color 0.3s ease;
  margin-right: 20px;
}

.social-icon:hover {
  color: #000000;
}

.social-icon.facebook:hover {
  color: #3b5998;
} 

.social-icon.instagram:hover {
  color: #E4405F;
}

.cont {
  background: transparent;
  padding: 10px 20px;
  text-align: center;
  color: #f1f1f1;
}

.cont-container h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.contact {
  background: transparent;
  padding: 5px 20px;
  text-align: center;
  color: #f1f1f1;
}

.contact-container h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px;
  background-color: transparent;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  flex-wrap: wrap;
  gap: 60px;
}

/* Nueva columna izquierda */
.contact-info {
  flex: 1;
  max-width: 400px;
  background-color: #131313;
  border: 1px solid #131313;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  color: #f1f1f1;
}

.contact-info h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: white;
}

.contact-info p {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info .info-item:last-child {
  border-bottom: none;
}

.contact-info .icon {
  font-size: 1.8em;
  color: #f2fc6e;
  margin-top: 5px;
}
/* Formulario (ya lo tenías, solo ajusté algunas cosas) */
.contact-form {
  flex: 1;
  max-width: 600px;
  background-color: #131313;
  border: 1px solid #131313;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact-form .form-group {
  margin-bottom: 25px;
}

.contact-form label {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #f1f1f1;
  margin-bottom: 10px;
  gap: 8px;
}

.contact-form .required {
  color: #f2fc6e;
  font-size: 0.9em;
  white-space: nowrap;
}

.contact-form .form-row {
  display: flex;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 1.1em;
  color: white;
  background-color: #1a1a1a;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f2fc6e;
  outline: none;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  flex: 1;
}

.contact-form textarea {
  resize: none;
}

.contact-form .submit-button {
  display: inline-block;
  background-color: white;
  color: #000;
  border: none;
  padding: 12px 25px;
  font-size: 1.2em;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .submit-button:hover {
  background-color: white;
}

/*Mensaje de alerta*/
.toast-container {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toast {
  position: relative;
  padding: 15px 50px 15px 20px;
  border-radius: 6px;
  font-weight: bold;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  max-width: 600px;
  color: white;
  background-color: #131313;
}

.toast.error {
  color: #721c24;
  background-color: #f8d7da;
}

.close-toast {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 14px; 
  font-weight: bold;
  cursor: pointer;
  color: inherit;
  line-height: 1;
  padding: 0; 
  width: 20px;  
  height: 20px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-section {
  padding: 5px 20px;
  background-color: transparent;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-section h2 {
  color: white;
  font-size: 3em;
  margin-bottom: 30px;
}

.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 12px;
}

.footer {
  background-color: #000;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 18px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin-right: 20px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-social a {
  color: white;
  margin: 0 10px;
  font-size: 25px;
  transition: color 0.3s ease;
}

.fa-x-twitter:hover {
  color: #000000;
}

.fa-facebook-f:hover {
  color: #3b5998;
}

.fa-instagram:hover {
  color: #E4405F;
}

.footer-copy {
  margin-top: 20px;
  font-size: 18px;
  opacity: 0.8;
}


@media (max-width: 1186px) {
  .logo img {
    height: 40px;
    margin-left: 10px;
  }

  .nav-row li a {
    font-size: 12px;
    padding: 4px 6px;
  }

  .social-icon {
    font-size: 1.2em;
    margin: 5px;
  }

  .footer {
    font-size: 14px;
    padding: 25px 20px;
  }

  .footer-social a {
    font-size: 18px;
    margin: 0 8px;
  }

  .footer-link {
    font-size: 14px;
    margin-right: 10px;
  }
}

@media (max-width: 767px) {
  header {
    background-color: white;
  }
  /* 🔹 Ocultamos el menú de escritorio */
  .navbar {
    display: none;
  }

  /* 🔹 Ocultamos íconos sociales */
  .social-icons {
    display: none;
  }

  /* 🔹 MOSTRAMOS EL BOTÓN DE HAMBURGUESA */
  .menu-toggle {
    display: flex;
    margin-right: 15px;
  }

  .menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 5px;
    transition: 0.3s;
  }

  .logo {
    flex: 1;
    justify-content: flex-start;
  }

  .logo img {
    height: 40px;
    margin-left: 20px;
  }

  .header-content {
    justify-content: space-between;
  }

  .footer {
    padding: 20px 15px;
    font-size: 13px;
  }

  .footer-links,
  .footer-social,
  .footer-copy {
    margin-bottom: 10px;
    display: block;
  }

  .footer-link {
    display: block;
    margin: 5px 0;
    font-size: 13px;
  }

  .footer-social a {
    font-size: 18px;
    margin: 0 6px;
  }

  .footer-copy {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 30px;
    margin-left: 10px;
  }

  .footer {
    font-size: 12px;
  }

  .footer-link {
    font-size: 12px;
  }

  .footer-social a {
    font-size: 16px;
  }

  .footer-copy {
    font-size: 11px;
  }
}