/* Grundläggande stilar och typsnitt */
:root {
    --primary-color: #2c3e50; /* Mörkare, mjukare svart */
    --secondary-color: #f8f9fa; /* Ljusgrå bakgrund */
    --accent-color: #4A6A5C; /* Elegant, mörk skogsgrön */
    --text-color: #34495e;
    --text-font: 'Lato', sans-serif;
    --heading-font: 'Playfair Display', serif;
}

body {
    font-family: var(--text-font);
    line-height: 1.7;
    margin: 0;
    color: var(--text-color);
    background: #fff;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: var(--text-font); /* Vanligt typsnitt för h3 */
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Elegant Header och Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    color: #fff;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.main-nav a:hover {
    color: #bdc3c7;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.4s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

/* Hero-sektion */
.hero-section {
    height: 70vh;
    background: url('20120514_16-2.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
}

.hero-content {
    padding-top: 10vh; 
}

.hero-content h1, .hero-content p {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 1.5rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #3b554a;
    transform: translateY(-3px);
}

/* Ny sektion för "Om gården" */
.about-section {
    padding: 6rem 3rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about-section h2 {
    margin-bottom: 0.5rem;
}

.about-section h3 {
    margin-bottom: 2.5rem;
}

.about-section .about-image {
    width: 100%;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-text-container {
    text-align: left;
    max-width: 65ch;
    margin: auto;
}

.about-text-container ul {
    list-style: none;
    padding-left: 0;
}

.about-text-container ul li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.about-text-container ul li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Innehållssektioner */
.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 6rem 3rem;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.content-section:nth-child(even) {
    background-color: var(--secondary-color);
}

.content-section.reverse .section-image {
    order: 2;
}

.section-image img {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.section-text h2 {
    position: relative;
    padding-bottom: 1rem;
}

.section-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-text ul {
    list-style: none;
    padding-left: 0;
}

.section-text ul li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.section-text ul li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.natur-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.1rem;
}

/* Kontaktsektion med bild */
.contact-section {
    background: #fff;
    padding: 6rem 2rem;
    text-align: center;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    max-width: 1100px;
    margin: 2rem auto 0;
}

.contact-form-wrapper {
    flex: 2;
    max-width: 600px;
    text-align: left;
}

.contact-image-wrapper {
    flex: 1;
}

.contact-image-wrapper img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

#contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

#form-message {
    margin-top: 1rem;
    font-weight: bold;
}

.hidden {
    display: none;
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: #bdc3c7;
    text-align: center;
    padding: 3rem;
}

.main-footer p {
    margin: 0.5rem 0;
}

/* Mobilanpassning (Responsiv Design) */
@media (max-width: 900px) {
    .about-section {
        padding: 4rem 2rem;
    }

    .content-section,
    .content-section.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 2rem;
    }

    .content-section.reverse .section-image {
        order: 0;
    }

    .section-text {
        text-align: center;
    }
    .section-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .section-text ul {
        text-align: left;
        display: inline-block;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 3rem;
    }

    .contact-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }

    .hero-section {
        height: 50vh;
        /* ÅTGÄRDAT: Visar högra delen av bilden på mobilen */
        background-position: right center;
    }

    .main-header {
        padding: 1rem 1.5rem;
    }

    .logo a {
        font-size: 1.8rem;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 73px;
        right: 0;
        width: 100%;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .main-nav ul.show {
        display: flex;
    }
    
    .main-nav ul li {
        padding: 1rem 0;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:n