/* ------------------------------------------------------------------
   Badger Bug - shared look & feel (index, privacy, contact)
   Change a colour here and it changes on every page.
   ------------------------------------------------------------------ */

:root {
    --sand:        #d7c7a8;   /* page background */
    --sand-nav:    rgba(248, 243, 232, 0.78);
    --forest:      #2e4a38;   /* panel background */
    --forest-hi:   #3f6349;
    --forest-mid:  #33523d;
    --forest-lo:   #294131;
    --cream:       #f3ead9;   /* headings on forest */
    --cream-dim:   #ece5d5;   /* body copy on forest */
    --cream-mute:  #e9dfc8;   /* sub-headings on forest */
    --leaf:        #a9d9ba;   /* links on forest */
    --ink:         #1d2a1f;   /* text on sand */
}

body {
    position: relative;
    padding-top: 75px;
    background: var(--sand);
    color: var(--ink);
}

.container {
    max-width: 1200px;
}

/* ---- brand wordmark ---- */

.logo {
    font-family: "Noteworthy", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: var(--cream);
}

/* ---- fixed nav bar ---- */

.navbar {
    background: var(--sand-nav) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 18px rgba(72, 60, 46, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar .navbar-brand.logo {
    color: var(--forest) !important;
    font-size: 1.35rem;
    text-shadow: none;
}

.nav-link, .page-link {
    color: #2f4a39 !important;
    font-weight: 500;
}

.page-link {
    margin-left: 20px;
}

.nav-link.active, .page-link.active {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ---- the forest-green card, shared by every page ---- */

.panel, .jumbotron {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 2.75rem 2.5rem 2.25rem;
    overflow: hidden;
    border: 1px solid rgba(20, 34, 25, 0.30);
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(74, 60, 44, 0.22);
    color: var(--cream-dim);
    background-color: var(--forest);
    background-image: radial-gradient(120% 150% at 12% 0%,
                                      var(--forest-hi) 0%,
                                      var(--forest-mid) 45%,
                                      var(--forest-lo) 100%);
}

.panel hr, .jumbotron hr {
    border-top-color: rgba(243, 234, 217, 0.28);
}

.panel a, .jumbotron a {
    color: var(--leaf);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.panel a:hover, .panel a:focus,
.jumbotron a:hover, .jumbotron a:focus {
    color: #d7f0e0;
}

.panel-title {
    font-family: "Noteworthy", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    line-height: 1.2;
    font-size: 3.5rem;
    color: var(--cream);
    text-shadow: 0 2px 10px rgba(16, 28, 20, 0.35);
    margin-bottom: 0.85rem;
}

.panel-lead {
    font-weight: bold;
    font-size: 1.35rem;
    color: var(--cream-mute);
    margin-bottom: 0;
}

/* ---- badger tucked into the bottom-right of a card ---- */
/* sized by HEIGHT so it can never grow up into the copy */

.panel--badger {
    padding-bottom: 195px;
    background-image:
        url("assets/badger-cream.png"),
        radial-gradient(120% 150% at 12% 0%,
                        var(--forest-hi) 0%,
                        var(--forest-mid) 45%,
                        var(--forest-lo) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right 3rem bottom 1.5rem, center center;
    background-size: auto min(162px, 26vw), cover;
}

/* ---- badger-bulleted list (privacy page) ---- */

.badger-list {
    list-style: none;
    padding-left: 0;
    margin: 1.75rem 0 0;
}

.badger-list li {
    position: relative;
    padding-left: 5.75rem;
    min-height: 40px;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.55;
}

.badger-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 74px;
    height: 40px;
    background: url("assets/badger-cream.png") no-repeat left center / contain;
    opacity: 0.92;
}

.badger-list li:last-child {
    margin-bottom: 0;
}

/* ---- page footer ---- */

.site-footer {
    max-width: 1200px;
    margin: 1.5rem auto 3rem;
    padding: 0 2.5rem;
    font-size: 0.95rem;
    color: #5d5240;
}

.site-footer a {
    color: #2f4a39;
}

@media (max-width: 575px) {
    .panel, .jumbotron { padding: 2rem 1.5rem 1.75rem; border-radius: 18px; }
    .panel--badger    { padding-bottom: 150px; }
    .panel-title      { font-size: 2.5rem; }
    .site-footer      { padding: 0 1.5rem; }
}
