/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f0f4f8;
  color: #222;
  line-height: 1.6;
}

/* Header */

.logo-container {
  margin-bottom: 1rem;
}

.logo {
  max-width: 180px;
  height: auto;
}

/* Contenedor principal */
.menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
  padding: 1rem;
  position: relative;
}

/* Ícono hamburguesa centrado */
.burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  margin-bottom: 1rem;
}

.burger span {
  width: 30px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menú oculto por defecto */
.nav-links {
  display: none;
  flex-direction: column;
  align-items: center;
  background: #111;
  width: 100%;
  padding: 1rem 0;
  border-radius: 8px;
}

.nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links ul li {
  margin: 0.5rem 0;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover {
  color: #00C6FF;
}

/* Mostrar menú cuando activo */
.nav-links.active {
  display: flex;
}

/* Desktop: mostrar menú horizontal */
@media (min-width: 768px) {
  .menu-container {
    flex-direction: row;
    justify-content: center;
  }

  .burger {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    background: none;
    width: auto;
    padding: 0;
  }

  .nav-links ul {
    display: flex;
    gap: 2rem;
  }

  .nav-links ul li {
    margin: 0;
  }
}

/* Sections */
section {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

/* Gallery Slider */
.slider {
  position: relative;
  overflow: hidden;
  height: 900px;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.8rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  border-color: #007BFF;
  outline: none;
}

button {
  padding: 0.8rem;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #0056b3;
}

.error {
  color: red;
  font-size: 0.85rem;
  height: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #000;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .slider {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    font-size: 0.9rem;
  }

  .slider {
    height: 180px;
  }
}




.banner {
  width: 100%;
  max-width: 900px;
  height: auto;
  aspect-ratio: 900 / 700;
  object-fit: cover;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}