/*Color space is the following:
Dark Teal- #2f5b51
Light Teal- #a8bfab
Beige- #d1b991
Warm Gray- #9a968a
Warm White- #fdfaf6
*/

* {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    height: 100vh;
    background: #fdf8f1;
    color: #2f5b51;
    font-family: "Poppins";
}

.navbar {
    display: flex;
    position: sticky;
    background: #483d31;
    top: 0px;
    left: 0px;
    right: 0px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 30;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 60px;
    font-size: 20px;
}

.nav-menu li {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-menu-link {
    text-decoration: none;
    color: #ffffff;
}

.nav-mob-close {
    display: none;
}

.nav-mob-open {
    display: none;
}

#home {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 35px;
    background-image: url('assets/waterfall.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 95vh;
    color: white;
}

.hero-img {
    width: 200px;
    margin-top: 20vh;
    margin-bottom: 0px;
}

.name {
    font-size: 70px;
}

#home p {
    text-align: center;
    width: 70%;
    font-size: 30px;
    font-weight: 400;
}

#home p span {
    font-size: 60px;
    font-weight: 500;
}

.section {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 35px;
    scroll-margin-top: 100px;
}

#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 80px 170px 120px;
}

.about-sections {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin: 0px;
}

.about-left {
    display: flex;
    align-items: center;
}

.about-title {
    position: relative;
}

.about-title h1,
.services-title h1,
.contact-title h1 {
    padding: 0px 30px;
    font-size: 80px;
    font-weight: 600;
}

.about-para p {
    font-size: 18px;
    margin: 25px;
}

.about-para p span {
    font-weight: bold;
}

#services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin: 80px 200px 120px;
}

.services-title {
    position: relative;
}



.services-sections {
    display: flex;
    gap: 80px;
}

.services-img {
    max-height: 500px;
}

.accordion-container {
    padding-top: 0px;
}

.accordion-list {
    list-style-type: none;
}

.accordion-button {
    background-color: #fdf8f1;
    color: #2f5b51;
    cursor: pointer;
    padding: 40px;
    width: 800px;
    border: none;
    border-bottom: solid 2px #2f5b51;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.accordion-button-title {
    vertical-align: middle;
    padding-top: 20px;
    font-size: 35px;
}

.active,
.accordion-button:hover {
    background-color: #7f8277;
    color: #fdfaf6;
}

.accordion-panel {
    /*keep this as the base-padding you want*/
    padding: 0px 18px;
    width: 800px;
    /*the width of the accordion buttons minus 2x the padding*/
    max-height: 0;
    overflow: hidden;
    /*Make transition changes to "all" so it affects height and padding*/
    transition: all 0.2s ease-out;
}

.accordion-panel p {
    margin: 20px 0px;
}

.accordion-button:after {
    content: '\002B';
    /* Unicode character for "plus" sign (+) */
    font-size: 30px;
    font-weight: bold;
    color: #2f5b51;
    float: right;
    margin-left: 5px;
}

.accordion-button:hover:after {
    color: #fdfaf6;
}

.active:after {
    content: "\2212";
    /* Unicode character for "minus" sign (-) */
    color: #fdfaf6;
}

#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin: 80px 170px;
}

.contact-title {
    position: relative;
}

.contact-section {
    display: flex;
    gap: 200px;
}

.contact-left {
    display: flex;
    flex-direction: column;
}

.contact-images {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: flex-start;
}

.contact-img {
    width: 450px;
    padding-top: 20px;
    padding-bottom: 0px;
}

.contact-img-mob {
    display: none;
}

.contact-details {
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    gap: 30px;
    font-size: 22px;
}

.contact-detail {
    max-width: 550px;
    font-size: 20px;
    line-height: 35px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-detail img {
    width: 30px;
    height: 30px;
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
}

.contact-section-label {
    font-size: 22px;
    font-weight: 500;
}

.inputtext {
    border: none;
    width: 700px;
    height: 78px;
    padding-left: 20px;
    border: solid 2px #d3cdc6;
    background: #ffffff;
    color: #a0a0a0;
    font-family: Outfit;
    font-size: 20px;
}

.choiceboxes label {
    display: flex;
    flex-direction: row;
}

.choicebox {
    color: #7f8277;
    padding: 10px;
}

.choicebox span {
    margin-left: 10px;
}

.contact-right textarea {
    width: 700px;
    border: none;
    padding: 25px;
    border: solid 2px #d3cdc6;
    background: #ffffff;
    color: #a0a0a0;
    font-family: Outfit;
    font-size: 20px;
}

.contact-submit {
    border: none;
    color: white;
    border-radius: 50px;
    background: #2f5b51;
    font-size: 22px;
    padding: 20px 60px;
    margin-bottom: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-submit:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.submit-and-message {
    display: flex;
}

#form-result {
    padding: 20px 60px;
    color: #7f8277;
    margin-top: 5px;
    font-weight: bold;
}

.img-credit {
    font-size: 12px;
    color: #7f8277;
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
}

.footer-top-left p {
    font-size: 20px;
    max-width: 400px;
}

.footer-top-right {
    display: flex;
    align-items: center;
    gap: 35px;
}



.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}

