@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --primary-color: #ecaa78;
    --light-pink: #fcebeb;
    --secondary-color: #cd9264;
    --cream: #FFF0DD;
    --green: #f6fffe;
    --dark-green: #00a894;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PT Sans', sans-serif;
    margin: 0px;
}

/* MOBILE-FIRST STYLES (under 700px) */

/* Navigation */
.navigation {
    top: 0;
    position: sticky;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.nav-title {
    letter-spacing: 1px;
    font-size: 1.3rem;
    /* font-weight: bolder; */
    font-family: "Outfit", sans-serif;
    text-align: center;
}

.nav-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-non-bullet {
    display: inline;
    list-style: none;
}

.list-item-inline {
    display: inline-block;
    padding: 0.3rem 0.5rem;
    cursor: pointer;
}

.list-item-inline::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #ffffff;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.list-item-inline:hover::after {
    width: 100%;
}

.link {
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    color: white;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.link-primary {
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    margin: 1rem;
    color: white;
}

.link-secondary {
    color: var(--primary-color);
    border-radius: 0.5rem;
    border: 1px solid var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 2rem 1rem;
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 0rem 0.5rem;
}

.hero-div {
    text-align: center;
}

.hero-content p {
    text-align: center;
    padding: 1rem;
}

.hero .title-img {
    border-radius: 50%;
    max-width: 200px;
    display: block;
    margin: 2rem auto;
}

.hero-heading {
    text-align: center;
    margin: 0;
    padding: 0rem 3rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-family: 'Trebuchet MS', sans-serif;
}

/* Projects */
.row {
    /* margin: auto; */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-col {
    margin-bottom: 5%;
    background: var(--light-pink);
    border-radius: 10px;
    padding: 2rem 1rem;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-col h2 {
    text-align: center;
    margin: 1rem 0;
}

.project-col p {
    text-align: center;
    font-weight: bold;
}

/* Sections */
.section {
    padding: 2rem;
}

.section h1 {
    text-align: center;
}

.ow {
    background-color: var(--cream);
}

.section-img {
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 2rem auto 0 auto;
}

.container-center {
    justify-content: space-evenly;
}

/* Contact Form */
.form-col {
    margin-bottom: 5%;
    background: var(--green);
    border-radius: 10px;
    padding: 20px 12px;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form {
    margin: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-div {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 1.1rem;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: var(--dark-green);
    box-shadow: var(--dark-green);
}

button {
    margin-top: 10px;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: var(--dark-green);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: translateY(2px);
    box-shadow: var(--secondary-color);
}

button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    padding: 2rem 1rem;
    text-align: center;
    color: black;
}

.footer-header {
    font-weight: bold;
    font-size: large;
}

footer ul {
    padding-inline-start: 0%;
}

.footer .link {
    color: var(--green);
}

.social-links {
    list-style: none;
    padding: 0;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--green);
    color: white;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    border-radius: 50%;
    font-size: 27px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.367);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* Arrow icon */
.scroll-to-top::before {
    content: "↑";
    font-weight: bolder;
    color: var(--dark-green);
}

/* DESKTOP STYLES (700px and above) - YOUR ORIGINAL CODE */
@media(min-width: 700px) {

    :root {
        --primary-color: #ecaa78;
        --light-pink: #fcebeb;
        --secondary-color: #cd9264;
        --cream: #FFF0DD;
        --green: #f6fffe;
        --dark-green: #00a894;
    }

    body {
        font-family: 'PT Sans', sans-serif;
        margin: 0px;
    }

    hr {
        margin: 2.5rem 0rem;
    }

    /** constainer **/
    .container {
        padding: 0rem 1rem;
    }

    .container-center {
        text-align: left;
        font-size: 1.3rem;
        display: flex;
        justify-content: space-between;
    }



    /** Links **/
    .link {
        text-decoration: none;
        padding: 0.5rem 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .link-primary {
        background-color: var(--primary-color);
        border-radius: 0.5rem;
        color: white;
    }

    .link-secondary {
        color: var(--primary-color);
        border-radius: 0.5rem;
        border: 1px solid var(--primary-color);
    }

    /** lists **/

    .list-non-bullet {
        display: flex;
        list-style: none;
    }

    .list-item-inline {
        display: inline;
        padding: 0rem 0.5rem;
    }

    /** navigation **/

    .navigation {
        position: sticky;
        background-color: var(--primary-color);
        color: white;
        padding: 0.7rem 2rem;
        display: flex;
        flex-direction: row;
    }

    .navigation .nav-title {
        padding: 0.7rem 1rem;
        font-weight: bolder;
        font-size: 1.7rem;
        font-family: 'Trebuchet MS', sans-serif;

    }

    .navigation .nav-pills {
        list-style: none;
        text-align: right;
    }

    .navigation .link {
        color: white;
    }

    .navigation a {
        font-weight: bolder;
        font-size: 20px;
        font-family: 'Trebuchet MS', sans-serif;
    }

    /** header **/

    .hero {
        padding: 2rem;
        padding-top: 5rem;
        justify-content: space-evenly;
        flex-direction: row;
    }

    .hero .title-img {
        border-radius: 50%;
        max-width: 250px;
        display: block;
        margin: 4rem 2rem 4rem 0rem;
    }

    .hero .hero-heading {
        text-align: left;
        padding-top: 1rem;
        color: black;
        font-family: 'Trebuchet MS', sans-serif;
    }

    .hero .hero-heading .heading-inverted {
        color: var(--darker-gray);
    }


    .hero-content p {
        width: 30rem;
        font-size: 1.4rem;
        padding: 0.7rem 3rem;
        text-align: left;
    }

    .hero-content span {
        width: auto;
        font-size: 1.4rem;
        padding: 0.7rem 3rem;
        text-align: left;
    }


    .row {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }

    .project-col {
        margin-right: 4%;
        margin-bottom: 5%;
        background: var(--light-pink);
        border-radius: 10px;
        padding: 2rem 1rem;
        transition: 0.5s;
        display: flex;
        flex-direction: column;
        width: 20rem;
        justify-content: space-evenly;
    }

    .project-col h2 {
        text-align: left;
        margin: 1rem 3rem;
    }

    .project-col p {
        text-align: left;
        font-weight: bold;
    }

    /** seactions **/

    .section {
        padding: 2rem;
    }

    .section h1 {
        text-align: left;
    }

    .ow {
        display: flex;
        background-color: var(--cream);
    }

    .section-img {
        width: 24rem;
        display: block;
        margin: 0rem 0rem 0rem 5rem;
    }

    .form-col {
        flex-basis: 31%;
        margin-right: 4%;
        margin-bottom: 5%;
        box-sizing: border-box;
        background: var(--green);
        border-radius: 10px;
        padding: 20px 12px;
        transition: 0.5s;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .contact-form {
        margin: 0rem 17rem 2rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    input {
        width: 20rem;
        padding: 12px 16px;
        font-size: 1rem;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    /** footer **/

    .link .imp {
        font-size: large;
    }

    .footer {
        background-color: var(--primary-color);
        padding: 2rem 1rem;
        text-align: center;
        font-size: larger;
        color: black;
    }

    footer .footer-header {
        font-weight: bold;
        font-size: large;
    }

    footer ul {
        padding-inline-start: 0%;
        justify-content: center;
    }

    .footer .link {
        color: darkslategrey;
    }
}