﻿/*------------------------------- LOCATION ------------------------------*/
.location {
    text-align: center;
    padding: 50px 20px;
}

.title-container {
    text-align: center;
}

.title {
    display: inline-block;
    font-size: var(--h1-font);
    color: var(--other-color);
    position: relative;
    padding: 2.5rem 0 3rem;
    letter-spacing: 1px;
}

    .title::after {
        content: "";
        display: block;
        width: 100%;
        height: 3px;
        background: var(--other-color);
        margin: 3px auto 0;
        border-radius: 1px;
    }

.location-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.location-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--second-color);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 1000px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.5s ease;
}

    .location-box:hover {
        transform: translateX(30px);
    }

.location-info {
    text-align: left;
    flex: 1;
    padding-right: 20px;
}

    .location-info h3 {
        margin-bottom: 20px;
        text-align: center;
        font-size: var(--h3-font);
    }

    .location-info p {
        margin-bottom: 20px;
        font-size: var(--p-font);
    }

.location-map {
    flex: 1;
}

    .location-map iframe {
        width: 100%;
        height: 300px;
        border-radius: 10px;
        border: none;
    }

.location-divider {
    width: 80%;
    max-width: 900px;
    height: 1px;
    background: var(--other-color);
    margin: 20px auto;
}

@media (max-width: 799px) {
    .title {
        font-size: var(--m-h1-font);
    }

    .location-box {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .location-info {
        padding-right: 0;
        margin-bottom: 15px;
        font-size: 14px;
    }

        .location-info h3 {
            font-size: var(--m-h3-font);
            margin-bottom: 20px;
            text-align: center;
        }

        .location-info p {
            font-size: var(--m-p-font);
            margin-bottom: 20px;
            line-height: 1.6;
            text-align: center;
        }

    .location-map {
        width: 100%;
    }

        .location-map iframe {
            height: 250px;
        }
}

/*------------------------------- CONTACT -------------------------------*/
.contact {
    text-align: center;
    padding: 50px 20px;
}

.contact-form {
    max-width: 600px;
    margin: 20px auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--second-color);
}

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 15px;
        margin-bottom: 17px;
        outline: none;
        border: 1px solid var(--other-color-2);
        box-sizing: border-box;
        resize: none;
    }

.contact-button {
    display: block;
    width: 100%;
    padding: 12px;
    border: 2px solid var(--main-color);
    background: none;
    color: var(--main-color);
    font-size: var(--p-font);
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    transition: 0.3s;
    position: relative;
    font-weight: 600;
}

    .contact-button:hover {
        background: var(--main-color);
        color: var(--second-color);
    }
