/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 12, 2026
    Project:    Concept Site - Current River Canoe & Camp (fictional business)
    Filename:   styles.css

    Theme: a float trip. The header is a varnished wooden paddle laid
    across the page: a long shaft (the nav runs along it) and a wide
    rounded blade that carries the name. The hero photo has a wavy
    waterline cut along its bottom edge (clip-path). The signature is
    a river map: the river snakes back and forth down the page (thick
    blue borders with rounded corners on alternating sides), with
    lettered put-in pins for each float and a camp pin at the end. The
    river gauge section is a staff gauge painted in colored bands with
    today's level marked. The footer is river gravel.

    Mobile-first; media queries at 576px, 768px, 992px and 1200px.

    Colors (WebAIM contrast checked, AA):
      #062A30 text on #F2FAFB page (15.9:1)
      #0D6E89 river text (5.8:1 on the page)
      #FFFFFF on #0E7490 buttons (5.4:1)
      #B04209 orange text (5.6:1 on the page)
      #FFFFFF on #B04209 orange buttons (5.9:1)
*/

/* ----- Browser reset (universal) ----- */

/* Border-box sizing and no default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Clear spring-water page. */
body {
    background-color: #F2FAFB;
    color: #062A30;
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 1.02rem;
    line-height: 1.6;
}

/* Photos never spill out. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Friendly slab headings. */
h1,
h2,
h3 {
    font-family: "Bree Serif", Georgia, serif;
    font-weight: 400;
    line-height: 1.1;
}

/* Section titles. */
h2 {
    font-size: clamp(1.8rem, 4.8vw, 2.7rem);
    color: #0D6E89;
    margin-bottom: 10px;
}

/* Links in river blue. */
a {
    color: #0D6E89;
}

/* Orange outline for keyboard users. */
a:focus-visible,
button:focus-visible,
.menu-check:focus-visible + .paddle-row .menu-icon {
    outline: 3px solid #B04209;
    outline-offset: 3px;
}

/* ----- Paddle header (class) ----- */

/* Header holds the paddle on a pale background. */
.paddle {
    position: relative;
    background-color: #E0F0F2;
    padding: 14px 16px;
}

/* Hidden checkbox that keeps focus. */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Blade and menu in a row. */
.paddle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Paddle blade: varnished wood with grain, rounded tip. */
.blade-name {
    background-color: #C08A4E;
    background-image: repeating-linear-gradient(90deg, rgba(120, 70, 20, 0.18) 0px, rgba(120, 70, 20, 0.18) 2px, transparent 2px, transparent 9px);
    border-radius: 10px 60px 60px 10px;
    padding: 8px 30px 8px 16px;
    font-family: "Bree Serif", Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.05;
    color: #062A30;
}

/* Second line of the name. */
.blade-name span {
    display: block;
    font-family: "Nunito Sans", Arial, sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Menu button. */
.menu-icon {
    background-color: #0E7490;
    color: #FFFFFF;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
}

/* Nav hidden on phones until opened. */
.shaft {
    display: none;
}

/* Open menu shows the nav. */
.menu-check:checked ~ .shaft {
    display: block;
}

/* Nav list. */
.shaft ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
}

/* Nav links. */
.shaft a {
    color: #062A30;
    font-weight: 700;
    text-decoration: none;
}

/* Hover: underline. */
.shaft a:hover {
    text-decoration: underline;
}

/* ----- Concept note (class) ----- */

/* Small note. */
.concept {
    font-size: 0.8rem;
    padding: 6px 16px;
}

/* ----- River hero (class) ----- */

/* Photo with the card overlapping below it. */
.river-hero {
    position: relative;
    padding-bottom: 56px;
}

/* Photo with a wavy waterline cut across the bottom. */
.river-hero img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    clip-path: polygon(0% 0%, 100% 0%, 100% 88%, 90% 92%, 80% 88%, 70% 92%, 60% 88%, 50% 92%, 40% 88%, 30% 92%, 20% 88%, 10% 92%, 0% 88%);
}

