/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 11, 2026
    Project:    Concept Site - Golden Hour Photo Co. (fictional business)
    Filename:   styles.css

    Layout plan: mobile-first, quiet and editorial, with a lot of white
    space. The gallery thumbnails link to figures that are hidden until
    they become the :target; then the figure turns into a fixed, full-
    screen lightbox with a Close link (a CSS-only lightbox). The session
    steps use list-style-type: upper-roman. A film strip border is drawn
    with repeating gradients. Media queries at 576px, 768px, 992px and
    1200px, in ascending order.

    Colors (WebAIM checked, AA):
      #141210 ink   #7A5C33 bronze (darker than #8A6A3D for small text)
      #D4B483 gold (decoration and on dark only)   #FAF8F4 paper
      #6E665C muted
*/

/* ----- Browser reset (universal) ----- */

/* border-box sizing and zero default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Paper page, ink text, Jost. */
body {
    background-color: #FAF8F4;
    color: #141210;
    font-family: Jost, sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Responsive images. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* High-contrast Bodoni headings. */
h1,
h2,
h3 {
    font-family: "Bodoni Moda", serif;
    font-weight: 500;
    line-height: 1.05;
}

/* Section titles. */
h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

/* Bronze links. */
a {
    color: #7A5C33;
}

/* Bronze focus ring. */
a:focus-visible,
button:focus-visible,
.menu-check:focus-visible + .menu-icon {
    outline: 2px solid #7A5C33;
    outline-offset: 4px;
}

/* Muted intro paragraph. */
.lead {
    color: #6E665C;
    margin: 10px 0px 28px 0px;
}

/* ----- Header (class) ----- */

/* Plain header with a hairline. */
.site-header {
    border-bottom: 1px solid #E6DFD3;
}

/* Logo and menu in a row. */
.header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

/* Serif logo. */
.logo {
    font-family: "Bodoni Moda", serif;
    font-size: 1.6rem;
}

/* Small spaced caps second line. */
.logo small {
    font-family: Jost, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #6E665C;
}

/* Hidden menu checkbox (opacity keeps it keyboard reachable). */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Text-only menu button. */
.menu-icon {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    border-bottom: 1px solid #141210;
    cursor: pointer;
}

/* Nav hidden on phones until opened. */
.site-nav {
    display: none;
    width: 100%;
}

/* Opened menu shows nav. */
.menu-check:checked ~ .site-nav {
    display: block;
}

/* No bullets. */
.site-nav ul {
    list-style: none;
    padding-top: 10px;
}

/* Small spaced caps links. */
.site-nav a {
    display: block;
    color: #141210;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    padding: 9px 0px;
}

/* Underline on hover. */
.site-nav a:hover {
    text-decoration: underline;
}

/* Concept notice. */
.concept-note {
    background-color: #F0EBE2;
    font-size: 0.8rem;
    text-align: center;
    padding: 4px 16px;
}

/* ----- Hero (class) ----- */

/* Phone hero stacks. */
.hero {
    padding: 50px 20px 64px 20px;
}

/* Giant headline. */
.hero h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    margin-bottom: 30px;
}

/* Italic bronze word. */
.hero h1 em {
    color: #7A5C33;
}

/* Photo with a thin gold frame offset behind it. */
.hero-photo {
    position: relative;
}

/* The offset gold frame. */
.hero-photo::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 100%;
    height: 100%;
    border: 1px solid #D4B483;
    z-index: -1;
}

/* Hero photo. */
.hero-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* Note under the photo. */
.hero-note {
    margin-top: 34px;
    max-width: 26rem;
    font-size: 1.1rem;
}

/* ----- Work and lightbox (class, :target) ----- */

/* Section spacing. */
.work {
    padding: 64px 20px;
}

/* Thumbnails stack on phones. */
.thumbs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Thumbnail link fills its item. */
.thumbs a {
    display: block;
    overflow: hidden;
}

/* Thumbnail image with a slow zoom on hover. */
.thumbs img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s;
}

/* Zoom in a little on hover or keyboard focus. */
.thumbs a:hover img,
.thumbs a:focus-visible img {
    transform: scale(1.05);
}

/* Lightboxes are hidden until targeted. */
.lightbox {
    display: none;
}

/* The targeted lightbox covers the screen on a dark backdrop. */
.lightbox:target {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 50;
    background-color: rgba(20, 18, 16, 0.95);
    padding: 20px;
}

/* The big photo fits the screen. */
.lightbox img {
    max-height: 80vh;
    width: auto;
    border: 6px solid #FFFFFF;
}

/* Caption and close link in light text. */
.lightbox figcaption {
    color: #FAF8F4;
    text-align: center;
}

/* The close link as a gold outlined button. */
.close {
    display: inline-block;
    margin-left: 12px;
    color: #D4B483;
    border: 1px solid #D4B483;
    padding: 2px 12px;
    text-decoration: none;
}

/* ----- Session (ID and class) ----- */

/* Ink band. */
#session {
    background-color: #141210;
    color: #FAF8F4;
    padding: 64px 20px;
}

/* Steps numbered in Roman numerals. */
.steps {
    list-style-type: upper-roman;
    margin: 30px 0px 30px 34px;
}

/* One step. */
.steps li {
    padding-bottom: 22px;
}

/* Gold Roman numerals. */
.steps li::marker {
    color: #D4B483;
    font-family: "Bodoni Moda", serif;
    font-size: 1.3rem;
}

/* Step title. */
.steps h3 {
    font-size: 1.6rem;
    font-style: italic;
}

