/* =========================================
   QUOTE MODAL
   ========================================= */
.modal-overlay {
    display: none; /* Mặc định ẩn */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 64, 0.8); /* Nền tối mờ */
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-top: 5px solid var(--secondary-color);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close-modal:hover {
    color: var(--secondary-color);
}

.modal-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.modal-desc {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* =========================================
   LUXURY WELCOME POPUP
   ========================================= */
.welcome-popup-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.85);
    backdrop-filter: blur(8px);
}

.welcome-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    animation: popupScale 0.5s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes popupScale {
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.popup-inner {
    display: flex;
    min-height: 400px;
}

.popup-image {
    flex: 1;
    background: #f0f2f5;
    position: relative;
}

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

.popup-text {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.popup-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.popup-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.popup-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.close-welcome-popup {
    position: absolute;
    right: 20px;
    top: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #ccc;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-welcome-popup:hover {
    color: var(--secondary-color);
}

.popup-note {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 15px !important;
}

@media (max-width: 768px) {
    .popup-inner {
        flex-direction: column;
    }
    .popup-image {
        height: 200px;
    }
    .popup-text {
        padding: 30px 20px;
        text-align: center;
    }
    .popup-text h3 {
        font-size: 1.4rem;
    }
}
