:root {
    --pine-950: #102722;
    --pine-900: #18352f;
    --pine-800: #23483f;
    --clay-700: #9a5c49;
    --clay-600: #b8755d;
    --brass-500: #b99b5d;
    --cream-50: #fbfaf6;
    --mineral-100: #f1eee6;
    --mineral-200: #e4e1d7;
    --ink-900: #20302b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: var(--ink-900);
    background: var(--cream-50);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--pine-900) 0%, var(--pine-950) 100%);
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(120%) blur(4px);
}

.nav {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    text-align: center;
    gap: 8px;
}

.nav-item {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.nav-item:hover,
.nav-item:focus {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    color: #ffffff;
    outline: none;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.06);
}

.nav-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 80%;
    height: 2px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.35);
    display: block;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.22s cubic-bezier(.2, .9, .2, 1);
}

.nav-item:hover::after,
.nav-item.active::after {
    transform: translateX(-50%) scaleX(1);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 92px;
    display: block;
    margin: auto;
    transition: transform 0.24s ease;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.home-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px;
}

.footer {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(135deg, var(--pine-950) 0%, var(--pine-900) 52%, var(--pine-800) 100%);
    color: #fff;
    padding: 28px 20px;
    box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.14);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px) saturate(120%);
    position: relative;
    z-index: 40;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.footer-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.9fr) auto;
    gap: 24px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.footer-logo img {
    height: 88px;
    display: block;
    margin: 0;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
}

.footer-brand-copy {
    display: grid;
    gap: 6px;
}

.footer-kicker {
    color: #d9cfb1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-tagline {
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    max-width: 360px;
}

.footer-contact,
.footer-social {
    display: grid;
    gap: 8px;
}

.footer-heading {
    color: #c8b889;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-social {
    justify-items: end;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-button {
    min-width: 48px;
    min-height: 48px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.social-button img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.social-button:hover,
.social-button:focus {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
    outline: none;
}

.footer-text {
    color: #e9e5d9;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .nav-item {
        font-size: 16px;
        padding: 8px 10px;
    }

    .logo img {
        height: 84px;
    }
}

@media (max-width: 820px) {
    .nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .nav-item {
        font-size: 16px;
        padding: 8px 8px;
    }

    .logo {
        grid-column: 2;
        grid-row: 1;
    }

    .logo img {
        height: 74px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .footer-brand-copy {
        justify-items: center;
    }

    .footer-social {
        justify-items: center;
    }
}

@media (max-width: 560px) {
    .nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .logo {
        grid-column: 1 / -1;
        grid-row: auto;
        order: -1;
        margin-bottom: 4px;
    }

    .nav-item {
        font-size: 15px;
        padding: 8px 6px;
    }

    .logo img {
        height: 66px;
    }

    .footer {
        padding: 16px 12px;
    }

    .footer-inner {
        gap: 16px;
    }

    .footer-logo img {
        height: 72px;
    }

    .footer-tagline {
        font-size: 14px;
    }

    .footer-social-links {
        justify-content: center;
    }

    .social-button img {
        width: 28px;
        height: 28px;
    }

    .footer-text {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .site-header {
        padding: 12px 10px;
    }

    .nav-item {
        font-size: 14px;
        min-height: 40px;
    }
}

img[src$="Field01.jpg"] { object-position: 50% 62%; }
img[src$="Field02.jpg"] { object-position: 50% 15%; }
img[src$="Stall01.jpg"] { object-position: 50% 35%; }
img[src$="Bath01.jpg"] { object-position: 50% 88%; }
img[src$="Dog02.jpg"] { object-position: 50% 25%; }