.footer-bottom-right {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

@media(max-width:1720px) {
    .hero-img {
        width: 200px;
        margin-top: 20vh;
        margin-bottom: 0px;
    }

    #home p {
        text-align: center;
        width: 70%;
        font-size: 20px;
        font-weight: 400;
    }

    #home p span {
        font-size: 40px;
        font-weight: 600;
    }
}

@media(max-width:1600px) {
    #about {
        gap: 40px;
        margin: 50px 10px;
    }

    .about-sections {
        flex-direction: column;
        gap: 40px;
        margin: 0 10vw;
    }

    .about-left {
        display: flex;
        align-items: center;
    }

    .headshot {
        max-height: 30vw;
        max-width: 80vw;
    }
}

@media(max-width:1400px) {
    #contact {
        gap: 50px;
        margin: 100px 70px;
    }

    .contact-section {
        flex-direction: column;
        gap: 70px;
    }

    .contact-detail {
        gap: 20px;
    }

    .contact-right {
        margin-left: 30px;
    }

    .contact-right label {
        font-size: 20px;
    }

    .contact-right input {
        width: 80vw;
        font-size: 20px;
    }

    .contact-right textarea {
        width: 80vw;
        font-size: 20px;
    }

    .choiceboxes input {
        width: 20px;
    }

    .contact-submit {
        font-size: 20px;
        padding: 15px 40px;
    }
}

@media(max-width:1300px) {
    .services-sections {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 80px;
    }
}

@media(max-width:820px) {
    .accordion-button {
        width: 80vw;
    }

    .accordion-panel {
        max-width: 80vw;
    }
}

/*tablet styles*/

@media(max-width:768px) {

    #home {
        scroll-margin-top: 100px;
        background-attachment: scroll;
        /* or remove it */
        background-size: cover;
        /* or 'cover' if you prefer full width */
        background-position: center;
    }

    #about,
    #services,
    #contact {
        scroll-margin-top: 40px;
    }

    .navbar {
        padding: 40px 50px;
        position: static;
    }

    .nav-mob-open {
        display: block;
        position: fixed;
        right: 30px;
        width: 30px;
    }

    .nav-mob-close {
        display: block;
        position: relative;
        top: 30px;
        left: 290px;
        width: 30px;
    }

    .nav-menu {
        position: fixed;
        flex-direction: column;
        align-items: start;
        top: 0;
        gap: 30px;
        background-color: #6b584c;
        width: 350px;
        height: 100%;
        z-index: 2;
        transition: right 0.5s;
        right: -350px;
    }

    .nav-menu li {
        font-size: 30px;
        padding-left: 100px;
        flex-direction: row;
        gap: 20px;
    }

    .hero-img {
        margin-top: 120px;
        width: 260px;
    }

    #home h1 {
        margin-top: 50px;
        width: 90%;
        font-size: 50px;
        text-align: center;
    }

    #home p span {
        width: 60%;
        font-size: 30px;
        line-height: 32px;
        margin: 10px 0px;
    }

    #home p {
        width: 80%;
        font-size: 18px;
        line-height: 32px;
        margin: 10px 0px;
    }

    .headshot {
        max-height: 100vh;
        max-width: 80vw;
    }


    .about-title h1,
    .services-title h1,
    .contact-title h1 {
        font-size: 50px;
        padding: 0;
    }

    .about-para p {
        font-size: 18px;
        line-height: 32px;
    }

    #services {
        gap: 70px;
        margin: 20px 30px;
    }

    .services-img {
        max-height: 500px;
        max-width: 80vw;
    }

    .accordion-button-title {
        font-size: 25px;
    }



    .contact-left {
        align-self: center;
        align-items: start;
    }

    .contact-img {
        display: none;
    }

    .contact-img-mob {
        display: flex;
        align-self: center;
        width: 90vw;
    }
}

/*phone styles*/

@media(max-width:580px) {

    .about-title h1,
    .services-title h1,
    .contact-title h1 {
        font-size: 35px;
    }

    #home {
        gap: 1vh;
    }

    .hero-img {
        margin-top: 5vh;
        width: 200px;
    }

    #home h1 {
        margin-top: 0px;
        width: 90%;
        font-size: 40px;
        text-align: center;
    }

    #home p span {
        width: 60%;
        font-size: 30px;
        line-height: 32px;
        margin: 10px 0px;
    }

    #home p {
        width: 90%;
        font-size: 18px;
        line-height: 32px;
        margin: 10px 0px;
    }

    .contact-right {
        margin-left: 10px;
    }

    .choicebox span {
        font-size: 15px;
    }
}

@media(max-width:445px) {
    .accordion-button-title {
        font-size: 20px;
    }
}

@media(max-width:375px) {

    #home {
        gap: 0;
    }

    .hero-img {
        margin-top: 5vh;
        width: 150px;
    }

    #home h1 {
        margin-top: 0px;
        width: 90%;
        font-size: 40px;
        text-align: center;
    }

    #home p span {
        width: 60%;
        font-size: 25px;
        line-height: 32px;
        margin: 10px 0px;
    }

    .about-title h1,
    .services-title h1,
    .contact-title h1 {
        font-size: 28px;
        padding: 0px;
    }

    .accordion-button-title {
        font-size: 27px;
    }

    .contact-detail p {
        font-size: 15px;
    }
}