/* Aksoy Banner - Frontend Styles */
/* Version: 2.0 */
/* Author: Serhat AKSOY */
/* Author URI: https://www.aksoysoftware.com/ */

#banners-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.banner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.close-banner {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.close-banner:hover {
    background: rgba(0, 0, 0, 0.9);
}

.close-banner:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.banner-link {
    width: 100%;
    display: block;
}

.banner1 {
    display: flex;
}

.banner2 {
    display: none;
}

@media (max-width: 768px) {
    .banner1 {
        display: none;
    }

    .banner2 {
        display: flex;
    }
    
    .close-banner {
        width: 28px;
        height: 28px;
        font-size: 20px;
        top: 6px;
        right: 6px;
    }
}
