/* =========================================================
   SPORTERA — Delt stilark
   Importeres i alle sider: <link rel="stylesheet" href="_shared.css">
   ========================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --navy:        #2e1a1a;
    --navy-mid:    #3d2020;
    --navy-soft:   #4a2828;
    --gold:        #c8923a;
    --gold-light:  #dca95e;
    --gold-pale:   #f0d9b5;
    --beige:       #f5ede0;
    --beige-dark:  #ece2d0;
    --beige-mid:   #ddd0bc;
    --white:       #ffffff;
    --text:        #1a1410;
    --text-mid:    #4a3f38;
    --text-muted:  #8a7d74;
    --border:      #d8cfc0;
    --border-dark: #c4b8a8;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--beige);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.15; }

/* ── UTILITIES ── */
.section-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 14px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(1.9rem, 3vw, 2.8rem); color: var(--navy); margin-bottom: 16px; }
.section-lead { font-size: 1rem; color: var(--text-muted); max-width: 580px; line-height: 1.8; margin-bottom: 52px; }

.btn-gold { background: var(--gold); color: var(--navy); padding: 14px 30px; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--beige); padding: 14px 30px; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(244,237,224,0.25); color: rgba(244,237,224,0.85); padding: 14px 30px; border-radius: 3px; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-ghost:hover { border-color: rgba(244,237,224,0.6); color: var(--beige); }
.btn-text { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.btn-text:hover { color: var(--gold); border-color: var(--gold); }
.btn-text-light { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: rgba(244,237,224,0.7); text-decoration: none; border-bottom: 1px solid rgba(244,237,224,0.3); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.btn-text-light:hover { color: var(--beige); border-color: var(--beige); }

/* ── NAVIGATION ── */
nav {
    position: sticky; top: 0; z-index: 200;
    background: rgba(245,237,224,0.97); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    height: 68px; display: flex; align-items: center;
    padding: 0 60px; justify-content: space-between;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active { font-weight: 600; }
.nav-cta { background: var(--navy) !important; color: var(--beige) !important; padding: 9px 22px !important; border-radius: 3px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--navy-mid) !important; color: var(--beige) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--beige); border-bottom: 1px solid var(--border); padding: 16px 24px; z-index: 199; flex-direction: column; gap: 0; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; font-weight: 500; color: var(--text-mid); text-decoration: none; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.nav-cta { background: var(--navy); color: var(--beige) !important; padding: 12px 20px; border-radius: 3px; text-align: center; margin-top: 10px; border: none; }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 64px 60px 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 28px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 16px; filter: brightness(10); opacity: 0.8; }
.footer-brand p { font-size: 0.875rem; color: rgba(244,237,224,0.5); line-height: 1.75; margin-bottom: 16px; max-width: 300px; }
.footer-brand a { font-size: 0.875rem; color: rgba(244,237,224,0.6); text-decoration: none; transition: color 0.2s; }
.footer-brand a:hover { color: var(--beige); }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: rgba(244,237,224,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--beige); }
.footer-bottom { text-align: center; font-size: 0.78rem; color: rgba(244,237,224,0.28); }

/* ── CTA SECTION ── */
.cta-section { background: var(--navy); padding: 88px 60px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(200,146,58,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--beige); margin-bottom: 16px; position: relative; }
.cta-section p { font-size: 1rem; color: rgba(244,237,224,0.6); max-width: 460px; margin: 0 auto 36px; line-height: 1.8; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── PAGE HERO (shared across inner pages) ── */
.page-hero { background: var(--navy); padding: 80px 60px 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(200,146,58,0.06) 0%, transparent 65%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--beige); max-width: 640px; margin-top: 10px; position: relative; z-index: 1; }
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { font-size: 1rem; color: rgba(244,237,224,0.6); max-width: 540px; margin-top: 18px; line-height: 1.8; position: relative; z-index: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    nav { padding: 0 32px; }
    footer { padding: 52px 32px 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .page-hero { padding: 64px 32px 52px; }
    .cta-section { padding: 72px 32px; }
}
@media (max-width: 768px) {
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    footer { padding: 48px 20px 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .page-hero { padding: 52px 20px 44px; }
    .cta-section { padding: 60px 20px; }
    .section-title { font-size: 1.75rem; }
}