/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 11, 2026
    Project:    Concept Site - Muddy Paws Grooming (fictional business)
    Filename:   styles.css

    Layout plan: mobile-first, playful. The hero photo is a soft "blob"
    made with an eight-value border-radius. Paw prints are drawn with
    radial gradients. In the price table, four hidden radio buttons come
    before the table, and :checked ~ selectors highlight the matching
    column (.col-s, .col-m ...) and the matching size button. The report
    card stars come from ::before content. Media queries at 576px, 768px,
    992px and 1200px, in ascending order.

    Colors (WebAIM checked, AA):
      #2A1222 plum   #BE185D pink (darker than #DB2777 for white text)
      #0369A1 sky (darker than #0EA5E9 for text)   #FFF5FA blush
      #6B4A5C muted
*/

/* ----- Browser reset (universal) ----- */

/* border-box sizing and zero default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Blush page, plum text. */
body {
    background-color: #FFF5FA;
    color: #2A1222;
    font-family: Nunito, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Responsive images. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Round, bouncy headings. */
h1,
h2,
h3 {
    font-family: Fredoka, sans-serif;
    font-weight: 700;
    line-height: 1.05;
}

/* Section titles. */
h2 {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
}

/* Pink links. */
a {
    color: #BE185D;
    font-weight: 700;
}

/* Sky focus ring, also shown on the size button for a focused radio. */
a:focus-visible,
button:focus-visible,
.table-scroll:focus-visible,
.menu-check:focus-visible + .menu-icon,
#size-s:focus-visible ~ .size-buttons .size-s-label,
#size-m:focus-visible ~ .size-buttons .size-m-label,
#size-l:focus-visible ~ .size-buttons .size-l-label,
#size-xl:focus-visible ~ .size-buttons .size-xl-label {
    outline: 3px solid #0369A1;
    outline-offset: 3px;
}

/* Muted intro text. */
.lead {
    color: #6B4A5C;
    max-width: 38rem;
    margin: 8px 0px 22px 0px;
}

/* ----- Header (class) ----- */

/* White header with a dotted pink bottom edge. */
.site-header {
    background-color: #FFFFFF;
    border-bottom: 4px dotted #F9A8D4;
}

/* Logo and menu in a row. */
.header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

/* Logo. */
.logo {
    font-family: Fredoka, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #BE185D;
    line-height: 1.1;
}

/* Small line under the logo. */
.logo small {
    display: block;
    font-family: Nunito, sans-serif;
    font-size: 0.8rem;
    color: #6B4A5C;
}

/* Hidden menu checkbox (opacity keeps it keyboard reachable). */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Rounded sky menu button. */
.menu-icon {
    background-color: #0369A1;
    color: #FFFFFF;
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 700;
    cursor: pointer;
}

/* Nav hidden on phones until opened. */
.site-nav {
    display: none;
    width: 100%;
}

/* Opened menu shows nav. */
.menu-check:checked ~ .site-nav {
    display: block;
}

/* No bullets. */
.site-nav ul {
    list-style: none;
    padding-top: 8px;
}

/* Phone nav links. */
.site-nav a {
    display: block;
    color: #2A1222;
    text-decoration: none;
    padding: 9px 0px;
    border-top: 1px solid #FCE7F3;
}

/* Pink on hover. */
.site-nav a:hover {
    color: #BE185D;
}

/* Concept notice. */
.concept-note {
    background-color: #FCE7F3;
    font-size: 0.85rem;
    text-align: center;
    padding: 4px 16px;
}

/* ----- Hero (class) ----- */

/* Phone hero: text then blob photo. */
.hero {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 44px 20px 56px 20px;
}

/* Headline. */
.hero h1 {
    font-size: clamp(3rem, 9vw, 5.6rem);
    margin-bottom: 14px;
}

/* Pink second line. */
.hero h1 span {
    display: block;
    color: #BE185D;
}

/* Hero paragraph. */
.hero-text > p:not(.paws) {
    max-width: 30rem;
    margin-bottom: 22px;
}

