/* ---------- Reset ---------- */

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


/* ---------- Page ---------- */

body {
    min-height: 100vh;

    background: linear-gradient(
        to bottom,
        #f8f4e9 0%,
        #f8f4e9 60%,
        #d8cfc1 78%,
        #594e44 100%
    );

    background-attachment: fixed;
}


/* ---------- Main logo area ---------- */

.hero {
    width: min(92vw, 1050px);

}


/* ---------- Hero layout ---------- */

.brand-row {
    display: flex;
    align-items: center;
    gap: 40px;
   
}
.pagoda-block {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: 18vh;
}

/* ---------- Pagoda ---------- */

.pagoda {
    width: clamp(385px, 39vw, 550px);
    height: auto;
    flex-shrink: 0;


}

/* ---------- K-tai ---------- */

.ktai {
    width: 800px;
    height: auto;
    flex-shrink: 0;
}

.ktai-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slogan {
    margin-top: 10px;
    font-size: 30px;
    font-style: italic;
    font-family: Georgia, serif;
    color: #1a1714;
}

/* Meet the Pack */

.construction-page {
    width: 100%;
    text-align: center;
}

.construction-image {
    width: min(90vw, 1200px);
    height: auto;
    margin-top: 60px;
}

.dogs-life-image {
    width: min(80vw, 1000px);
}

.building-title {
    margin-top: -50px;
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: normal;
    color: #1a1714;
}

.dogs-life-title {
    margin-top: 20px;
}

.building-tagline {
    margin-top: 6px;
    font-family: Georgia, serif;
    font-size: 20px;
    font-style: italic;
    color: #594e44;
}
.about-page {
    width: min(92%, 1050px);
    margin: 0 auto;
    padding: 35px 0 25px;
}

.about-columns {
    display: flex;
    gap: 50px;
}

.about-column {
    flex: 1;
}

.blondie-signature img {
    
    width: 55px;
    height: auto;
}

.blondie-signature {
    margin-top: 30px;
    margin-bottom: 15px;
}

.registration {
    margin-top: 25px;
}

.about-page h1 {
    margin-bottom: 8px;
}

.bottom-section {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.team-page {
    text-align: center;
    padding-top: 25px;
}

.boardroom-image {
    width: min(96vw, 1350px);
    height: 380px;
    object-fit: fill;
}

.registration-message {
    margin-top: 12px;
    line-height: 1.4;
}

.registration-message strong {
    font-size: 1.2rem;
}

.confetti {
    position: fixed;
    top: -10px;
    width: 10px;
    height: 10px;
    background: gold;
    z-index: 9999;
    pointer-events: none;
    animation: confetti-fall 3s linear forwards;
}

.confetti:nth-child(3n) {
    background: crimson;
}

.confetti:nth-child(3n + 1) {
    background: royalblue;
}

@keyframes confetti-fall {
    to {
        transform: translateY(105vh) rotate(720deg);
        opacity: 0;
    }
}

.register-button.ready {
    animation: register-pulse 1.2s ease-in-out infinite;
}

@keyframes register-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

#pet-name {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#pet-name:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.register-button.bump {
    animation: button-bump 0.18s ease;
}

@keyframes button-bump {
    50% {
        transform: scale(1.08);
    }
}

/* ---------- Team Profiles ---------- */

.team-profiles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px 40px;
    width: min(92%, 1050px);
    margin: 30px auto 0;
    text-align: left;

}

.team-bio {
    grid-column: span 2;
}

.team-bio:nth-child(1) {
    grid-column: 2 / span 2;
}

.team-bio:nth-child(2) {
    grid-column: 4 / span 2;
}

.team-bio ul {
    margin-top: 8px;
    padding-left: 22px;
    list-style-type: disc;
}

.team-bio h3 {
    margin-top: 3px;
}

.team-title {
    font-size: 0.8em;
}

.site-menu {
    margin-top: 45px;
    text-align: center;
    width: 100%;
    font-size: 16px;
}


.site-menu a {
    color: #f3e5c0;
    text-decoration: none;
    font-weight: bold;
}

.site-menu a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.site-menu a:hover {
    transform: scale(1.08);
}

.site-menu span {
    color: #f3e5c0;
}

.hero .site-menu {
    position: relative;
    left: 50vw;
    transform: translateX(-50%);
    width: 100vw;
}

.hero .site-menu {
    margin-top: 120px;
    position: relative;
    left: 50vw;
    transform: translateX(-50%);
    width: 100vw;
}

/* ---------- About Page Menu ---------- */

.about-page .site-menu {
    margin-top: 160px;
}

/* ---------- Mobile ---------- */

.mobile-menu-button,
.mobile-menu {
    display: none;
}
@media (max-width: 600px) {

    .hero {
        width: 100%;
    }

    .brand-row {
        flex-direction: column;
        gap: 15px;
    }

    .pagoda-block {
        margin-top: 25px;
    }

    .pagoda {
        width: 80%;
        max-width: 300px;
    }

    .ktai {
        width: 92%;
        max-width: 345px;
    }

    .slogan {
        font-size: 20px;
        text-align: center;
        padding: 0 15px;
    }

        .site-menu {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1001;
        font-size: 28px;
        background: transparent;
        border: none;
        cursor: pointer;
        color: #1a1714;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: 55px;
        right: 15px;
        z-index: 1000;
        padding: 15px 20px;
        background: #f8f4e9;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .mobile-menu a {
        display: block;
        padding: 7px 0;
        color: #1a1714;
        text-decoration: none;
        font-weight: bold;
    }

        .mobile-menu.open {
        display: block;
    }

      .about-columns {
        flex-direction: column;
        gap: 20px;
    }

    .about-page {
        width: 90%;
        padding-top: 25px;
    }

        .registration {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

   .register-button {
    padding: 6px 12px;
    cursor: pointer;
    margin: 0 auto;
}
.building-title {
    margin-top: 5px;
    font-size: 28px;
}

    .boardroom-image {
        width: 94%;
        height: auto;
        object-fit: contain;
    }

    .team-profiles {
        display: block;
        width: 88%;
        margin: 25px auto 0;
    }

    .team-bio {
        margin-bottom: 28px;
    }

}