/* Floating Action Panel - Kayan Aksiyon Paneli */
.floating-action-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

/* Ana buton stilleri */
.fab-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: #fff;
    color: #333;
    font-size: 24px;
}

.fab-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fab-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.3);
}

/* WhatsApp butonu */
.fab-whatsapp {
    background: #25D366;
    color: white;
}

.fab-whatsapp:hover {
    background: #128C7E;
}

/* Video butonu */
.fab-video {
    background: #dc3545;
    color: white;
}

.fab-video:hover {
    background: #c82333;
}

/* Instagram butonu */
.fab-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.fab-instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a0176a 100%);
}

/* WhatsApp menü */
.whatsapp-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.whatsapp-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-menu-header {
    background: #25D366;
    color: white;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-menu-header::before {
    content: "💬";
    font-size: 20px;
}

.whatsapp-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.whatsapp-menu-item {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.whatsapp-menu-item:last-child {
    border-bottom: none;
}

.whatsapp-menu-item:hover {
    background-color: #f8f9fa;
}

.whatsapp-menu-link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.whatsapp-menu-link:hover {
    color: #25D366;
    text-decoration: none;
}

.whatsapp-menu-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.whatsapp-menu-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
    border: 2px solid #25D366;
}

.whatsapp-menu-info {
    flex: 1;
}

.whatsapp-menu-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.whatsapp-menu-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.whatsapp-menu-action {
    font-size: 12px;
    color: #25D366;
    font-weight: 500;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.video-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.video-modal-body {
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    background: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .floating-action-panel {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .fab-button {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
    
    .whatsapp-menu {
        min-width: 260px;
        right: -10px;
    }
    
    .video-modal-content {
        width: 95vw;
        margin: 20px;
    }
    
    .video-container iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .floating-action-panel {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
    
    .fab-button {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
    
    .whatsapp-menu {
        min-width: 240px;
        right: -15px;
    }
    
    .whatsapp-menu-header {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .whatsapp-menu-link {
        padding: 12px 16px;
    }
    
    .whatsapp-menu-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
        margin-right: 10px;
    }
    
    .whatsapp-menu-avatar-img {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }
}

/* Erişilebilirlik için odak stilleri */
.fab-button:focus-visible {
    outline: 2px solid #25D366;
    outline-offset: 2px;
}

/* Animasyon için keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading durumu için */
.fab-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.fab-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 