/* Telefon Butonu - Siyah Beyaz Tema */

/* Ana Container */
#phone-button-container {
    position: fixed;
    bottom: 30px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

#phone-button-container.right-position {
    right: 30px;
}

#phone-button-container.left-position {
    left: 30px;
}

/* Telefon Butonu Wrapper */
.phone-button-wrapper {
    position: relative;
}

/* Ana Telefon Butonu */
.phone-button {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #ffffff;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.phone-button:hover {
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: #ffffff;
}

.phone-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Telefon İkonu */
.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.phone-icon svg {
    color: #000000;
    transition: all 0.3s ease;
}

.phone-button:hover .phone-icon svg {
    transform: scale(1.1);
    color: #000000;
}

/* Telefon Metni */
.phone-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
    position: relative;
}

.phone-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    opacity: 0.9;
    color: #ffffff;
}

.phone-number {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

/* Pulse Efekti */
.phone-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Hover Efekti - Işık */
.phone-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 ease;
    z-index: 1;
}

.phone-button:hover::before {
    left: 100%;
}

/* Mobil Responsive */
@media (max-width: 768px) {
    #phone-button-container {
        bottom: 20px;
    }
    
    #phone-button-container.right-position {
        right: 20px;
    }
    
    #phone-button-container.left-position {
        left: 20px;
    }
    
    .phone-button {
        padding: 12px 16px;
        min-width: 180px;
        border-radius: 40px;
    }
    
    .phone-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .phone-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .phone-label {
        font-size: 11px;
    }
    
    .phone-number {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #phone-button-container {
        bottom: 15px;
    }
    
    #phone-button-container.right-position {
        right: 15px;
    }
    
    #phone-button-container.left-position {
        left: 15px;
    }
    
    .phone-button {
        padding: 10px 14px;
        min-width: 160px;
        border-radius: 35px;
    }
    
    .phone-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    
    .phone-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .phone-label {
        font-size: 10px;
    }
    
    .phone-number {
        font-size: 13px;
    }
}

/* Küçük ekranlar için daha kompakt */
@media (max-width: 360px) {
    .phone-button {
        min-width: 140px;
        padding: 8px 12px;
    }
    
    .phone-icon {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }
    
    .phone-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .phone-label {
        font-size: 9px;
    }
    
    .phone-number {
        font-size: 12px;
    }
}

/* Tablet için orta boyut */
@media (min-width: 769px) and (max-width: 1024px) {
    .phone-button {
        padding: 14px 18px;
        min-width: 190px;
    }
    
    .phone-icon {
        width: 38px;
        height: 38px;
        margin-right: 14px;
    }
    
    .phone-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Büyük ekranlar için daha büyük */
@media (min-width: 1025px) {
    .phone-button {
        padding: 18px 24px;
        min-width: 220px;
    }
    
    .phone-icon {
        width: 45px;
        height: 45px;
        margin-right: 18px;
    }
    
    .phone-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .phone-label {
        font-size: 13px;
    }
    
    .phone-number {
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    #phone-button-container {
        display: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .phone-button {
        border-width: 3px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }
    
    .phone-icon {
        border: 2px solid #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .phone-button {
        transition: none;
    }
    
    .phone-pulse {
        animation: none;
    }
    
    .phone-button::before {
        display: none;
    }
    
    .phone-button:hover {
        transform: none;
    }
    
    .phone-icon svg {
        transition: none;
    }
    
    .phone-button:hover .phone-icon svg {
        transform: none;
    }
}

/* Focus States for Accessibility */
.phone-button:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.phone-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Dark Mode Support (if website has dark mode) */
@media (prefers-color-scheme: dark) {
    .phone-button {
        background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
        color: #000000;
        border-color: #000000;
    }
    
    .phone-button:hover {
        background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
        color: #000000;
    }
    
    .phone-icon {
        background: #000000;
    }
    
    .phone-icon svg {
        color: #ffffff;
    }
    
    .phone-button:hover .phone-icon svg {
        color: #ffffff;
    }
    
    .phone-label,
    .phone-number {
        color: #000000;
    }
}
