/**
 * Floating CTA Button - Sabit Teklif AL Butonu
 *
 * @package FotoShopcu
 * @subpackage Core
 */

/* Floating CTA Button - Desktop */
.floating-cta-button,
.quote-button.floating-cta-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    animation: fadeInUp 0.5s ease-out;
}

.floating-cta-button a,
.quote-button.floating-cta-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.floating-cta-button a:hover,
.quote-button.floating-cta-button a:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for floating button */
@media (max-width: 768px) {
    .floating-cta-button,
    .quote-button.floating-cta-button {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1001; /* Mobile bottom nav (1000) üstünde, mobile menu (1002) altında */
        animation: slideUp 0.3s ease-out;
        padding: 0;
        margin: 0;
    }
    
    .floating-cta-button a,
    .quote-button.floating-cta-button a {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
        justify-content: center;
    }
    
    .floating-cta-button a:hover,
    .quote-button.floating-cta-button a:hover {
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .floating-cta-button a svg,
    .quote-button.floating-cta-button a svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Slide up animation for mobile */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legacy support - Eski quote-button stilleri */
.quote-button:not(.floating-cta-button) {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    transition: all 0.3s ease;
}

.quote-button-link:not(.hero-primary-button) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background-color: var(--main-color, #fcd307);
    color: #000;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    font-family: inherit;
    overflow: hidden;
    position: relative;
}

/* WhatsApp ikonu - Legacy */
.quote-button-link:not(.hero-primary-button) i {
    margin-right: 8px;
    font-size: 20px;
}

/* Hover Animation - Legacy */
.quote-button-link:not(.hero-primary-button):before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.quote-button-link:not(.hero-primary-button):hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    color: #000;
}

.quote-button-link:not(.hero-primary-button):hover:before {
    left: 100%;
} 