/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:  #1a2e3b;
  --teal:  #2e6e72;
  --gold:  #c9a84c;
  --light: #f5f2ec;
  --white: #ffffff;
  --text:  #2c2c2c;
  --muted: #6b7280;
  --font:  Georgia, 'Times New Roman', serif;
  --sans:  'Trebuchet MS', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 46, 59, 0.96);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 2.5rem;
}

.nav-logo a { display: block; line-height: 0; }
.nav-logo img { height: 46px; display: block; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* ===== HERO (startsida) ===== */
.hero {
  min-height: 100vh;
  background-image: url('images/Berg.jpg');
  background-size: cover;
  background-position: center 38%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(26,46,59,0.55) 0%,
    rgba(26,46,59,0.42) 55%,
    rgba(26,46,59,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 2rem;
  color: var(--white);
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: normal;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.hero-tagline {
  font-family: var(--sans);
  font-size: clamp(0.82rem, 1.8vw, 1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.8rem;
}

.hero-quote {
  border-left: 3px solid var(--gold);
  padding: 0.9rem 1.5rem;
  margin: 0 auto 2.8rem;
  max-width: 600px;
  text-align: left;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.91);
}

.hero-quote cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 0.85rem 2.4rem;
  text-decoration: none;
  transition: background 0.22s, color 0.22s;
}

.hero-cta:hover { background: var(--gold); color: var(--navy); }

/* ===== PAGE HERO (undersidor) ===== */
.page-hero {
  margin-top: 66px;
  height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,46,59,0.25), rgba(26,46,59,0.78));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 3rem;
  color: var(--white);
}

.page-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: normal;
  letter-spacing: 0.04em;
}

.page-hero-content p {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; }
.section-light { background: var(--white); }
.section-tinted { background: var(--light); }

.container { max-width: 860px; margin: 0 auto; }
.container-wide { max-width: 1080px; margin: 0 auto; }

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: normal;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.55rem;
}

h3 {
  font-size: 1.18rem;
  font-weight: normal;
  color: var(--teal);
  margin: 2rem 0 0.55rem;
}

p { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }

/* ===== INTRO CARDS (startsida) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.card {
  text-align: center;
  padding: 2.4rem 1.4rem;
  border-top: 3px solid var(--gold);
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 6px 22px rgba(0,0,0,0.12); }

.card-icon { font-size: 2.2rem; margin-bottom: 0.9rem; display: block; }

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
  font-family: var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ===== QUOTE BLOCK ===== */
.quote-block {
  border-left: 4px solid var(--gold);
  padding: 1.1rem 1.7rem;
  margin: 2.5rem 0;
  background: var(--light);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--navy);
}

.quote-block cite {
  display: block;
  margin-top: 0.45rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== LIST STYLE ===== */
ul.styled { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }

ul.styled li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  font-size: 0.96rem;
}

ul.styled li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-col img { width: 100%; height: 300px; object-fit: cover; }

@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

/* ===== BOOK PAGE ===== */
.book-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.book-cover-wrap img {
  width: 100%;
  border: 1px solid #ddd;
  box-shadow: 5px 7px 20px rgba(0,0,0,0.18);
}

@media (max-width: 700px) {
  .book-layout { grid-template-columns: 1fr; }
  .book-cover-wrap { max-width: 220px; }
}

/* ===== CONTACT STRIP ===== */
.contact-strip {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 2rem;
}

.contact-strip h2 { color: var(--white); margin-bottom: 0.8rem; }
.contact-strip h2::after { background: var(--gold); margin: 0.55rem auto 0; }

.contact-strip p {
  color: rgba(255,255,255,0.72);
  font-family: var(--sans);
  font-size: 0.93rem;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.88rem 2.4rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover { background: #b8952f; }

/* ===== FOOTER ===== */
footer {
  background: #111c24;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 1.8rem 2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

footer a { color: var(--gold); text-decoration: none; }

/* ===== MOBILE NAV ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

@media (max-width: 660px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(26,46,59,0.98);
    padding: 1.4rem 2.5rem;
    gap: 1.1rem;
  }
  .nav-links.open { display: flex; }
  .page-hero-content { padding: 2rem 1.5rem; }
}
