/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 11, 2026
    Project:    Concept Site - Smokestack Street BBQ (fictional business)
    Filename:   styles.css

    Layout plan: mobile-first poster style. Base rules are the phone
    layout; media queries at 576px, 768px, 992px and 1200px add to it.
    Layout uses Flexbox, plus absolute positioning for the sticker and a
    definition list for the menu board.

    Colors (WebAIM checked, AA):
      #F4B62C mustard   #B42A14 red (large text)   #7A1A0B dark red (small text)   #141010 ink   #23302A chalk   #FFF3DC paper
*/

/* ----- Browser reset (universal) ----- */

/* border-box sizing and zero default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Mustard yellow page, near-black ink, Work Sans body text. */
body {
    background-color: #F4B62C;
    color: #141010;
    font-family: "Work Sans", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.55;
}

/* Responsive images. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Big poster headings in Bebas Neue. */
h1,
h2,
h3 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-weight: 400;
    line-height: 0.9;
}

/* Thick black focus ring that shows up on mustard and on red. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 4px solid #141010;
    outline-offset: 3px;
}

/* ----- Banner and ticker (class) ----- */

/* Black strip labeling the concept. */
.concept-banner {
    background-color: #141010;
    color: #F4B62C;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 7px;
}

/* Red news strip. overflow: hidden cuts off the text that has scrolled
   past the edge. */
.ticker {
    background-color: #B42A14;
    color: #FFFFFF;
    overflow: hidden;
    white-space: nowrap;
    border-top: 4px solid #141010;
    border-bottom: 4px solid #141010;
}

/* The moving line of text. The animation slides it left by half its own
   width (one full copy of the text), then starts over. */
.ticker p {
    display: inline-block;
    padding: 8px 0px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 1.5rem;
    animation: ticker 30s linear infinite;
}

/* Space between the news items. */
.ticker span {
    margin: 0px 28px;
}

/* Slide from the start to one copy's width to the left. */
@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}

/* People who turn off motion in their system settings get a still strip. */
@media (prefers-reduced-motion: reduce) {

    /* Stop the ticker from scrolling. */
    .ticker p {
        animation: none;
    }
}

/* ----- Header (class) ----- */

/* Logo on the left, pill links on the right, thick rule under it. */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 4px solid #141010;
}

/* Logo in Bebas with a marker-pen tagline under it. */
.logo {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2rem;
    line-height: 0.9;
}

/* Marker-style tagline in a darker red. The brighter red only passes
   contrast on mustard at large sizes, so small text uses #7A1A0B. */
.logo span {
    display: block;
    font-family: "Permanent Marker", cursive;
    font-size: 0.8rem;
    color: #7A1A0B;
}

/* Nav list in a row. */
.nav-pills {
    display: flex;
    gap: 6px;
    list-style: none;
}

/* "Where" and "Menu" are hidden on phones to leave room for the booking
   button; they come back at 576px. */
.nav-extra {
    display: none;
}

/* Rounded pill links with a thick border. */
.nav-pills a {
    display: block;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 1.4rem;
    color: #141010;
    text-decoration: none;
    padding: 4px 14px;
    border: 3px solid #141010;
    border-radius: 999px;
    background-color: #FFF3DC;
}

/* The booking pill is solid black with mustard text so it stands out. */
.nav-pills a.hot {
    background-color: #141010;
    color: #F4B62C;
}

/* Every pill turns red on hover. */
.nav-pills a:hover {
    background-color: #B42A14;
    color: #FFFFFF;
}

/* ----- Hero (class) ----- */

/* Photo on top, text below on phones. */
.hero {
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid #141010;
}

/* position: relative is the anchor point for the sticker. */
.hero-photo {
    position: relative;
    border-bottom: 4px solid #141010;
}

/* Hero photo cropped to a fixed height on phones. */
.hero-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* The round tilted sticker, placed over the photo's bottom-right corner
   with absolute positioning. */
