/* EkologiK i Förening — Landningssida v2
 * Skapad 2026-05-13 (C9.08)
 * Färgpalette byggd från sex-elementen-bilden:
 *   skogsmörkgrön (logoblock) + honungsguld (banner) + krämvit (gutter)
 *   accenter: eldorange, svampgul, mossgrön, is-silver
 */

:root {
    /* Bas */
    --forest-dark: #1f3a26;
    --forest-darker: #15281a;
    --forest-deep: #0e2110;
    --forest-mid: #3d5e3a;
    --moss-green: #5d6e3f;

    /* Guld-skala (från banner-bakgrunden) */
    --honey: #c89c4a;
    --honey-light: #d4a955;
    --honey-pale: #e8c478;
    --honey-glow: #f0d68f;

    /* Krämvitt (gutter mellan bilderna) */
    --cream: #f5ecd6;
    --cream-warm: #faf3e0;
    --cream-soft: #efe4c8;
    --paper: #faf7ee;

    /* Accent-element */
    --fire-orange: #e8741f;
    --mushroom-gold: #f2a83c;
    --ice-silver: #cdd4d0;

    /* Text */
    --text-dark: #2a2418;
    --text-muted: #6a5f48;
    --text-on-dark: #f5ecd6;
    --text-on-dark-muted: #d4c89f;

    /* Effekter */
    --shadow-soft: 0 2px 8px rgba(31, 58, 38, 0.08);
    --shadow-card: 0 6px 20px rgba(31, 58, 38, 0.12);
    --shadow-hero: 0 20px 60px rgba(31, 58, 38, 0.25);

    --radius: 10px;
    --radius-lg: 14px;
    --max-width: 1040px;
    --max-narrow: 760px;

    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    width: 100%;
    max-width: var(--max-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(31, 58, 38, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 169, 85, 0.25);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 16px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    text-decoration: none;
    font-family: var(--font-serif);
    font-weight: 700;
}

.logo-img { width: 36px; height: 36px; object-fit: contain; }
.logo-text { font-size: 19px; letter-spacing: 0.02em; }

.main-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.main-nav a {
    color: var(--text-on-dark-muted);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--honey-pale); }

/* === HERO === */
.hero {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(232, 196, 120, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
    padding: 56px 0 64px;
    text-align: center;
}

.hero-banner-wrap {
    max-width: 1100px;
    margin: 0 auto 36px;
    padding: 0 16px;
}

.hero-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hero);
    border: 1px solid rgba(31, 58, 38, 0.08);
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--forest-dark);
    max-width: 720px;
    margin: 0 auto 14px;
    padding: 0 20px;
}

.hero-motto {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(15px, 1.7vw, 17px);
    color: var(--honey);
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === SECTIONS === */
.section {
    padding: 84px 0;
}

.section-light {
    background-color: var(--paper);
    color: var(--text-dark);
}

.section-cream {
    background-color: var(--cream);
    color: var(--text-dark);
}

.section-dark {
    background-color: var(--forest-dark);
    color: var(--text-on-dark);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(212, 169, 85, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.section > .container,
.section > .container-narrow { position: relative; z-index: 1; }

.section h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    text-align: center;
    color: inherit;
}

.section-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 600;
    color: var(--honey);
    margin-bottom: 8px;
}

.section-dark .section-eyebrow { color: var(--honey-pale); }

.section h2 + .lead { margin-top: 12px; }

.section h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: inherit;
}

.section p { margin-bottom: 16px; }
.section p:last-child { margin-bottom: 0; }

.lead {
    font-size: 18px;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center;
}

.section-dark .lead { color: var(--text-on-dark-muted); }

/* === QUOTE — föreningens stadgar === */
.quote-stadga {
    background-color: rgba(245, 236, 214, 0.08);
    border-left: 4px solid var(--honey-pale);
    padding: 32px 36px;
    margin: 32px auto 24px;
    max-width: 760px;
    border-radius: var(--radius);
}

.quote-stadga p {
    font-family: var(--font-serif);
    font-size: clamp(18px, 2.2vw, 21px);
    line-height: 1.6;
    font-style: italic;
    color: var(--cream);
    margin: 0;
}

.quote-stadga cite {
    display: block;
    margin-top: 18px;
    font-size: 13px;
    color: var(--honey-pale);
    font-style: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* === VALUES === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.value-card {
    background-color: rgba(245, 236, 214, 0.05);
    border: 1px solid rgba(212, 169, 85, 0.25);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.value-card:hover {
    transform: translateY(-2px);
    border-color: var(--honey-pale);
    background-color: rgba(245, 236, 214, 0.08);
}

.value-card h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--honey-pale);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-on-dark-muted);
    margin: 0;
}

/* === VERKSAMHET === */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.activity-card {
    background-color: var(--cream-warm);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-soft);
    border-top: 3px solid var(--honey);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.activity-card h3 {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--forest-dark);
    margin: 0 0 12px;
}

