/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 12, 2026
    Project:    Concept Site - La Lomita Taqueria (fictional business)
    Filename:   styles.css

    Theme: a neighborhood taqueria wall. The header is a band of blue
    and white talavera tiles (radial and conic gradients repeated as a
    tile), and the nav links are small loteria cards with numbers. The
    hero headline is hand-painted lettering on a hot pink wall with a
    hard offset shadow. The tacos are a full set of loteria cards: a
    numbered card with a colored picture panel and the name in a banner
    at the bottom. The salsa bar is a row of squeeze bottles drawn in
    each salsa's color with a heat count, and the family packs sit on a
    foil tray. The footer repeats the tiles.

    Mobile-first; media queries at 576px, 768px, 992px and 1200px.

    Colors (WebAIM contrast checked, AA):
      #13200F text on #FFFBF2 page (17.0:1)
      #FFFFFF on #BE185D pink wall (6.0:1)
      #0F7234 green text (6.3:1 on the page)
      #1E3A8A tile blue on white (10.4:1)
      #13200F on #FDE68A yellow (14.4:1)
*/

/* ----- Browser reset (universal) ----- */

/* Border-box sizing and no default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Warm cream page. */
body {
    background-color: #FFFBF2;
    color: #13200F;
    font-family: "Rubik", Arial, sans-serif;
    font-size: 1.03rem;
    line-height: 1.6;
}

/* Photos never spill out. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Wide blocky display headings. */
h1,
h2 {
    font-family: "Rubik Mono One", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
}

/* Section titles in green. */
h2 {
    font-size: clamp(1.4rem, 4.5vw, 2.2rem);
    color: #0F7234;
    margin-bottom: 10px;
}

/* Links in green. */
a {
    color: #0F7234;
}

/* Blue outline for keyboard users. */
a:focus-visible,
button:focus-visible,
.menu-check:focus-visible + .tile-row .menu-icon {
    outline: 3px solid #1E3A8A;
    outline-offset: 3px;
}

/* ----- Tile header (class) ----- */

/* Talavera tiles: a blue flower on white, repeated. */
.tiles {
    background-color: #FFFFFF;
    background-image: radial-gradient(circle 6px at 50% 50%, #F59E0B 96%, transparent 100%), radial-gradient(circle 14px at 50% 50%, #1E3A8A 96%, transparent 100%), repeating-conic-gradient(from 45deg at 50% 50%, #FFFFFF 0deg 20deg, #DBEAFE 20deg 45deg), linear-gradient(#1E3A8A, #1E3A8A);
    background-size: 48px 48px, 48px 48px, 48px 48px, 100% 4px;
    background-position: 0px 0px, 0px 0px, 0px 0px, 0px 100%;
    background-repeat: repeat, repeat, repeat, no-repeat;
    padding: 12px 14px 14px 14px;
}

/* Hidden checkbox that keeps focus. */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Name and menu on a white plaque over the tiles. */
.tile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    border: 4px solid #1E3A8A;
    padding: 8px 12px;
}

/* Wordmark. */
.wordmark {
    font-family: "Rubik Mono One", Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.1;
    color: #BE185D;
}

/* Second line in blue. */
.wordmark span {
    display: block;
    font-family: "Rubik", Arial, sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    color: #1E3A8A;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Menu button. */
.menu-icon {
    background-color: #BE185D;
    color: #FFFFFF;
    font-weight: 700;
    padding: 4px 12px;
    cursor: pointer;
}

/* Card nav hidden on phones until opened. */
.cards-nav {
    display: none;
}

/* Open menu shows the cards. */
.menu-check:checked ~ .cards-nav {
    display: block;
}

/* Cards wrap. */
.cards-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
}

/* One little loteria card link. */
.cards-nav a {
    display: block;
    background-color: #FFFFFF;
    color: #13200F;
    border: 3px solid #13200F;
    text-decoration: none;
    font-weight: 700;
    padding: 2px 10px 4px 10px;
    text-align: center;
}

/* Card number in the corner. */
.cards-nav span {
    display: block;
    font-family: "Rubik Mono One", Arial, sans-serif;
    font-size: 0.7rem;
    color: #BE185D;
}

/* Card hover lifts. */
.cards-nav a:hover {
    transform: rotate(-3deg);
    background-color: #FDE68A;
}

/* ----- Concept note (class) ----- */

/* Small note. */
.concept {
    font-size: 0.8rem;
    padding: 6px 14px;
}

/* ----- Painted wall hero (class) ----- */

/* Hot pink wall; lettering then photo on phones. */
.wall {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #BE185D;
    color: #FFFFFF;
    padding: 40px 16px 50px 16px;
}