/* Pink bubbly button. */
.button,
button {
    display: inline-block;
    background-color: #BE185D;
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    padding: 13px 28px;
    font-family: Fredoka, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

/* Darker pink on hover. */
.button:hover,
button:hover {
    background-color: #9D174D;
}

/* A trail of three paw prints. */
.paws {
    display: flex;
    gap: 18px;
    margin-top: 26px;
}

/* One paw: a big pad and four toes, all radial gradients in one box. */
.paws span {
    width: 44px;
    height: 44px;
    background-image:
        radial-gradient(ellipse at 50% 72%, #F9A8D4 0px, #F9A8D4 11px, transparent 12px),
        radial-gradient(circle at 18% 40%, #F9A8D4 0px, #F9A8D4 5px, transparent 6px),
        radial-gradient(circle at 38% 18%, #F9A8D4 0px, #F9A8D4 5px, transparent 6px),
        radial-gradient(circle at 62% 18%, #F9A8D4 0px, #F9A8D4 5px, transparent 6px),
        radial-gradient(circle at 82% 40%, #F9A8D4 0px, #F9A8D4 5px, transparent 6px);
}

/* Middle paw steps up. */
.paws span:nth-child(2) {
    transform: translateY(-12px) rotate(12deg);
}

/* Last paw steps down. */
.paws span:nth-child(3) {
    transform: rotate(-8deg);
}

/* The blob photo: eight border-radius values make an organic shape. */
.blob {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%;
    border: 8px solid #FFFFFF;
    box-shadow: 0px 16px 34px rgba(190, 24, 93, 0.18);
}

/* ----- Prices by size (class) ----- */

/* White band. */
.prices {
    background-color: #FFFFFF;
    padding: 56px 20px;
}

/* The radios are hidden but stay focusable. */
.size-radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* The size buttons wrap. */
.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

/* One size button. */
.size-buttons label {
    flex: 1 1 130px;
    border: 3px solid #FCE7F3;
    border-radius: 16px;
    padding: 10px 12px;
    font-family: Fredoka, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: center;
}

/* Weight range under the size name. */
.size-buttons small {
    display: block;
    font-family: Nunito, sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
}

/* The small dog icon is smaller than the giant one. */
.size-s-label i {
    font-size: 0.8rem;
}

/* Medium dog icon. */
.size-m-label i {
    font-size: 1.1rem;
}

/* Large dog icon. */
.size-l-label i {
    font-size: 1.4rem;
}

/* Giant dog icon. */
.size-xl-label i {
    font-size: 1.8rem;
}

/* The checked radio's button turns pink. */
#size-s:checked ~ .size-buttons .size-s-label,
#size-m:checked ~ .size-buttons .size-m-label,
#size-l:checked ~ .size-buttons .size-l-label,
#size-xl:checked ~ .size-buttons .size-xl-label {
    background-color: #BE185D;
    border-color: #BE185D;
    color: #FFFFFF;
}

/* Table box scrolls inside itself on narrow phones. */
.table-scroll {
    overflow-x: auto;
}

/* Table. */
table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
}

/* Caption kept for screen readers only (the heading says it). */
caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Cells. */
th,
td {
    padding: 11px 10px;
    border-bottom: 2px dotted #FCE7F3;
    text-align: center;
}

/* Service names. */
tbody th {
    text-align: left;
}

/* Column heads. */
thead th {
    font-family: Fredoka, sans-serif;
    font-size: 1.1rem;
}

/* The chosen size's column gets a pink tint and bold prices. */
#size-s:checked ~ .table-scroll .col-s,
#size-m:checked ~ .table-scroll .col-m,
#size-l:checked ~ .table-scroll .col-l,
#size-xl:checked ~ .table-scroll .col-xl {
    background-color: #FCE7F3;
    font-weight: 700;
    color: #9D174D;
}

/* ----- Report card (ID and class) ----- */

/* Section spacing. */
#report {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 56px 20px;
}

/* The card: white with a sky top edge, slightly tilted. */
.card {
    background-color: #FFFFFF;
    border-top: 10px solid #0369A1;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0px 14px 30px rgba(42, 18, 34, 0.12);
    transform: rotate(-1.5deg);
}

/* Card label line. */
.card-top {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0369A1;
}

/* Dog's photo on the card. */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 12px 0px;
}

/* One report line. */
.card dl div {
    padding: 8px 0px;
    border-bottom: 1px dashed #E6CFDB;
}

/* Report category. */
.card dt {
    font-family: Fredoka, sans-serif;
    font-weight: 700;
}

/* Stars, in a warm gold, before the words. */
.stars {
    color: #B45309;
    letter-spacing: 2px;
    margin-right: 4px;
}

/* Five stars. */
.stars-5::before {
    content: "\2605\2605\2605\2605\2605";
}

/* Four stars. */
.stars-4::before {
    content: "\2605\2605\2605\2605\2606";
}

/* Three stars. */
.stars-3::before {
    content: "\2605\2605\2605\2606\2606";
}

/* Space under the text heading. */
.report-text h2 {
    margin-bottom: 12px;
}

/* Poodles photo. */
.report-text img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 22px;
    margin-top: 20px;
}

