﻿html, body {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #18212b;
    color: #fff;
    line-height: 1.5;
    font-family: -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

:root {
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff;
    --swiper-pagination-bullet-inactive-color: #fff;
}
.swiper-carousel-animate-opacity {
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.swiper-carousel {
    position: relative !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding-bottom: 50px;
}

    .swiper-carousel .swiper-slide {
        width: 100%;
        max-width: 520px;
        height: 380px;
        border-radius: 8px;
        background: #18212b;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .swiper-carousel img {
        width: 55%;
        height: auto;
        display: block;
        object-fit: cover;
        border-radius: 8px;
        margin: 0 auto;
    }

    .swiper-carousel .slide-content {
        position: absolute;
        left: 0;
        width: 100%;
        bottom: 0;
        padding: 20px;
        box-sizing: border-box;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
        color: #fff;
        border-radius: 0 0 8px 8px;
    }

        .swiper-carousel .slide-content h2 {
            margin: 0;
            font-weight: bold;
            font-size: 24px;
            line-height: 1.1;
            color: #f5f5f5;
        }

        .swiper-carousel .slide-content p {
            margin: 8px 0 0;
            opacity: 0.75;
            font-size: 14px;
            font-weight: 500;
        }

    .swiper-carousel .swiper-pagination {
        width: 100%;
        text-align: center;
        z-index: 15;
    }

    .swiper-carousel .swiper-pagination-bullets {
        display: inline-block;
    }

   .swiper-carousel .swiper-button-next,
    .swiper-carousel .swiper-button-prev {
    position: absolute;
    top: 50%;
    z-index: 10;
    color: #6e5d75;
}

.swiper-carousel .swiper-button-next {
    right: 20px;
}

.swiper-carousel .swiper-button-prev {
    left: 20px;
}

body .swiper-button-next,
body .swiper-button-prev {
    position: absolute;
    top: 70%;
    z-index: 10;
    background: #212931;
    border-radius: 20%;
    width: 40px;
    height: 40px; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    opacity: 0.8;
}

body .swiper-button-next {
    right: 10px;
}

body .swiper-button-prev {
    left: 10px;
}

    body .swiper-button-next:hover,
    body .swiper-button-prev:hover {
        opacity: 1;
    }

body .swiper-button-next::after {
    content: '→';
    font-size: 24px;
}

body .swiper-button-prev::after {
    content: '←';
    font-size: 24px;
}

body .swiper-pagination-bullet {
    background-color: #fff !important;
}

body .swiper-pagination-bullet-active {
    background-color: #6e5d75 !important;
}

@media (max-width: 640px) {
    body .swiper-button-next,
    body .swiper-button-prev {
        display: none !important;
    }

    .swiper-carousel .swiper-slide {
        height: 250px;
    }    
}
