
/* ------------------------------
   Helen Costello Ceramics
   Main stylesheet
------------------------------ */

:root {
    --background: #f8f6f1;
    --surface: #eeebe4;
    --text: #34332f;
    --muted: #77736b;
    --accent: #a4775c;
    --border: #ded9cf;
    --white: #ffffff;
}

* {
    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.7;
}

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

img {
    display: block;
    max-width: 100%;
}

/* Header */

.site-header {
    min-height: 110px;
    padding: 25px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.site-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.artist-name {
    font-family: Georgia, serif;
    font-size: 27px;
    letter-spacing: 1px;
}

.artist-subtitle {
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 4px;
    text-align: center;
}

.main-nav {
    display: flex;
    gap: 35px;
    font-size: 13px;
}

.main-nav a,
.footer-links a {
    transition: color 0.2s ease;
}

.main-nav a:hover,
.footer-links a:hover {
    color: var(--accent);
}

/* Homepage hero */

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5%;
    padding: 70px 7%;
}

.hero-content {
    max-width: 540px;
}

.eyebrow {
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: bold;
}

.hero h1 {
    margin: 25px 0;
    font-family: Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: normal;
    line-height: 1.15;
}

.hero-intro {
    max-width: 430px;
    margin-bottom: 35px;
    color: var(--muted);
}

.hero-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    background: var(--surface);
}

/* Buttons */

.button {
    display: inline-block;
    padding: 13px 27px;
    background: var(--text);
    color: var(--white);
    font-size: 12px;
    letter-spacing: 1px;
    transition: background 0.2s ease;
}

.button:hover {
    background: var(--accent);
}

/* Introduction */

.intro {
    padding: 100px 20px;
    text-align: center;
    background: var(--surface);
}

.intro h2,
.section-heading h2,
.about-preview h2 {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: normal;
}

.intro p:last-child {
    max-width: 570px;
    margin: auto;
    color: var(--muted);
}

/* Collections */

.featured {
    padding: 100px 7%;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-heading h2 {
    margin-top: 10px;
}

.section-heading > a,
.text-link {
    font-size: 12px;
    border-bottom: 1px solid var(--accent);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.collection-grid img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    background: var(--surface);
}

.collection-grid h3 {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: normal;
}

/* About preview */

.about-preview {
    padding: 100px 15%;
    text-align: center;
    background: var(--surface);
}

.about-preview p:not(.eyebrow) {
    max-width: 550px;
    margin: 20px auto 30px;
    color: var(--muted);
}

/* Footer */

.site-footer {
    padding: 60px 7% 25px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 45px;
}

.footer-name {
    font-family: Georgia, serif;
    font-size: 23px;
}

.footer-content p {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 25px;
    font-size: 12px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

/* Mobile layout */

@media (max-width: 750px) {
    .site-header {
        flex-direction: column;
        gap: 25px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 22px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 50px 7%;
    }

    .hero-image img {
        height: 400px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .collection-grid img {
        height: 350px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .intro,
    .featured,
    .about-preview {
        padding: 65px 7%;
    }
}

/* Internal pages */

.page-heading {
    padding: 100px 7% 60px;
    text-align: center;
    background: var(--surface);
}

.page-heading h1 {
    margin: 15px 0 0;
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: normal;
}

.page-content {
    max-width: 850px;
    min-height: 350px;
    margin: 0 auto;
    padding: 70px 7%;
    color: var(--muted);
}

.page-content h2 {
    color: var(--text);
    font-family: Georgia, serif;
    font-weight: normal;
}

.page-content a {
    color: var(--accent);
    text-decoration: underline;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #e9e4da;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #928a7e;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-image .image-placeholder {
    height: 520px;
}

.collection-grid .image-placeholder {
    height: 380px;
}