/* Floating Contact Bubble Styles */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Open Sans', sans-serif;
}

/* Main bubble button */
.contact-bubble {
    width: 60px;
    height: 60px;
    background: #D4C86E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: none;
    color: #333;
    font-size: 24px;
}

.contact-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    background: #c4b85e;
}

.contact-bubble:active {
    transform: scale(0.95);
}

/* Contact form popup */
.contact-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 25px;
    z-index: 1001;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    border: 2px solid #D4C86E;
}

.contact-popup.active {
    transform: scale(1);
    opacity: 1;
}

/* Close button */
.contact-popup .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.contact-popup .close-btn:hover {
    background: #f5f5f5;
    color: #333;
}

/* Form header */
.contact-popup h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Form fields */
.contact-popup .form-group {
    margin-bottom: 20px;
}

.contact-popup label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.contact-popup input,
.contact-popup select,
.contact-popup textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.contact-popup input:focus,
.contact-popup select:focus,
.contact-popup textarea:focus {
    outline: none;
    border-color: #D4C86E;
}

.contact-popup textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Submit button */
.contact-popup .submit-btn {
    width: 100%;
    padding: 12px;
    background: #D4C86E;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-popup .submit-btn:hover {
    background: #c4b85e;
    transform: translateY(-1px);
}

.contact-popup .submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Success/Error messages */
.contact-popup .message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.contact-popup .message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-popup .message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading state */
.contact-popup .loading {
    display: none;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.contact-popup .loading.active {
    display: block;
}

/* Responsive design */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-popup {
        bottom: 90px;
        right: 20px;
        left: 20px;
        width: auto;
        max-width: 350px;
    }
    
    .contact-bubble {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

/* Animation for bubble pulse */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.contact-bubble.pulse {
    animation: pulse 2s infinite;
}

/* Overlay for mobile */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-overlay.active {
    opacity: 1;
    visibility: visible;
}