/* A strip of film: dark band with sprocket holes top and bottom. */
.filmstrip {
    height: 70px;
    background-color: #2B2620;
    background-image:
        repeating-linear-gradient(90deg, #FAF8F4 0px, #FAF8F4 10px, transparent 10px, transparent 24px),
        repeating-linear-gradient(90deg, #FAF8F4 0px, #FAF8F4 10px, transparent 10px, transparent 24px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 4px, #5A4A36 4px, #5A4A36 96px, transparent 96px, transparent 100px);
    background-size: 100% 8px, 100% 8px, 100% 34px;
    background-position: 0px 6px, 0px 56px, 0px 18px;
    background-repeat: repeat-x;
}

/* ----- Collections (class) ----- */

/* Section spacing. */
.collections {
    padding: 64px 20px;
}

/* One collection row. */
.price-list div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 16px;
    padding: 18px 0px;
    border-top: 1px solid #E6DFD3;
}

/* Collection name. */
.price-list dt {
    flex: 1 1 100%;
    font-family: "Bodoni Moda", serif;
    font-size: 1.6rem;
}

/* Description grows. */
.price-list .desc {
    flex: 1 1 60%;
    color: #6E665C;
}

/* Price on the right. */
.price-list .cost {
    font-family: "Bodoni Moda", serif;
    font-size: 1.4rem;
    color: #7A5C33;
}

/* ----- Inquiry (class) ----- */

/* Paper-dark band. */
.inquire {
    background-color: #F0EBE2;
    padding: 64px 20px;
}

/* The form. */
.inquire-form {
    max-width: 640px;
    margin-top: 20px;
}

/* Labels in small caps. */
.inquire-form label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 18px;
}

/* Underline-only fields. */
.inquire-form input,
.inquire-form select,
.inquire-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #141210;
    background-color: transparent;
    padding: 8px 0px;
    font-family: Jost, sans-serif;
    font-size: 1.05rem;
}

/* Ink button. */
.inquire-form button {
    margin-top: 26px;
    background-color: #141210;
    color: #FAF8F4;
    border: none;
    padding: 14px 34px;
    font-family: Jost, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
}

/* Bronze on hover. */
.inquire-form button:hover {
    background-color: #7A5C33;
}

/* Phone line. */
.call {
    margin-top: 18px;
}

/* ----- Footer (class) ----- */

/* Footer. */
.site-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #6E665C;
    padding: 24px 20px;
}

/* ----- Small tablets (576px and up) ----- */

@media (min-width: 576px) {

    /* Taller hero photo. */
    .hero-photo img {
        height: 520px;
    }

    /* Price sits right of the description. */
    .price-list .desc {
        flex: 1 1 auto;
    }
}

/* ----- Tablets (768px and up) ----- */

@media (min-width: 768px) {

    /* More side padding. */
    .hero,
    .work,
    #session,
    .collections,
    .inquire {
        padding-left: 48px;
        padding-right: 48px;
    }

    /* Thumbnails: a tall one on the left, two stacked on the right,
       using flex-wrap with a column direction and a fixed height. */
    .thumbs {
        flex-wrap: wrap;
        height: 560px;
    }

    /* The other two share the right column. min-height 0 lets them
       shrink below the photo's natural height so both fit. */
    .thumbs li {
        width: 40%;
        flex: 1 1 40%;
        min-height: 0px;
    }

    /* Tall thumbnail keeps its 58% width and the full column height
       (this selector is stronger than ".thumbs li" above). */
    .thumbs .thumb-tall {
        width: 58%;
        flex: 0 0 100%;
    }

    /* Thumbnail links and images fill their boxes. */
    .thumbs a,
    .thumbs img {
        height: 100%;
    }

    /* Steps in two columns. */
    .steps {
        display: flex;
        flex-wrap: wrap;
        column-gap: 60px;
    }

    /* Each step half the width. */
    .steps li {
        flex: 1 1 40%;
    }
}

/* ----- Laptops (992px and up) ----- */

@media (min-width: 992px) {

    /* No Menu button on desktop. */
    .menu-icon {
        display: none;
    }

    /* Nav in the header row. */
    .site-nav {
        display: block;
        width: auto;
    }

    /* Links in a row. */
    .site-nav ul {
        display: flex;
        gap: 30px;
        padding-top: 0px;
    }

    /* Editorial hero: headline over the left, photo on the right,
       note under the headline, using floats contained by flow-root. */
    .hero {
        display: flow-root;
        padding-top: 80px;
        padding-bottom: 90px;
    }

    /* Photo floats right. */
    .hero-photo {
        float: right;
        width: 46%;
        margin-left: 50px;
    }

    /* Taller photo. */
    .hero-photo img {
        height: 620px;
    }

    /* Headline takes the left side. */
    .hero h1 {
        margin-top: 60px;
    }

    /* Collections in two columns. */
    .price-list {
        display: flex;
        flex-wrap: wrap;
        column-gap: 60px;
    }

    /* Each collection half the width. */
    .price-list div {
        flex: 1 1 40%;
    }

    /* Inquiry heading left, form right. */
    .inquire {
        display: flex;
        flex-wrap: wrap;
        column-gap: 80px;
    }

    /* Heading column. */
    .inquire h2 {
        flex: 0 0 300px;
    }

    /* Form column. */
    .inquire-form {
        flex: 1 1 500px;
        margin-top: 0px;
    }

    /* Phone line on its own row. */
    .call {
        flex: 1 1 100%;
    }
}

/* ----- Wide screens (1200px and up) ----- */

@media (min-width: 1200px) {

    /* Center content at 1140px. */
    .header-inner,
    .hero,
    .work,
    #session,
    .collections,
    .inquire {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }

    /* Steps in four columns. */
    .steps li {
        flex: 1 1 20%;
    }
}
