/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 12, 2026
    Project:    Concept Site - Bold Letter Sign Co. (fictional business)
    Filename:   styles.css

    Theme: signs after dark. The header is a theater marquee: a red
    box ringed with yellow light bulbs (radial-gradient dots in the
    border area). The hero is a brick wall at night (two offset
    linear-gradient brick courses) with a pink neon headline that
    glows (stacked text-shadow). Each of the four sign types is drawn
    as that kind of sign: deep channel letters (stepped text-shadow
    for depth), LED neon, vinyl lettering on glass, and a banner with
    grommets. The signature is a readability chart: the same letter
    "A" grows beside bars for 30, 60, 120 and 240 feet. The footer is
    the back of a sign with its silver electrical label.

    Mobile-first; media queries at 576px, 768px, 992px and 1200px.

    Colors (WebAIM contrast checked, AA):
      #1A0A10 text on #FFF8F9 page (18.5:1)
      #CA1A41 red text (5.4:1 on the page)
      #FFFFFF on #E11D48 buttons (4.7:1)
      #1A0A10 on #FACC15 yellow (13.0:1)
      #FFFFFF on #1A0A10 night (19.3:1)
*/

/* ----- Browser reset (universal) ----- */

/* Border-box sizing and no default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Pale page. */
body {
    background-color: #FFF8F9;
    color: #1A0A10;
    font-family: "Work Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Photos never spill out. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Tall condensed sign lettering. */
h1,
h2,
h3 {
    font-family: "Anton", Impact, sans-serif;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.02em;
}

/* Section titles. */
h2 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    color: #CA1A41;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* Links in red. */
a {
    color: #CA1A41;
}

/* Yellow outline for keyboard users. */
a:focus-visible,
button:focus-visible,
.menu-check:focus-visible + .marquee-row .menu-icon {
    outline: 3px solid #1A0A10;
    outline-offset: 3px;
}

/* ----- Marquee header (class) ----- */

/* Red marquee box ringed with bulbs. */
.marquee {
    position: relative;
    background-color: #E11D48;
    color: #FFFFFF;
    border: 14px solid #1A0A10;
    background-image: radial-gradient(circle, #FACC15 0px, #FACC15 4px, transparent 5px);
    background-size: 22px 22px;
    background-origin: border-box;
    padding: 14px 16px;
}

/* Inner panel over the bulbs so the words stay readable. */
.marquee-row,
.bulbs-nav {
    position: relative;
    background-color: #E11D48;
}

/* Hidden checkbox that keeps focus. */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Logo and menu in a row. */
.marquee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
}

/* Logo in tall letters. */
.logo {
    font-family: "Anton", Impact, sans-serif;
    font-size: 1.7rem;
    line-height: 1;
    text-transform: uppercase;
}

/* "Sign Co." in yellow. */
.logo span {
    color: #FACC15;
}

/* Menu button. */
.menu-icon {
    background-color: #FACC15;
    color: #1A0A10;
    font-weight: 700;
    padding: 3px 12px;
    cursor: pointer;
}

/* Nav hidden on phones until opened. */
.bulbs-nav {
    display: none;
}

/* Open menu shows the nav. */
.menu-check:checked ~ .bulbs-nav {
    display: block;
}

/* Nav list. */
.bulbs-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 10px 10px 10px;
}

/* Nav links white, uppercase. */
.bulbs-nav a {
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.06em;
}

/* Hover: yellow letters. */
.bulbs-nav a:hover {
    color: #FACC15;
}

/* ----- Concept note (class) ----- */

/* Small note. */
.concept {
    font-size: 0.8rem;
    padding: 6px 16px;
}

/* ----- Night hero (class) ----- */

