/* RESET & GLOBAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #001f3f;
  color: #FFD700;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* BOTONES */
.btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 20px;
  font-size: 18px;
  color: #FFD700;
  background-color: #003366;
  border: 2px solid #FFD700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover {
  background-color: #FFD700;
  color: #003366;
}

/* MENÚ DESLIZABLE */
.menu-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  z-index: 1001;
  cursor: pointer;
}
.menu-btn svg {
  width: 32px;
  height: 32px;
  fill: #FFD700;
}
nav {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background-color: #002b5c;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 1002;
  overflow-y: auto;
}
nav.open {
  left: 0;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
nav li {
  padding: 15px;
  border-bottom: 1px solid #003d7a;
}
nav a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  display: block;
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: #FFD700;
  background: none;
  border: none;
  cursor: pointer;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}
.overlay.active {
  display: block;
}

/* SECCIONES */
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}
h1, h2 {
  margin-bottom: 20px;
}
p {
  color: #FFD700;
  line-height: 1.6;
}
ul {
  list-style: none;
  text-align: left;
  display: inline-block;
}
ul li {
  margin: 8px 0;
  color: #FFD700;
}

/* GALERÍA */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}
.gallery img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border: 2px solid #FFD700;
  border-radius: 10px;
}

/* INFO / CONTACTO */
#info, #contacto {
  margin-top: 40px;
  text-align: center;
}
.contact p {
  margin: 10px 0;
}

/* MÓVIL (max-width: 600px) */
@media (max-width: 600px) {
  nav {
    width: 90% !important;
    left: -100% !important;
  }
  nav.open {
    left: 0 !important;
  }
  nav a {
    font-size: 1.6em !important;
    padding: 16px 20px !important;
    color: #FFD700 !important;
    background: rgba(0, 0, 0, 0.2);
  }
  .menu-btn svg {
    width: 50px !important;
    height: 50px !important;
  }
  .menu-btn {
    top: 12px !important;
    left: 12px !important;
  }
  .gallery img {
    max-height: 160px !important;
  }
  #info, #contacto, section {
    padding: 50px 15px !important;
    font-size: 1.3em !important;
  }
}

/* PANTALLAS GRANDES (min-width: 601px) */
@media (min-width: 601px) {
  .gallery img {
    max-height: 260px;
    object-fit: cover;
  }
}
@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 30px 0;
  }
  .gallery img {
    width: 100%;
    max-height: 300px !important;  /* un poco mayor para pantallas grandes */
    object-fit: cover;
  }
}
