/* ============================================
   Le Takunga — letakunga.com
   Stylesheet
   ============================================ */

:root {
  /* Palette */
  --midnight-deep:   #080b26;
  --midnight-mid:    #0e1338;
  --midnight-soft:   #161c50;
  --gold-light:      #fae384;
  --gold-mid:        #d9a846;
  --gold-deep:       #9e701e;
  --cream:           #ebdec4;
  --cream-bright:    #f5f0dc;
  --cream-dim:       #b8a984;

  /* Typography */
  --font-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-body:    "EB Garamond", "Garamond", "Georgia", serif;

  /* Layout */
  --content-width: 760px;
  --wide-width:    1100px;

  /* Shadows */
  --shadow-gold:   0 0 30px rgba(250, 227, 132, 0.18);
  --shadow-deep:   0 20px 60px rgba(0, 0, 0, 0.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding-left: 1.2em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color .25s ease; }
a:hover, a:focus { color: var(--cream-bright); }
button { font: inherit; cursor: pointer; }

/* ---------- Body / Starry background ---------- */
body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--cream);
  background-color: var(--midnight-deep);
  background-image:
    radial-gradient(ellipse at 50% 30%, var(--midnight-soft) 0%, var(--midnight-deep) 70%),
    radial-gradient(1px 1px at 20% 12%, rgba(255,255,255,0.85), transparent 50%),
    radial-gradient(1px 1px at 78% 22%, rgba(255,255,255,0.75), transparent 50%),
    radial-gradient(1.5px 1.5px at 35% 45%, rgba(255,255,255,0.9), transparent 50%),
    radial-gradient(1px 1px at 65% 60%, rgba(255,255,255,0.7), transparent 50%),
    radial-gradient(1px 1px at 12% 75%, rgba(255,255,255,0.85), transparent 50%),
    radial-gradient(1.5px 1.5px at 88% 82%, rgba(255,255,255,0.9), transparent 50%),
    radial-gradient(1px 1px at 50% 92%, rgba(255,255,255,0.7), transparent 50%),
    radial-gradient(1px 1px at 28% 30%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 72% 38%, rgba(255,255,255,0.65), transparent 50%),
    radial-gradient(1px 1px at 8% 55%, rgba(255,255,255,0.55), transparent 50%),
    radial-gradient(1.5px 1.5px at 92% 50%, rgba(255,255,255,0.8), transparent 50%),
    radial-gradient(1px 1px at 45% 18%, rgba(255,255,255,0.6), transparent 50%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Adds an extra starfield via tiled pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 15% 8%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 55% 28%, rgba(255,255,255,0.55), transparent 50%),
    radial-gradient(1px 1px at 82% 12%, rgba(255,255,255,0.7), transparent 50%),
    radial-gradient(1px 1px at 5% 45%, rgba(255,255,255,0.55), transparent 50%),
    radial-gradient(1px 1px at 35% 65%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 67% 85%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 95% 60%, rgba(255,255,255,0.55), transparent 50%);
  background-size: 600px 600px;
  background-repeat: repeat;
  opacity: 0.65;
}

body > * { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin-bottom: 0.5rem; color: var(--gold-mid); }
h4 { font-size: 1.1rem; color: var(--gold-mid); }
p { margin-bottom: 1.1em; }
em, i { color: var(--cream-bright); }
strong { color: var(--cream-bright); font-weight: 600; }
blockquote {
  font-style: italic;
  color: var(--cream-bright);
  border-left: 2px solid var(--gold-mid);
  padding: 0.5em 1.4em;
  margin: 1.5em 0;
}
blockquote.gold-quote {
  border: none;
  text-align: center;
  font-size: 1.25rem;
  color: var(--gold-light);
  padding: 1em 0;
}
blockquote .citation,
.citation {
  display: block;
  margin-top: 0.6em;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream-dim);
}

/* ---------- Top thin gold strip ---------- */
.top-strip {
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold-deep) 15%,
    var(--gold-light) 50%,
    var(--gold-deep) 85%,
    transparent 100%);
}

/* ---------- Header / Nav ---------- */
.site-header {
  padding: 1.6rem 1.5rem 1rem;
  background: linear-gradient(180deg, rgba(8,11,38,0.85) 0%, rgba(8,11,38,0) 100%);
}
.header-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--cream-bright); }

.nav-and-lang {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold-mid);
}

.lang-switch {
  display: flex;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
}
.lang-switch a {
  color: var(--cream-dim);
  padding: 0 0.25rem;
}
.lang-switch a:hover { color: var(--gold-light); }
.lang-switch a.current {
  color: var(--gold-light);
  font-weight: 600;
}
.lang-switch span.sep { color: var(--cream-dim); opacity: 0.5; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-mid);
  color: var(--gold-light);
  padding: 0.4rem 0.6rem;
  border-radius: 3px;
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- Main / Sections ---------- */
main { padding-bottom: 4rem; }

