/* =============================================
   Kroppa Hembygdsförening — Heritage Design
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- Variables --- */
:root {
  --green-dark:    #16301d;
  --green:         #2c5535;
  --green-light:   #3d7048;
  --gold:          #b8922a;
  --gold-light:    #d4aa4a;
  --gold-deep:     #9a7a1e;
  --silver:        #8e9eab;
  --swe-blue:      #005293;
  --swe-blue-dk:   #003d6e;
  --swe-yellow:    #fecb00;
  --cream:         #faf6ef;
  --cream-dark:    #f0e9dd;
  --paper:         #f7f1e6;
  --white:         #ffffff;
  --text-dark:     #1c1c1c;
  --text-mid:      #444444;
  --text-light:    #6b6b6b;
  --border:        #ddd4c4;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.16);
  --radius:        6px;
  --radius-lg:     12px;
  --transition:    0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--green-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-alt { background: var(--cream-dark); }
.section-dark { background: var(--green-dark); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--gold-light); }
.section-dark p { color: #c8d4cc; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .subtitle {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Ornament divider */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.ornament::before, .ornament::after {
  content: '';
  height: 1px;
  width: 60px;
  background: var(--gold);
  opacity: 0.5;
}
.ornament span { color: var(--gold); font-size: 1.1rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-1px);
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* Text links */
.text-link {
  color: var(--green);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.text-link:hover { border-bottom-color: var(--green); }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 51, 32, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 146, 42, 0.25);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-emblem {
  display: none;
}
.logo-emblem svg { display: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.logo-sub {
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-menu li a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.45rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
}
.lang-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }

/* =============================================
   MOBILE MENU OVERLAY (body-level)
   ============================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--green-dark);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 360px;
  text-align: center;
}
.mobile-nav-list li { padding: 0.4rem 0; }
.mobile-nav-list a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius);
}
.mobile-nav-list a:hover, .mobile-nav-list a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.mnav-heading {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-top: 0.75rem;
  padding: 0.3rem 0;
}
.mnav-sub a { font-size: 1rem; color: rgba(255,255,255,0.78); }
.mobile-lang {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
body.menu-open { overflow: hidden; }
.lang-btn.active {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(184,146,42,0.15);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO SECTIONS
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-inner { padding-top: 80px; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 30, 15, 0.55) 0%,
    rgba(10, 30, 15, 0.70) 60%,
    rgba(10, 30, 15, 0.85) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 780px;
  padding: 2rem 1.5rem;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content .lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* Subpage hero (shorter) */
.hero-sub {
  min-height: 50vh;
}
.hero-sub .hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* Default hero backgrounds */
.hero-home .hero-bg { background-image: url('../images/hero-home.jpg'); }
.hero-brevik .hero-bg { background-image: url('../images/hero-brevik.jpg'); }
.hero-mine .hero-bg { background-image: url('../images/hero-mine.jpg'); }
.hero-about .hero-bg { background-image: url('../images/hero-about.jpg'); }
.hero-visit .hero-bg { background-image: url('../images/hero-visit.jpg'); }
.hero-contact .hero-bg { background-image: url('../images/hero-contact.jpg'); }
.hero-history .hero-bg { background-image: url('../images/hero-history.jpg'); }
.hero-people .hero-bg { background-image: url('../images/hero-people.jpg'); }
.hero-events .hero-bg { background-image: url('../images/hero-events.jpg'); }
.hero-attractions .hero-bg { background-image: url('../images/hero-attractions.jpg'); }
.hero-midsummer .hero-bg { background-image: url('../images/hero-midsummer.jpg'); }

