/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body y Fondo */
body {
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #000000;
    color: #333;
   
}

/* Estilo para el header */
header {
    background-color: #222;
    padding: 1rem 2rem;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content:center; 
    position:relative;
}

.logo-container {
    display: flex;                /* Usamos flexbox */
    justify-content: center;      /* Centra horizontalmente */
    align-items: center;          /* Centra verticalmente, si lo necesitas */
    height: 300px;                /* Ajusta la altura según lo necesites */
}
.logo {
    height: 200px;; 
    width:auto;
    margin-bottom: 1rem;
}

header nav {
    width: 100%;
}

header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

header nav ul li {
    margin: 0 1rem; /* Espacio entre los elementos del menú */
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #f5a623;
}
/* Estilos de la galería */
#gallery {
    padding: 1rem 1rem 1rem; /* Espacio suficiente para no tapar contenido con el header fijo */
    background: url('assets/bg-gallery.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    margin-top: 80px; /* Evitar que el header tape el contenido */
    position: relative;
    z-index: 1;
}

#gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

/* Efecto hover en las imágenes y videos */
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

/* Estilo del video */
.gallery-video {
    border-radius: 10px;
}

/* Estilo para el footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #222;
    color: #fff;
    font-size: 1rem;
}

/* Animación de la imagen de fondo en la galería */
#gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparente negro para crear contraste */
    z-index: -1;
}
