@import url('https://fonts.googleapis.com/css2?family=Margarine&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gluten:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

html {
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
    background-color: #740101;
    color: #111;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    min-height: 100vh;
    line-height: 1.6;
}

img, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: whitesmoke;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease-in-out;
}

a:hover,
a:focus {
    color: #fff;
    text-decoration: underline;
}

header {
    background-color: #efbd33;
    background-image: url(img/prints.jpg);
    background-size: cover;
    background-position: center;
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    margin: 0;
    font-family: 'Margarine', cursive;
    color: white;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

#nav {
    margin-top: 1.5rem;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 2.4rem;
    height: 2.4rem;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0.25rem;
}

.menu-toggle span {
    display: block;
    width: 1.6rem;
    height: 0.18rem;
    margin: 0.18rem auto;
    background: white;
    border-radius: 999px;
    transition: transform 0.22s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav.open {
    display: block;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav li {
    margin: 0;
}

nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    min-width: 100px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

section {
    margin-bottom: 2.5rem;
}

section#about,
#welcome,
#gallery,
#list {
    max-width: 1000px;
    margin: 0 auto;
}

h2 {
    margin: 0 0 1rem;
    font-family: 'Gluten', cursive;
    color: #111;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

h3 {
    margin: 1.5rem 0 1rem;
    font-family: 'Gluten', cursive;
    color: #111;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    text-align: center;
}

p,
li {
    color: #111;
    font-size: clamp(1rem, 1.3vw, 1.4rem);
    font-weight: 600;
}

.para,
section#about p,
section#about li {
    margin: 0 auto 1.5rem;
    text-align: center;
    max-width: 900px;
}

.about-img,
.gallery-img,
.dogs,
iframe {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-img {
    width: min(100%, 520px);
    margin: 2rem auto;
}

.dogs {
    width: min(100%, 760px);
    margin: 2rem auto 4rem;
}

figure {
    margin: 0;
    text-align: center;
}

figcaption {
    margin-top: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

#gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

#gallery img {
    width: 100%;
    object-fit: cover;
}

.testimonial {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #efbd33;
    border-radius: 10px;
    padding: 1.2rem;
    margin: 1rem auto;
    max-width: 880px;
    color: #111;
}

#list {
    padding: 0 0.5rem;
}

ol,
ul {
    max-width: 900px;
    margin: 0.5rem auto 0;
    padding-left: 1.25rem;
}

iframe {
    width: 100%;
    max-width: 900px;
    min-height: 640px;
    border: none;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #5a0303;
    color: white;
}

@media (max-width: 900px) {
    nav ul {
        gap: 0.75rem;
    }

    nav a {
        padding: 0.55rem 0.8rem;
    }

    .testimonial,
    .about-img,
    .dogs,
    iframe {
        width: 100%;
    }

    #nav {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 0.95rem;
    }

    header {
        padding: 1.25rem 1rem;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2,
    h3 {
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        width: 100%;
    }

    .site-nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    nav a {
        min-width: unset;
        width: 100%;
        max-width: 320px;
    }

    #gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .para,
    section#about p {
        margin: 0.75rem auto 1rem;
        padding: 0 0.75rem;
    }

    #about,
    #list,
    #welcome {
        padding: 0 0.75rem;
    }

    iframe {
        min-height: 560px;
    }
}

@media (min-width: 1440px) {
    main {
        padding: 3rem 2rem 4rem;
    }

    nav ul {
        gap: 1.5rem;
    }
}