/* Feierheia Destination Guide — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #f4ede0;
  --bg-card: #fff;
  --text: #2c2417;
  --text-light: #6b5e4f;
  --accent: #8b6f4e;
  --accent-hover: #725a3d;
  --accent-light: #c4a97d;
  --border: #ddd4c4;
  --hero-overlay: rgba(30, 22, 12, 0.55);
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244, 237, 224, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 24px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500; color: var(--text-light);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 8px 20px; border-radius: 6px; font-size: 0.85rem;
}
.nav-cta:hover { background: var(--accent-hover); }
.nav-lang { font-size: 0.8rem; cursor: pointer; color: var(--text-light); border: 1px solid var(--border); padding: 4px 10px; border-radius: 4px; background: transparent; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); padding: 4px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(244, 237, 224, 0.98);
    padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

/* HERO */
.hero {
  position: relative; min-height: 50vh;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  margin-top: 56px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--hero-overlay);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; color: #fff;
  padding: 60px 24px;
  max-width: 800px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff; margin-bottom: 16px;
  font-weight: 400;
}
.hero-content p {
  font-size: 1.1rem; opacity: 0.9;
  max-width: 600px; margin: 0 auto;
  font-weight: 300;
}

/* BREADCRUMBS */
.breadcrumbs {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 24px; font-size: 0.82rem;
  color: var(--text-light);
}
.breadcrumbs a { color: var(--accent); }
.breadcrumbs span { margin: 0 6px; opacity: 0.5; }

/* CONTENT */
.content {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px 80px;
}
.content-narrow {
  max-width: 780px; margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 56px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-light);
}

.intro-text {
  font-size: 1.08rem; line-height: 1.8;
  color: var(--text-light); margin-bottom: 40px;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px; margin: 32px 0 48px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.card-img {
  width: 100%; height: 220px;
  object-fit: cover;
  background: #e0d6c5;
}
.card-body { padding: 24px; }
.card-body h3 {
  font-size: 1.3rem; margin-bottom: 10px;
  font-family: 'Cormorant Garamond', serif;
}
.card-body p { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; }
.card-meta {
  display: flex; gap: 16px; margin-top: 14px;
  font-size: 0.8rem; color: var(--accent);
  font-weight: 500;
}

/* INFO BOX */
.info-box {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px; margin: 32px 0;
}
.info-box h4 {
  font-size: 1.1rem; margin-bottom: 8px;
  font-family: 'Inter', sans-serif; font-weight: 600;
}

/* TABLE */
.guide-table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: 0.92rem;
}
.guide-table th, .guide-table td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.guide-table th {
  background: var(--accent); color: #fff;
  font-weight: 500; font-size: 0.85rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.guide-table tr:hover { background: rgba(139,111,78,0.04); }

/* CTA BANNER */
.cta-banner {
  background: var(--accent);
  color: #fff; text-align: center;
  padding: 48px 24px; margin: 56px 0 0;
  border-radius: var(--radius);
}
.cta-banner h2 { color: #fff; font-size: 1.8rem; margin-bottom: 12px; }
.cta-banner p { opacity: 0.9; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btn {
  display: inline-block;
  background: #fff; color: var(--accent);
  padding: 12px 32px; border-radius: 6px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s;
  margin: 0 8px;
}
.cta-btn:hover { transform: scale(1.04); color: var(--accent-hover); }

/* FOOTER */
.site-footer {
  background: #2c2417; color: #c4b99a;
  padding: 48px 24px 32px;
  font-size: 0.88rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.footer-col h4 {
  color: #e8dcc8; font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Cormorant Garamond', serif;
}
.footer-col a { color: #c4b99a; display: block; margin-bottom: 8px; font-size: 0.85rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 0.8rem; opacity: 0.7;
}

/* LANG TOGGLE */
[lang-content="en"] { display: none; }
body.lang-en [lang-content="no"] { display: none; }
body.lang-en [lang-content="en"] { display: block; }
body.lang-en span[lang-content="en"],
body.lang-en a[lang-content="en"] { display: inline; }

/* UTILITIES */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