/* Yellow painted price banner. */
.tuesday {
    display: inline-block;
    background-color: #FDE68A;
    color: #13200F;
    font-family: "Rubik Mono One", Arial, sans-serif;
    font-size: 0.9rem;
    padding: 6px 12px;
    transform: rotate(-3deg);
    margin-bottom: 16px;
}

/* Painted headline with a hard green shadow. */
.wall h1 {
    font-size: clamp(1.8rem, 6vw, 3.4rem);
    text-shadow: 4px 4px 0px #0F5132;
    margin-bottom: 14px;
}

/* Hero paragraph. */
.painted p:not(.tuesday) {
    max-width: 30rem;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Painted button: yellow block with a black shadow. */
.paint-btn,
button {
    display: inline-block;
    background-color: #FDE68A;
    color: #13200F;
    font-family: "Rubik Mono One", Arial, sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
    border: 3px solid #13200F;
    padding: 10px 18px;
    box-shadow: 5px 5px 0px #13200F;
    cursor: pointer;
}

/* Button hover. */
.paint-btn:hover,
button:hover {
    box-shadow: 1px 1px 0px #13200F;
    transform: translate(4px, 4px);
}

/* Taco photo framed in white. */
.wall > img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border: 8px solid #FFFFFF;
    transform: rotate(2deg);
}

/* ----- Loteria tacos (ID) ----- */

/* Section spacing. */
#tacos {
    padding: 56px 16px;
}

/* Intro line. */
.intro {
    max-width: 40rem;
    margin-bottom: 22px;
}

/* Card set wraps. */
.loteria {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* One loteria card: cream with a thick black frame. */
.card {
    flex: 0 0 150px;
    background-color: #FFF8E7;
    border: 4px solid #13200F;
    outline: 2px solid #13200F;
    outline-offset: -10px;
    padding: 12px;
    text-align: center;
    position: relative;
}

/* Card number in the top-left corner. */
.num {
    position: absolute;
    top: 14px;
    left: 16px;
    font-family: "Rubik Mono One", Arial, sans-serif;
    font-size: 0.8rem;
}

/* Picture panel: a taco drawn as a folded tortilla over the filling color. */
.art {
    display: block;
    height: 110px;
    margin: 18px 4px 8px 4px;
    background-color: var(--panel);
    background-image: radial-gradient(ellipse 50px 48px at 50% 100%, #E9C47F 0%, #F3D9A4 92%, #C08A3E 95%, transparent 97%), radial-gradient(circle 4px at 38% 50%, #FFFFFF 96%, transparent 100%), radial-gradient(circle 4px at 60% 48%, #4ADE80 96%, transparent 100%), radial-gradient(ellipse 48px 16px at 50% 56%, var(--fill) 96%, transparent 100%);
    background-repeat: no-repeat;
}

/* Name in a banner at the bottom. */
.card strong {
    display: block;
    font-family: "Rubik Mono One", Arial, sans-serif;
    font-weight: 400;
    font-size: 0.78rem;
    background-color: #13200F;
    color: #FFFFFF;
    padding: 4px 2px;
}

/* Small description. */
.card small {
    display: block;
    font-size: 0.78rem;
    margin-top: 6px;
}

/* Pastor colors. */
.c-pastor {
    --panel: #FDE68A;
    --fill: #C2410C;
}

/* Asada colors. */
.c-asada {
    --panel: #BBF7D0;
    --fill: #5B2E14;
}

/* Barbacoa colors. */
.c-barb {
    --panel: #FBCFE8;
    --fill: #7C2D12;
}

/* Pollo colors. */
.c-pollo {
    --panel: #BFDBFE;
    --fill: #DC2626;
}

/* Carnitas colors. */
.c-carn {
    --panel: #FED7AA;
    --fill: #B45309;
}

/* Hongos colors. */
.c-hongo {
    --panel: #DDD6FE;
    --fill: #57534E;
}

/* Fine print. */
.fine {
    font-size: 0.85rem;
    color: #60665A;
    margin-top: 14px;
    text-align: center;
}

/* ----- Salsa bottles (class) ----- */

/* Green band; text then photos on phones. */
.salsas {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #ECF4E5;
    padding: 56px 16px;
}

/* Salsa paragraph. */
.salsa-text > p {
    margin-bottom: 18px;
}

/* Bottles in a row, standing on a shelf. */
.bottles {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 8px solid #8B5A2B;
    padding-bottom: 6px;
}

/* One bottle with its name and heat. */
.bottles li {
    flex: 1 1 0px;
    text-align: center;
    font-size: 0.78rem;
}

/* Salsa name. */
.bottles strong {
    display: block;
    font-size: 0.82rem;
}

/* Heat dots in red. */
.chiles {
    display: block;
    color: #B91C1C;
    letter-spacing: 1px;
    font-size: 0.7rem;
}

/* Squeeze bottle: body, label band, nozzle. */
.bottle {
    position: relative;
    display: block;
    width: 38px;
    height: 90px;
    margin: 26px auto 6px auto;
    border-radius: 8px 8px 6px 6px;
    background-color: var(--salsa);
    background-image: linear-gradient(180deg, transparent 40%, #FFFFFF 40%, #FFFFFF 60%, transparent 60%);
}

/* The nozzle on top. */
.bottle::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 11px;
    width: 16px;
    height: 24px;
    background-color: #57534E;
    clip-path: polygon(40% 0%, 60% 0%, 100% 100%, 0% 100%);
}

/* Pico color. */
.b-pico {
    --salsa: #EF4444;
}

/* Roja color. */
.b-roja {
    --salsa: #991B1B;
}

/* Verde color. */
.b-verde {
    --salsa: #4D7C0F;
}

/* Arbol color. */
.b-arbol {
    --salsa: #C2410C;
}

/* Habanero color. */
.b-haba {
    --salsa: #F97316;
}

/* Two photos. */
.salsa-photos {
    display: flex;
    gap: 10px;
}

/* Each photo. */
.salsa-photos img {
    width: 50%;
    height: 220px;
    object-fit: cover;
}

/* ----- Family packs (class) ----- */

/* Photo then tray on phones. */
.packs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 56px 16px 60px 16px;
}

/* Taco photo. */
.packs > img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* Foil tray: crinkled silver with a rolled rim. */
.tray {
    background-color: #E5E7EB;
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.6) 0px, rgba(255, 255, 255, 0.6) 3px, transparent 3px, transparent 11px);
    border: 8px solid #CBD5E1;
    border-radius: 10px;
    padding: 22px;
}

