/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 12, 2026
    Project:    Concept Site - Table Rock Guide Service (fictional business)
    Filename:   styles.css

    Theme: on the water. The header is the side of a navy bass boat
    with a red and white pinstripe at the waterline. In the hero a
    fishing line drops from the header into the photo with a red and
    white bobber floating on it. The signature is a cross section of
    Table Rock Lake: water that darkens with depth, a gravel bank
    sloping in from the left, a depth scale in feet, and a fish for
    each season placed at the depth the bass hold. The tackle box is
    an open plastic tray of compartments, each with a lure drawn in
    CSS. The footer is a wooden dock.

    Mobile-first; media queries at 576px, 768px, 992px and 1200px.

    Colors (WebAIM contrast checked, AA):
      #06202F text on #F3F9FC page (16.9:1)
      #0C4A6E lake blue text and buttons (9.0:1; white on it 9.5:1)
      #8D5B06 amber text (5.5:1 on the page)
      #06202F on #F59E0B amber (8.9:1)
      #FFFFFF on #0B3A57 deep water (11.7:1)
*/

/* ----- Browser reset (universal) ----- */

/* Border-box sizing and no default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Misty morning page. */
body {
    background-color: #F3F9FC;
    color: #06202F;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 1.04rem;
    line-height: 1.6;
}

/* Photos never spill out. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Sturdy slab headings. */
h1,
h2 {
    font-family: "Bitter", Georgia, serif;
    font-weight: 800;
    line-height: 1.1;
}

/* Section titles. */
h2 {
    font-size: clamp(1.7rem, 4.6vw, 2.6rem);
    color: #0C4A6E;
    margin-bottom: 10px;
}

/* Links in lake blue. */
a {
    color: #0C4A6E;
}

/* Amber outline for keyboard users. */
a:focus-visible,
button:focus-visible,
.menu-check:focus-visible + .hull-row .menu-icon {
    outline: 3px solid #8D5B06;
    outline-offset: 3px;
}

/* ----- Boat hull header (class) ----- */

/* Navy hull with a metal-flake shine and a pinstripe at the waterline. */
.hull {
    position: relative;
    background-color: #0C4A6E;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%), linear-gradient(180deg, transparent calc(100% - 12px), #DC2626 calc(100% - 12px), #DC2626 calc(100% - 8px), #FFFFFF calc(100% - 8px), #FFFFFF calc(100% - 5px), #DC2626 calc(100% - 5px));
    color: #FFFFFF;
    padding: 14px 16px 24px 16px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 50px 30px;
}

/* Hidden checkbox that keeps focus. */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Logo and menu in a row. */
.hull-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo like boat lettering, slanted. */
.logo {
    font-family: "Bitter", Georgia, serif;
    font-weight: 800;
    font-style: italic;
    font-size: 1.6rem;
    line-height: 1;
}

/* "Guide Service" in amber. */
.logo span {
    display: block;
    font-family: "Barlow", Arial, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #F59E0B;
}

/* Menu button. */
.menu-icon {
    background-color: #F59E0B;
    color: #06202F;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
}

/* Nav hidden on phones until opened. */
.hull-nav {
    display: none;
}

/* Open menu shows the nav. */
.menu-check:checked ~ .hull-nav {
    display: block;
}

/* Nav list. */
.hull-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
}

/* Nav links white. */
.hull-nav a {
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
}

/* Hover: amber. */
.hull-nav a:hover {
    color: #F59E0B;
}

/* ----- Concept note (class) ----- */

/* Small note. */
.concept {
    font-size: 0.8rem;
    padding: 6px 16px;
}

/* ----- Cast hero (class) ----- */

/* Words then photo. */
.cast {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 30px 16px 60px 16px;
}

/* Headline. */
.cast-text h1 {
    font-size: clamp(2.1rem, 5.5vw, 3.5rem);
    margin-bottom: 14px;
}

/* Hero paragraph. */
.cast-text p {
    max-width: 32rem;
    margin-bottom: 22px;
}

/* Photo holder: the line hangs into it. */
.cast-photo {
    position: relative;
}

/* Photo. */
.cast-photo img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 6px;
}

/* Fishing line from the top of the photo down to the bobber. */
.line {
    position: absolute;
    top: -40px;
    left: 70%;
    width: 1px;
    height: 150px;
    background-color: #06202F;
    z-index: 2;
}