.sticker {
    position: absolute;
    right: 16px;
    bottom: -44px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #FFF3DC;
    border: 4px solid #141010;
    box-shadow: 5px 5px 0px #141010;
    transform: rotate(-12deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 1.6rem;
    line-height: 1;
}

/* Small marker text inside the sticker. */
.sticker span {
    font-family: "Permanent Marker", cursive;
    font-size: 0.75rem;
    color: #B42A14;
    padding: 0px 10px;
}

/* Text area padding. */
.hero-text {
    padding: 40px 20px;
}

/* Giant two-line poster headline. */
.hero h1 {
    font-size: clamp(5rem, 13vw, 12rem);
}

/* Second line in red. */
.hero h1 span {
    display: block;
    color: #B42A14;
}

/* Bold intro paragraph. */
.hero-text p {
    font-size: 1.15rem;
    font-weight: 600;
    max-width: 32rem;
    margin: 18px 0px 26px 0px;
}

/* ----- Buttons (class) ----- */

/* Chunky red poster button with a hard black shadow. */
.button {
    display: inline-block;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 1.6rem;
    padding: 0.35em 0.9em;
    border: 4px solid #141010;
    background-color: #B42A14;
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 6px 6px 0px #141010;
    margin: 0px 10px 12px 0px;
}

/* Light button version for the second action. */
.button-light {
    background-color: #FFF3DC;
    color: #141010;
}

/* The button "presses in" on hover: the shadow shrinks and it moves down
   and right by the same amount. */
.button:hover {
    box-shadow: 2px 2px 0px #141010;
    transform: translate(4px, 4px);
}

/* ----- Shared section block (class) ----- */

/* Space and a thick rule under every content block. */
.block {
    padding: 60px 20px;
    border-bottom: 4px solid #141010;
}

/* Section titles. */
.block h2 {
    font-size: clamp(4rem, 9vw, 7.5rem);
}

/* The marker-pen note above each title, tilted slightly. */
.scribble {
    display: block;
    font-family: "Permanent Marker", cursive;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #7A1A0B;
    transform: rotate(-2deg);
    margin: 0px 0px 10px 0px;
}

/* ----- Weekly stops (ID and class) ----- */

/* Ticket cards two per row on phones. */
.tickets {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 32px 0px 0px 0px;
}

/* One ticket: cream card, thick border, hard shadow. */
.ticket {
    flex: 1 1 140px;
    background-color: #FFF3DC;
    border: 4px solid #141010;
    box-shadow: 6px 6px 0px #141010;
    padding: 16px;
    font-size: 0.95rem;
}

/* Odd tickets lean left, even tickets lean right, like taped-up flyers. */
.ticket:nth-child(odd) {
    transform: rotate(-1.2deg);
}

/* Even tickets lean the other way. */
.ticket:nth-child(even) {
    transform: rotate(1deg);
}

/* Big red day name. */
.day {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2.8rem;
    line-height: 1;
    color: #B42A14;
}

/* Location under a dashed tear line. */
.place {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 1.3rem;
    line-height: 1.1;
    border-top: 3px dashed #141010;
    margin: 10px 0px 0px 0px;
    padding: 10px 0px 0px 0px;
}

/* A booked day is shaded tan. The words "Booked" and "Private event" say
   it too, so color is not the only signal. */
.ticket.booked {
    background-color: #E9DCC2;
}

/* ----- Menu board (ID and class) ----- */

/* The menu block sits on cream paper instead of mustard. */
#menu {
    background-color: #FFF3DC;
}

/* Dark green chalkboard with a wide wood frame. inset box-shadow darkens
   the edges like real chalkboard. */
.chalkboard {
    background-color: #23302A;
    color: #F3EFE6;
    border: 10px solid #6B4A2B;
    box-shadow: inset 0px 0px 80px #00000070;
    padding: 24px;
    margin: 32px 0px 0px 0px;
}

/* Chalkboard title in marker, centered. */
.chalkboard h3 {
    font-family: "Permanent Marker", cursive;
    font-size: 2rem;
    color: #F4B62C;
    text-align: center;
    margin: 0px 0px 16px 0px;
}

/* The two halves of the menu stack on phones, sit side by side at 768px. */
.menu-columns {
    display: flex;
    flex-direction: column;
    gap: 0px 60px;
}

/* Each half takes an equal share of the row once side by side. */
.menu-columns dl {
    flex: 1 1 0px;
}

/* Menu item name with its price pushed to the far right by flex. The
   dotted bottom border is the line that connects name to price. */
.chalkboard dt {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 1.8rem;
    border-bottom: 3px dotted #F3EFE666;
    margin: 14px 0px 4px 0px;
}

/* Price in yellow marker. */
.chalkboard dt span {
    font-family: "Permanent Marker", cursive;
    font-size: 1.4rem;
    color: #F4B62C;
}

/* Item description in softer chalk. */
.chalkboard dd {
    font-size: 0.9rem;
    color: #F3EFE6CC;
}

