@import url("imports.css");

/* BODY */
* {
    box-sizing: border-box;
} /* DO NOT TOUCH */

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    display: flex;
    overflow-x: hidden;
    align-items: center;
    background: #f2f2f2;
    flex-direction: column;
}

/* BUTTONS */

a {
    text-decoration: none;
}

.btn {
    color: #fff;
    padding: 0.5% 2.5%;
    border-radius: 5px;
    background: #66cc66;
    box-shadow: 0 5px 10px black;
}

.btn:hover {
    background: green;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 5px;
    background: #fff5;
}
::-webkit-scrollbar-thumb {
    background: #000;
}

/* FOOT STYLE */

.footer-contact-section {
    width: 100vw;
    padding: 50px 120px;
    background-color: #ffffff;
}

.footer-heading {
    text-align: center;
    color: #66cc66;
    margin-bottom: 40px;
}

.footer-info-boxes {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-info-box {
    flex: 1;
    padding: 15px;
    color: #000;
    text-align: center;
    border: 2px solid #66cc66;
    transition: all 0.3s ease;
}
.footer-info-box i {
    padding-right: 15px;
}

.footer-info-box:hover {
    background-color: #66cc66;
    color: #ffffff;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-form-row {
    display: flex;
    gap: 15px;
}

.footer-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #66cc66;
    border-radius: 0;
}

#footer-serviceselector {
    width: 100%;
    padding: 10px;
    border: 2px solid #66cc66;
    border-radius: 0;
}

.footer-textarea {
    height: 150px;
    resize: vertical;
}

.footer-submit {
    width: 100%;
    padding: 15px;
    background: #66cc66;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-submit:hover {
    background: #4da64d;
}

#formMessage { 
    width: 100%;
    text-align: center; 
}

#foot_bar {
    display: flex;
    color: #fff;
    padding: 25px 35px;
    background: #000;
    align-items: center;
    justify-content: space-between;
}

#socials {
    gap: 25px;
    display: flex;
}

#socials a {
    color: #fff;
}
#socials a i {
    font-size: 28px;
}
#socials a:hover {
    color: blue;
}

/* FOOTER MAP */

.footer-map-wrapper {
    gap: 2vh;
    display: flex;
    padding: 1vh 0;
    flex-direction: column;
}

.footer-map {
    width: 100%;
    height: 350px;
    border: 2px solid #66cc66;
}

.map-info {
    width: 100%;
    text-align: center;
}

.custom-marker {
    text-align: center;
    border-radius: 5px;
    background: #fff5;
    padding: 0.5rem 1rem;
    border: 1px solid #0005;
    box-shadow: 2px 2px 15px #0005;
}

/* NAV STYLE */

nav { position: relative; }

#navbar {
    top: 0;
    left: 0;
    width: 100vw;
    height: 10vh;
    display: flex;
    z-index: 1000;
    padding: 0 5vw;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 15px #0005;
    background: linear-gradient(0.25turn, #003366, #024d97, #003366);
}

#navbar #logo {
    margin: 0;
    padding: 0;
    height: 9vh;
}

.nav-links {
    gap: 2rem;
    display: flex;
}

.nav-links .activeLink {
    opacity: 1;
    color: #66b2ff;
    font-weight: 750;
    text-shadow: 2px 2px 5px #0005;
}
.nav-links a { color: #fff; }

/* DESKTOP */

@media only screen and (min-width: 769px) {
    /* NAV */

    .nav-links a {
        opacity: 0.5;
    }
    .nav-links a:hover {
        opacity: 1;
    }

    .nav-info {
        gap: 25px;
        color: #fff;
        display: flex;
        text-align: right;
        align-items: center;
    }

    .nav-phone * {
        margin: 5px 0;
    }

    /* FOOTER */

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 1200px) {
    .footer-info-boxes {
        flex-direction: column;
    }
}

/* MOBILE */

@media only screen and (max-width: 768px) {
    /* NAV */

    .icon {
        color: #fff;
        cursor: pointer;
        font-size: 1.5rem;
    }

    #navblock {
        top: 0;
        left: 0;
        width: 70vw;
        z-index: 9999;
        display: flex;
        position: fixed;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 2px 2px 5px #0005;
        transition: left 0.4s ease-in-out;
        background: linear-gradient(#fff, #c9c9c9, #fff);
    }

    #icon-box,
    .nav-phone {
        color: #fff;
        width: 100%;
        padding: 2vw;
        display: flex;
        align-items: center;
        background: #003366;
    }

    #icon-box {
        height: 10vh;
        padding-left: 5vw;
    }

    .nav-phone {
        gap: 5px;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        padding: 2vh;
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        width: 100%;
        height: 7vh;
        display: flex;
        color: #000;
        border-radius: 5px;
        align-items: center;
        background: #0005;
        justify-content: center;
        box-shadow: 2px 2px 5px #000;
    }

    .nav-links .activeLink {
        color: #66b2ff;
        background: #003366;
    }

    /* FOOTER */

    #foot_bar {
        gap: 25px;
        padding: 20px;
        text-align: center;
        flex-direction: column;
    }

    .footer-contact-section {
        padding: 30px 20px;
    }
    .footer-info-boxes {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-form-row {
        flex-direction: column;
    }
}