﻿/* --- Overlay me efekt blur dhe dritë të butë --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 30, 0.45);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease-in-out;
}

/* --- Karta me efekt xhami --- */
.popup-card-modern {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    padding: 32px 28px;
    width: 90%;
    max-width: 420px;
    color: #fff;
    text-align: center;
    animation: slideUp 0.45s ease-out;
}

/* --- Header me animacion glow --- */
.popup-header-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Logo me rreth që pulson */
.popup-logo-modern {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glowPulse 2.5s infinite ease-in-out;
}

    .popup-logo-modern img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        border-radius: 12px;
    }

/* --- Teksti i markës dhe vendit --- */
.popup-header-modern h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 2px;
}

.popup-header-modern p {
    font-size: 1rem;
    color: #e5e5e5;
}

/* --- Body --- */
.popup-body-modern {
    margin-top: 18px;
}

.popup-year-modern {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    box-shadow: inset 0 1px 6px rgba(255, 255, 255, 0.15);
}

.popup-divider {
    width: 70%;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    margin: 18px auto;
}

.popup-text {
    font-size: 1rem;
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* --- Butoni me gradient dinamik --- */
.popup-btn-modern {
    margin-top: 24px;
    width: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    padding: 13px;
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

    .popup-btn-modern:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
        background: linear-gradient(90deg, #3b82f6, #2563eb);
    }

/* --- Animacione --- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Efekti glow që pulson rreth logos */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 45px rgba(96, 165, 250, 0.7);
    }

    100% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
    }
}

/* --- Për mobil --- */
@media (max-width: 500px) {
    .popup-card-modern {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .popup-logo-modern {
        width: 80px;
        height: 80px;
    }

    .popup-header-modern h2 {
        font-size: 1.5rem;
    }
}




