/* =========================================
   1. GRUNDSTILAR & VARIABLER
   ========================================= */
:root {
    --primary: #2b7a4b;
    --primary-light: #eef7f2;
    --primary-dark: #1e5535;
    --accent: #d98f3c;
    --accent-hover: #c27d2e;
    --bg-light: #fdfaf6;
    --text-dark: #2d2d2d;
    --text-muted: #555;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.8;
}

h1, h2, h3 {
    font-family: 'Baloo 2', cursive;
    line-height: 1.2;
    color: var(--primary-dark);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-content, 
.course-main-text, 
.instructor-text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 25px;
    }
}

.section-padding {
    padding: 120px 0;
}

/* =========================================
   2. HEADER & STICKY NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: var(--transition);
    padding: 25px 0;
}

header.scrolled {
    background: rgba(253, 250, 246, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo img {
    height: 45px;
    transition: var(--transition);
}

header.scrolled nav .logo img {
    height: 38px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

header.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

header.scrolled .hamburger span {
    background: var(--text-dark);
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f4f1ea; /* En beige ton som matchar Saras sajt */
    color: #333;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

#cookie-banner button {
    background: #8fa18d; /* En dov grön färg som passar hälso-temat */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

#cookie-banner button:hover {
    background: #7a8a78;
}

.hidden { display: none !important; }

/* =========================================
   3. HERO SEKTION
   ========================================= */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../img/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid var(--white);
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 5rem);
    color: var(--white) !important;
    margin: 0;
    transform: rotate(-3deg);
    text-shadow: 2px 4px 12px rgba(0,0,0,0.4);
}

.hero-tagline {
    font-size: 1.3rem;
    margin-top: 10px;
    font-weight: 400;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(43, 122, 75, 0.3);
}

.hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(43, 122, 75, 0.4);
}

/* =========================================
   4. SEKTIONS-ELEMENT & KNAPPAR
   ========================================= */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

#readMoreBtn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

#readMoreBtn:hover {
    background: var(--accent);
    color: var(--white);
}

.more-text {
    display: none;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* =========================================
   5. KURS & PRIS-BOXAR
   ========================================= */
.course-section {
    background: var(--white);
}

.course-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.price-card, 
.add-on-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.price-card {
    border: 2px solid var(--primary);
}

.promo-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0;
}

.ord-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: var(--white);
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    margin: 25px 0 10px;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

/* =========================================
   6. REFERENSER & CITAT
   ========================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-bottom: 4px solid transparent;
}

.testimonial-card.highlight {
    border-bottom-color: var(--accent);
    background: #fffcf9;
}

.small-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.quote-item {
    background: var(--primary-light);
    padding: 20px;
    border-radius: 12px;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

/* =========================================
   7. KONTAKT & FOOTER
   ========================================= */
.contact-cta {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
}

.contact-cta h2 {
    color: var(--white);
}

.email-link {
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--white);
}

footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================
   8. RESPONSIVITET
   ========================================= */
@media (max-width: 850px) {
    .course-meta-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
        background: var(--bg-light);
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    .nav-links.show {
        right: 0;
    }
    .nav-links a {
        color: var(--text-dark) !important;
        font-size: 1.4rem;
    }
    .hamburger {
        display: flex;
    }
    .hamburger span {
        background: var(--text-dark);
    }
}

@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px;
    }
}