:root {

    --font-header: 'Lilita One', serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    /* 🎨 Primary Brand Colors */
    --color-rosewood: #C57793;
    --color-blush: #FFE6E6;
    --dark-blue: #0e047c;
    --light-teal: #9af3f4;
    --color-aqua-splash: #6EDFE1;
    --color-royal-bark: #2110DE;
    --color-magenta-pop: #AB006C;

    /* 🐾 Secondary Accent Colors */
    --color-coral-happy: #E68787;
    --color-paw-pink: #FF0095;
    --color-tail-teal: #15E3B6;
    --color-pup-gray: #65646E;
    --color-bone-tan: #B19569;
    --gold: rgb(255, 207, 33);
    --bright-gold: rgb(255, 230, 138);
    --green: #2ea830;
    --red: #e02e2e;
    --red-hover: #d43b3b;

    /* 🅰️ Text & Background Defaults */
    --text-color: #1a1a1a;
    --background-color: #fff;
    --off-white: #f2e9e9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 1rem;
    overflow-x: hidden;
    background-color: var(--off-white);
    color: var(--text-color);
    fill: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    z-index: 0;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: var(--color-coral-happy);
    transition: color .1s ease;
}

a:hover {
    color: var(--color-rosewood);
}

h1 {
    font-family: var(--font-header);
}

p {
    font-size: 1.1rem;
}

ul li {
    list-style-type: none;
}

h1,
h2,
h3 {
    font-family: var(--font-header);
    margin: 0 0 1rem;
    font-weight: 400;
}

h2 {
    color: var(--off-white)
}

h3 {
    color: var(--color-magenta-pop);
}

.wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    justify-content: center;
}

header {
    background-color: transparent;
    color: var(--off-white);
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid transparent;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}

header.scroll {
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(59, 34, 0, 0.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.header-div {
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

.header-title {
    font-size: clamp(1.25rem, 1.5rem + .25vh, 2.25rem);
    font-family: var(--font-header);
    font-weight: 400;
    text-align: center;
}

.logo {
    width: 2.5rem;
    height: 2.5rem;
}

.logo svg {
    width: 2.5rem;
    height: 2.5rem;
    transform: rotateY(180deg);
    filter: brightness(1);
    transition: filter 0.2s ease;
}

.logo:hover svg {
    filter: brightness(1.1)
}

.cta {
    background-color: var(--red);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 700;
    padding: .75em 2.15em;
    font-size: .875rem;
    border: none;
    border-radius: 6px;
    margin: 1rem auto;
    width: fit-content;
    cursor: pointer;
    transition: background-color 0.2s ease, color .2s ease, transform .2s ease;
}

.cta:hover {
    background-color: var(--red-hover);
    color: var(--off-white);
}

.cta:active {
    transform: scale(.95);
}

header .cta {
    padding: .6em 1.8em;
    margin: 0 auto;
}

#hero {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero .wrapper {
    text-align: center;
}

.subtext {
    font-size: 1.25rem;
    color: rgba(242, 233, 233, .95);
}

#about {
    background-color: var(--gold);
    padding: 3rem 2rem;
    text-align: center;
}

#about h2 {
    color: var(--color-magenta-pop);
}

#about p {
    max-width: 600px;
    margin: 1rem auto;
    text-align: left;
}

#services {
    min-height: 75vh;
    padding: 3rem 2rem;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#services h2 {
    color: var(--gold);
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    z-index: 1;
}

.service-card {
    padding: 1.5rem;
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    margin: 1rem;
    text-align: left;
    display: inline-block;
    background: linear-gradient(to bottom right, rgba(253, 231, 151, .8), rgba(252, 211, 63, .8));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--text-color);
}

.service-card h3 {
    margin-bottom: .25rem
}

.service-card svg {
    width: 4rem;
    height: 4rem;
}

.service-card p {
    font-size: 1rem;
}

.service-card ul {
    margin-top: .75rem;
    border-radius: 8px;
}

.service-card ul li {
    font-size: .9375rem;
}

#hours {
    padding: 4rem 2rem;
    background-color: var(--gold);
}

.hours-grid {
    display: grid;
    align-items: center;
    grid-template-columns: auto auto;
    gap: 0 1.5rem;
    width: 100%;
    max-width: 1000px;
    justify-content: center;
}

