/* Layout Galerie */
.gallery-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

/* Poza Mare */
.main-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.main-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
    background: #333;
}

/* Logo Stânga Sus */
.logo-overlay {
    position: absolute;
    top: 25px;
    left: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #e0e0e0;
    text-transform: lowercase;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    z-index: 10;
}

.gear-icon {
    display: inline-block;
    font-size: 28px;
    animation: rotate-gear 6s infinite linear;
}

@keyframes rotate-gear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Miniaturi */
.small-images-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.small-images {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 5px;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none;
}

.small-images::-webkit-scrollbar { display: none; }

.small-img {
    flex: 0 0 auto;
    width: 130px;
    height: 85px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.small-img img { width: 100%; height: 100%; object-fit: cover; }

.small-img.active {
    border-color: #3498db;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

/* Săgeți */
.arrow {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 20px;
}

.arrow:hover { background: #3498db; color: white; }

.scroll-hint {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: -10px;
}

@media (max-width: 768px) {
    .main-image-wrapper img { height: 320px; }
    .logo-overlay { font-size: 16px; top: 15px; left: 15px; }
    .arrow { display: none; }
}
