/* ════════════════════════════════════════════
   DRENGSKAPR VIKING SPIRIT — Shared Styles
   ════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;500;600;700;900&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap');

/* ── Variables ── */
:root {
  --black:      #0a0806;
  --ink:        #130e08;
  --ink-mid:    #1e160a;
  --ink-light:  #2a1f0e;
  --gold:       #b8860b;
  --gold-bright:#d4a017;
  --gold-light: #e8b830;
  --gold-pale:  #f5d87a;
  --cream:      #f2e6c8;
  --parchment:  #e8d5a8;
  --stone:      #9a8a6e;
  --stone-light:#c4b090;
  --red:        #8b1a1a;
  --red-bright: #a82020;
  --white:      #faf6ee;
  --nav-h:      72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--black);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* ════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,8,6,0.96);
  border-bottom: 1px solid rgba(184,134,11,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  gap: 1rem;
}

.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-rune {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(184,134,11,.5));
}
.nav-logo-text {
  display: flex; flex-direction: column; gap: .05rem;
}
.nav-logo-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--gold-bright);
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo-sub {
  font-family: 'Crimson Pro', serif;
  font-size: .65rem;
  letter-spacing: .22em;
  color: var(--stone-light);
  text-transform: uppercase;
  font-style: italic;
}

.nav-links {
  display: flex; align-items: center; gap: .25rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-light);
  text-decoration: none;
  padding: .45rem .75rem;
  border: 1px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a.active {
  color: var(--gold-bright);
  border-color: rgba(184,134,11,.4);
  background: rgba(184,134,11,.07);
}

.nav-social {
  display: flex; align-items: center; gap: .5rem;
  flex-shrink: 0;
}
.nav-social a {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(184,134,11,.25);
  border-radius: 2px;
  color: var(--stone-light);
  text-decoration: none;
  font-size: .85rem;
  transition: all .2s;
}
.nav-social a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(184,134,11,.1);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .4rem;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--gold);
  transition: all .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,8,6,0.98);
  border-bottom: 1px solid rgba(184,134,11,.3);
  padding: 1.5rem 2rem 2rem;
  z-index: 999;
  flex-direction: column; gap: .25rem;
  backdrop-filter: blur(12px);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-light);
  text-decoration: none;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(184,134,11,.1);
  transition: color .2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--gold-bright); }

/* Page push */
.page-content { padding-top: var(--nav-h); }

/* ════════════════════════════════════════════
   SECTION COMPONENTS
   ════════════════════════════════════════════ */

/* Gold divider line */
.gold-rule {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}
.gold-rule.left { margin: 0; }
.gold-rule.wide { width: 160px; }

/* Section label */
.section-label {
  font-family: 'Cinzel', serif;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .7;
}

/* Card base */
.card {
  background: rgba(30,22,10,.7);
  border: 1px solid rgba(184,134,11,.2);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.card:hover { border-color: rgba(184,134,11,.45); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }

/* CTA Button */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .75rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  background: transparent;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
  z-index: -1;
}
.btn:hover { color: var(--black); }
.btn:hover::before { transform: scaleX(1); }
.btn.btn-solid {
  background: var(--gold);
  color: var(--black);
}
.btn.btn-solid::before { background: var(--gold-light); }
.btn.btn-solid:hover { color: var(--black); }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
#site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(184,134,11,.25);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(184,134,11,.12);
}

.footer-brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .12em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.footer-brand-tagline {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: .9rem;
  color: var(--stone-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.footer-brand-body {
  font-family: 'Crimson Pro', serif;
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.footer-social {
  display: flex; gap: .5rem;
}
.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(184,134,11,.25);
  color: var(--stone-light);
  text-decoration: none;
  font-size: .9rem;
  transition: all .2s;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(184,134,11,.1);
}
.footer-social a svg { width: 15px; height: 15px; fill: currentColor; }

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-family: 'Crimson Pro', serif;
  font-size: .92rem;
  color: var(--stone-light);
  text-decoration: none;
  transition: color .2s;
  display: flex; align-items: center; gap: .4rem;
}
.footer-links a::before { content: '✦'; font-size: .45rem; color: var(--gold); opacity: .6; }
.footer-links a:hover { color: var(--gold-bright); }

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-copy {
  font-family: 'Cinzel', serif;
  font-size: .55rem;
  letter-spacing: .16em;
  color: var(--stone);
  opacity: .6;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════════ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.text-gold { color: var(--gold-bright); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav-links, .nav-social { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 1.2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-inner > :first-child { grid-column: 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
