/* =========================================
   LUXURY CONSULTATION POPUP CSS
========================================= */

.consultation-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.35s ease;
}

.consultation-popup.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   POPUP BOX
========================= */
.popup-content {
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(201, 169, 97, 0.18);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
    padding: 35px;
    position: relative;
    animation: popupSlide 0.4s ease;
}

/* =========================
   HEADER
========================= */
.popup-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.popup-header h3 {
    color: #c98709;
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.4px;
}

/* =========================
   CLOSE BUTTON
========================= */
.popup-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #c98709;
    color: #111;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.popup-close:hover {
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.35);
}

/* =========================
   FORM
========================= */
.popup-form .form-group {
    margin-bottom: 18px;
}

.popup-form label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    width: 100%;
    padding: 15px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #111;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    border-color: #c98709;
    box-shadow: 0 0 0 4px rgba(201,169,97,0.12);
    background: #181818;
}

.popup-form input::placeholder,
.popup-form textarea::placeholder {
    color: rgba(255,255,255,0.45);
}

.popup-form textarea {
    min-height: 120px;
    resize: vertical;
}

.popup-form select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a961' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.popup-form select option {
    background: #111;
    color: #fff;
}

/* =========================
   BUTTON
========================= */
.popup-submit-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #c98709, #c98709);
    color: #111;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.popup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 169, 97, 0.35);
}

/* =========================
   SUCCESS
========================= */
.popup-success {
    display: none;
    text-align: center;
    padding: 30px 20px;
}

.popup-success.show {
    display: block;
}

.popup-success i {
    font-size: 60px;
    color: #c98709;
    margin-bottom: 15px;
}

.popup-success h4 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.popup-success p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

/* =========================
   SCROLLBAR
========================= */
.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 97, 0.35);
    border-radius: 10px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .popup-content {
        padding: 25px;
        max-width: 100%;
    }

    .popup-header h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .consultation-popup {
        padding: 12px;
    }

    .popup-content {
        padding: 20px;
        border-radius: 18px;
    }

    .popup-header h3 {
        font-size: 22px;
    }

    .popup-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

/* =========================================
   WHATSAPP FLOATING BUTTON
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #1FAF56 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #20BA5D 0%, #1A9648 100%);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}