@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.luxury-villa-slider {
    width: 100vw;
    height: 800px;
    margin: auto;
    max-width: 1440px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 30px;
    box-sizing: border-box;
}

.luxury-villa-slider .slider {
    margin-top: 0px;
}

.luxury-villa-slider .image {
    width: 624px;
    height: 624px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.luxury-villa-slider .image.visible {
    opacity: 1;
}

.luxury-villa-slider .controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.luxury-villa-slider .slide-btn {
    padding: 8px 16px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 0%;
    transition: 0.2s all ease;
    background: none;
    color: #DEDEDE;

}

.luxury-villa-slider .slide-btn.active {
    color: black;
}

.luxury-villa-slider .slides-section {
    width: 402px;
    height: 500px;
    margin-top: 120px;
    position: relative;
}

.luxury-villa-slider .slide-content {
    position: absolute;
    transform: translateY(100px);
    transition: 0.5s all ease;
    opacity: 0;
}

.luxury-villa-slider .slide-content.active {
    transform: translateY(0);
    opacity: 1;
}

.luxury-villa-slider .slide-content h2 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-style: Bold;
    font-size: 44px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #054477;
}

.luxury-villa-slider .slide-content p {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}

.luxury-villa-slider .slide-content h2 span {
    color: black;
}

.luxury-villa-slider .slide-content a {
    width: 195px;
    height: 56px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #32A5A5;
    color: white;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: none;
    margin-top: 100px;
}

.luxury-villa-slider .arrow-container {
    position: absolute;
    z-index: 1000;
    top: 76px;
    left: 8px;
    transform: translate(-50%, 50%);
}

.luxury-villa-slider #zigzag-arrow {
    max-width: 100%;
    height: auto;
}

.luxury-villa-slider .path-stroke {
    stroke: #000000;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.luxury-villa-slider .arrowhead {
    fill: #000000;
    opacity: 1;
}

.luxury-villa-slider .navigation-buttons {
    display: flex;
    gap: 6px;
    margin-top: 30px;
}

.luxury-villa-slider .navigations {
    width: 24px;
    height: 24px;
    border: none;
    background: #054477;
    border-radius: 50%;
    display: none;
}

@media screen and (max-width: 1220px) {
    .luxury-villa-slider .image {
        width: 500px;
        height: 500px;
    }

    .luxury-villa-slider .arrow-container {
        left: -20px;
        top: 56px
    }
}

@media screen and (max-width: 1050px) {
    .luxury-villa-slider {
        flex-direction: column;
        align-items: center;
    }

    .luxury-villa-slider .controls {
        flex-direction: row;
        margin-bottom: 50px;
    }

    .luxury-villa-slider .slides-section {
        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .luxury-villa-slider .image {
        width: 390px;
        height: 390px;
    }

    .luxury-villa-slider .controls {
        margin-bottom: 50px;
    }

    .luxury-villa-slider .slide-btn {
        font-size: 36px;
    }

    .luxury-villa-slider .slides-section {
        width: 95%;
    }

    .luxury-villa-slider .arrow-container {
        transform: translate(-50%, 50%) scale(0.8);
        left: 68px;
        top: 41px;
    }

    .luxury-villa-slider .slides-section {
        margin-top: 10px;
        height: 310px;
    }

    .luxury-villa-slider .navigations {
        display: block;
    }
}

@media screen and (max-width: 500px) {
    .luxury-villa-slider .image {
        width: 300px;
        height: 300px;
    }

    .luxury-villa-slider .arrow-container {
        left: 53px;
        top: 31px;
    }

    .luxury-villa-slider .slide-content h2 {
        font-size: 28px;
    }

    .luxury-villa-slider .slide-content p {
        font-size: 13px;
    }

    .luxury-villa-slider .slide-content a {
        margin-top: 50px;
    }

}