/* Fallback gradient when no image */
.hero-home .hero-bg    { background-color: #1a3a1a; }
.hero-brevik .hero-bg  { background-color: #2a3a22; }
.hero-mine .hero-bg    { background-color: #1c1c2e; }
.hero-about .hero-bg   { background-color: #1a3320; }
.hero-visit .hero-bg   { background-color: #1e3a1e; }
.hero-contact .hero-bg { background-color: #1a2a1a; }

/* =============================================
   CARDS
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.card-img-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.card-img-placeholder.green-bg { background: linear-gradient(135deg, var(--green-dark), var(--green-light)); }
.card-img-placeholder.dark-bg  { background: linear-gradient(135deg, #1c1c2e, #2d2d4e); }
.card-img-placeholder.gold-bg  { background: linear-gradient(135deg, #5a4010, #9a7020); }
.card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 0.75rem; }
.card-body p { flex: 1; margin-bottom: 1.25rem; }

/* Feature cards (icon + title + text) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}
.feature-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.92rem; }

/* =============================================
   TOUR CARDS
   ============================================= */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.tour-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.tour-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--gold);
}
.tour-card h3 { color: var(--gold-light); margin-bottom: 0.75rem; }
.tour-card p { color: #b8c8bc; margin-bottom: 0.5rem; }
.tour-price {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.3rem 0.9rem;
  background: rgba(184,146,42,0.2);
  border: 1px solid var(--gold);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* =============================================
   INFO BOXES
   ============================================= */
.info-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}
.info-box h3 { margin-bottom: 1rem; }
.info-list { list-style: none; }
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-mid);
}
.info-list li:last-child { border-bottom: none; }
.info-list .icon { font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }

/* =============================================
   TWO-COLUMN LAYOUT
   ============================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-dark);
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.two-col-text .eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.two-col-text h2 { margin-bottom: 1.25rem; }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .icon {
  font-size: 1.4rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-body h4 { margin-bottom: 0.2rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); }
.contact-item-body a,
.contact-item-body span { font-size: 0.95rem; color: var(--text-dark); }
.contact-item-body a:hover { color: var(--green); }

.social-links { display: flex; flex-direction: column; gap: 0.75rem; }
.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-mid);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--green); color: var(--green); box-shadow: var(--shadow-sm); }
.social-link .fb-icon { color: #1877f2; font-size: 1.2rem; }

/* Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.contact-form-wrapper h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); background: var(--white); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.75rem; }
.form-success {
  color: var(--green);
  font-weight: 500;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(44,85,53,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(44,85,53,0.2);
}

/* =============================================
   MAP PLACEHOLDER
   ============================================= */
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream-dark);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-light);
}
.map-placeholder span { font-size: 3rem; }
.map-placeholder p { font-size: 0.9rem; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand .logo-emblem { margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; max-width: 280px; }
.footer-tagline {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: block;
}
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact-items { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-contact-item span:first-child { font-size: 0.9rem; margin-top: 0.1rem; }
.footer-contact-item a,
.footer-contact-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-langs { display: flex; gap: 0.25rem; }
.footer-langs .lang-btn.active { color: var(--gold-light) !important; border-color: var(--gold); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-lg);
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid a:hover img { transform: scale(1.07); }

/* Video grid (portrait clips) */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.video-grid video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: var(--radius);
  background: #1c1c2e;
  box-shadow: var(--shadow-sm);
  display: block;
}

/* News banner (homepage latest) */
.news-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-banner:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.news-banner-img { overflow: hidden; min-height: 240px; }
.news-banner-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.news-banner:hover .news-banner-img img { transform: scale(1.05); }
.news-banner-text { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.news-badge {
  align-self: flex-start;
  background: var(--gold);
  color: #1c1c10;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.news-banner-text h2 { margin-bottom: 0.6rem; }
.news-banner-text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.news-banner-text .btn { align-self: flex-start; }
@media (max-width: 768px) {
  .news-banner { grid-template-columns: 1fr; }
  .news-banner-img { min-height: 220px; aspect-ratio: 16/10; }
  .news-banner-text { padding: 1.75rem; }
}
.sites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.site-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.site-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.site-card-icon { font-size: 3rem; margin-bottom: 1rem; }
.site-card h3 { margin-bottom: 0.75rem; }

.join-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  border: 2px solid var(--gold);
  max-width: 600px;
  margin: 0 auto;
}
.join-box h3 { margin-bottom: 1rem; }
.join-box p { margin-bottom: 2rem; }

/* =============================================
   VISIT PAGE
   ============================================= */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* =============================================
   PRACTICAL INFO GRID (mine)
   ============================================= */
.practical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.practical-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.practical-item .icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.practical-item p { color: rgba(255,255,255,0.8); font-size: 0.88rem; margin: 0; }

/* =============================================
   BANNER / CTA
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184,146,42,0.15) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 2rem; }

/* =============================================
   PAGE BODY PADDING (for fixed header)
   ============================================= */
main { padding-top: 0; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .two-col,
  .about-intro,
  .contact-grid,
  .footer-grid,
  .sites-grid,
  .visit-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse { direction: ltr; }
  .footer-grid { gap: 2rem; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; z-index: 110; position: relative; }
  .nav-menu { display: none; }
  .lang-switcher { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .hero { min-height: 80vh; }
  .hero-sub { min-height: 55vh; }

  .cards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tours-grid { grid-template-columns: 1fr; }
  .practical-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .logo-text { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .contact-form-wrapper { padding: 1.5rem; }
  .practical-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   ✦ HERITAGE DESIGN LAYER — elegance, Swedish pride, historical touches
   ===================================================================== */

/* Subtle warm paper texture on the body */
body {
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(184,146,42,0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(44,85,53,0.04) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Swedish tricolor hairline at the very top of the page header */
.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right,
    var(--swe-blue) 0%, var(--swe-blue) 50%,
    var(--swe-yellow) 50%, var(--swe-yellow) 100%);
  opacity: 0.9;
}

/* Refined ornament with a small crown/flower glyph */
.ornament::before, .ornament::after {
  background: linear-gradient(to right, transparent, var(--gold));
  opacity: 0.7;
}
.ornament::after { background: linear-gradient(to left, transparent, var(--gold)); }
.ornament span { font-size: 0.95rem; letter-spacing: 0.3em; }

/* Decorative section flourish */
.flourish {
  text-align: center;
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.5em;
  margin: 0 auto 1rem;
  opacity: 0.8;
}

/* Eyebrow refinement everywhere */
.section-header .subtitle,
.two-col-text .eyebrow,
.eyebrow {
  position: relative;
  display: inline-block;
}

/* ---- Dropdown navigation ---- */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.7;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--green-dark);
  border: 1px solid rgba(184,146,42,0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 120;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu li a {
  white-space: nowrap;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
}
.nav-dropdown-menu li a:hover { background: rgba(184,146,42,0.18); }

/* ---- Image credit caption (for public-domain images) ---- */
.img-credit {
  font-size: 0.72rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.4rem;
  text-align: center;
  line-height: 1.4;
}
.img-credit a { color: var(--gold-deep); border-bottom: 1px dotted var(--gold); }
.section-dark .img-credit { color: rgba(255,255,255,0.55); }
.section-dark .img-credit a { color: var(--gold-light); }

/* ---- Framed historical portrait ---- */
.portrait-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
  outline: 1px solid var(--border);
}
.portrait-frame img { width: 100%; display: block; }

/* =====================================================================
   TIMELINE (history page)
   ===================================================================== */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 2.5rem 2.5rem;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-item::after {
  content: '';
  position: absolute;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.tl-item:nth-child(odd)::after  { right: -8px; }
.tl-item:nth-child(even)::after { left: -8px; }
.tl-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.3rem;
}
.tl-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.tl-item p { font-size: 0.92rem; }

@media (max-width: 720px) {
  .timeline::before { left: 18px; }
  .tl-item, .tl-item:nth-child(even) {
    width: 100%; left: 0; text-align: left; padding-left: 3rem; padding-right: 0;
  }
  .tl-item:nth-child(odd) { text-align: left; }
  .tl-item:nth-child(odd)::after,
  .tl-item:nth-child(even)::after { left: 10px; right: auto; }
}

/* =====================================================================
   PERSON / PROFILE CARDS (famous people page)
   ===================================================================== */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.person-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.person-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold); }
.person-portrait {
  height: 340px;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}
.person-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-portrait .img-credit {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  margin: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: rgba(255,255,255,0.85);
  padding: 1.2rem 0.6rem 0.4rem;
  font-size: 0.66rem;
}
.person-portrait .img-credit a { color: var(--gold-light); }
.person-body { padding: 1.75rem; flex: 1; }
.person-body .role {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.person-body h3 { margin-bottom: 0.2rem; }
.person-body .lifespan { font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.8rem; }

/* =====================================================================
   FEATURE / ATTRACTION LIST CARDS
   ===================================================================== */
.attraction {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
  align-items: start;
}
.attraction:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.attraction-icon {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.3rem;
  flex-shrink: 0;
}
.attraction-body h3 { margin-bottom: 0.3rem; }
.attraction-body .dist {
  font-size: 0.76rem; color: var(--gold-deep); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; display: block;
}

/* =====================================================================
   PULL QUOTE (elegant historical accent)
   ===================================================================== */
.pull-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.5;
  color: var(--green-dark);
  position: relative;
  padding: 2rem 1rem;
}
.pull-quote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -0.5rem; left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}
.pull-quote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1.25rem;
}

