/* stopbadagile.sallysloley.com - jungle variant of the sunset design */
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&family=Nunito:wght@400;600;700&display=swap');

:root {
  --j-canopy:   #1F4231;   /* deepest green - headings, nav pill */
  --j-leaf:     #2F5D46;   /* aviary green - buttons, links */
  --j-moss:     #4F7A5B;   /* hover, rules */
  --j-fern:     #B9CDB0;   /* soft accents */
  --j-page:     #DDE7D2;   /* page background - light jungle haze */
  --j-card:     #F2F5EC;   /* cards */
  --j-white:    #FFFFFF;
  --j-ink:      #1E2A22;
  --j-body:     #3B4A3F;
  --j-stone:    #6F7F72;
  --j-coral:    #E8917A;   /* small warm accent - the birds */
  --j-gold:     #E3B96A;

  --f-display: 'Amatic SC', cursive;
  --f-body: 'Nunito', system-ui, sans-serif;
  --fs-d1: clamp(3.2rem, 8vw, 6rem);
  --fs-d2: clamp(2.4rem, 5vw, 4rem);
  --fs-d3: clamp(1.8rem, 3.5vw, 2.4rem);
  --max: 1080px;
  --narrow: 720px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--j-body);
  background: var(--j-page);
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(255,255,255,.55), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(47,93,70,.10), transparent 50%);
  background-attachment: fixed;
}
a { color: var(--j-leaf); text-decoration: underline; text-decoration-color: var(--j-fern); text-underline-offset: 3px; }
a:hover { color: var(--j-canopy); text-decoration-color: var(--j-moss); }
img { max-width: 100%; display: block; }

h1, h2, h3, .display-1, .display-2, .display-3 {
  font-family: var(--f-display); font-weight: 700; color: var(--j-canopy); line-height: 1.05; letter-spacing: .01em;
}
.display-1 { font-size: var(--fs-d1); }
.display-2 { font-size: var(--fs-d2); }
.display-3 { font-size: var(--fs-d3); }
.lead { font-size: 1.25rem; line-height: 1.6; }
.meta { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--j-stone); font-weight: 600; }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.rule { width: 56px; height: 3px; background: var(--j-moss); border-radius: 3px; margin: 1.25rem auto; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: var(--narrow); }
.section { padding: 5rem 0; }
.section--tight { padding: 2.5rem 0; }

/* nav */
.nav { padding: 1.1rem 0; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { font-family: var(--f-display); font-size: 2rem; color: var(--j-canopy); text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.nav ul a { text-decoration: none; color: var(--j-body); font-weight: 600; font-size: .95rem; }
.nav ul a:hover { color: var(--j-canopy); }
.nav ul a[aria-current="page"] { color: var(--j-canopy); font-weight: 800; }
.nav ul a.pill {
  color: var(--j-leaf); border: 1.5px solid var(--j-leaf); border-radius: 999px; padding: .3rem .9rem;
}
.nav ul a.pill:hover, .nav ul a.pill[aria-current="page"] { background: var(--j-leaf); color: var(--j-white); }

/* buttons */
.btn {
  display: inline-block; font-family: var(--f-body); font-size: .9rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; transition: all .2s;
}
.btn-primary { background: var(--j-leaf); color: var(--j-white); }
.btn-primary:hover { background: var(--j-canopy); color: var(--j-white); }
.btn-outline { background: transparent; color: var(--j-canopy); border-color: var(--j-canopy); }
.btn-outline:hover { background: var(--j-canopy); color: var(--j-white); }
.btn-warm { background: var(--j-coral); color: var(--j-white); }
.btn-warm:hover { background: #D3775F; color: var(--j-white); }

/* cards + grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--j-card); border-radius: var(--radius); padding: 2rem 1.75rem;
  border: 1px solid rgba(47,93,70,.15); box-shadow: 0 6px 24px rgba(31,66,49,.06);
}
.card h3 { margin-bottom: .6rem; }
.card p { margin-bottom: .9rem; }
.card .credit { font-size: .8rem; color: var(--j-stone); font-style: italic; }

/* hero bird - half size */
.hero-bird { width: 50%; max-width: 260px; margin: 0 auto 1.5rem; }
.hero-bird img {
  width: 100%; aspect-ratio: 2.5/3.5; object-fit: cover; border-radius: 18px;
  border: 10px solid var(--j-white); background: var(--j-white);
  box-shadow: 0 10px 30px rgba(31,66,49,.18);
}

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery img {
  width: 100%; height: auto; border-radius: 12px; background: var(--j-card);
  border: 3px solid var(--j-white); box-shadow: 0 4px 14px rgba(31,66,49,.10); transition: transform .2s;
}
.gallery img:hover { transform: translateY(-3px) rotate(-1deg); }

/* footer */
footer { padding: 3rem 0 2.5rem; color: var(--j-stone); font-size: .9rem; }
footer .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
footer ul { list-style: none; display: flex; gap: 1.25rem; flex-wrap: wrap; }
footer a { color: var(--j-stone); text-decoration: none; }
footer a:hover { color: var(--j-canopy); }