/* Card lifting up over the photo. */
.hero-card {
    position: relative;
    background-color: #FFFFFF;
    margin: -50px 16px 0px 16px;
    padding: 24px;
    border-radius: 14px;
    border-bottom: 6px solid #0E7490;
}

/* Headline. */
.hero-card h1 {
    font-size: clamp(2rem, 5.5vw, 3.3rem);
    margin-bottom: 12px;
}

/* Card paragraph. */
.hero-card p {
    margin-bottom: 20px;
}

/* Orange button like a life jacket. */
.river-btn,
button {
    display: inline-block;
    background-color: #B04209;
    color: #FFFFFF;
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    box-shadow: inset 0px -4px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 24px;
    cursor: pointer;
}

/* Button hover. */
.river-btn:hover,
button:hover {
    background-color: #062A30;
}

/* ----- River map (ID) ----- */

/* Green riverbank band. */
#floats {
    background-color: #E3EFE0;
    padding: 56px 16px;
}

/* Intro. */
.intro {
    max-width: 42rem;
    margin-bottom: 26px;
}

/* The winding river list. */
.map {
    list-style: none;
}

/* One stretch of river: a thick blue bend on one side. */
.stop {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 20px;
    margin-top: -8px;
    border: 8px solid transparent;
    border-top-color: #0E7490;
}

/* Odd stretches bend on the right. */
.stop:nth-child(odd) {
    border-right-color: #0E7490;
    border-radius: 0px 60px 60px 0px;
}

/* Even stretches bend on the left. */
.stop:nth-child(even) {
    border-left-color: #0E7490;
    border-radius: 60px 0px 0px 60px;
}

/* The first stretch starts at the top. */
.stop:first-child {
    margin-top: 0px;
}

/* The last stretch ends in the water at the bottom. */
.stop:last-child {
    border-bottom-color: #0E7490;
}

/* Lettered put-in pin. */
.pin {
    flex: 0 0 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50% 50% 0%;
    background-color: #EA580C;
    color: #062A30;
    font-family: "Bree Serif", Georgia, serif;
    font-size: 1.3rem;
}

/* Camp pin green. */
.camp {
    background-color: #4D7C0F;
    color: #FFFFFF;
    font-size: 1rem;
}

/* Stop title. */
.stop h3 {
    font-size: 1.3rem;
    color: #062A30;
}

/* ----- River gauge (class) ----- */

/* Staff then words. */
.gauge {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 56px 16px;
}

/* Staff column with today's marker. */
.staff-wrap {
    position: relative;
    width: 150px;
}

/* Painted staff gauge: bands from red at the top to tan at the bottom. */
.staff {
    list-style: none;
    width: 90px;
    border: 3px solid #062A30;
}

/* One band. */
.staff li {
    height: 80px;
    padding: 4px 8px;
    font-weight: 700;
    font-size: 0.85rem;
    background-image: repeating-linear-gradient(180deg, transparent 0px, transparent 9px, rgba(6, 42, 48, 0.4) 9px, rgba(6, 42, 48, 0.4) 10px);
    background-size: 18px 100%;
    background-repeat: no-repeat;
    background-position: right top;
}

/* Closed band. */
.z-closed {
    background-color: #F87171;
}

/* High band. */
.z-high {
    background-color: #FDBA74;
}

/* Good band. */
.z-good {
    background-color: #86EFAC;
}

/* Low band. */
.z-low {
    background-color: #FDE68A;
}

/* Today's marker: an arrow pointing at the staff. */
.today {
    position: absolute;
    top: 172px;
    left: 96px;
    background-color: #062A30;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Arrow tip. */
.today::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    margin-top: -6px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #062A30;
}

/* Level list. */
.levels {
    list-style: none;
    margin-bottom: 24px;
}

/* One level, with a colored chip. */
.levels li {
    padding: 8px 0px 8px 16px;
    border-left: 8px solid var(--band);
    margin-bottom: 8px;
}

/* Closed chip. */
.l-closed {
    --band: #F87171;
}

/* High chip. */
.l-high {
    --band: #FDBA74;
}

/* Good chip. */
.l-good {
    --band: #86EFAC;
    background-color: #E3EFE0;
}