/* =====================================================================
   FACT STRIP (cute stat row)
   ===================================================================== */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.fact { padding: 1rem; }
.fact .num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.fact .lbl {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-dark .fact .num { color: var(--gold-light); }
.section-dark .fact .lbl { color: rgba(255,255,255,0.7); }

/* Board / styrelse list */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.board-member {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.board-member .bm-role {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold-deep); font-weight: 600;
}
.board-member .bm-name { font-weight: 500; color: var(--text-dark); }

/* Swedish flag chip used near titles */
.swe-chip {
  display: inline-block;
  width: 22px; height: 14px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 0.4rem;
  background:
    linear-gradient(to right, var(--swe-blue) 0 38%, var(--swe-yellow) 38% 60%, var(--swe-blue) 60% 100%),
    linear-gradient(to bottom, var(--swe-blue) 0 40%, var(--swe-yellow) 40% 64%, var(--swe-blue) 64% 100%);
  background-blend-mode: lighten;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

/* Refine hero overlay to be a touch warmer/elegant */
.hero-overlay {
  background: linear-gradient(to bottom,
    rgba(16,38,22,0.45) 0%,
    rgba(16,38,22,0.62) 55%,
    rgba(16,38,22,0.82) 100%);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '✦';
  margin: 0 0.6rem;
  opacity: 0.6;
}

/* =====================================================================
   PEOPLE SHOWCASE (homepage)
   ===================================================================== */
.people-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  cursor: default;
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.showcase-card:hover img { transform: scale(1.05); }
.showcase-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(16,30,18,0.92) 0%, rgba(16,30,18,0.6) 60%, transparent 100%);
  padding: 2.5rem 1.25rem 1.25rem;
  color: var(--white);
}
.showcase-info h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}
.showcase-info span {
  font-size: 0.78rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.community-photos {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 1rem;
}
.community-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.community-photos img:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Chairwoman signature line */
.chairwoman-sig {
  color: var(--green-dark);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* =====================================================================
   EXPERIENCE / REVENUE GRID
   ===================================================================== */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}
.exp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.exp-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.exp-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(44,85,53,0.1), rgba(184,146,42,0.1));
}
.exp-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.exp-card p { flex: 1; margin-bottom: 1.25rem; font-size: 0.92rem; }

/* =====================================================================
   LEGAL / REGISTRATION BANNER
   ===================================================================== */
.legal-banner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
}
.legal-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-content h3 {
  margin-bottom: 0.75rem;
}
.legal-content p {
  margin-bottom: 1.25rem;
}
.legal-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.legal-item {
  font-size: 0.9rem;
  color: var(--text-mid);
}
.legal-item strong {
  color: var(--text-dark);
  margin-right: 0.3rem;
}

@media (max-width: 768px) {
  .people-showcase { grid-template-columns: 1fr; gap: 1.5rem; }
  .community-photos { grid-template-columns: 1fr; }
  .community-photos img { height: 180px; }
  .experience-grid { grid-template-columns: 1fr; }
  .legal-banner { flex-direction: column; align-items: center; text-align: center; }
  .legal-details { justify-content: center; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .people-showcase { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
