/*
    Author: Hannah Howard
    Date: September 10, 2026
    File Name: styles.css
*/

/* CSS Reset */

body, header, nav, main, section, footer, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
}

/* General Styles */

body {
    background-color: #f5f1eb;
    color: #1f1b1a;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
}

/* Header */

header {
    border-bottom: 1px solid #b8a99a;
    padding: 1.5%;
}

.logo-text {
    color: #1f1b1a;
    font-size: 1.5em;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
}

/* Navigation */

nav ul {
    list-style-type: none;
    text-align: center;
}

nav li {
    display: inline-block;
    margin: 0 1em;
}

nav a {
    color: #1f1b1a;
    font-size: 1em;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

nav a:hover {
    color: #a88973;
}

/* Hero Section */

.hero {
    margin: 0 auto;
    max-width: 1200px;
    padding: 4% 5%;
    text-align: center;
}

.hero-image {
    margin: 0 auto;
    max-width: 550px;
}

.hero-image img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

.hero-content {
    margin: 2em auto 0;
    max-width: 700px;
}

.subtitle {
    color: #a88973;
    font-size: 0.85em;
    letter-spacing: 0.12em;
    margin-bottom: 1em;
}

h1 {
    font-size: 3em;
    font-weight: normal;
    margin-bottom: 0.5em;
}

.hero-content p {
    margin-bottom: 1em;
}

/* Button */

.button {
    border: 1px solid #1f1b1a;
    color: #1f1b1a;
    display: inline-block;
    letter-spacing: 0.08em;
    margin-top: 1em;
    padding: 0.8em 1.5em;
    text-decoration: none;
    text-transform: uppercase;
}

.button:hover {
    background-color: #1f1b1a;
    color: #f5f1eb;
}

/* Introduction Section */

.introduction {
    border-top: 1px solid #b8a99a;
    margin: 2em auto;
    max-width: 900px;
    padding: 4% 5%;
    text-align: center;
}

h2 {
    font-size: 2em;
    font-weight: normal;
    margin-bottom: 0.75em;
}

.introduction p {
    margin-bottom: 1em;
}

/* Featured Work */

.featured {
    background-color: #e8dfd5;
    padding: 4% 5%;
    text-align: center;
}

.featured-grid {
    margin: 2em auto 0;
    max-width: 1100px;
}

.featured article {
    background-color: #f5f1eb;
    border: 1px solid #b8a99a;
    margin-bottom: 1.5em;
    padding: 2em;
}

h3 {
    color: #1f1b1a;
    font-size: 1.4em;
    font-weight: normal;
    margin-bottom: 0.75em;
}

/* Footer */

footer {
    border-top: 1px solid #b8a99a;
    padding: 2em;
    text-align: center;
}

/* About Page */

.about-hero {
    margin: 0 auto;
    max-width: 800px;
    padding: 6% 5%;
    text-align: center;
}

.about-hero h1 {
    margin-bottom: 1em;
}

.about-section {
    border-top: 1px solid #b8a99a;
    margin: 0 auto;
    max-width: 1000px;
    padding: 4% 5%;
    text-align: center;
}

.about-section p {
    margin-bottom: 1em;
}

.about-grid {
    display: grid;
    gap: 1.5em;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2em;
}

.about-grid article {
    border: 1px solid #b8a99a;
    padding: 2em;
}

.about-highlight {
    background-color: #e8dfd5;
    margin-top: 2em;
    padding: 5% 10%;
    text-align: center;
}

.about-highlight p {
    margin: 0 auto;
    max-width: 750px;
}

/* About Page Responsive Layout */

@media screen and (max-width: 800px) {

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

}
/* Portfolio Page */

.portfolio-hero {
    margin: 0 auto;
    max-width: 800px;
    padding: 6% 5%;
    text-align: center;
}

.portfolio-section {
    border-top: 1px solid #b8a99a;
    margin: 0 auto;
    max-width: 1100px;
    padding: 4% 5%;
    text-align: center;
}

.portfolio-section > p:not(.category) {
    margin: 0 auto 2em;
    max-width: 750px;
}

.category {
    color: #a88973;
    font-size: 0.8em;
    letter-spacing: 0.12em;
    margin-bottom: 0.75em;
}

.portfolio-grid {
    display: grid;
    gap: 1.5em;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2em;
}

.portfolio-card {
    border: 1px solid #b8a99a;
    padding: 2em;
    text-align: left;
}

.portfolio-card h3 {
    margin-bottom: 0.75em;
}

.project-label {
    color: #a88973;
    font-size: 0.8em;
    letter-spacing: 0.08em;
    margin-top: 1.5em;
    text-transform: uppercase;
}

.portfolio-background {
    background-color: #e8dfd5;
    max-width: none;
}

/* Portfolio Responsive Layout */

@media screen and (max-width: 800px) {

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

}
/* Portfolio Page */

.portfolio-hero {
    text-align: center;
    padding: 4em 10%;
    background-color: #f5f1eb;
}

.portfolio-hero h1 {
    margin-bottom: 0.5em;
}

.portfolio-hero p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.portfolio-section {
    padding: 4em 8%;
}

.portfolio-section > p:not(.category) {
    max-width: 750px;
    line-height: 1.7;
}

.category {
    font-size: 0.85em;
    letter-spacing: 2px;
    margin-bottom: 0.5em;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-top: 2.5em;
}

.portfolio-card {
    background-color: #ffffff;
    padding: 1.5em;
    border: 1px solid #ddd6ce;
}

.portfolio-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 1.5em;
}

.portfolio-card a {
    display: block;
}

.portfolio-card a:hover img {
    opacity: 0.8;
}

.portfolio-card h3 {
    margin-bottom: 0.75em;
}

.portfolio-card p {
    line-height: 1.6;
}

.project-label {
    font-size: 0.85em;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 1em;
}

.portfolio-background {
    text-align: center;
    padding: 4em 10%;
    background-color: #ebe5dd;
}

.portfolio-background p {
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}


/* Portfolio Mobile Layout */

@media screen and (max-width: 800px) {

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-section {
        padding: 3em 6%;
    }

    .portfolio-hero {
        padding: 3em 6%;
    }

    .portfolio-card img {
        height: auto;
        max-height: 300px;
    }

}
/* Contact Page */

.contact-hero {
    text-align: center;
    padding: 4em 10%;
    background-color: #f5f1eb;
}

.contact-hero h1 {
    margin-bottom: 0.5em;
}

.contact-hero p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-section {
    padding: 4em 10%;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 1em;
}

.contact-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5em;
    background-color: #ffffff;
    border: 1px solid #ddd6ce;
}

.contact-box h3 {
    margin-bottom: 1em;
}

.contact-box p {
    line-height: 1.7;
    margin-bottom: 1em;
}

.contact-note {
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}
/* Individual Project Image */

.project-image {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
}