@charset "utf-8";

/*
    Freelance My Work Stylesheet
    Author: Jose Sanchez
    Date: 3/10/2026

    Filename: mywork-styles.css
*/

/* Color Palette */
:root {
    --primary-color: #E7E2DD;
    --secondary-color: #D1C7BD;
    --accent-color: #AF8C5C;
    --footer-color: #474440;
}

/* Font Styles */
.figtree-regular {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

/*Slide in Animations*/
/* From top to bottom */
.logo {
    opacity: 0;
    transform: translateY(-50px);
    animation: slideIn 1.3s ease forwards;
}

/* From right to left */
.nav, .intro .info {
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 1.3s ease forwards;
}

/* From left to right */
.back-btn, .intro .title {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 1.3s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade-in Animation on Scroll*/
.card, .feature-option {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.3s ease, transform 1.3s ease;
}

.feature-option.show, .card.show {
    opacity: 1;
    transform: translateY(0);
}


/* HTML & Body Styles */
html {
    background-color: var(--primary-color);
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Figtree", sans-serif;
    overflow-x: hidden;
}

main {
    background-color: var(--secondary-color);
    text-align: center;
    padding-top: 20px;
    padding-bottom: 4rem;
}

/* Top Header Styles */
.top-header {
    display: flex;
    justify-content: flex-start;
}

.back-btn {
    border: none;
    padding: 10px;
}

.back-btn img {
    width: 100%;
    height: 50px;
}


/* Logo Styles */
.logo {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.logo img {
    display: block;
    width: 80%;
}


/* Navigation Styles */
.nav {
    width: 100%;
}

.nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    justify-content: center;
}

.nav a {
    text-decoration: none;
    color: black;
    font-size: 1.3rem;
    padding: 8px 10px 0px 10px;
    margin-bottom: 0;
    border-radius: 10px 10px 0px 0px;
}

.nav1, .nav2 {
    background-color: #e1d4c7;
}

.nav3 {
    background-color: var(--secondary-color)
}

/* Title & Intro Styles */
h2 {
    text-decoration: underline var(--accent-color);
}

.intro  {
    width: 80%;
    margin: 0 auto;
}

.title {
    text-decoration: underline var(--accent-color);
}

.info {
    font-size: 1.3rem;
    line-height: 1.8rem;
}


/* Features Layout*/
.feature-option{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 1.2rem;
}

.feature-left{
    width: 75%;
}

.feature-right{
    width: 25%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.group1 {
    display: flex;
    flex-direction: row;
    justify-content: baseline;
}

.bilingual-support-feature .feature-right {
    display: flex;
    flex-direction: column;
}

input[type="radio"] {
    transform: scale(1.8);
    accent-color: var(--accent-color);
}

input[type="checkbox"] {
    transform: scale(1.8);
    margin: 10px;
}

input[type="number"] {
    width: 50%;
    height: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    margin: 5px 0;
    background-color: var(--primary-color);
}

/* Note Styles */

.side-note {
    list-style: "✓ ";
    font-size: 1.1rem;
    list-style-position: inside;
    padding: 0;
}

.subtle-note {
    width: 90%;
    margin: 0 auto;
    font-size: 1rem;
    text-align: center;
}

.payment {
    width: 90%;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.payment-list {
    list-style-position: inside;
    margin: 0;
    padding: 0;
}



/* Sticky Price Bar */
#price-bar {
    width: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 60px;
    background-color: var(--primary-color);
    border-top: 3px solid var(--accent-color);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

#price-bar span {
    font-size: 1.3rem;
    text-align: center;
}

#pb-total-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
}

/* Footer Styles */
footer {
    display: flex;
    flex-direction: column;
    background-color: var(--footer-color);
    margin-top: 0;
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

footer img {
    width: 100%;
    align-items: center;
    margin: 0 auto;
}

.foot-logo {
    display: block;
    width: 8rem;
    padding-top: 20px;
}

footer p {
    margin: 5px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.links {
    display: flex;
    flex-direction: column;
    line-height: 1.5rem;
}

.foot-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 60%;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
}

.links a {
    text-decoration: underline var(--accent-color);
    color: var(--accent-color);
    padding: 5px;
}

.links h3 {
    margin-bottom: 5px;
    text-decoration: none;
}


@media (max-width: 400px) {
    .nav a {
        font-size: 1.1rem;
    }

    .foot-nav {
        width: 70%;
    }
}

@media (max-width: 350px) {
    .nav a {
        font-size: 1rem;
    }
}


@media (min-width: 900px) {
    body {
        max-width: 1440px;
        margin: 0 auto;
    }

    /* Logo Styles */
    .logo {
        width: 45rem;
        max-width: 50rem;
        margin: 0 auto;
    }

    /* Navigation Styles */
    .nav ul {
        gap: 5rem;
    }
    
    .nav a {
        padding: 8px 30px 0px;
    }

    /* Features Style */
    .feature-option {
        width: 80%;
        margin: 0 auto;
    }

    .feature-right {
        width: 50%;
        margin-right: 100px;
    }

    .feature-left {
        width: 50%;
    }

    .price {
        margin: 0;
    }

    /* Footer Styles */
    footer {
        font-size: larger;
    }

    footer p {
        font-size: 1rem;
    }


}