/* General Body Styles */
body {
    font-family: 'Jaldi', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}

/* Introduction Section */
.intro-section {
    padding: 50px 100px;
    text-align: center;
}

.header-text {
    color: var(--text-color);
    font-size: 36px;
    font-weight: 400;
}

.body-text {
    color: var(--text-color);
    font-size: 24px;
    font-weight: 400;
    max-width: 800px;
    margin: 20px auto;
}

/* Main Content - Property Cards */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.property-card {
    background: #EBC9B9;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    width: 762px;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.property-card a {
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    height: 100%;
}

.property-title {
    font-size: 18px;
    font-weight: 400;
    padding: 0 30px;
    width: 120px;
    z-index: 2;
}

.property-text-hidden {
    position: absolute;
    left: 180px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.property-text-hidden h3 {
    margin-top: 0;
    font-size: 24px;
}

.property-image-container {
    position: absolute;
    top: 0;
    left: 180px;
    width: calc(100% - 180px);
    height: 100%;
    background: #EBC9B9;
    z-index: 1;
    transition: left 0.5s ease-in-out;
}

.property-card:hover .property-image-container {
    left: 100%;
}

.property-image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    box-shadow: -4px 0px 4px rgba(0, 0, 0, 0.25);
}

.property-image-double {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.property-image-double img {
    width: auto;
    height: 90%;
    object-fit: cover;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .intro-section {
        padding: 20px;
    }

    .property-card {
        width: 100%;
        height: auto;
        flex-direction: column;
    }

    .property-card a {
        flex-direction: column;
    }

    .property-image-container {
        position: relative;
        left: 0;
        width: 100%;
        height: 200px;
    }

    .property-card:hover .property-image-container {
        left: 0;
    }

    .property-title {
        padding: 20px;
        width: 100%;
        text-align: center;
    }

    .property-text-hidden {
        display: none;
    }
}