/* Importera typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Grundläggande stil */
:root {
    --primary-color: #1A5D02;
    --secondary-color: #1A951D;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

/* Hero-sektion med text över bilden */
.project-hero {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    color: white;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.project-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.project-hero .hero-text {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.project-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .project-hero {
        min-height: 400px;
        padding: 100px 0 60px;
    }
    
    .project-hero h1 {
        font-size: 2.2rem;
    }
    
    .project-hero .hero-text {
        padding: 20px;
    }
}

/* Standard Hero-sektion */
.hero-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Huvudinnehåll */
.main-content {
    padding: 60px 0;
    line-height: 1.8;
    color: #333;
}

.content-section {
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.content-section h3 {
    color: var(--primary-color);
    margin: 2.5rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.content-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
}

/* Textkolumner för bättre läsbarhet */
.text-columns {
    column-count: 1;
    column-gap: 40px;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .text-columns {
        column-count: 2;
    }
}

/* Highlight box */
.highlight-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 4px 4px 0;
}

/* Punktlistor */
.bullet-points {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.bullet-points li {
    margin-bottom: 0.8rem;
    padding-left: 0;
    position: relative;
    line-height: 1.6;
}

/* Ta bort siffror från numrerade listor */
.planning-steps {
    list-style: none;
    padding: 0;
}

.planning-step {
    margin-bottom: 2rem;
}

.planning-step h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.planning-step p {
    margin: 0.5rem 0 0 0;
}

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column p, 
.footer-column a {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--white);
    text-decoration: underline;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Responsiv design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px;
    }
    
    .main-nav {
        margin-top: 20px;
        width: 100%;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
}

/* Projekt */
.project-detail {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.project-text {
    flex: 1;
}

.project-image-single {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-image-single img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-image-single:hover img {
    transform: scale(1.03);
}

@media (min-width: 992px) {
    .project-detail {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .project-text {
        padding-right: 40px;
    }
    
    .project-image-single {
        width: 50%;
        max-width: 600px;
    }
}
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.project {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.project p {
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Knappar */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn:hover {
    background-color: var(--secondary-color);
}

/* Mobilmeny */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .main-nav {
        display: none;
        width: 100%;
    }
    
    .main-nav.active {
        display: block;
    }
}
