/**
 * Quick Contact & Appointment Modal Styles
 * 
 * 🇹🇷 TR: Hızlı iletişim butonu ve randevu modal stilleri
 * 🇬🇧 EN: Quick contact button and appointment modal styles
 * 🎯 PURPOSE: Floating contact button with modal appointment form
 * 
 * @package GRPCMedia
 * @version 1.0.0
 */

/* ============================================
   QUICK CONTACT BUTTON
   ============================================ */

.grpc-quick-contact {
    position: fixed;
    bottom: 90px;
    right: -19px;
    z-index: 899997;
}

.grpc-quick-contact-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #2F2483 0%, #1e1850 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(47, 36, 131, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
}

.grpc-quick-contact-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(47, 36, 131, 0.5);
    background: linear-gradient(135deg, #1e1850 0%, #13102e 100%);
}

.grpc-quick-contact-toggle svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   CONTACT PANEL
   ============================================ */

.grpc-contact-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 24px;
    width: 320px;
    display: none;
}

.grpc-contact-panel:not([hidden]) {
    display: block;
    animation: slideUp 0.3s ease;
}

.grpc-contact-panel h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ============================================
   CONTACT OPTIONS
   ============================================ */

.grpc-contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grpc-contact-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.grpc-contact-option:hover {
    background: linear-gradient(135deg, #2F2483 0%, #1e1850 100%);
    color: white;
    transform: translateX(-4px);
}

.grpc-contact-option svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.grpc-contact-option div {
    flex: 1;
}

.grpc-contact-option strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.grpc-contact-option span {
    display: block;
    font-size: 13px;
    opacity: 0.8;
}

/* Specific hover colors */
.grpc-contact-whatsapp:hover {
    background: #25D366 !important;
}

.grpc-contact-phone:hover {
    background: linear-gradient(135deg, #2F2483 0%, #1e1850 100%) !important;
}

.grpc-contact-email:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.grpc-contact-appointment:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* ============================================
   APPOINTMENT MODAL
   ============================================ */

.grpc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

.grpc-modal:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grpc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.grpc-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.grpc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #2F2483 0%, #1e1850 100%);
}

.grpc-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.grpc-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
}

.grpc-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.grpc-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.grpc-modal-body .grpc-contact-form-card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .grpc-quick-contact {
        bottom: 90px;
        right: -10px;
    }

    .grpc-quick-contact-toggle {
        padding: 12px 16px;
        font-size: 14px;
    }

    .grpc-quick-contact-text {
        display: none;
    }

    .grpc-quick-contact-toggle {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }

    .grpc-contact-panel {
        width: 280px;
        right: 0;
    }
}

