/* =============================================
   Afeero Popups Styles
   ============================================= */

/* --- Popup Overlay --- */
.afeero-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: afeeroFadeIn 0.25s ease-out;
}

.afeero-popup-overlay.active {
    display: flex;
}

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

@keyframes afeeroSlideUp {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- Popup Container --- */
.afeero-popup-container {
    background: #ffffff;
    border-radius: 16px;
    width: 95%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: afeeroSlideUp 0.35s ease-out;
}

.afeero-call-popup-container {
    max-width: 480px;
}

/* --- Popup Close Button --- */
.afeero-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.afeero-popup-close:hover {
    background: #e0e0e0;
    color: #000;
    transform: rotate(90deg);
}

/* --- Popup Content --- */
.afeero-popup-content {
    padding: 40px 35px 35px;
}

.afeero-popup-content h2 {
    font-family: 'Cabin', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.afeero-popup-subtitle {
    font-family: 'Sen', sans-serif;
    font-size: 15px;
    color: #888;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

/* --- Form Styles --- */
#afeero-booking-form {
    text-align: left;
}

.afeero-form-group {
    margin-bottom: 18px;
}

.afeero-form-group label {
    display: block;
    font-family: 'Sen', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.afeero-form-group .required {
    color: #e74c3c;
}

.afeero-form-group input,
.afeero-form-group select,
.afeero-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Sen', sans-serif;
    font-size: 15px;
    color: #333;
    background: #fafafa;
    transition: all 0.25s ease;
    box-sizing: border-box;
    outline: none;
}

.afeero-form-group input:focus,
.afeero-form-group select:focus,
.afeero-form-group textarea:focus {
    border-color: #f8c176;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(248, 193, 118, 0.15);
}

.afeero-form-group input::placeholder,
.afeero-form-group textarea::placeholder {
    color: #bbb;
}

.afeero-form-group textarea {
    resize: vertical;
    min-height: 70px;
}

/* --- Form Row (side by side) --- */
.afeero-form-row {
    display: flex;
    gap: 15px;
}

.afeero-form-row .afeero-form-group {
    flex: 1;
}

/* --- Submit Button --- */
.afeero-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: #f8c176;
    color: #000;
    border: none;
    border-radius: 8px;
    font-family: 'Sen', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.afeero-submit-btn:hover {
    background: #f5b256;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(248, 193, 118, 0.35);
}

.afeero-submit-btn:active {
    transform: translateY(0);
}

.afeero-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* --- Message Area --- */
.afeero-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: 'Sen', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.afeero-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.afeero-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =============================================
   Call Us Popup Styles
   ============================================= */

.afeero-call-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.afeero-call-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.afeero-call-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Phone option */
.afeero-call-phone {
    background: linear-gradient(135deg, #f8c176, #f5a623);
    color: #000;
}

.afeero-call-phone:hover {
    background: linear-gradient(135deg, #f5b256, #f09a1a);
    border-color: #e09100;
}

/* WhatsApp option */
.afeero-call-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
}

.afeero-call-whatsapp:hover {
    background: linear-gradient(135deg, #20bd56, #0e786b);
    border-color: #0e786b;
}

.afeero-call-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.afeero-call-label {
    font-family: 'Cabin', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.afeero-call-value {
    font-family: 'Sen', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-top: 4px;
    opacity: 0.9;
}

.afeero-call-hint {
    font-family: 'Sen', sans-serif;
    font-size: 13px;
    margin-top: 6px;
    opacity: 0.8;
}

/* Call info */
.afeero-call-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 5px;
}

.afeero-call-info p {
    font-family: 'Sen', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.afeero-call-info strong {
    color: #333;
}

/* --- Scrollbar Styling --- */
.afeero-popup-container::-webkit-scrollbar {
    width: 6px;
}

.afeero-popup-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.afeero-popup-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 8px;
}

.afeero-popup-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* =============================================
   Responsive Styles
   ============================================= */
@media (max-width: 600px) {
    .afeero-popup-content {
        padding: 30px 20px 25px;
    }

    .afeero-popup-content h2 {
        font-size: 22px;
    }

    .afeero-form-row {
        flex-direction: column;
        gap: 0;
    }

    .afeero-call-option {
        padding: 20px 15px;
    }

    .afeero-call-icon {
        font-size: 32px;
    }

    .afeero-call-label {
        font-size: 18px;
    }
}
