.swiper,
.swiper-container {
    min-height: 420px;
}

@media (min-width: 1024px) {
    .swiper,
    .swiper-container {
        min-height: 560px;
    }
}

.swiper-slide {
    height: 750px !important;
    position: relative;
    overflow: hidden;
}

.slide-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.2);
    transition: transform 4s ease-in-out;
    will-change: transform;
    z-index: 1;
    opacity: 1;
}

.swiper-slide-active .slide-image {
    transform: scale(1);
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.mele-hero__title {
    color: #ffffff;
}

.mele-hero__subtitle {
    color: #ffffff;
}

.swiper-pagination {
    bottom: 20px !important;
}

.scroll-down-btn {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -18px);
    background-color: white;
    color: #111;
    border-radius: 9999px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 30;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-down-btn:hover {
    transform: translate(-50%, -4px);
    opacity: 0.9;
}

.swiper .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.6;
}

.swiper .swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}

@media (max-width: 768px) {
    .swiper-slide {
        height: 480px !important;
    }

    .slide-text h2 {
        font-size: 28px !important;
        line-height: 1.2;
    }

    .slide-text p {
        font-size: 16px !important;
        line-height: 1.4;
    }

    .slide-text a {
        font-size: 14px !important;
        padding: 10px 20px;
    }

    .scroll-down-btn {
        width: 32px;
        height: 32px;
    }

    .scroll-down-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 1024px) {
    .slide-text {
        max-width: 960px;
        width: 90%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: white;
        text-shadow: 0 2px 8px rgba(0,0,0,0.4);
        padding: 0 20px;
    }

    .slide-text h2 {
        font-size: 60px;
        font-weight: 300;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .slide-text p {
        font-size: 24px;
        font-weight: 300;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .mele-hero__subtitle {
        color: #ffffff !important;
    }

    .slide-text a {
        display: inline-block;
        background-color: #e6743d;
        color: white;
        font-weight: 600;
        font-size: 15px;
        text-transform: uppercase;
        padding: 14px 32px;
        border-radius: 999px;
        letter-spacing: 0.03em;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .slide-text a:hover {
        transform: translateY(-2px);
        opacity: 0.9;
    }

    .slide-image {
        filter: brightness(0.92);
    }
}

.swiper-slide[data-href] {
    cursor: pointer;
}

@media (max-width: 768px) {
    .slide-text {
        width: 100%;
        padding: 0 20px;
    }

    .slide-text h2 {
        font-size: 20px !important;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 10px;
        color: #ffffff;
        text-shadow: 0 2px 5px rgba(0,0,0,0.4);
    }

    .slide-text p {
        font-size: 14px !important;
        line-height: 1.4;
        margin-bottom: 12px;
        color: #ffffff!important;
        text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    }

    .slide-text a {
        font-size: 13px !important;
        padding: 8px 18px;
        white-space: nowrap;
    }

    .swiper-slide {
        height: 420px !important;
    }
}
