/* Salva come: wp-content/plugins/bad-dog-elementor-addons/assets/slideshow/style.css */

.bd-slideshow-container {
    position: relative;
    width: 100%;
    min-height: 400px; /* Altezza minima di sicurezza */
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.brand-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-logo {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 0.9;
    overflow: hidden;
}

.brand-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 5px;
    overflow: hidden;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.thumbnails-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Rimuovi TUTTI gli effetti hover indesiderati */

.thumbnail {
    width: 70px;
    height: 50px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border: 1px solid white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.discover-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.discover-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    width: 100%;
    z-index: 3;
}

.progress-fill {
    height: 100%;
    background: white;
    width: 0%;
    transition: width linear;
}

/* Animazioni Typewriter */
.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    animation: typewriter-reveal 0.8s ease-out forwards;
}

.typewriter-delay {
    animation-delay: 0.3s;
}

.char {
    display: inline-block;
    opacity: 0;
    animation: char-appear 0.05s ease-out forwards;
}

@keyframes typewriter-reveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes char-appear {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .brand-logo {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .thumbnail {
        width: 50px;
        height: 38px;
    }
    
    .thumbnails-container {
        gap: 8px;
    }
    
    .bottom-section {
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-section {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .discover-btn {
        padding: 10px 16px;
        font-size: 0.7rem;
        align-self: flex-start;
    }

    .thumbnails-container {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .thumbnail {
        width: 45px;
        height: 34px;
    }
    
    .bottom-section {
        gap: 12px;
    }
    
    .nav-section {
        gap: 12px;
    }
    
    .discover-btn {
        padding: 8px 14px;
        font-size: 0.65rem;
    }
}