/* Telefon butonu stilleri */
.phone-button-group {
    gap: 0.5rem;
}

.phone-button-group .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.phone-button-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.phone-button-group .btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.phone-button-group .btn-whatsapp:hover {
    background: #1ea952;
    border-color: #1ea952;
    color: white;
}

.phone-button-group .btn-telephone {
    background: var(--primary-color, #202C45);
    border-color: var(--primary-color, #202C45);
    color: white;
}

.phone-button-group .btn-telephone:hover {
    background: #1a2438;
    border-color: #1a2438;
    color: white;
}

/* Floating telefon butonu */
.floating-phone {
    z-index: 1000;
}

.floating-phone .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.floating-phone .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.floating-phone .btn:last-child {
    margin-bottom: 0;
}

/* Responsive telefon butonları */
@media (max-width: 768px) {
    .phone-button-group {
        flex-direction: column;
        width: 100%;
    }
    
    .phone-button-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .floating-phone .btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-phone .btn i {
        font-size: 1.2rem !important;
    }
}

/* Tema renklerine uygun telefon butonları */
:root {
    --phone-primary: #202C45;
    --phone-secondary: #0d6efd;
    --phone-success: #198754;
    --phone-warning: #ffc107;
    --phone-danger: #dc3545;
    --phone-whatsapp: #25D366;
}

.theme-primary .phone-button-group .btn-telephone {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.theme-primary .phone-button-group .btn-telephone:hover {
    background: var(--primary-color-dark, #1a2438);
    border-color: var(--primary-color-dark, #1a2438);
}

.theme-secondary .phone-button-group .btn-telephone {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.theme-secondary .phone-button-group .btn-telephone:hover {
    background: var(--secondary-color-dark, #0b5ed7);
    border-color: var(--secondary-color-dark, #0b5ed7);
}

/* Animasyonlar */
@keyframes phonePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-phone .btn-success {
    animation: phonePulse 2s infinite;
}

/* Telefon numarası görüntüleme */
.phone-display {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--primary-color);
}

.phone-display:hover {
    color: var(--secondary-color);
    cursor: pointer;
}

/* WhatsApp özel stilleri */
.whatsapp-button {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whatsapp-button:hover::before {
    left: 100%;
}

/* Telefon butonu grupları için özel düzenlemeler */
.phone-section {
    background: linear-gradient(135deg, var(--light-color), #ffffff);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.phone-section h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.phone-section .phone-display {
    font-size: 1.2em;
    margin-bottom: 15px;
    display: block;
}

/* Emergency telefon butonu */
.emergency-phone {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: emergencyPulse 1.5s infinite;
}

@keyframes emergencyPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.emergency-phone:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: scale(1.05);
}
