/* /Components/Sections/DepoimentosSection.razor.rz.scp.css */
/* ====================================
   PODIUM CAROUSEL - INFINITE SLIDER
   ==================================== */

/* Viewport - the visible window (overflow hidden) */
.podium-viewport[b-70xz9idnc4] {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 0;
    /* Height will be locked by JS after images load */
}

/* Track - the ONLY element that receives transform */
.podium-track[b-70xz9idnc4] {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    align-items: flex-start; /* Prevent vertical stretching */
    /* Transition is controlled by JS */
}

/* ====================================
   CARD STYLES
   ==================================== */
.podium-card[b-70xz9idnc4] {
    flex: 0 0 auto;
    width: 280px;
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(100, 116, 139, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    transform: scale(0.85);
    opacity: 0.5;
    filter: brightness(0.7);
}

/* Active/Center card - applied via JS */
.podium-card.is-active[b-70xz9idnc4] {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(250, 204, 21, 0.15);
}

/* ====================================
   PHOTO STYLES
   ==================================== */
.podium-photo-container[b-70xz9idnc4] {
    position: relative;
    padding: 1.25rem 1.25rem 0;
}

.podium-photo-frame[b-70xz9idnc4] {
    aspect-ratio: 3 / 4;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(100, 116, 139, 0.3);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.podium-card.is-active .podium-photo-frame[b-70xz9idnc4] {
    border-color: #fbbf24;
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.2);
}

.podium-photo[b-70xz9idnc4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.podium-card.is-active:hover .podium-photo[b-70xz9idnc4] {
    transform: scale(1.05);
}

/* ====================================
   CROWN BADGE
   ==================================== */
.podium-crown[b-70xz9idnc4] {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
    transition: transform 0.4s ease;
    color: #1e293b;
}

.podium-card.is-active .podium-crown[b-70xz9idnc4] {
    transform: translateX(-50%) scale(1);
    animation: crown-glow-b-70xz9idnc4 2s ease-in-out infinite;
}

@keyframes crown-glow-b-70xz9idnc4 {
    0%, 100% { box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(250, 204, 21, 0.7); }
}

/* ====================================
   CONTENT STYLES
   ==================================== */
.podium-content[b-70xz9idnc4] {
    padding: 1.25rem;
    text-align: center;
}

.podium-name[b-70xz9idnc4] {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    transition: font-size 0.4s ease;
}

.podium-card.is-active .podium-name[b-70xz9idnc4] {
    font-size: 1.25rem;
}

.podium-title[b-70xz9idnc4] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #fbbf24;
    margin-bottom: 0.75rem;
    transition: opacity 0.4s ease;
}

.podium-card:not(.is-active) .podium-title[b-70xz9idnc4] {
    opacity: 0.7;
}

.podium-stars[b-70xz9idnc4] {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.podium-card:not(.is-active) .podium-stars[b-70xz9idnc4] {
    transform: scale(0.85);
    opacity: 0.7;
}

/* Quote - visible only on active card */
/* Uses fixed height reserve to prevent layout shift */
.podium-quote[b-70xz9idnc4] {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    /* Reserve space: always maintain height, use opacity for show/hide */
    min-height: 4.5rem; /* ~3 lines of text */
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.podium-card.is-active .podium-quote[b-70xz9idnc4] {
    opacity: 1;
    margin-top: 0.5rem;
}

/* ====================================
   NAVIGATION BUTTONS
   ==================================== */
.podium-nav-btn[b-70xz9idnc4] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(250, 204, 21, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.podium-nav-btn:hover[b-70xz9idnc4] {
    background: rgba(30, 41, 59, 0.95);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(250, 204, 21, 0.5);
}

.podium-nav-btn:active[b-70xz9idnc4] {
    transform: translateY(-50%) scale(0.95);
}

.podium-nav-prev[b-70xz9idnc4] {
    left: 0.5rem;
}

.podium-nav-next[b-70xz9idnc4] {
    right: 0.5rem;
}

/* ====================================
   INDICATORS
   ==================================== */
.podium-indicators[b-70xz9idnc4] {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.podium-indicator[b-70xz9idnc4] {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.podium-indicator:hover[b-70xz9idnc4] {
    background: rgba(100, 116, 139, 0.6);
}

.podium-indicator.is-active[b-70xz9idnc4] {
    width: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    box-shadow: 0 2px 10px rgba(250, 204, 21, 0.3);
}

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (min-width: 768px) {
    .podium-track[b-70xz9idnc4] {
        gap: 2rem;
    }
    
    .podium-card[b-70xz9idnc4] {
        width: 320px;
    }
    
    .podium-nav-prev[b-70xz9idnc4] {
        left: 1rem;
    }
    
    .podium-nav-next[b-70xz9idnc4] {
        right: 1rem;
    }
}

@media (min-width: 1024px) {
    .podium-track[b-70xz9idnc4] {
        gap: 2.5rem;
    }
    
    .podium-card[b-70xz9idnc4] {
        width: 340px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .podium-card[b-70xz9idnc4] {
        width: 240px;
    }
    
    .podium-track[b-70xz9idnc4] {
        gap: 1rem;
    }
    
    .podium-content[b-70xz9idnc4] {
        padding: 1rem;
    }
    
    .podium-quote[b-70xz9idnc4] {
        font-size: 0.8rem;
    }
    
    .podium-nav-btn[b-70xz9idnc4] {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* ====================================
   TOUCH/DRAG SUPPORT
   ==================================== */
.podium-viewport[b-70xz9idnc4] {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.podium-track.is-dragging[b-70xz9idnc4] {
    cursor: grabbing;
}

.podium-track:not(.is-dragging)[b-70xz9idnc4] {
    cursor: grab;
}

/* ====================================
   READ MORE BUTTON
   ==================================== */
.podium-read-more[b-70xz9idnc4] {
    display: none;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fbbf24;
    background: transparent;
    border: 1px solid rgba(250, 204, 21, 0.4);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.podium-card.is-active .podium-read-more[b-70xz9idnc4] {
    display: inline-block;
}

.podium-read-more:hover[b-70xz9idnc4] {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.7);
}

/* ====================================
   POPUP MODAL
   ==================================== */
.popup-overlay[b-70xz9idnc4] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: popup-fade-in-b-70xz9idnc4 0.3s ease;
}

@keyframes popup-fade-in-b-70xz9idnc4 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-modal[b-70xz9idnc4] {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(30, 41, 59, 0.95) 100%);
    border-radius: 1.5rem;
    border: 1px solid rgba(250, 204, 21, 0.3);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(250, 204, 21, 0.15);
    animation: popup-scale-in-b-70xz9idnc4 0.3s ease;
}

@keyframes popup-scale-in-b-70xz9idnc4 {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-close[b-70xz9idnc4] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 116, 139, 0.2);
    border: none;
    border-radius: 50%;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover[b-70xz9idnc4] {
    background: rgba(250, 204, 21, 0.2);
    color: #fbbf24;
}

.popup-header[b-70xz9idnc4] {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    align-items: center;
}

.popup-photo-frame[b-70xz9idnc4] {
    flex-shrink: 0;
    width: 100px;
    height: 130px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.2);
}

.popup-photo[b-70xz9idnc4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.popup-info[b-70xz9idnc4] {
    flex: 1;
    min-width: 0;
}

.popup-name[b-70xz9idnc4] {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem;
}

.popup-title[b-70xz9idnc4] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fbbf24;
    margin: 0 0 0.75rem;
}

.popup-instagram[b-70xz9idnc4] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #e879f9;
    background: linear-gradient(135deg, rgba(232, 121, 249, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(232, 121, 249, 0.3);
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popup-instagram:hover[b-70xz9idnc4] {
    background: linear-gradient(135deg, rgba(232, 121, 249, 0.2), rgba(168, 85, 247, 0.2));
    border-color: rgba(232, 121, 249, 0.5);
    transform: translateY(-2px);
}

.popup-content[b-70xz9idnc4] {
    padding: 0 1.5rem 1.5rem;
}

.popup-stars[b-70xz9idnc4] {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.popup-full-quote[b-70xz9idnc4] {
    font-size: 1rem;
    color: #cbd5e1;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    padding: 1rem;
    background: rgba(100, 116, 139, 0.1);
    border-radius: 0.75rem;
    border-left: 3px solid #fbbf24;
}

/* Mobile popup adjustments */
@media (max-width: 640px) {
    .popup-modal[b-70xz9idnc4] {
        max-height: 85vh;
    }
    
    .popup-header[b-70xz9idnc4] {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .popup-photo-frame[b-70xz9idnc4] {
        width: 90px;
        height: 120px;
    }
    
    .popup-name[b-70xz9idnc4] {
        font-size: 1.2rem;
    }
    
    .popup-full-quote[b-70xz9idnc4] {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}
