/* Mobil Telefon ve WhatsApp Butonları */
.mobile-contact-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 9999;
    padding: 0;
    margin: 0;
    width: auto;
    max-width: 90vw;
}

/* Sadece mobil cihazlarda göster */
@media (min-width: 769px) {
    .mobile-contact-buttons {
        display: none !important;
    }
}

.mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    color: white !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 160px;
    max-width: 180px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
    pointer-events: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.mobile-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
    color: white !important;
}

.mobile-btn:focus {
    outline: none;
    color: white !important;
    text-decoration: none !important;
}

.mobile-btn:active {
    transform: translateY(-1px);
}

.mobile-btn:visited {
    color: white !important;
    text-decoration: none !important;
}

/* Telefon butonu */
.mobile-btn-phone {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.mobile-btn-phone:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: white !important;
}

/* WhatsApp butonu */
.mobile-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.mobile-btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    color: white !important;
}

.mobile-btn i {
    margin-right: 10px;
    font-size: 20px;
    font-weight: bold;
}

/* iPhone ve küçük ekranlar için responsive */
@media (max-width: 480px) {
    .mobile-contact-buttons {
        bottom: max(20px, env(safe-area-inset-bottom, 20px));
        gap: 12px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    
    .mobile-btn {
        padding: 16px 20px;
        font-size: 15px;
        min-width: 140px;
        max-width: 160px;
    }
    
    .mobile-btn i {
        margin-right: 8px;
        font-size: 18px;
    }
}

/* iPhone X ve sonrası için safe area desteği */
@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    .mobile-contact-buttons {
        bottom: max(25px, calc(env(safe-area-inset-bottom) + 15px));
        gap: 10px;
    }
    
    .mobile-btn {
        min-width: 135px;
        max-width: 155px;
        padding: 14px 18px;
        font-size: 14px;
    }
}

/* Çok küçük ekranlar için - butonlar yan yana kalacak */
@media (max-width: 360px) {
    .mobile-contact-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        bottom: max(20px, calc(env(safe-area-inset-bottom) + 10px));
    }
    
    .mobile-btn {
        width: 140px;
        padding: 12px 16px;
        font-size: 13px;
        min-width: 130px;
        max-width: 140px;
    }
    
    .mobile-btn i {
        font-size: 16px;
        margin-right: 6px;
    }
}

/* Font Awesome ikonu yoksa alternatif */
.mobile-btn .fa-phone:before {
    content: "📞";
    font-family: inherit;
}

.mobile-btn .fa-whatsapp:before {
    content: "💬";
    font-family: inherit;
}
