@charset "utf-8";

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*                      Banner                           */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.banner {
    background-color: var(--primary-colour);
    background-image: url("../img/chairs-banner.jpg");
    height: 40dvh;
    text-align: center;
    align-content: center;
    
}

.banner-title {
    font-size: 5rem;
    color: #fff;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*                   Contact Section                     */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */

section {
    margin-top: 80px;
    margin-bottom: 50px;
    text-align: center;
    line-height: 30px;
    background-color: var(--background-grey);
    height: auto;

    .flex {
        display: flex;
        gap: 20px; 
        align-items: center;
    }
}

.box { 
    gap: 15px; 
    background-color: #fff;
    border: 1px solid rgb(243, 240, 240);
    padding: 15px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 4px; 
    min-width: 300px;
    max-width: 500px;
}

.icon {
    border: 1px solid rgb(104, 97, 97);
    border-radius: 50%;
    width: 50px;
    height: 50px; 
    display: flex; 
    justify-content: center; 
    background-color: #fff;
}

.icon i {
    font-size: 2.2rem; 
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*              Google Map and Form                      */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
form {
    width: 40%;
    gap: 10px; 
    height: auto; 
}

.form-title {
    margin-bottom: 10px;
}

.form-container {
    flex: 1;
    max-width: 100%; 
    margin-left: auto;
    margin-right: auto;  
}

.form-map-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 80px; 
    margin-bottom: 80px;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap; 
}

.google-map {
    margin: 0;
    flex: 1;
    width: 100%; 
    max-width: 600px;
    height: 450px;
}

form input[type=text],
form input[type=email] {
    margin-top: 3px;
    width: 100%;
    height: 46px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.25s ease-in-out;
    background-color: #fff;
    margin-bottom: 15px;
    background: #fff;
}

form input[type=text]:focus,
form input[type=email]:focus,
textarea:focus {
    border: 1px solid #62adff;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ffffff;
    resize: none;
}

form input[type=submit] {
    height: 56px;
    width: 120px;
    margin-top: 25px;
    font-weight: 500;
    font-size: 1.7rem;
    background-color: var(--primary-colour);
    color: #fff;
    text-transform: uppercase;
    border-radius: 5px;
}

/* - - - - - - - - - - - - - - - - */
/* - - - - Media Queries - - - - - */
/* - - - - - - - - - - - - - - - - */

/* 768px and down */
@media (max-width: 768px) {
    .banner-title {
        font-size: 8vw; 
    }

    .google-map {
        height: 300px; 
    }

    .form-map-container {
        flex-direction: column; 
        gap: 20px;
    }
    
    .box-section {
        align-items: center;
        flex-direction: column;
    }

    .box {
        width: 100%; 
        max-width: 400px; 
        margin-top: 10px;
    }

    form {
        width: 100%; 
    }

   
    .form-container {
        width: 100%; 
    }

    form input[type=submit] {
        width: 100%; 
    }
}
/* 480px and down */
@media (max-width: 480px) {
 
    .google-map {
        height: 250px; 
    }

    .form-map-container {
        gap: 10px; 
    }
}