.neighborhood2 {
    padding: 100px 60px;
    background-color: white;
}

.neighborhood-header2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.neighborhood-header2 .left {
    max-width: 600px;
}

.neighborhood-header2 .line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: #c37b4a;
    margin-bottom: 10px;
}

.neighborhood-header2 .subtitle {
    color: #c37b4a;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    display: inline-block;
}

.neighborhood-header2 .title {
    font-size: 40px;
    color: #1f1a17;
    line-height: 1.3;
    font-weight: bold;
}

.neighborhood-header2 .right2 {
    max-width: 440px;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 70px;
    color: #555;
}
.neighborhood-gallery2 {
    position: relative;
    max-width: 1400px;
    top: 5%;
}

.neighborhood-gallery2 .carou2 {
    font-size: 0;
    cursor: pointer;
    overflow: hidden;
    white-space:nowrap ;
    scroll-behavior: smooth;
}

.carou2 .dragging{
    cursor: grab;
    scroll-behavior: smooth;
}
.carou2 .dragging img{
    pointer-events: none;
}
.para{
    color: black;
    justify-items: center;
    text-align: center;
    margin-top: 20px;
}

.neighborhood-gallery2 i{
    top: 50%;
    height: 46px;
    width: 46px;
    cursor: pointer;
    position: absolute;
    font-size: 1.2rem;
    text-align: center;
    line-height: 46px;
    background: #b17947;
    border-radius: 50%;
    transform: translateY(-50%);
}
.neighborhood-gallery2 i:first-child{
    left: -23px;
    display: none;
}
.neighborhood-gallery2 i:last-child{
    right: -23px;
}
.carou2 img{
    height: 580px;
    object-fit: cover;
    margin-left: 20px;
    width: calc(100%/2);
}
.carou2 img:first-child {
    margin-left: 0;

}

/* Lightbox base */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox.hidden {
    display: none;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}



@media screen and (max-width: 699px) {
    .neighborhood2{
        max-width: 100vw;
        padding-left: 15px;
        padding-right: 15px;
    }
    .neighborhood-header2 {
        flex-direction: column;
        text-align: center;
    }
    .neighborhood-header2  .left2 h2{
        text-align: center;
        margin-left: 20px;
    }

    .neighborhood-header2 .right2 {
        margin-top: 20px;
        text-align: center;
    }

    .title {
        font-size: 32px !important;
        line-height: 1.2;
    }

    .neighborhood-header2 .right {
        margin-top: 20px;
        text-align: center;
    }

    .carou2 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }

    .carou2 img {
        width: 100%;
        scroll-snap-align: center;
        height: 450px;
        object-fit: cover;
    }
}

@media screen and (max-width: 1424px) and (min-width: 700px) {
    .carou2 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }
    .carou2 img {
        flex: 0 0 50%;
        max-width: 70%;
        height: 510px;
        object-fit: cover;
        scroll-snap-align: center;
    }
}
