
/* WEB DESIGN PORTFOLIO - FALL 2026 */

/* GENERAL STYLES */

:root {
    --background: #f8f5f0;
    --text: #292620;
    --accent: #713948;
    --muted: #77716d;
    --border: #ded9d1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, .logo {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

h1, h2, h3, p {
    margin-top: 0;
}

/* HEADER */

.site-header {
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 5.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 32px;
    font-weight: bold;
}

.logo span,
.hero h1 span,
.section-heading h2 span {
    color: var(--accent);
}

.site-header nav {
    display: flex;
    gap: 36px;
}

.site-header nav a {
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.site-header nav a:hover {
    color: var(--accent);
}

/* MAIN CONTENT */

main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5.5%;
}

.section-number,
.eyebrow,
.project-type {
    color: var(--accent);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* HERO SECTION */

.hero {
    padding: 130px 0 150px;
    max-width: 950px;
}

.hero h1 {
    font-size: clamp(55px, 8vw, 115px);
    line-height: 1.08;
    letter-spacing: -3px;
    margin: 30px 0;
}

.hero h1 em,
.about h2 em {
    font-weight: 400;
}

.hero-description {
    max-width: 520px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 35px;
}

.explore-link {
    color: var(--accent);
    font-size: 14px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 8px;
}

/* ABOUT SECTION */

.about {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    padding: 100px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about h2 {
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.2;
    margin-bottom: 30px;
}

.about p {
    color: var(--muted);
    font-size: 17px;
    max-width: 580px;
    line-height: 1.9;
}

/* PROJECTS SECTION */

.projects {
    padding: 110px 0 140px;
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: clamp(50px, 6vw, 85px);
    margin: 15px 0;
    line-height: 1.1;
}

.section-heading p {
    color: var(--muted);
}

/* PROJECT GRID */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 55px 45px;
}

.project-card {
    display: block;
    min-width: 0;
}

.project-art {
    height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.project-card:hover .project-art {
    transform: translateY(-5px);
}

/* PROJECT 1 - AUDIO SPACE */

.art-audio {
    background: #dcdce8;
}

.art-audio span {
    font-family: Georgia, serif;
    font-size: 100px;
    color: #4a496b;
    font-weight: bold;
}

/* PROJECT 2 - YAR! */

.art-yar {
    background: #e6d1bb;
}

.art-yar span {
    font-family: Georgia, serif;
    font-size: 85px;
    font-weight: bold;
    color: #783f32;
}

/* PROJECT 3 - SWEET BAKERY */

.art-bakery {
    background: #f1d8d5;
}

.art-bakery span {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 85px;
    color: #a95965;
}

/* PROJECT 4 - CONCENTRIC */

.art-concentric {
    background: #d3d8ce;
}

.circle {
    position: absolute;
    border-radius: 50%;
}

.circle-one {
    width: 230px;
    height: 230px;
    background: #536f60;
}

.circle-two {
    width: 160px;
    height: 160px;
    background: #e9d9a8;
}

.circle-three {
    width: 90px;
    height: 90px;
    background: #a45e4c;
}

/* PROJECT 5 - INTRODUCTION TO SASS */

.project-art.art-sass {
    background-color: #dcd8fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-art.art-sass span {
    color: #6170e0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(55px, 7vw, 90px);
    font-weight: 800;
    letter-spacing: 2px;
}

/* PROJECT 6 - SWEET BAKERY SASS */

.project-art.art-bakery-sass {
    background-color: #e4d5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-art.art-bakery-sass span {
    color: #894da6;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: bold;
    font-style: italic;
}

.card-six:hover .art-bakery-sass {
    background-color: #d6b9ed;
}

/* PROJECT 7 - LAKE TAHOE PARALLAX */

.art-tahoe {
    background: linear-gradient(
        rgba(25, 45, 55, 0.2),
        rgba(25, 45, 55, 0.48)
    ),
    url("wk12-parallax/images/tahoe2.jpg")
    center / cover no-repeat;
    background-color: #80a8b4;
}

.art-tahoe span {
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 66px);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    text-align: center;
    padding: 16px;
}

/* PROJECT 8 - APEX MOTORS BOOTSTRAP */

.art-apex {
    background: linear-gradient(135deg, #252525, #101010);
}

.art-apex > span {
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
}

.art-apex .apex-accent {
    color: #e63946;
}

/* PROJECT 9 - CSS TRANSFORMS */

.art-transforms {
    background: #dce9dc;
}

.art-transforms span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 800;
    color: #2e6b45;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

.card-nine:hover .art-transforms span {
    transform: rotate(-4deg) scale(1.08);
}


/* PROJECT INFORMATION */

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px 0 20px;
    border-bottom: 1px solid var(--border);
}

.project-type {
    display: block;
    font-size: 11px;
    margin-bottom: 10px;
}

.project-info h3 {
    font-size: clamp(25px, 3vw, 36px);
    margin: 0;
    line-height: 1.25;
}

.arrow {
    font-size: 36px;
    color: var(--accent);
    transition: transform 0.3s;
}

.project-card:hover .arrow {
    transform: translate(5px, -5px);
}

/* FOOTER */

footer {
    border-top: 1px solid var(--border);
    padding: 35px 5.5%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 13px;
}

footer p {
    margin: 0;
}

/* TABLET RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .hero {
        padding: 100px 0;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-grid {
        gap: 35px 25px;
    }

    .project-art {
        height: 250px;
    }
}

/* MOBILE RESPONSIVE DESIGN */

@media (max-width: 600px) {

    .site-header {
        padding: 22px 6%;
    }

    .site-header nav {
        gap: 20px;
    }

    main {
        padding: 0 6%;
    }

    .hero {
        padding: 85px 0;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .about {
        padding: 70px 0;
    }

    .projects {
        padding: 75px 0;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-art {
        height: 260px;
    }

    footer {
        flex-direction: column;
        padding: 30px 6%;
    }
}
