/* WhatsApp Sipariş Butonu - Desktop ve Mobil */
.whatsapp-order-button {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-order-button:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.whatsapp-button-wrapper {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-order-button:hover .whatsapp-button-wrapper {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.whatsapp-button-icon i {
    font-size: 24px;
    color: #25D366;
    line-height: 1;
}

.whatsapp-button-text {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    margin: 0;
    line-height: 1.2;
}

.whatsapp-button-text-small {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 2px;
}

/* Mobil görünüm için ayarlamalar */
@media screen and (max-width: 768px) {
    .whatsapp-order-button {
        display: none; /* Hide on mobile - integrated in bottom nav */
    }
    
    .whatsapp-button-wrapper {
        padding: 10px 16px;
    }
    
    .whatsapp-button-icon {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .whatsapp-button-icon i {
        font-size: 20px;
    }
    
    .whatsapp-button-text {
        font-size: 14px;
    }
    
    .whatsapp-button-text-small {
        font-size: 10px;
    }
}

/* Çok küçük ekranlar için sadece ikon */
@media screen and (max-width: 480px) {
    .whatsapp-button-text,
    .whatsapp-button-text-small {
        display: none;
    }
    
    .whatsapp-button-icon {
        margin-right: 0;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button-icon i {
        font-size: 28px;
    }
    
    .whatsapp-button-wrapper {
        padding: 0;
        background: #25D366;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
}

/* Animasyon efekti */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-order-button.pulse-animation .whatsapp-button-wrapper {
    animation: pulse 2s infinite;
}
