.lo-main-section {
    width: 100%;
    height: 420px;
}

.lo-main-container {
    width: 85%;
    height: 380px;
    background-color: #fff;
    margin-left: 15%;
    margin-top: 15vh;
    box-shadow: -8px 8px 5px -5px rgba(0, 0, 0, 0.5);
}

.lo-image-container {
    width: 40%;
    height: 100%;
    float: left;
    overflow: hidden;
}

.lo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lo-text-container {
    width: 60%;
    height: 100%;
    float: left;
}

.lo-title {
    width: 70%;
    margin-left: 10%;
    font-size: 36px;
    color: #a3660a;
    font-weight: 600;
    margin-top: 12%;
    font-family: "Quattrocento", serif;
}

.lo-text {
    width: 70%;
    margin-left: 10%;
    font-size: 25px;
    margin-top: -3%;
    font-family: "Fanwood Text", serif;
    font-weight: 500;
}

.lo-button-a {
    margin-left: 10%;
}

.lo-button {
    width: 180px;
    height: 40px;
    background-color: #ffffff00;
    border: 3px solid #a3660a;
    border-radius: 10px;
    color: #a3660a;
    font-size: 16px;
    font-family: "Fanwood Text", serif;
    cursor: pointer;
    transition: ease-in-out 0.3s;
}

.lo-button:hover {
    background-color: #a3660a;
    color: #fff;
}

@media screen and (min-width: 520px) and (max-width: 1025px) {
    .lo-main-section {
        width: 100%;
        height: 450px;
    }

    .lo-main-container {
        width: 90%;
        height: 450px;
        background-color: #fff;
        margin-left: 10%;
        margin-top: 10vh;
    }

    .lo-image-container {
        width: 45%;
        height: 100%;
        float: left;
        overflow: hidden;
    }

    .lo-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .lo-text-container {
        width: 55%;
        height: 100%;
        float: left;
    }

    .lo-title {
        width: 84%;
        margin-left: 7%;
        font-size: 32px;
        color: #a3660a;
        font-weight: 600;
        margin-top: 15%;
        text-align: center;
    }

    .lo-text {
        width: 84%;
        margin-left: 7%;
        font-size: 22px;
        margin-top: -1%;
    }
}

@media screen and (max-width: 519px) {
    .lo-main-section {
        width: 100%;
        height: 600px;
    }

    .lo-main-container {
        width: 92%;
        height: 580px;
        margin-left: 8%;
        background-color: #fff;
        margin-top: 10vh;
        border-radius: 10px 0px 0px 10px;
    }

    .lo-image-container {
        float: none;
        width: 100%;
        height: 45%;
        border-radius: 10px 0px 0px 0px;
    }

    .lo-image {
        width: 100%;
        height: 100%;
        border-radius: 10px 0px 0px 0px;
    }

    .lo-text-container {
        width: 100%;
        height: 55%;
        float: none;
    }

    .lo-title {
        width: 90%;
        margin-left: 5%;
        margin-top: 7%;
        font-size: 28px;
        text-align: center;
    }

    .lo-text {
        width: 80%;
        margin-left: 10%;
        font-size: 20px;
        margin-top: -3%;
    }
    .lo-button-a {
        margin-left: 25%;
    }
}

.lo-main-section2 {
    width: 100%;
    height: 420px;
}

.lo-main-container2 {
    width: 85%;
    height: 380px;
    background-color: #fff;
    margin-top: 15vh;
    box-shadow: 8px 8px 5px -5px rgba(0, 0, 0, 0.5);
}

.lo-image-container2 {
    width: 40%;
    height: 100%;
    float: left;
    overflow: hidden;
}

.lo-image2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lo-text-container2 {
    width: 60%;
    height: 100%;
    float: left;
}

.lo-title2 {
    width: 70%;
    margin-left: 25%;
    font-size: 36px;
    color: #a3660a;
    font-weight: 600;
    margin-top: 12%;
    font-family: "Quattrocento", serif;
}

.lo-text2 {
    width: 70%;
    margin-left: 25%;
    font-size: 25px;
    margin-top: -2%;
    font-family: "Fanwood Text", serif;
    font-weight: 500;
}

.lo-button-a2 {
    margin-left: 25%;
}

.lo-button2 {
    width: 180px;
    height: 40px;
    background-color: #ffffff00;
    border: 3px solid #a3660a;
    border-radius: 10px;
    color: #a3660a;
    font-size: 16px;
    font-family: "Fanwood Text", serif;
    cursor: pointer;
    transition: ease-in-out 0.3s;
}

.lo-button2:hover {
    background-color: #a3660a;
    color: #fff;
}

@media screen and (min-width: 520px) and (max-width: 1025px) {
    .lo-main-section2 {
        width: 100%;
        height: 450px;
    }

    .lo-main-container2 {
        width: 90%;
        height: 450px;
        background-color: #fff;
        margin-top: 10vh;
    }

    .lo-image-container2 {
        width: 45%;
        height: 100%;
        float: left;
        overflow: hidden;
    }

    .lo-image2 {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .lo-text-container2 {
        width: 55%;
        height: 100%;
        float: left;
    }

    .lo-title2 {
        width: 90%;
        margin-left: 4%;
        font-size: 32px;
        color: #a3660a;
        font-weight: 600;
        margin-top: 15%;
        text-align: center;
    }

    .lo-text2 {
        width: 84%;
        margin-left: 7%;
        font-size: 22px;
        margin-top: -1%;
    }
}

@media screen and (max-width: 519px) {
    .lo-main-section2 {
        width: 100%;
        height: 600px;
    }

    .lo-main-container2 {
        display: flex; /* Enables flexbox layout */
        flex-direction: column; /* Stacks child elements vertically */
        width: 92%;
        height: 580px;
        background-color: #fff;
        margin-top: 10vh;
        border-radius: 0px 10px 10px 0px;
        overflow: hidden; /* Ensures no spillover if content exceeds the div */
    }

    .lo-image-container2 {
        order: -1; /* Makes the image come first */
        width: 100%;
        height: 45%;
        border-radius: 0px 10px 0px 0px;
    }

    .lo-image2 {
        width: 100%;
        height: 100%;
        border-radius: 0px 10px 0px 0px;
    }

    .lo-text-container2 {
        order: 0; /* Default order, ensures text comes after image */
        width: 100%;
        height: 55%;
    }

    .lo-title2 {
        margin-top: 7%;
        margin-left: 0;
        font-size: 28px;
        text-align: center;
        width: 100%;
    }

    .lo-text2 {
        width: 80%;
        margin-left: 10%;
        font-size: 20px;
    }
}

/* Default styling for PC */
.location-section {
    width: 70%;
    height: 60vh;
    margin: 15vh auto; /* Centers the container horizontally */
    position: relative;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for the iframe to fill the container */
.location-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Media query for mobile phones */
@media (max-width: 768px) {
    .location-section {
        width: 90%;
        height: 70vh;
    }
}