/* Pack list. */
.tray ul {
    list-style: none;
    margin-bottom: 14px;
}

/* One pack on a white slip. */
.tray li {
    background-color: #FFFFFF;
    padding: 10px 12px;
    margin-bottom: 8px;
}

/* Pack name. */
.tray b {
    display: block;
    color: #BE185D;
}

/* Tray paragraph on a white slip. */
.tray > p {
    background-color: #FFFFFF;
    padding: 8px 12px;
}

/* ----- Tile footer (class) ----- */

/* Tiles behind a white text plaque. */
.tile-foot {
    background-color: #FFFFFF;
    background-image: radial-gradient(circle 6px at 50% 50%, #F59E0B 96%, transparent 100%), radial-gradient(circle 14px at 50% 50%, #1E3A8A 96%, transparent 100%), repeating-conic-gradient(from 45deg at 50% 50%, #FFFFFF 0deg 20deg, #DBEAFE 20deg 45deg);
    background-size: 48px 48px;
    padding: 30px 16px;
    font-size: 0.82rem;
    text-align: center;
}

/* Footer lines on a white plaque. */
.tile-foot p {
    display: inline-block;
    background-color: #FFFFFF;
    padding: 2px 10px;
    margin: 2px 0px;
}

/* ----- Small tablets (576px and up) ----- */

@media (min-width: 576px) {

    /* Bigger bottles. */
    .bottle {
        width: 48px;
        height: 110px;
    }

    /* Recenter the nozzle on the bigger bottle. */
    .bottle::before {
        left: 16px;
    }
}

/* ----- Tablets (768px and up) ----- */

@media (min-width: 768px) {

    /* Bottles beside the photos. */
    .salsas {
        flex-direction: row;
        align-items: center;
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Each half. */
    .salsa-text,
    .salsa-photos {
        flex: 1 1 50%;
    }

    /* Photo beside the tray. */
    .packs {
        flex-direction: row;
        align-items: center;
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Each half. */
    .packs > img,
    .tray {
        flex: 1 1 50%;
        min-width: 0px;
    }

    /* Taller photo. */
    .packs > img {
        height: 400px;
    }
}

/* ----- Laptops (992px and up) ----- */

@media (min-width: 992px) {

    /* No menu button. */
    .menu-icon {
        display: none;
    }

    /* Plaque on the left, cards on the right, tiles behind. */
    .tiles {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 40px;
    }

    /* Cards always shown. */
    .cards-nav {
        display: block;
    }

    /* Cards in a row. */
    .cards-nav ul {
        padding-top: 0px;
    }

    /* Lettering beside the photo. */
    .wall {
        flex-direction: row;
        align-items: center;
        padding: 70px 50px;
    }

    /* Lettering column. */
    .painted {
        flex: 1 1 55%;
    }

    /* Photo column. */
    .wall > img {
        width: 40%;
        height: 420px;
    }

    /* Six cards in one row. */
    .card {
        flex: 1 1 14%;
    }

    /* Wider tacos section. */
    #tacos {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ----- Wide screens (1200px and up) ----- */

@media (min-width: 1200px) {

    /* Content in a 1140px column. */
    .tiles,
    .wall,
    #tacos,
    .salsas,
    .packs {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }
}
