.about-section {
    position: relative;
    padding: 6rem .1rem;
    background-image: url("/assets/images/casa\ -6.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.about-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    backdrop-filter: blur(40px);
    padding: 1rem;
    background-color: transparent;
    border: 1px solid var(--color-black);
    flex-direction: column;
    display: flex;
    margin: 0 auto;
}

.about-header {
    margin-bottom: 2rem;
    margin-right: 3rem;
}

.about-title {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 2;
}

.about-divider {
    width: 100%;
    height: 1px;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.15);
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.about-information {
    width: 100%;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding-bottom: 0.8rem;
}

.about-list span {
    font-size: 1.2rem;
    font-weight: 100;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
}

.about-list a,
.about-list p,
.about-list address {
    color: var(--color-white);
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: normal;
    text-decoration: none;
    margin: 0;
}

.map-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 70%;
    max-width: 400px;
    height: min-content;
    margin: 0 auto;
}

.about-map {
    width: 100%;
    height: auto;
    overflow: hidden;
    border: 1px solid var(--color-white);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.35);
}

.about-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: contrast(0.9) brightness(0.90);
}

.icon {
    width: 30px;
    padding: 4px;
    filter: invert(100%);
}

.title {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
}

.action-btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    margin-top: 0.5rem;
    border: 1px solid var(--color-white);
    background: transparent;
    color: var(--color-white);
    text-transform: capitalize;
    letter-spacing: 1px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 300;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.map-actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
    justify-content: space-between;
}

.map-actions .action-btn {
    flex: 1;
    padding: 0.8rem 0.5rem;
    font-size: 0.85rem;
    margin-top: 0;
}

.video-modal {
    display: flex;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 1s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
}

.modal-content video {
    width: 100%;
    border: 1px solid var(--color-white);
    outline: none;
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.5);
    background: var(--color-black);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--color-white);
}

@media screen and (min-width: 768px) {
    .icon {
        width: 30px;
        padding: 4px;
        filter: invert(100%);
    }

    .about-section {
        padding: 7rem 2rem;
    }

    .about-description {
        font-size: 1rem;
    }
}

@media screen and (min-width: 1200px) {
    .icon {
        width: 30px;
        padding: 4px;
        filter: invert(100%);
    }

    .about-section {
        flex-direction: row;
        width: 80%;
        border: 1px solid var(--color-white);
        margin: 10rem auto;
        box-shadow: 0px 0px 60px rgba(156, 156, 156, 0.575);
        padding: 4rem 2rem;
        padding-top: 1rem;
    }

    .about-content {
        flex-direction: row;
        align-items: stretch;
        padding: 2rem;
        width: 100%;
        gap: 3rem;
    }

    .about-information {
        width: 45%;
    }

    .map-container {
        width: 50%;
        max-width: none;
        margin: 0;
        /* CHANGE: Force container to fill available height and use flex layout */
        height: auto; 
        display: flex;
        flex-direction: column;
    }

    .about-map {
        flex: 1; 
        min-height: 350px;
        position: relative;
    }

    .about-map iframe {
        height: 100%;
        width: 100%;
    }
}