/* Red and white bobber floating on the line. */
.bobber {
    position: absolute;
    top: 100px;
    left: 70%;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border-radius: 50%;
    background-image: linear-gradient(180deg, #DC2626 0%, #DC2626 50%, #FFFFFF 50%);
    border: 2px solid #06202F;
    z-index: 2;
}

/* Amber button with a rounded bobber end. */
.bobber-btn,
button {
    display: inline-block;
    background-color: #F59E0B;
    color: #06202F;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px 30px 30px 6px;
    padding: 12px 28px 12px 20px;
    cursor: pointer;
}

/* Button hover. */
.bobber-btn:hover,
button:hover {
    background-color: #FFFFFF;
    box-shadow: inset 0px 0px 0px 2px #0C4A6E;
}

/* ----- Lake cross section (ID) ----- */

/* Section spacing. */
#depth {
    padding: 56px 16px;
}

/* Intro. */
.intro {
    max-width: 44rem;
    margin-bottom: 22px;
}

/* Depth scale beside the water. */
.lake {
    display: flex;
    gap: 8px;
}

/* Depth scale labels spread top to bottom. */
.feet {
    list-style: none;
    flex: 0 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: #586871;
}

/* Water: light at the top, deep blue at the bottom. */
.water {
    position: relative;
    flex: 1 1 auto;
    background-image: linear-gradient(180deg, #7DB7D6 0%, #2E7AA3 40%, #0B3A57 100%);
    border-top: 3px solid #E1EBF1;
    color: #FFFFFF;
    padding: 16px 12px 16px 50px;
    overflow: hidden;
}

/* Gravel bank sloping into the water from the left. */
.bank {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 40px;
    height: 100%;
    background-color: #8C7A5B;
    background-image: radial-gradient(circle, #6B5B40 0px, #6B5B40 2px, transparent 3px);
    background-size: 9px 9px;
    clip-path: polygon(0% 0%, 30% 0%, 100% 100%, 0% 100%);
}

/* One fish label (stacked on phones). */
.fish {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 0.92rem;
}

/* Fish shape: an oval body with a tail. */
.body {
    position: relative;
    flex: 0 0 34px;
    height: 16px;
    border-radius: 50%;
    background-color: #F59E0B;
}

/* Tail. */
.body::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 0px;
    width: 12px;
    height: 16px;
    background-color: #F59E0B;
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
}

/* Spring words dark on the light shallow water. */
.f-spring {
    color: #06202F;
}

/* ----- Tackle box (class) ----- */

/* Pale band. */
.tackle {
    background-color: #E1EBF1;
    padding: 56px 16px;
}

/* Open plastic tray: compartments in rows. */
.tray {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background-color: #F59E0B;
    border: 8px solid #D98A06;
    border-radius: 10px;
    padding: 6px;
    margin-bottom: 26px;
}

/* One compartment. */
.slot {
    flex: 1 1 45%;
    background-color: #FEF3C7;
    border-radius: 4px;
    padding: 14px;
    font-size: 0.92rem;
    color: #06202F;
}

/* Lure name. */
.slot strong {
    display: block;
    font-family: "Bitter", Georgia, serif;
    font-size: 1.1rem;
}

/* Shared lure drawing area. */
.lure {
    display: block;
    height: 30px;
    margin-bottom: 8px;
}

/* Football jig: a round head and a rubber skirt. */
.jig {
    width: 60px;
    background-image: radial-gradient(circle at 10px 50%, #374151 0px, #374151 9px, transparent 10px), repeating-linear-gradient(90deg, #166534 0px, #166534 2px, transparent 2px, transparent 4px);
    background-size: 100% 100%, 40px 100%;
    background-position: 0px 0px, 20px 0px;
    background-repeat: no-repeat;
}

/* Crankbait: a fat shad-colored body with a lip. */
.crank {
    width: 60px;
    border-radius: 50% 40% 40% 50%;
    background-image: linear-gradient(180deg, #9CA3AF 0%, #F3F4F6 50%, #FFFFFF 100%);
    border-left: 8px solid #CBD5E1;
}

/* Worm: a long green curl. */
.worm {
    width: 70px;
    border-radius: 15px;
    border-bottom: 6px solid #4D7C0F;
}

/* Spinnerbait: two gold blades. */
.spin {
    width: 60px;
    background-image: radial-gradient(ellipse 8px 13px at 30% 50%, #EAB308 0px, #EAB308 98%, transparent 100%), radial-gradient(ellipse 6px 10px at 60% 50%, #EAB308 0px, #EAB308 98%, transparent 100%);
}

/* Topwater popper: cupped face, red and white. */
.top {
    width: 56px;
    border-radius: 6px 50% 50% 6px;
    background-image: linear-gradient(90deg, #DC2626 0%, #DC2626 30%, #FFFFFF 30%);
    border: 2px solid #06202F;
}

/* Swimbait: a slim baitfish with a paddle tail. */
.swim {
    width: 70px;
    border-radius: 50% 20% 20% 50%;
    background-image: linear-gradient(180deg, #0C4A6E 0%, #7DB7D6 55%, #F3F9FC 100%);
}

/* Two photos. */
.tackle-photos {
    display: flex;
    gap: 10px;
}

/* Each photo. */
.tackle-photos img {
    width: 50%;
    height: 230px;
    object-fit: cover;
}

/* ----- Booking (class) ----- */

/* Photo then form. */
.book {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 56px 16px;
}

/* Sunrise photo. */
.book img {
    height: 260px;
    object-fit: cover;
}

/* Form box. */
.trip-form fieldset {
    border: 3px solid #0C4A6E;
    border-radius: 8px;
    padding: 22px;
    background-color: #FFFFFF;
}

/* Form title. */
.trip-form legend {
    font-family: "Bitter", Georgia, serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #0C4A6E;
    padding: 0px 8px;
}

/* Labels. */
.trip-form label {
    display: block;
    font-weight: 600;
    margin-top: 12px;
}

/* Inputs. */
.trip-form input,
.trip-form select {
    width: 100%;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 1rem;
    padding: 9px;
    border: 2px solid #586871;
    border-radius: 6px;
}

/* Submit spacing. */
.trip-form button {
    margin-top: 18px;
}

/* ----- Dock footer (class) ----- */

/* Weathered dock boards. */
.dock {
    background-color: #6B5B40;
    background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 118px, #3F3424 118px, #3F3424 122px);
    color: #FFFFFF;
    font-size: 0.82rem;
    text-align: center;
    padding: 28px 16px;
}

/* ----- Small tablets (576px and up) ----- */

@media (min-width: 576px) {

    /* Three compartments per row. */
    .slot {
        flex: 1 1 30%;
    }
}

/* ----- Tablets (768px and up) ----- */

@media (min-width: 768px) {

    /* Taller water so fish sit at their depths. */
    .water {
        height: 420px;
    }

    /* Each fish placed at its depth. */
    .fish {
        position: absolute;
        margin-bottom: 0px;
        max-width: 46%;
    }

    /* Spring: shallow, near the bank. */
    .f-spring {
        top: 5%;
        left: 60px;
    }

    /* Summer: deep off the point. */
    .f-summer {
        top: 66%;
        left: 50%;
    }

    /* Fall: mid depth. */
    .f-fall {
        top: 30%;
        left: 34%;
    }

    /* Winter: deepest. */
    .f-winter {
        top: 84%;
        left: 30%;
    }

    /* Wider bank so the slope shows. */
    .bank {
        width: 24%;
        clip-path: polygon(0% 0%, 12% 0%, 100% 100%, 0% 100%);
    }

    /* Photo beside the form. */
    .book {
        flex-direction: row;
    }

    /* Each half. */
    .book img,
    .trip-form {
        width: 50%;
    }

    /* Photo fills its half. */
    .book img {
        height: auto;
    }
}

/* ----- Laptops (992px and up) ----- */

@media (min-width: 992px) {

    /* No menu button. */
    .menu-icon {
        display: none;
    }

    /* Logo left, nav right. */
    .hull {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 40px;
        padding-right: 50px;
    }

    /* Nav always shown. */
    .hull-nav {
        display: block;
    }

    /* Nav in a row. */
    .hull-nav ul {
        flex-direction: row;
        gap: 26px;
        padding-top: 0px;
    }

    /* Words beside the photo. */
    .cast {
        flex-direction: row;
        align-items: center;
        padding: 50px 40px 70px 40px;
    }

    /* Each half. */
    .cast-text,
    .cast-photo {
        flex: 1 1 50%;
    }

    /* Taller photo. */
    .cast-photo img {
        height: 440px;
    }

    /* Wider sections. */
    #depth,
    .tackle,
    .book {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ----- Wide screens (1200px and up) ----- */

@media (min-width: 1200px) {

    /* Content in a 1140px column. */
    .cast,
    #depth,
    .tackle,
    .book {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }
}