/* Small note that the prices are samples. */
.fine-print {
    text-align: center;
    font-size: 0.8rem;
    color: #F3EFE6B0;
    margin: 20px 0px 0px 0px;
}

/* ----- Photo strip (class) ----- */

/* Three photos in a row with black dividers. */
.photo-strip {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 4px solid #141010;
}

/* The first photo is full width on phones; the other two share a row. */
.photo-strip img {
    flex: 1 1 50%;
    min-width: 0px;
    height: 180px;
    object-fit: cover;
}

/* First photo gets the whole first row on phones. */
.photo-strip img:first-child {
    flex-basis: 100%;
    border-bottom: 4px solid #141010;
}

/* ----- Catering (ID and class) ----- */

/* Red catering block with white text. */
#cater {
    background-color: #B42A14;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Section title in mustard on the red background. */
#cater h2 {
    color: #F4B62C;
}

/* The scribble note in white on red. */
#cater .scribble {
    color: #FFFFFF;
}

/* Party sizes as white-outlined boxes. */
.sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 24px 0px 0px 0px;
}

/* One size box. */
.sizes li {
    border: 3px solid #FFFFFF;
    padding: 10px 16px;
    text-align: center;
}

/* The number in each size box. */
.sizes strong {
    display: block;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1;
}

/* Cream form card with the poster shadow. */
.cater-form {
    background-color: #FFF3DC;
    color: #141010;
    border: 4px solid #141010;
    box-shadow: 10px 10px 0px #141010;
    padding: 24px;
}

/* Labels above the fields. */
.cater-form label {
    display: block;
    font-weight: 800;
    margin: 12px 0px 4px 0px;
}

/* Thick-bordered fields to match the poster look. */
.cater-form input,
.cater-form select {
    width: 100%;
    border: 3px solid #141010;
    padding: 10px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #FFFFFF;
}

/* Black submit button with mustard text. */
.cater-form button {
    width: 100%;
    margin: 18px 0px 0px 0px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 1.8rem;
    background-color: #141010;
    color: #F4B62C;
    border: none;
    padding: 8px;
    cursor: pointer;
}

/* Red on hover. */
.cater-form button:hover {
    background-color: #6B1A0C;
}

/* ----- Footer (class) ----- */

/* Plain bold footer on the mustard page. */
.site-footer {
    padding: 24px 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== Small screens and up: 576px ===== */

@media (min-width: 576px) {

    /* Show the Where and Menu pills. */
    .nav-extra {
        display: block;
    }

    /* All three photos share one row. */
    .photo-strip img,
    .photo-strip img:first-child {
        flex-basis: 33.333%;
        height: 240px;
        border-bottom: none;
    }
}

/* ===== Medium screens and up: 768px ===== */

@media (min-width: 768px) {

    /* Menu halves side by side. */
    .menu-columns {
        flex-direction: row;
    }

    /* More room inside the chalkboard. */
    .chalkboard {
        padding: 40px;
    }

    /* Footer lines spread to the edges. */
    .site-footer {
        display: flex;
        justify-content: space-between;
    }
}

/* ===== Large screens and up: 992px ===== */

@media (min-width: 992px) {

    /* Text left, photo right. row-reverse keeps the photo first in the
       HTML (so phones see it first) but puts it on the right here. */
    .hero {
        flex-direction: row-reverse;
    }

    /* Photo column; the left border replaces the bottom border. */
    .hero-photo {
        flex: 0.9 1 0px;
        border-bottom: none;
        border-left: 4px solid #141010;
    }

    /* The photo fills the column's full height. */
    .hero-photo img {
        height: 100%;
        min-height: 560px;
    }

    /* The sticker moves to the left edge of the photo, over the border. */
    .sticker {
        right: auto;
        left: -70px;
        bottom: 40px;
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }

    /* Text column takes the larger share. */
    .hero-text {
        flex: 1.1 1 0px;
        padding: 56px 4vw;
    }

    /* Wider side padding for all blocks. */
    .block,
    .site-header,
    .site-footer {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    /* Five tickets fit in one row. */
    .ticket {
        flex-basis: 0px;
    }

    /* Catering text and form side by side. */
    #cater {
        flex-direction: row;
        gap: 5vw;
    }

    /* The two catering columns split the row. */
    #cater > div,
    .cater-form {
        flex: 1 1 0px;
    }
}

/* ===== Extra large screens and up: 1200px ===== */

@media (min-width: 1200px) {

    /* Taller photo strip on wide screens. */
    .photo-strip img,
    .photo-strip img:first-child {
        height: 340px;
    }
}
