﻿
/*Hero Section BEGIN=========================*/

.gallery-wrapper.fullscreen .image-slide {
    padding: 0;
}

.gallery-wrapper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    z-index: 1000;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
}

.gallery-wrapper.fullscreen .hero-image-area {
    height: calc(100vh - 100px);
    aspect-ratio: auto;
}

.gallery-wrapper.fullscreen:not(.capture-mode) .hero-image-area {
    height: 100vh;
}

.gallery-wrapper.fullscreen.capture-mode .thumbnail-strip {
    display: none;
}

.hero-image-area {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.hide-ui {
    opacity: 0 !important;
    pointer-events: none !important; /* Deshabilitar clics */
    transition: opacity 0.3s;
}

.gallery-controls-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery-controls-overlay:hover {
        opacity: 1;
}

.noselect {
    user-select: none;
    outline: none;
}

.fullscreen-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    z-index: 20;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, opacity 0.3s;
}

.nav-arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nav-arrow:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.left-arrow {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.right-arrow {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.control-bar-bottom {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 9999px; /* full rounded */
    z-index: 20;
    align-items: center;
    gap: 0.2rem;
    width: 345px;
}

.control-bar-bottom-fullscreen {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    display: flex;
    transform: translateX(-50%);
}

.image-slide {
    position: absolute;
    top: 0;
    width: fit-content;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image-slide.active {
    opacity: 1;
    z-index: 10;
}

.image-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the whole image is visible */
}
/*Controller Section BEGIN=========================*/
.nav-btn {
    background: transparent;
    color: white;
    border: none;
    /* padding: 0.25rem 0.5rem; */
    padding: 8px;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.2s;
}

.nav-btn:hover {
        background-color: rgba(200, 200, 200, 0.2);
    }

.svg-icon {
    width: 48px;
    height: 48px;
    /* Customize stroke appearance */
    stroke-width: 2.5;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: rgba(200, 200, 200, 0.2);
    border-radius: 50px;
    transition: color 0.2s, transform 0.2s;
}

.icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    border-radius: 0.75rem;
    min-height: 250px;
}

.icon-container:hover .svg-icon {
        transform: scale(1.05);
        color: #1d4ed8; /* Darker blue on hover */
    }

.counter-display {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 500;
    gap: 0.25rem;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.image-count-input {
    width: 40px;
    text-align: center;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.25rem;
    border-radius: 0.25rem;
}


/*Thumbnails Section BEGIN=========================*/
.thumbnail-row {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    text-align: center;
}

.thumbnail-container {
    display: inline-block;
    background-color: lightgray;
    border-radius: 5px;
    padding: 2px;
    margin: 2px;
}

.thumbnail-container:hover {
    transform: translateY(-2px);
}

.thumbnail-container.active {
        box-shadow: 0 0 5px blue;
        transform: scale(1.05);
    }

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s;
    border-radius: 5px;
}

/*Thumsnails 1-Line Scroll Section BEGIN============*/

.carousel-strip2 {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: aqua;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 5px 0;
}



.button-scroll {
    stroke-width: 2.5;
    stroke: white;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    border-radius: 50px;
    transition: color 0.2s, transform 0.2s;
}

.nav-btn2:hover {
        background-color: rgba(255, 255, 255, 0.4);
    }

.image-container2 {
    display: flex;
    flex: 1; /* Take up all remaining space */
    min-width: 0; /* CRITICAL: Allows flex item to be smaller than its content */
    height: 100%;
    align-items: center;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-behavior: smooth; /* Enables the "Smooth Scroll" effect */
    /* Hide scrollbar for clean look */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.image-container2::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

.carousel-item2 {
    margin: 4px 2px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0; /* Prevents images from getting skinny */
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    background-color: #ddd;
}




