/* Reset */
* { margin: 0; padding-top: 0; box-sizing: border-box; }
body {
  font-family: Arial, sans-serif;
  line-height: 2;
  color: #333;
  background: #f9f9f9;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  color: #fff;
  padding: 15px 30px;
  z-index: 1000; /* asegura que esté encima del contenido */
}

header .logo img {
  height: 80px;
  width: auto;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
nav ul li { margin: 0 15px; }
nav ul li a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
}
nav ul li a:hover { color: #ff6600; }



/* HERO */
.hero {
  background: url('../img/standarte-bg.png') center/cover no-repeat;
  color: #4D4D4D;
  text-align: center;
  padding: 150px 50px;
}
.hero h1 { font-size: 70px; }

/* SECCIONES */
section {
  scroll-margin-top: 100px; /* ajusta según el alto del header */
  padding: 30px 20px;
  max-width: 1000px;
  margin: auto;
}
h2 {
  color: #ff6600;
  margin-bottom: 20px;
}

/* FRASE */
.frase {
  background: #eee;
  text-align: center;
  font-style: italic;
  font-size: 24px;
  padding: 40px 20px;
}

/* GALERIA */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.galeria-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s;
}
.galeria-grid img:hover {
  transform: scale(1.5);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.lightbox-contenido {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}
.cerrar {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
#caption {
  margin-top: 15px;
  color: #ccc;
  text-align: center;
}

/* CONTACTO */
.contacto ul {
  list-style: none;
  padding: 0;
}
.contacto li {
  margin: 10px 0;
}

/* FOOTER */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
}