/* === assets/css/styles.css === */

/* Palette inspired by African textiles: rich umber, gold, emerald, deep plum */
:root {
  --bg: #0e0b0a;
  --ink: #ede7e1;
  --muted: #b8b0a8;
  --gold: #c38e1f;
  --umber: #4a2c21;
  --emerald: #1c5f45;
  --plum: #4c2c4f;
  --card: #171311;
  --accent: var(--gold);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.site-header {
  border-bottom: 1px solid #2e2723;
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background: rgba(14,11,10, 0.6);
  z-index: 10;
}
.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: .5px;
  margin: 0;
  color: var(--ink);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 1rem;
  opacity: 0.9;
}
.site-header nav a:hover { opacity: 1; text-decoration: underline; }

.hero {
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(195,142,31,.25), transparent),
    radial-gradient(800px 300px at 90% -20%, rgba(28,95,69,.25), transparent),
    radial-gradient(600px 250px at 40% -30%, rgba(76,44,79,.25), transparent);
  border-bottom: 1px solid #2e2723;
}
.hero-inner { display: grid; grid-template-columns: 1fr; min-height: 240px; align-items: center; }
.hero h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: .2rem 0 .5rem;
}
.hero p { color: var(--muted); margin: 0 0 1rem; }

.search { display: flex; gap: .5rem; }
.search input {
  flex: 1; padding: .7rem .9rem; border-radius: .7rem; border: 1px solid #2c2522;
  background: #120f0d; color: var(--ink);
}
.search .btn { white-space: nowrap; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid #221c19;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.card.art img { display: block; width: 100%; height: auto; }
.card.art figcaption { padding: .75rem .9rem; }
.card.art h3 {
  margin: 0; font-size: 1.05rem; line-height: 1.3;
}
.card.art .byline {
  margin: .3rem 0 .2rem; color: var(--muted); font-size: .9rem;
}
.card.art .desc { color: #cfc8c1; font-size: .92rem; }

.btn {
  background: linear-gradient(135deg, var(--gold), #9a6f16);
  color: #0b0706;
  border: none;
  padding: .65rem 1rem;
  border-radius: .7rem;
  cursor: pointer;
  font-weight: 700;
}
.btn.small { padding: .4rem .7rem; font-size: .9rem; }
.btn:hover { filter: brightness(1.05); }

.alert { border-radius: .6rem; padding: .7rem .9rem; margin: .8rem 0; }
.alert.error { background: #3b1b16; border: 1px solid #6e2c20; }
.alert.success { background: #1b3b2b; border: 1px solid #2c6e52; }

.form-card label { display: grid; gap: .4rem; margin: .6rem 0; }
.form-card input[type="text"],
.form-card input[type="file"],
.form-card textarea {
  padding: .6rem .7rem;
  border-radius: .6rem;
  border: 1px solid #2e2723;
  background: #110e0d;
  color: var(--ink);
}

.bg-texture {
  background-image:
    radial-gradient(1200px 200px at -10% -50%, rgba(195,142,31,.1), transparent),
    radial-gradient(800px 200px at 110% -40%, rgba(28,95,69,.08), transparent);
  background-attachment: fixed;
}

.muted { color: var(--muted); }

/* Lightbox */
.lightbox.hidden { display: none; }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.8);
  display: grid; place-items: center; z-index: 100;
}
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: .5rem; }
.lightbox-close {
  position: fixed; top: .8rem; right: .8rem; font-size: 2rem;
  background: transparent; color: white; border: none; cursor: pointer;
}

.site-footer {
  border-top: 1px solid #2e2723;
  margin-top: 2rem;
  color: var(--muted);
}

/* Text-only brand mark */
.logo-text{
  --gold:#c38e1f; --umber:#4a2c21; --emerald:#1c5f45; --plum:#4c2c4f;
  --ink:#ede7e1; --bg:#0e0b0a;

  display:inline-block;
  font-family:"Playfair Display", Georgia, serif;
  font-weight:700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing:.5px;
  line-height:1;
  text-decoration:none;
  color:transparent;
  background:
    linear-gradient(135deg, var(--gold), #a87415);
  -webkit-background-clip:text;
  background-clip:text;
  position:relative;
  padding-bottom:.4rem;
}

/* Subtle “kente stripe” underline */
.logo-text::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:6px;
  border-radius:6px;
  background:
    repeating-linear-gradient(90deg,
      var(--gold) 0 16px,
      var(--emerald) 16px 32px,
      var(--plum) 32px 48px,
      var(--umber) 48px 64px);
  box-shadow:0 2px 8px rgba(0,0,0,.35);
  opacity:.95;
}

/* Color-play between word parts */
.logo-text .art{
  background:linear-gradient(135deg, var(--gold), #e5b13e);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.logo-text .life{
  margin-left:.06em;
  background:linear-gradient(135deg, var(--emerald), #2a7d5d);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.logo-text .savage{
  margin-left:.06em;
  background:linear-gradient(135deg, var(--plum), #6a3a6f);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}

/* Hover: gentle shimmer */
.logo-text:hover{
  filter:brightness(1.05);
}

/* Optional small version for mobile header */
@media (max-width:480px){
  .logo-text{ font-size:1.8rem; }
}
