/* ═══════════════════════════════════════════════
   Södra Kyrkbyn AB — Shared Stylesheet
   ═══════════════════════════════════════════════ */

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

/* ── VARIABLES ── */
/*
:root {
  --navy:        #1a2744;
  --navy-mid:    #243260;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --cream:       #f8f5ef;
  --white:       #ffffff;
  --gray:        #6b7280;
  --dark-gray:   #4b5563;
  --light-border:#e5ddd0;
  --text:        #1e2535;
}
*/

:root {
  --navy:        #0f172a;  /* main dark background */
  --navy-mid:    #1e293b;  /* cards / surfaces */
  --gold:        #22c55e;  /* primary accent (green) */
  --gold-light:  #4ade80;  /* lighter accent */

  --cream:       #111827;  /* replaces light bg with dark surface */
  --white:       #e5e7eb;  /* main text (soft white) */

  --gray:        #9ca3af;
  --dark-gray:   #6b7280;

  --light-border:#1f2937;
  --text:        #f3f4f6;
  

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

/* ── BASE ── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
#span-info-color {

  color: #22c55e;
  
}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -1px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: .3px;
}
.logo-sub {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all .2s;
}
nav a:hover,
nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 3px;
  margin-left: 8px;
}
.lang-btn {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .5px;
  user-select: none;
}
.lang-btn.active {
  background: var(--gold);
  color: var(--navy);
}

/* ══════════════════════════════
   HERO (Home)
══════════════════════════════ */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy) 100%);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.35);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}
.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 48px auto 0;
  border-radius: 2px;
  opacity: .5;
}

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
}
.stats-inner {
  max-width: 900px;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  padding: 28px 48px;
  text-align: center;
  border-right: 1px solid var(--light-border);
  flex: 1;
  min-width: 180px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════
   SHARED SECTION
══════════════════════════════ */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
  font-weight: 300;
  margin-bottom: 48px;
}

/* ══════════════════════════════
   FEATURE CARDS (Home)
══════════════════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,39,68,.1);
  border-color: var(--gold);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(201,168,76,.15), rgba(201,168,76,.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  border: 1px solid rgba(201,168,76,.25);
}
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}
.card p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.7;
}

/* ══════════════════════════════
   PAGE HERO MINI (About/Contact/Privacy)
══════════════════════════════ */
.page-hero {
  background: linear-gradient(160deg, var(--navy), var(--navy-mid));
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  font-weight: 300;
}

/* ══════════════════════════════
   ABOUT PAGE
══════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-visual {
  background: var(--navy);
  border-radius: 16px;
  padding: 48px;
  color: white;
  position: relative;
  overflow: hidden;
}
.about-visual::after {
  content: 'SK';
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  font-weight: 700;
  color: rgba(255,255,255,.05);
  line-height: 1;
  pointer-events: none;
}
.about-visual-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-weight: 600;
}
.about-visual h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 28px;
}
.info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.info-row-icon {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.info-row-content small {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}
.info-row-content span {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  font-weight: 400;
}
.about-content p {
  font-size: 15px;
  color: var(--dark-gray);
  margin-bottom: 18px;
  line-height: 1.8;
}
.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  color: #8a6c1a;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  margin-top: 8px;
}

/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 40px;
}
.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--light-border);
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text small {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-item-text a {
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.contact-item-text a:hover { color: var(--gold); }
.contact-item-text span {
  font-size: 15px;
  color: var(--text);
  font-weight: 400;
}
.map-placeholder {
  background: linear-gradient(135deg, #e8f4f8, #dce8f0);
  border-radius: 12px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  border: 1px solid var(--light-border);
  color: var(--gray);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}
.map-placeholder span { font-size: 36px; }
.map-link {
  display: inline-block;
  margin-top: 10px;
  background: var(--navy);
  color: white;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}
.map-link:hover { background: var(--navy-mid); }

/* ══════════════════════════════
   PRIVACY PAGE
══════════════════════════════ */
.privacy-content {
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 48px;
  margin: 0 auto;
}
.privacy-content .meta {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 24px;
}
.privacy-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin: 28px 0 10px;
}
.privacy-content h2:first-of-type { margin-top: 0; }
.privacy-content p {
  font-size: 14.5px;
  color: var(--dark-gray);
  margin-bottom: 14px;
  line-height: 1.8;
}
.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.privacy-content ul li {
  font-size: 14.5px;
  color: var(--dark-gray);
  margin-bottom: 6px;
  line-height: 1.7;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  margin-top: 60px;
}
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
/* Column 1 – Brand */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand .footer-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  flex-shrink: 0;
}
.footer-brand .footer-company-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.footer-brand .footer-company-sub {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
}
.footer-address-block p {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255,255,255,.6);
}
/* Column 2 – Contact */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-icon {
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
  opacity: .8;
}
.footer-contact-item small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 2px;
}
.footer-contact-item a,
.footer-contact-item span {
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
  line-height: 1.5;
}
.footer-contact-item a:hover { color: var(--gold-light); }
/* Column 3 – Links */
.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-links li { margin-bottom: 10px; }
.footer-nav-links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-nav-links a::before {
  content: '›';
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}
.footer-nav-links a:hover { color: var(--gold-light); }
/* Bottom bar */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.3);
}
.footer-org {
  font-size: 12px;
  color: rgba(255,255,255,.25);
  letter-spacing: .5px;
}
/* Footer responsive */
@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 720px) {
  .about-grid   { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { padding: 0 16px; }
  nav a         { font-size: 12px; padding: 6px 8px; }
  .logo-sub     { display: none; }
  .stat         { padding: 20px 24px; }
  .privacy-content { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .nav-hide-sm { display: none; }
}