/* Low chip. */
.l-low {
    --band: #FDE68A;
}

/* Two photos. */
.gauge-photos {
    display: flex;
    gap: 10px;
}

/* Each photo. */
.gauge-photos img {
    width: 50%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* ----- Reserve (class) ----- */

/* Teal band. */
.reserve {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #0E7490;
    padding: 56px 16px;
}

/* Tent photo. */
.reserve img {
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
}

/* Form box. */
.res-form fieldset {
    border: none;
    background-color: #FFFFFF;
    border-radius: 14px;
    padding: 24px;
}

/* Form title. */
.res-form legend {
    font-family: "Bree Serif", Georgia, serif;
    font-size: 1.5rem;
    color: #0D6E89;
    float: left;
    width: 100%;
}

/* Labels. */
.res-form label {
    display: block;
    font-weight: 700;
    margin-top: 12px;
}

/* Inputs. */
.res-form input,
.res-form select {
    width: 100%;
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 1rem;
    padding: 9px;
    border: 2px solid #556A6E;
    border-radius: 8px;
}

/* Submit spacing. */
.res-form button {
    margin-top: 18px;
}

/* ----- Gravel footer (class) ----- */

/* Speckled river gravel. */
.gravel {
    background-color: #3F4A44;
    background-image: radial-gradient(circle at 20% 30%, #8C7A5B 0px, #8C7A5B 3px, transparent 4px), radial-gradient(circle at 70% 60%, #A8A29E 0px, #A8A29E 4px, transparent 5px), radial-gradient(circle at 45% 80%, #78716C 0px, #78716C 2px, transparent 3px);
    background-size: 26px 22px, 34px 30px, 18px 20px;
    color: #FFFFFF;
    font-size: 0.82rem;
    text-align: center;
    padding: 28px 16px;
}

/* Footer text on a dark strip so it reads over the gravel. */
.gravel p {
    display: inline-block;
    background-color: #1F2925;
    padding: 2px 8px;
    margin: 2px 0px;
}

/* ----- Small tablets (576px and up) ----- */

@media (min-width: 576px) {

    /* Taller photo. */
    .river-hero img {
        height: 460px;
    }
}

/* ----- Tablets (768px and up) ----- */

@media (min-width: 768px) {

    /* Card off to the side, overlapping the photo. */
    .hero-card {
        max-width: 560px;
        margin: -160px 0px 0px 40px;
    }

    /* Staff beside the words. */
    .gauge {
        flex-direction: row;
        gap: 40px;
    }

    /* Staff column fixed. */
    .staff-wrap {
        flex: 0 0 170px;
    }

    /* Photo beside the form. */
    .reserve {
        flex-direction: row;
    }

    /* Each half. */
    .reserve img,
    .res-form {
        width: 50%;
    }

    /* Photo fills its half. */
    .reserve img {
        height: auto;
    }
}

/* ----- Laptops (992px and up) ----- */

@media (min-width: 992px) {

    /* No menu button. */
    .menu-icon {
        display: none;
    }

    /* Blade on the right, shaft running left. */
    .paddle {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 0px;
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Nav sits on the paddle shaft. */
    .shaft {
        display: block;
        flex: 1 1 auto;
        background-image: linear-gradient(180deg, transparent 40%, #C08A4E 40%, #C08A4E 60%, transparent 60%);
    }

    /* Links in a row on the shaft. */
    .shaft ul {
        flex-direction: row;
        gap: 14px;
        padding-top: 0px;
    }

    /* Each link a grip label on the shaft. */
    .shaft a {
        display: block;
        background-color: #E0F0F2;
        padding: 2px 10px;
    }

    /* Wider sections. */
    #floats,
    .gauge,
    .reserve {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* River map narrower so the bends read. */
    .map {
        max-width: 760px;
    }
}

/* ----- Wide screens (1200px and up) ----- */

@media (min-width: 1200px) {

    /* Content in a 1140px column. */
    #floats,
    .gauge,
    .reserve {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }

    /* Card lines up with the column. */
    .hero-card {
        margin-left: calc((100% - 1140px) / 2);
    }
}
