/* ═══════════════════════════════════════════════════════
   Modaya's Afroshop — Shared Design System
   Elegant African · Champagne Gold & Ink
   Fonts: Montserrat (headings) + Inter (body)
   ═══════════════════════════════════════════════════════ */

/* Fonts: Bunny Fonts (DSGVO-konform, EU-Server, drop-in Ersatz für Google Fonts) */
@import url('https://fonts.bunny.net/css?family=montserrat:600,700,800,900|inter:300,400,500,600,700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:     #C9A84C;
  --gold-d:   #A8892B;
  --gold-l:   #DDB95E;
  --gold-x:   #F0D080;
  --ink:      #0A0A0A;
  --charcoal: #1C1C1E;
  --ivory:    #FAFAF7;
  --ivory-d:  #F2EFEA;
  --ivory-dd: #E8E3DB;
  --text:     #1C1C1E;
  --text-m:   #6B6B6B;
  --white:    #fff;
  --radius:   14px;
  --radius-l: 20px;
  --shadow:   0 4px 28px rgba(10,10,10,.07);
  --shadow-l: 0 12px 50px rgba(10,10,10,.13);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  background: var(--ivory);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── GLOBAL HEADING SCALE ─── */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }

/* ─── PAGE SPACER (nav offset) ─── */
.pt-nav { margin-top: 98px; }

/* ─── SUBPAGE CONTENT WRAPPER ─── */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 3rem 5%; }
.page-header-inner { max-width: 1200px; margin: 0 auto; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* ─── NDEBELE PATTERN (decorative border) ─── */
.ndebele-border { display: none; }
.ndebele-border-thin { display: none; }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 90px;
  background: rgba(250,250,247,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,.18);
  box-shadow: 0 2px 20px rgba(10,10,10,.05);
  transition: all .3s;
}
#navbar.scrolled { height: 72px; box-shadow: 0 4px 28px rgba(10,10,10,.09); }

.nav-logo img {
  height: 90px; width: auto;
  transition: height .3s;
}
#navbar.scrolled .nav-logo img { height: 64px; }

.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--text-m);
  padding: .45rem 1rem; border-radius: 50px; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(201,168,76,.12); color: var(--charcoal);
}
.nav-links a.active { font-weight: 600; color: var(--gold-d); }

.nav-actions { display: flex; align-items: center; gap: .4rem; }
.nav-icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: transparent; border: none;
  transition: background .2s; position: relative;
}
.nav-icon-btn:hover { background: rgba(201,168,76,.12); }
.nav-icon-btn svg { width: 20px; height: 20px; stroke: var(--text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--gold-d); color: #fff;
  font-size: .6rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}

.btn-shop-nav {
  background: var(--ink); color: #fff;
  padding: .5rem 1.25rem; border-radius: 50px;
  font-size: .875rem; font-weight: 600;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all .2s;
}
.btn-shop-nav:hover { background: var(--charcoal); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(10,10,10,.25); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* Mobile Menu */
#mobileMenu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ivory); padding: 84px 5% 2rem;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
#mobileMenu.open { transform: translateX(0); }
.mobile-close {
  position: absolute; top: 20px; right: 5%;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
}
.mobile-close svg { width: 24px; height: 24px; stroke: var(--text); fill: none; stroke-width: 2; }
#mobileMenu a {
  display: block; font-size: 1.2rem; font-weight: 600;
  color: var(--text); padding: 1rem 0;
  border-bottom: 1px solid rgba(201,168,76,.12);
  transition: color .2s;
}
#mobileMenu a:hover { color: var(--gold-d); }

/* ─── SECTION UTILITIES ─── */
section { padding: 5rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: rgba(201,168,76,.12); color: var(--gold-d);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: .35rem .9rem;
  border-radius: 50px; margin-bottom: .75rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--ink);
  line-height: 1.15; margin-bottom: .75rem;
}
.section-title span { color: var(--gold-d); }

.section-sub {
  font-size: .95rem; color: var(--text-m);
  line-height: 1.75; max-width: 540px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--ink); color: #fff;
  padding: .9rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: all .25s;
}
.btn-primary:hover { background: var(--charcoal); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(10,10,10,.25); }

.btn-outline {
  background: transparent; color: var(--ink);
  padding: .9rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid rgba(10,10,10,.3);
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all .25s; display: inline-flex; align-items: center; gap: .5rem;
}
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-outline-dark {
  background: transparent; color: var(--charcoal);
  padding: .9rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid rgba(28,28,30,.2);
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all .25s;
}
.btn-outline-dark:hover { border-color: var(--gold-d); color: var(--gold-d); }

/* ─── FOOTER ─── */
footer { background: var(--ink); color: rgba(250,250,247,.45); }

.footer-top {
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 5% 3rem;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
}

.footer-logo { height: 110px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand-desc { font-size: .875rem; line-height: 1.75; max-width: 260px; }

.footer-socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.footer-social:hover { background: var(--gold-d); border-color: var(--gold-d); }
.footer-social svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.5); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-social:hover svg { stroke: #fff; }

.footer-col-title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(250,250,247,.85); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { font-size: .875rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-l); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 5%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom span { font-size: .78rem; }

/* ─── LEGAL PAGE STYLES ─── */
.page-header {
  background: var(--ink); padding: 3.5rem 5% 3rem;
  position: relative; overflow: hidden;
}
.page-header .breadcrumb { font-size: .8rem; color: rgba(250,250,247,.35); margin-bottom: .5rem; position: relative; }
.page-header .breadcrumb a { color: rgba(250,250,247,.45); }
.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: var(--ivory); position: relative;
}
.page-header h1 span { color: var(--gold); }

.legal-content { max-width: 820px; margin: 0 auto; padding: 3rem 5%; }
.legal-section {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; margin-bottom: 1.5rem;
  border: 1px solid rgba(201,168,76,.1);
  box-shadow: var(--shadow);
}
.legal-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem; font-weight: 700; color: var(--ink);
  margin-bottom: .75rem; padding-bottom: .4rem;
  border-bottom: 2px solid rgba(201,168,76,.15);
}
.legal-section h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: .75rem 0 .35rem; }
.legal-section p, .legal-section li {
  line-height: 1.75; color: var(--text-m);
  margin-bottom: .6rem; font-size: 1rem;
}
.legal-section ul, .legal-section ol { padding-left: 1.25rem; margin-bottom: .6rem; }
.update-note {
  background: rgba(201,168,76,.08); border-left: 3px solid var(--gold);
  border-radius: 8px; padding: .7rem 1rem;
  font-size: .82rem; color: var(--text-m); margin-bottom: 1.5rem;
}

/* ─── REVEAL ANIMATION ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── BACK TO TOP ─── */
#backTop {
  position: fixed; bottom: 6rem; right: 1.5rem; z-index: 80;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(10,10,10,.3);
  opacity: 0; pointer-events: none; transition: all .3s; transform: translateY(10px);
}
#backTop.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#backTop:hover { background: var(--charcoal); }
#backTop svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links, .btn-shop-nav { display: none; }
  .burger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
