/**
 * WhatsApp İletişim Sistemi - CSS Stilleri
 * Orhan Metal - Modern WhatsApp Tasarımı
 */

/* WhatsApp Buton Stilleri */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

/* Floating WhatsApp Butonu */
.whatsapp-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* WhatsApp Pulse Animasyonu */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* İletişim Formu WhatsApp Entegrasyonu */
.contact-form-whatsapp {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    border: 2px solid #25D366;
    position: relative;
    overflow: hidden;
}

.contact-form-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.whatsapp-form-header h3 {
    color: #128C7E;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
}

.whatsapp-form-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Form Input Stilleri */
.whatsapp-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    background: white;
}

.whatsapp-input:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.whatsapp-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* WhatsApp Gönder Butonu */
.whatsapp-submit {
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.whatsapp-submit:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

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

/* WhatsApp İkon */
.whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .whatsapp-floating {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .contact-form-whatsapp {
        padding: 20px;
        margin: 15px 0;
    }
    
    .whatsapp-form-header h3 {
        font-size: 20px;
    }
    
    .whatsapp-input {
        padding: 12px;
        font-size: 16px;
    }
    
    .whatsapp-submit {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .whatsapp-floating {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }
    
    .contact-form-whatsapp {
        padding: 15px;
        margin: 10px 0;
    }
}

/* WhatsApp Bilgi Kutusu */
.whatsapp-info {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border: 1px solid #25D366;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.whatsapp-info h4 {
    color: #128C7E;
    margin-bottom: 10px;
    font-size: 18px;
}

.whatsapp-info p {
    color: #666;
    margin: 5px 0;
    font-size: 14px;
}

/* WhatsApp Avantajları */
.whatsapp-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.whatsapp-advantage {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.whatsapp-advantage:hover {
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.1);
}

.whatsapp-advantage-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #25D366;
}

.whatsapp-advantage h5 {
    color: #128C7E;
    margin-bottom: 5px;
    font-size: 16px;
}

.whatsapp-advantage p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Loading Animasyonu */
.whatsapp-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: whatsapp-spin 1s ease-in-out infinite;
}

@keyframes whatsapp-spin {
    to {
        transform: rotate(360deg);
    }
}