﻿/* NAV MENÜ HOVER EFEKTİ */
.nav-link {
    transition: all 0.3s ease;
}

    .nav-link:hover {
        color: #dc3545 !important;
        transform: scale(1.05);
    }
#mainSlider .carousel-inner {
    position: relative;
    overflow: hidden;
}

#mainSlider .carousel-item {
    opacity: 0;
    transform: translateX(100%) translateY(30px) rotate(-15deg);
    transition: all 0.8s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

    #mainSlider .carousel-item.active {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(0deg);
        position: relative;
        z-index: 10;
    }

#mainSlider .carousel-item-next.carousel-item-start,
#mainSlider .carousel-item-prev.carousel-item-end {
    opacity: 1;
    transform: translateX(0) translateY(10px) rotate(5deg);
    position: relative;
    z-index: 5;
}

/* Animasyon sağa kayma */
.carousel-item-next,
.carousel-item-next.carousel-item-start {
    transform: translateX(100%) translateY(30px) rotate(-15deg);
}

/* Animasyon sola kayma */
.carousel-item-prev,
.carousel-item-prev.carousel-item-end {
    transform: translateX(-100%) translateY(30px) rotate(-15deg);
}

.bg-koyu-bordo {
    background-color: #8B0000 !important; /* Koyu bordo */
    color: white;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float {
    animation: floatUpDown 2.5s ease-in-out infinite;
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 6px 12px rgba(0,0,0,0.4);
        text-decoration: none;
        color: white;
    }