/* ----- Spa extras (class) ----- */

/* Sky band. */
.extras {
    background-color: #0369A1;
    color: #FFFFFF;
    padding: 56px 20px;
}

/* Extras wrap as round-ended chips. */
.extra-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0px 26px 0px;
}

/* One extra. */
.extra-list li {
    background-color: #FFFFFF;
    color: #2A1222;
    border-radius: 999px;
    padding: 8px 16px;
}

/* Pink icon in each chip. */
.extra-list i {
    color: #BE185D;
    margin-right: 4px;
}

/* Happy dog photo. */
.happy {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 22px;
}

/* ----- Booking (class) ----- */

/* Section spacing. */
.book {
    padding: 56px 20px;
}

/* Form: two fieldsets stack on phones. */
.book-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}

/* Each fieldset is a white rounded card. */
.book-form fieldset {
    flex: 1 1 100%;
    background-color: #FFFFFF;
    border: 3px solid #FCE7F3;
    border-radius: 20px;
    padding: 18px;
}

/* Fieldset titles. */
.book-form legend {
    font-family: Fredoka, sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 0px 6px;
}

/* Labels. */
.book-form label {
    display: block;
    font-weight: 700;
    margin-top: 10px;
}

/* Inputs. */
.book-form input {
    width: 100%;
    padding: 10px 12px;
    margin-top: 4px;
    border: 2px solid #F3C4DA;
    border-radius: 12px;
    font-family: Nunito, sans-serif;
    font-size: 1rem;
}

/* Phone line. */
.call {
    margin-top: 14px;
    font-weight: 700;
}

/* ----- Footer (class) ----- */

/* Plum footer. */
.site-footer {
    background-color: #2A1222;
    color: #F3C4DA;
    text-align: center;
    font-size: 0.85rem;
    padding: 22px 20px;
}

/* ----- Small tablets (576px and up) ----- */

@media (min-width: 576px) {

    /* Taller blob. */
    .blob {
        height: 420px;
    }

    /* Wider happy photo. */
    .happy {
        height: 300px;
    }
}

/* ----- Tablets (768px and up) ----- */

@media (min-width: 768px) {

    /* More side padding. */
    .hero,
    .prices,
    #report,
    .extras,
    .book {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Report card and text side by side. */
    #report {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    /* Card column. */
    .card {
        flex: 1 1 45%;
    }

    /* Text column. */
    .report-text {
        flex: 1 1 50%;
    }

    /* Booking fieldsets side by side. */
    .book-form fieldset {
        flex: 1 1 40%;
    }
}

/* ----- Laptops (992px and up) ----- */

@media (min-width: 992px) {

    /* No Menu button on desktop. */
    .menu-icon {
        display: none;
    }

    /* Nav in the header row. */
    .site-nav {
        display: block;
        width: auto;
    }

    /* Links in a row. */
    .site-nav ul {
        display: flex;
        gap: 24px;
        padding-top: 0px;
    }

    /* No dividers on desktop. */
    .site-nav a {
        border-top: none;
    }

    /* Hero text and blob side by side. */
    .hero {
        flex-direction: row;
        align-items: center;
        gap: 50px;
        padding-top: 64px;
        padding-bottom: 72px;
    }

    /* Each hero half. */
    .hero-text,
    .blob {
        flex: 1 1 50%;
    }

    /* Bigger blob. */
    .blob {
        width: 50%;
        height: 500px;
    }

    /* Extras list and photo side by side. */
    .extras {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 40px;
    }

    /* Heading row. */
    .extras h2 {
        flex: 1 1 100%;
    }

    /* List column. */
    .extra-list {
        flex: 1 1 50%;
    }

    /* Photo column. */
    .happy {
        flex: 1 1 40%;
        width: auto;
    }
}

/* ----- Wide screens (1200px and up) ----- */

@media (min-width: 1200px) {

    /* Center content at 1140px. */
    .header-inner,
    .hero,
    .prices,
    #report,
    .extras,
    .book {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }
}