.section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}
.section-wide {
  max-width: var(--wide-width);
}
.section.center { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  background: radial-gradient(circle, rgba(250,227,132,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(250, 227, 132, 0.25);
}
.hero-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--cream-bright);
  margin-bottom: 1.2rem;
}
.hero-byline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cream-dim);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  font-style: italic;
}
.hero-quote {
  max-width: 600px;
  margin: 2rem auto 2.5rem;
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.15rem;
  line-height: 1.6;
}
.hero-quote .citation { color: var(--cream-dim); font-style: italic; }

/* ---------- Ornament divider ---------- */
.ornament {
  border: none;
  height: 30px;
  margin: 2.5rem auto;
  position: relative;
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-mid) 60%, var(--gold-light) 100%);
}
.ornament::after {
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold-mid) 40%, transparent 100%);
}
.ornament::before { margin-right: 12px; }
.ornament::after  { margin-left: 12px; }
/* diamond */
.ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  transform: rotate(45deg);
  box-shadow: 0 0 6px var(--gold-light);
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0 1rem;
}
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-bright);
  background: transparent;
  border: 1.5px solid var(--gold-mid);
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover,
.btn:focus {
  background: var(--gold-light);
  color: var(--midnight-deep);
  box-shadow: var(--shadow-gold);
}
.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.note {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cream-dim);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Three-column quote grid ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.quote-card {
  background: rgba(14, 19, 56, 0.5);
  border: 1px solid rgba(217, 168, 70, 0.25);
  border-radius: 4px;
  padding: 1.6rem 1.4rem;
  font-style: italic;
  color: var(--gold-light);
  text-align: center;
  font-size: 1rem;
  line-height: 1.55;
  transition: border-color .25s ease, transform .25s ease;
}
.quote-card:hover {
  border-color: var(--gold-mid);
  transform: translateY(-2px);
}
.quote-card .citation { color: var(--cream-dim); margin-top: 0.8em; }

/* ---------- Lineage ---------- */
.lineage {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: center;
}
.lineage li {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream-bright);
  letter-spacing: 0.06em;
  padding: 0.5rem 0;
  position: relative;
}
.lineage li:not(:last-child)::after {
  content: "↓";
  display: block;
  color: var(--gold-mid);
  margin-top: 0.4rem;
  font-size: 0.9rem;
}
.lineage li:last-child {
  color: var(--gold-light);
  font-weight: 700;
}

/* ---------- Author photo placeholder ---------- */
.author-photo {
  width: 240px;
  height: 300px;
  margin: 0 auto 2rem;
  border: 2px solid var(--gold-mid);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--cream-dim);
  font-style: italic;
  font-size: 0.9rem;
  background: linear-gradient(135deg, rgba(22,28,80,0.4), rgba(14,19,56,0.6));
}

/* ---------- Excerpt blocks ---------- */
.excerpt {
  margin: 2.5rem 0;
  padding: 1.5rem 0;
}
.excerpt-title {
  font-family: var(--font-display);
  color: var(--gold-mid);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}
.excerpt blockquote {
  border: none;
  background: rgba(14, 19, 56, 0.4);
  border-left: 3px solid var(--gold-mid);
  padding: 1.5rem 1.8rem;
  font-style: italic;
  color: var(--cream-bright);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---------- Cover display ---------- */
.cover-display {
  text-align: center;
  margin: 2rem 0;
}
.cover-display img {
  max-width: 280px;
  margin: 0 auto;
  box-shadow: var(--shadow-deep), 0 0 40px rgba(250,227,132,0.12);
  border-radius: 2px;
}

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
.contact-info p { margin-bottom: 0.4em; }
.contact-info .label {
  color: var(--gold-mid);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1.5em;
  margin-bottom: 0.3em;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form.contact-form label {
  font-size: 0.9rem;
  color: var(--gold-mid);
  letter-spacing: 0.06em;
  font-family: var(--font-display);
  text-transform: uppercase;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  background: rgba(8, 11, 38, 0.6);
  border: 1px solid rgba(217, 168, 70, 0.35);
  color: var(--cream-bright);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
  transition: border-color .25s ease;
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(250, 227, 132, 0.15);
}
form.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}
form.contact-form button {
  align-self: flex-start;
}

/* ---------- Cause / mission ---------- */
.cause-steps {
  background: rgba(14, 19, 56, 0.4);
  border: 1px solid rgba(217, 168, 70, 0.2);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}
.cause-steps ul { padding-left: 1.2rem; }
.cause-steps li { margin-bottom: 0.6em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(217, 168, 70, 0.2);
  margin-top: 4rem;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8,11,38,0.6) 60%);
}
.site-footer .place {
  font-family: var(--font-display);
  color: var(--gold-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.site-footer a { color: var(--gold-light); }
.site-footer .copyright {
  margin-top: 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
}
.site-footer .lang-switch {
  justify-content: center;
  margin-top: 1rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 640px) {
  .quotes-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .section { padding: 4.5rem 1.5rem; }
  .hero { min-height: calc(100vh - 100px); }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    width: 100%;
    display: none;
    margin-top: 1rem;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-top: 1px solid rgba(217, 168, 70, 0.2);
  }
  .nav-and-lang { gap: 0.8rem; }
  .brand { font-size: 1.3rem; }
  .header-inner { gap: 0.8rem; }
}

/* Print */
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .nav-toggle { display: none; }
}
