﻿/*----------------------------------------------- Back ribbon ----------------------------------------------- */
.black-ribbon {
    position: fixed;
    z-index: 9999;
    width: 70px;
}

@media only all and (min-width: 768px) {
    .black-ribbon {
        width: auto;
    }
}

.stick-left {
    left: 0;
}

.stick-right {
    right: 0;
}

.stick-top {
    top: 0;
}

.stick-bottom {
    bottom: 0;
}
/*----------------------------------------------- Back ribbon ----------------------------------------------- */

/*--------------------------------------------------------------- CSS POPUP WELCOME --------------------------------------------------*/
/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Popup Container */
.popup-container {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 0;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

    .close-btn:hover {
        background: white;
        transform: rotate(90deg);
    }

/* Popup Image */
.popup-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Popup Content */
.popup-content {
    padding: 30px;
    text-align: center;
}

    .popup-content h2 {
        color: #333;
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .popup-content p {
        color: #666;
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

.popup-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .popup-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    }

/* Responsive */
@media (max-width: 600px) {
    .popup-content h2 {
        font-size: 1.5rem;
    }

    .popup-content p {
        font-size: 1rem;
    }

    .popup-image {
        height: auto;
    }
}

/*--------------------------------------------------------------- END CSS POPUP WELCOME --------------------------------------------------*/


