/* Estilos para la Galería de Fotos similar al directorio de expositores */

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    margin-top: 80px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4CAF50;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}

header .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

header .logo img {
    height: 60px;
}

header nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

header nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}

header nav ul li {
    flex: 0 1 auto;
    text-align: center;
}

header nav ul li a {
    display: block;
    padding: 10px 15px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    white-space: nowrap;
}

header nav ul li a:hover {
    text-decoration: underline;
}

.galeria {
    padding: 40px 20px;
    text-align: center;
}

.galeria h1 {
    color: #4CAF50;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.seccion-galeria {
    margin-bottom: 50px;
}

.seccion-galeria h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.carrusel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px;
    justify-content: flex-start;
}

.carrusel::-webkit-scrollbar {
    height: 8px;
}

.carrusel::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.foto-item {
    flex: 0 0 auto;
    width: 140px;
    height: 100px;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.foto-item:hover {
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .galeria h1 {
        font-size: 1.8rem;
    }

    .seccion-galeria h2 {
        font-size: 1.5rem;
    }

    .foto-item {
        width: 120px;
        height: 80px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .foto-item {
        width: 130px;
        height: 90px;
    }
}