.activity-card p {
    color: var(--text-dark);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

/* === CTA === */
.cta-wrapper { text-align: center; margin-top: 36px; }

.cta-button {
    display: inline-block;
    background-color: var(--honey);
    color: var(--forest-darker);
    padding: 14px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15.5px;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(200, 156, 74, 0.35);
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    background-color: var(--honey-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(200, 156, 74, 0.45);
}

.cta-button-outline {
    background: transparent;
    color: var(--honey-pale);
    border: 1.5px solid var(--honey-pale);
    box-shadow: none;
}

.cta-button-outline:hover {
    background-color: var(--honey-pale);
    color: var(--forest-darker);
    box-shadow: 0 4px 14px rgba(232, 196, 120, 0.3);
}

/* === MEDLEMSKAP === */
.medlem-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
    align-items: start;
}

.medlem-card {
    background-color: var(--forest-dark);
    color: var(--text-on-dark);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(212, 169, 85, 0.2);
    position: relative;
    overflow: hidden;
}

.medlem-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(212, 169, 85, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.medlem-price {
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 700;
    color: var(--honey-pale);
    line-height: 1;
    margin-bottom: 6px;
}

.medlem-price small {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-on-dark-muted);
    letter-spacing: 0.02em;
    margin-left: 6px;
}

.medlem-period {
    font-size: 14px;
    color: var(--text-on-dark-muted);
    margin-bottom: 24px;
    letter-spacing: 0.03em;
}

.medlem-card h3 {
    font-family: var(--font-serif);
    font-size: 19px;
    color: var(--cream);
    margin: 0 0 14px;
    font-weight: 600;
}

.medlem-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.medlem-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-on-dark);
}

.medlem-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background-color: var(--honey-pale);
    border-radius: 50%;
}

.medlem-info {
    background-color: var(--cream-warm);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--cream-soft);
}

.medlem-info h3 {
    font-family: var(--font-serif);
    font-size: 19px;
    color: var(--forest-dark);
    margin: 0 0 16px;
    font-weight: 600;
}

.medlem-info p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.medlem-info .swish-box {
    background-color: var(--cream);
    border-left: 3px solid var(--honey);
    padding: 14px 18px;
    border-radius: 6px;
    margin: 18px 0;
    font-size: 14.5px;
    line-height: 1.55;
}

.medlem-info .swish-box strong {
    color: var(--forest-dark);
    display: block;
    margin-bottom: 2px;
}

.medlem-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 18px;
    background-color: var(--forest-dark);
    color: var(--cream);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.medlem-pdf-link:hover {
    background-color: var(--forest-mid);
    transform: translateY(-1px);
}

.medlem-pdf-link::before {
    content: '\1F4C4';
    font-size: 16px;
}

/* === DOCS === */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.doc-card {
    background-color: var(--cream-warm);
    border-radius: var(--radius);
    padding: 26px 22px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid var(--cream-soft);
}

.doc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--honey);
}

.doc-icon { font-size: 30px; }
.doc-title { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--forest-dark); }
.doc-meta { font-size: 13px; color: var(--text-muted); text-align: center; }

/* === KONTAKT === */
.contact-mail {
    text-align: center;
    font-family: var(--font-serif);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 600;
    margin-top: 8px;
}

.contact-mail a {
    color: var(--honey-pale);
    text-decoration: none;
    border-bottom: 2px solid rgba(232, 196, 120, 0.45);
    padding-bottom: 3px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-mail a:hover {
    border-color: var(--honey-pale);
    color: var(--honey-glow);
}

/* === FOOTER === */
.site-footer {
    background-color: var(--forest-deep);
    color: var(--text-on-dark-muted);
    padding: 48px 0 36px;
    border-top: 1px solid rgba(212, 169, 85, 0.15);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.footer-org {
    font-size: 14px;
    line-height: 1.75;
}

.footer-org strong {
    color: var(--cream);
    font-size: 16px;
    font-family: var(--font-serif);
    display: block;
    margin-bottom: 8px;
}

.footer-org-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--text-on-dark-muted);
}

.footer-org-grid span:nth-child(odd) {
    color: rgba(245, 236, 214, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 11.5px;
    align-self: end;
}

.footer-links {
    font-size: 14px;
    text-align: right;
}

.footer-links a {
    color: var(--honey-pale);
    text-decoration: none;
    display: inline-block;
    margin: 0 0 4px 0;
    padding: 0 4px;
}

.footer-links a:hover { color: var(--cream); }

.footer-bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 169, 85, 0.1);
    text-align: center;
    font-size: 12.5px;
    color: rgba(245, 236, 214, 0.4);
    letter-spacing: 0.02em;
}

/* === RESPONSIVE === */
@media (max-width: 860px) {
    .medlem-wrapper { grid-template-columns: 1fr; gap: 20px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { text-align: left; }
}

@media (max-width: 640px) {
    .main-nav { gap: 14px; }
    .main-nav a { font-size: 13px; }
    .hero { padding: 40px 0 48px; }
    .hero-banner-wrap { padding: 0 8px; margin-bottom: 28px; }
    .section { padding: 60px 0; }
    .quote-stadga { padding: 24px 22px; }
    .medlem-card, .medlem-info { padding: 28px 22px; }
    .medlem-price { font-size: 36px; }
    .footer-org-grid { grid-template-columns: 1fr; gap: 2px; }
    .footer-org-grid span:nth-child(odd) { margin-top: 6px; }
}

@media (max-width: 480px) {
    .logo-text { display: none; }
    .nav-container { padding: 12px 16px; }
    .container, .container-narrow { padding: 0 16px; }
}
