/* ============================================================
   GLÄNNE & SÖNER — gemensam bas-CSS för alla sidor
   Genererad ur sidornas inline-CSS. Sidspecifika regler ligger
   kvar i respektive sidas <style>-block och vinner över denna.
   ============================================================ */

html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--dark); color: var(--white); padding: 12px 20px; border-radius: 0 0 6px 0; text-decoration: none; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
:root { --gold-text: #8F7317; --gold: #C9A227; --gold-dark: #A68820; --gold-light: #E8D9A0; --beige: #F7F4EE; --white: #FFFFFF; --dark: #2D2A26; --text: #4A4540; --muted: #8A857D; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.7; background: var(--beige); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.navbar { position: fixed; top: 0; left: 0; right: 0; background: var(--white); border-bottom: 1px solid rgba(0,0,0,0.06); z-index: 1000; height: 72px; }
.nav-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo-img { height: 44px; }
.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-menu a { font-size: 0.9rem; color: var(--text); text-decoration: none; font-weight: 500; }
.nav-menu a:hover { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--white) !important; padding: 10px 20px !important; border-radius: 6px; }
.nav-cta:hover { background: var(--gold-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); }
.btn { display: inline-block; padding: 14px 28px; border-radius: 6px; font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--muted); }
.section { padding: 80px 0; }
.section-white { background: var(--white); }
.section-beige { background: var(--beige); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-text, var(--gold-dark)); margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 500; color: var(--dark); }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-label { font-size: 0.85rem; color: var(--muted); }
.book-features { margin: 24px 0; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.section-white .project-card { background: var(--beige); }
.project-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.project-card img { width: 100%; height: 160px; object-fit: cover; }
.project-card-body { padding: 24px; }
.project-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--dark); margin-bottom: 8px; }
.project-link { color: var(--gold); font-weight: 500; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); border-radius: 10px; padding: 28px; }
.section-white .testimonial-card { background: var(--beige); }
.cta-box { background: var(--dark); border-radius: 14px; padding: 55px; text-align: center; color: var(--white); }
.cta-box h2 { font-family: 'Playfair Display', serif; font-size: 1.9rem; margin-bottom: 10px; }
.cta-box p { opacity: 0.75; margin-bottom: 24px; }
.cta-box .btn-gold:hover { background: var(--gold-light); color: var(--dark); }
.footer { background: var(--dark); color: var(--white); padding: 60px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-brand p { opacity: 0.55; margin-top: 14px; font-size: 0.9rem; }
.footer h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; opacity: 0.45; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--white); opacity: 0.7; text-decoration: none; font-size: 0.9rem; }
.footer a:hover { opacity: 1; }
.footer-contact p { opacity: 0.7; font-size: 0.9rem; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 25px; text-align: center; opacity: 0.4; font-size: 0.85rem; }
.page-header { padding: 140px 0 60px; background: var(--beige); text-align: center; }
.page-badge { display: inline-block; background: var(--gold-light); color: var(--gold-dark); padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.page-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 500; color: var(--dark); margin-bottom: 12px; }
.page-subtitle { font-size: 1.1rem; color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.intro-content h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--dark); margin-bottom: 16px; }
.intro-content p { margin-bottom: 12px; }
.intro-box { max-width: 760px; margin: 0 auto; text-align: center; }
.intro-box p { margin-bottom: 12px; }
.testimonial-stars { color: var(--gold); margin-bottom: 14px; }
.testimonial-card p { font-style: italic; margin-bottom: 16px; }
.testimonial-card strong { color: var(--dark); font-size: 0.9rem; }
.timeline { max-width: 600px; margin: 0 auto; }
.page-hero { min-height: 400px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.3) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-bottom: 50px; padding-top: 120px; }
.page-hero .back-link { color: rgba(255,255,255,0.9); margin-bottom: 16px; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.page-hero .back-link:hover { color: var(--gold-light); }
.page-hero .page-badge { background: var(--gold); color: var(--white); }
.page-hero .page-title { color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.page-hero .page-subtitle { color: rgba(255,255,255,0.95); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.content-box { max-width: 800px; margin: 0 auto; }
.content-box h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--dark); margin-bottom: 20px; }
.content-box p { margin-bottom: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border-radius: 12px; padding: 30px; text-align: center; }
.section-white .feature-card { background: var(--beige); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); }
.timeline-marker { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.timeline-item.completed .timeline-marker { background: var(--gold); color: var(--white); }
.timeline-item.in-progress .timeline-marker { background: var(--gold-light); color: var(--gold-dark); }
.timeline-content strong { color: var(--dark); display: block; margin-bottom: 4px; }
.timeline-content p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 20px; }
.back-link:hover { color: var(--gold); }
.timeline-item.upcoming .timeline-marker { background: #eee; color: var(--muted); }
.status-box { background: var(--gold-light); border-radius: 12px; padding: 30px; text-align: center; max-width: 500px; margin: 0 auto; }
.status-box h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--dark); margin-bottom: 10px; }
.status-box p { color: var(--gold-dark); }
.progress-bar { height: 10px; background: rgba(0,0,0,0.08); border-radius: 5px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease-out; }

@media (max-width: 1000px) {
    .nav-menu { gap: 18px; }
    .nav-menu a { font-size: 0.85rem; }
}

@media (max-width: 450px) {
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .intro-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}

/* Mobilmeny: hamburgaren tar över innan menyraden hinner radbryta */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid rgba(0,0,0,0.06); }
    .nav-menu.active { display: flex; }
    .nav-menu a { font-size: 0.9rem; }
}

/* ============================================================
   PROJEKTSIDOR — utbyggda sektioner (tillagt 2026-07-31)
   ============================================================ */
.live-bar { background: var(--gold-light); border-radius: 12px; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 800px; margin: 0 auto; }
.live-bar-text strong { display: block; color: var(--dark); font-size: 1.05rem; margin-bottom: 2px; }
.live-bar-text span { color: var(--gold-dark); font-size: 0.9rem; }
.live-bar .btn { flex-shrink: 0; }
.shot { max-width: 900px; margin: 0 auto; }
.shot img { width: 100%; border-radius: 12px; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 18px 45px rgba(0,0,0,0.12); }
.shot figcaption { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 14px; }
.shot figcaption a { color: var(--gold-text, var(--gold-dark)); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience-card { background: var(--white); border-radius: 12px; padding: 28px; border: 1px solid rgba(0,0,0,0.05); }
.section-white .audience-card { background: var(--beige); }
.audience-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--dark); margin-bottom: 10px; }
.audience-card p { font-size: 0.9rem; color: var(--muted); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.price-card { background: var(--white); border-radius: 12px; padding: 26px; text-align: center; border: 1px solid rgba(0,0,0,0.05); }
.section-white .price-card { background: var(--beige); }
.price-card h3 { font-size: 0.95rem; color: var(--dark); margin-bottom: 8px; font-weight: 600; }
.price-card .amount { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--gold-dark); margin-bottom: 6px; }
.price-card p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.fact { background: var(--white); border: 1px solid rgba(0,0,0,0.06); border-radius: 30px; padding: 9px 20px; font-size: 0.88rem; color: var(--dark); }
.section-white .fact { background: var(--beige); }
.fact strong { color: var(--gold-dark); }
.stack-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.stack-list span { background: rgba(0,0,0,0.04); border-radius: 6px; padding: 6px 14px; font-size: 0.82rem; color: var(--text); }
@media (max-width: 800px) {
    .audience-grid { grid-template-columns: 1fr; }
    .live-bar { flex-direction: column; align-items: stretch; text-align: center; }
    .live-bar .btn { display: block; }
}
