﻿.subtitle {
    color: #94a3b8;
    font-size: 0.9rem;
}

.section-container {
    margin-top: 20px;
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00e5ff;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.photo-item {
    aspect-ratio: 1;
    background: #d0d0d1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(189, 188, 188, 0.08);
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease;
}
    .photo-item:active {
        transform: scale(0.95);
    }

    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.685);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .modal-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

.modal-close {
    position: absolute;
    top: env(safe-area-inset-top, 20px);
    right: 20px;
    z-index: 2100;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-container {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.zoom-engine {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

    .zoom-engine img {
        max-width: 100%;
        max-height: 70vh;
        object-fit: contain;
    }

.info-panel {
    position: absolute;
    bottom: env(safe-area-inset-bottom, 20px);
    left: 0;
    right: 0;
    padding: 20px;
    pointer-events: none;
}

.info-card {
    background: rgba(15, 17, 21, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    pointer-events: auto;
}

#modalTitle {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}

#modalDesc {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.2);
    transition: 0.3s;
}

    .dot.active {
        width: 20px;
        background: #00e5ff;
    }

/* Navegación Desktop */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    border: none;
    color: white;
    padding: 30px 15px;
    cursor: pointer;
    z-index: 2050;
    display: none;
}

@media (min-width: 768px) {
    .nav-arrow {
        display: block;
    }
}

.arrow-prev {
    left: 0;
    border-radius: 0 12px 12px 0;
}

.arrow-next {
    right: 0;
    border-radius: 12px 0 0 12px;
}