.bold {
    font-weight: 700;
}

#contact {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

#hours h2 {
    color: var(--color-magenta-pop)
}

#contact p {
    margin-top: 0.5rem;
    color: var(--off-white)
}

.appointment-form {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.form-wrapper {
    background: rgba(255, 255, 255, .5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin: 2rem auto 1rem;
    border: 1px solid rgba(0, 0, 0, 0.35);
    padding: 2.5rem 1rem;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    background: rgba(255, 255, 255, .4);
    font-size: 1rem;
    transition: all .2s ease;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 4px;
    color: rgba(0, 0, 0, .8);
    font-size: 1rem;
    pointer-events: none;
    transition: 0.2s ease all;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -14px;
    left: 2px;
    font-size: 0.9375rem;
    color: var(--color-magenta-pop);

}

form .cta {
    font-size: 1.125rem;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, .85);

}

footer {
    background-color: var(--green);
    color: var(--off-white);
    padding: 1.5rem;
    text-align: center;
}

@media screen and (max-width: 768px) {

    h1 {
        font-size: clamp(2rem, 3rem + .5vh, 4rem);
        letter-spacing: -.5px;
        line-height: 1.1;
    }

    h2 {
        font-size: clamp(2rem, 2.5rem + .5vh, 3rem);
        line-height: 1.2;
    }

    h3 {
        font-size: clamp(1.5rem, 1.75rem + .5vh, 2.25rem);
        line-height: 1.2;
    }

    .header-title {
        font-size: clamp(.9375rem, 1rem + .25vh, 1.25rem);
    }

    header .cta {
        padding: .45em .9em;
        font-size: .825rem
    }

    .logo svg,
    .logo {
        width: 2rem;
        height: 2rem;
    }

    .header-div {
        padding: .5rem 1rem;
    }

    #hero {
        background: none;
        position: relative;
        background-size: cover;
        background-position: center;
        z-index: 2;
        padding: 4rem 1rem;
    }

    .subtext {
        line-height: 1.4;
        font-size: 1.125rem;
    }

    .hero-bg {
        position: absolute;
        inset: 0;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("/img/mobile-dog1.webp");
        background-size: 110%;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        z-index: -1;
    }

    #hero .wrapper {
        height: 100%;
    }

    #services {
        padding: 0 1rem;
        min-height: unset;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("/img/mobile-dog2.webp");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }

    #services .wrapper {
        padding: 2rem 0;
    }

    .services-bg {
        display: none;
    }

    .service-cards {
        margin: 0 auto;
        gap: .25rem;
    }

    .service-card {
        padding: 2rem;
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }

    .service-card p {
        font-size: 1rem;
    }

    .service-card ul li {
        line-height: 1.4;
        font-size: 1rem;
    }

    .service-card svg {
        width: 5rem;
    height: 5rem;
        margin-bottom: .5rem;
    }

    #contact {
        padding: 4rem 1rem;
        z-index: 3;
        min-height: unset;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("/img/mobile-dog3.webp");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }

    .contact-bg {
        display: none;
    }

    input[type="date"] {
        width: 250px;
        margin-left: 0;
        padding: 12px;
        margin-right: auto;
        box-sizing: content-box;
        height: 2.5rem;
    }

    .form-group {
        display: flex;
    }

    footer {
        padding: 3rem 1rem;
    }


}

@media screen and (min-width: 769px) {

    #hero {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("/img/dog1.webp");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    /* .hamburger {
        display: none;
    } */

    h1 {
        font-size: clamp(2.75rem, 3.5rem + .5vh, 5.125rem);
    }

    h2 {
        font-size: clamp(2.25rem, 2.75rem + .5vh, 3.5rem);
    }

    h3 {
        font-size: clamp(1.25rem, 1.75rem + .5vh, 2rem);
    }

    .services-bg {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("/img/dog2.webp");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        filter: blur(1px);
        -webkit-filter: blur(1px);
        pointer-events: none;
        z-index: -1;
    }

    .contact-bg {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("/img/dog3.webp");
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: scroll;
        background-position: center;
        pointer-events: none;
        filter: blur(1px);
        -webkit-filter: blur(1px);
        z-index: -1;
    }

}