﻿.banner {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

    /* Koyu overlay (okunabilirlik) */
.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 40px 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    animation: slideFade 1s ease forwards;
}
    .hero-content .subtitle {
        font-size: 14px;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin-bottom: 16px;
        color: #e5e5e5;
    }

    .hero-content .title {
        font-size: 48px;
        font-weight: 700;
        line-height: 1.2;
        margin: 0;
    }


@keyframes slideFade {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
@media (max-width: 768px) {
    .hero-content {
        padding: 24px;
        width: 90%;
    }

        .hero-content .title {
            font-size: 32px;
        }
}


.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    padding: 10px;
    z-index: 3; /* hero-content: 2, overlay: 1 */
    cursor: pointer;
}

    .banner-arrow.left {
        left: 20px;
    }

    .banner-arrow.right {   
        right: 20px;
    }