/* Dark brick wall: two rows of offset bricks repeating. */
.night {
    display: flex;
    flex-direction: column;
    gap: 28px;
    background-color: #2A1218;
    background-image: linear-gradient(180deg, #1A0A10 0px, #1A0A10 3px, transparent 3px), linear-gradient(90deg, #1A0A10 0px, #1A0A10 3px, transparent 3px), linear-gradient(90deg, #1A0A10 0px, #1A0A10 3px, transparent 3px);
    background-size: 100% 26px, 70px 52px, 70px 52px;
    background-position: 0px 0px, 0px 0px, 35px 26px;
    color: #FFFFFF;
    padding: 40px 16px 56px 16px;
}

/* Words. */
.neon-text {
    max-width: 640px;
}

/* Headline. */
.night h1 {
    font-size: clamp(2.6rem, 8vw, 5rem);
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* Neon glow: white tube with pink light around it. */
.glow {
    display: block;
    color: #FFFFFF;
    text-shadow: 0px 0px 4px #FFFFFF, 0px 0px 12px #E5395F, 0px 0px 24px #E5395F, 0px 0px 44px #E11D48;
}

/* Hero paragraph. */
.neon-text p {
    margin-bottom: 24px;
}

/* Neon photo. */
.night img {
    height: 320px;
    object-fit: cover;
    border: 6px solid #1A0A10;
}

/* Yellow button with a glow. */
.neon-btn,
button {
    display: inline-block;
    background-color: #FACC15;
    color: #1A0A10;
    font-family: "Work Sans", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    box-shadow: 0px 0px 18px rgba(250, 204, 21, 0.6);
    padding: 13px 24px;
    cursor: pointer;
}

/* Button hover. */
.neon-btn:hover,
button:hover {
    background-color: #FFFFFF;
}

/* ----- Sign types (class) ----- */

/* Section spacing. */
.types {
    padding: 56px 16px;
}

/* Cards stack on phones. */
.type-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

/* One sign type card. */
.type {
    flex: 1 1 100%;
    background-color: #FFFFFF;
    border: 2px solid #DDD4D6;
    padding: 18px;
}

/* Card title. */
.type h3 {
    font-size: 1.5rem;
    margin: 14px 0px 4px 0px;
}

/* Starting price. */
.from {
    margin-top: 8px;
    font-weight: 700;
    color: #CA1A41;
}

/* Shared sample sign box. */
.demo {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Anton", Impact, sans-serif;
    font-size: 2.6rem;
}

/* Channel letters: red faces with deep stepped returns on a tan wall. */
.channel {
    background-color: #E8DCCB;
    color: #E11D48;
    text-shadow: 1px 1px 0px #7F1028, 2px 2px 0px #7F1028, 3px 3px 0px #7F1028, 4px 4px 0px #7F1028, 5px 5px 0px #7F1028;
}

/* LED neon: script-like glow on black. */
.neon {
    background-color: #1A0A10;
    color: #FFFFFF;
    font-family: "Work Sans", Arial, sans-serif;
    font-style: italic;
    font-weight: 700;
    text-shadow: 0px 0px 6px #FACC15, 0px 0px 16px #FACC15;
}

/* Vinyl on glass: white letters on blue-gray glass with a sheen. */
.vinyl {
    background-color: #5B7185;
    background-image: linear-gradient(120deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.25) 40%, rgba(255, 255, 255, 0.25) 48%, transparent 48%);
    color: #FFFFFF;
    font-size: 2rem;
}

/* Banner: yellow vinyl with four grommets at the corners. */
.banner {
    background-color: #FACC15;
    background-image: radial-gradient(circle at 10px 10px, #6B7280 0px, #6B7280 4px, transparent 5px), radial-gradient(circle at calc(100% - 10px) 10px, #6B7280 0px, #6B7280 4px, transparent 5px), radial-gradient(circle at 10px calc(100% - 10px), #6B7280 0px, #6B7280 4px, transparent 5px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #6B7280 0px, #6B7280 4px, transparent 5px);
    color: #1A0A10;
    font-size: 1.7rem;
    text-transform: uppercase;
}

/* ----- From the road (ID) ----- */

/* Asphalt band with a yellow center line. */
#road {
    background-color: #FEF3DE;
    padding: 56px 16px;
}

/* Intro line. */
.intro {
    max-width: 42rem;
    margin-bottom: 22px;
}

/* Distance rows. */
.distances {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}

/* One row: letter, bar, label. */
.d {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
}

/* The sample letter at its scale. */
.letter {
    flex: 0 0 70px;
    font-family: "Anton", Impact, sans-serif;
    line-height: 1;
    color: #E11D48;
    text-align: center;
}

/* Distance bar: asphalt with a dashed center line. */
.bar {
    height: 22px;
    background-color: #1A0A10;
    background-image: linear-gradient(90deg, #FACC15 50%, transparent 50%);
    background-size: 24px 3px;
    background-repeat: repeat-x;
    background-position: 0px 50%;
}

/* Label under or beside the bar. */
.label {
    flex: 1 1 100%;
    font-size: 0.95rem;
}

/* 3 inch row. */
.d3 .letter {
    font-size: 1rem;
}

/* 3 inch bar length. */
.d3 .bar {
    width: 12%;
}

/* 6 inch row. */
.d6 .letter {
    font-size: 1.6rem;
}

/* 6 inch bar length. */
.d6 .bar {
    width: 24%;
}

/* 12 inch row. */
.d12 .letter {
    font-size: 2.6rem;
}

/* 12 inch bar length. */
.d12 .bar {
    width: 45%;
}

/* 24 inch row. */
.d24 .letter {
    font-size: 4rem;
}

/* 24 inch bar length. */
.d24 .bar {
    width: 70%;
}

/* Two photos. */
.road-photos {
    display: flex;
    gap: 10px;
}

/* The banner printer photo fills the row. */
.road-photos img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ----- Quote (class) ----- */

/* Photo then form. */
.quote {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 56px 16px;
}

/* Window photo. */
.quote img {
    height: 260px;
    object-fit: cover;
}

/* Form box like a sign face. */
.quote-form fieldset {
    border: 6px solid #1A0A10;
    padding: 22px;
    background-color: #FFFFFF;
}

/* Form title on a red plate. */
.quote-form legend {
    background-color: #E11D48;
    color: #FFFFFF;
    font-family: "Anton", Impact, sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    padding: 2px 14px;
}

/* Labels. */
.quote-form label {
    display: block;
    font-weight: 700;
    margin-top: 12px;
}

/* Inputs. */
.quote-form input,
.quote-form select {
    width: 100%;
    font-family: "Work Sans", Arial, sans-serif;
    font-size: 1rem;
    padding: 9px;
    border: 2px solid #73666A;
}

/* Submit spacing. */
.quote-form button {
    margin-top: 18px;
}

/* ----- Sign back footer (class) ----- */

/* Gray sheet metal with a silver UL-style label in the corner. */
.back {
    background-color: #3F3A3C;
    background-image: linear-gradient(90deg, #A8A2A4 0px, #A8A2A4 54px, transparent 54px);
    background-size: 54px 34px;
    background-repeat: no-repeat;
    background-position: 16px 50%;
    color: #FFFFFF;
    font-size: 0.82rem;
    text-align: center;
    padding: 28px 16px 28px 86px;
}

/* ----- Small tablets (576px and up) ----- */

@media (min-width: 576px) {

    /* Two sign types per row. */
    .type {
        flex: 1 1 45%;
    }

    /* Label beside the bar. */
    .label {
        flex: 1 1 30%;
    }
}

/* ----- Tablets (768px and up) ----- */

@media (min-width: 768px) {

    /* Photo beside the form. */
    .quote {
        flex-direction: row;
    }

    /* Each half. */
    .quote img,
    .quote-form {
        width: 50%;
    }

    /* Photo fills its half. */
    .quote img {
        height: auto;
    }
}

/* ----- Laptops (992px and up) ----- */

@media (min-width: 992px) {

    /* No menu button. */
    .menu-icon {
        display: none;
    }

    /* Logo left, nav right inside the bulbs. */
    .marquee {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 30px;
    }

    /* Nav always shown. */
    .bulbs-nav {
        display: block;
    }

    /* Nav in a row. */
    .bulbs-nav ul {
        flex-direction: row;
        gap: 26px;
        padding: 6px 10px;
    }

    /* Words beside the neon photo. */
    .night {
        flex-direction: row;
        align-items: center;
        padding: 60px 40px;
    }

    /* Each half. */
    .neon-text,
    .night img {
        flex: 1 1 50%;
        min-width: 0px;
    }

    /* Taller photo. */
    .night img {
        height: 440px;
    }

    /* Four sign types in a row. */
    .type {
        flex: 1 1 22%;
    }

    /* Wider sections. */
    .types,
    #road,
    .quote {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ----- Wide screens (1200px and up) ----- */

@media (min-width: 1200px) {

    /* Content in a 1140px column. */
    .night,
    .types,
    #road,
    .quote {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }
}
