html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

header {
    position: absolute;
    top: 0;
    z-index: 6;
    width: 100%;
    transition: background-color 0.3s ease;
    background-color: transparent;
}

header.menu-open {
    background-color: rgba(0, 0, 0, 0.6);
    height: 100vh;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: white;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #c0cddb;
}

.navbar-brand img {
    object-fit: contain;
    border-radius: 8px;
}

.hero-section {
    height: 100vh;
    background: url('./../img/background-test.png') center top / cover no-repeat;
    background-attachment: fixed;
    position: relative;

    @supports (-webkit-touch-callout: inherit) {
        background-attachment: scroll;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
    position: relative;
}

.hero-section h1,
.hero-section p {
    color: #fff;
}

.hero-section .btn-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
}

.about-header .decorative-line {
    height: 100px;
    width: 2px;
    background-color: #d89f3f;
    margin: 0 auto 10px auto;
}

.about-us-section,
.our-services-section,
.explore-section {
    background-color: #eeedea;
}

.about-us-section h2 {
    color: #3d2b1f;
}

.about-us-section h4 {
    color: #3d2b1f;
}

.about-us-section p,
.about-us-section li {
    color: #5f5f5f;
}

.our-houses-section,
.testimonial-section {
    background-color: #ffffff;
}

.our-houses-section h2 {
    color: #3d2b1f;
}

.owl-carousel .item img {
    max-height: 600px;
    object-fit: cover;
}

.owl-dots {
    margin-top: 2rem;
}

.card {
    background: none;
    box-shadow: none !important;
}

.card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.card-img-top {
    max-height: 200px;
    border-radius: var(--bs-border-radius);
    margin-bottom: 0.5rem;
}

.testimonial-section .testimonial-item {
    border-radius: 12px;
    padding: 1.5rem 1rem 1rem 1rem;
    transition: background-color 0.3s ease;
    cursor: default;
}

.testimonial-section .testimonial-item:hover {
    background-color: #fff8e1;
}

.testimonial-section .testimonial-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2.5px solid #ffc107;
    object-fit: cover;
}

.testimonial-section h5 {
    color: #212529;
}

.testimonial-section small {
    font-size: 0.85rem;
    color: #6c757d;
}

.testimonial-section p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.testimonial-section .date {
    font-style: normal;
    font-weight: 500;
    color: #adb5bd;
}

.footer {
    background-image: url('./../img/background-test.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;

    @supports (-webkit-touch-callout: inherit) {
        background-attachment: scroll;
    }
}

.footer-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer ul li a:hover {
    color: #ffd700 !important;
    text-decoration: underline;
}

.footer .text-center a:hover {
    color: #ffd700 !important;
    transition: color 0.3s ease;
}

.house-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 1rem;
}

.house-block:nth-child(even) {
    flex-direction: row-reverse;
    background-color: #ffffff;
}

.house-block:nth-child(odd) {
    background-color: #eeedea;
}

.carousel-container,
.house-info {
    width: 100%;
    padding: 1rem;
}

@media (min-width: 768px) {

    .carousel-container,
    .house-info {
        width: 50%;
    }
}

.carousel-container img {
    border-radius: var(--bs-border-radius) !important;
    max-height: 600px;
    object-fit: cover;
    width: 100%;
}

.carousel-container .owl-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.carousel-container .owl-dot span {
    background: rgba(255, 255, 255, 0.7);
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    margin: 5px;
}

.carousel-container .owl-dot.active span {
    background: #585858;
}

.experience-timeline-alt {
    background: #eeedea;
}

.timeline-alt {
    position: relative;
    margin: 0 auto;
}

.timeline-alt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: #343a40;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item-alt {
    position: relative;
    margin: 3rem 0;
    z-index: 1;
}

.timeline-item-alt .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 1;
}

.timeline-item-alt .content.reverse {
    flex-direction: row-reverse;
}

.timeline-item-alt img {
    width: 45%;
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item-alt .text {
    width: 50%;
    padding: 0 1rem;
}

.timeline-item-alt .content:not(.reverse) .text {
    padding-left: 3rem;
}

.timeline-item-alt .content.reverse .text {
    padding-right: 2rem;
}


.timeline-item-alt .text h5 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-item-alt .text p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 768px) {

    .timeline-alt {
        padding: 0;
    }

    .timeline-item-alt {
        position: relative;
        background-color: #eeedea;
        z-index: 1;
        padding-bottom: 0.5rem;
    }

    .timeline-item-alt .content,
    .timeline-item-alt .content.reverse {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        padding-right: 0;
        position: relative;
        z-index: 1;
    }

    .timeline-item-alt img,
    .timeline-item-alt .text {
        width: 90%;
        padding: 0 !important;
    }

    .timeline-item-alt .text {
        background: #eeedea;
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .timeline-item-alt {
        margin: 2rem 0;
    }
}


#map {
    height: 80vh;
    width: 100%;
}

.map-wrapper {
    border: 10px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    background: #eaeaea;
}

.custom-fa-icon {
    background: #000;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-house {
    background-color: #c4b016;
}

.icon-restaurant {
    background-color: #9e4b0b;
}

.icon-cafe {
    background-color: #d40808;
}

.icon-park {
    background-color: #257303;
}

.custom-fa-icon i {
    color: white;
    font-size: 1.2rem;
}

.custom-tooltip {
    background: #fff;
    border: 5px solid #fff;
    border-radius: var(--bs-border-radius) !important;
    padding: 0;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.custom-tooltip img {
    width: 100%;
    max-height: 180px;
    height: auto;
    display: block;
}

.custom-tooltip .caption {
    padding: 6px 8px;
    text-align: center;
}

.custom-tooltip .caption .title {
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.leaflet-tooltip {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}