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

body {
    font-family: 'Georgia', serif;
    color: #333;
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

nav .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #3d0000;
    letter-spacing: 1px;
    text-decoration: none;
}

nav .logo img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
}

nav ul a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav ul a:hover,
nav ul a.active {
    color: #3d0000;
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px 40px;
}

/* Välkommen */
#hem {
    background: linear-gradient(135deg, #f5ede8, #e8d5c8);
    text-align: center;
}

#hem h1 {
    font-size: 3.5rem;
    color: #3d0000;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

#hem p {
    font-size: 1.2rem;
    color: #777;
    max-width: 500px;
    line-height: 1.8;
    margin: 0 auto 36px;
}

a.knapp {
    display: inline-block;
    background: #3d0000;
    color: white;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    border: 2px solid #3d0000;
    transition: background 0.3s, color 0.3s;
}

a.knapp:hover {
    background: #290000;
    border-color: #290000;
}

a.knapp.knapp-outline {
    background: transparent;
    color: #3d0000;
}

a.knapp.knapp-outline:hover {
    background: #3d0000;
    color: white;
}

.knapp-grupp {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Om mig */
#om-mig {
    background: #f5ede8;
}

.om-mig-inner {
    max-width: 800px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.om-mig-bild {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #e8d5c8;
    border: 6px solid #3d0000;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
}

.om-mig-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.om-mig-text h2 {
    font-size: 2rem;
    color: #3d0000;
    margin-bottom: 16px;
}

.om-mig-text p {
    color: #666;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Tjänster */
#tjanster {
    background: #f5ede8;
    flex-direction: column;
    text-align: center;
}

#tjanster h2 {
    font-size: 2rem;
    color: #3d0000;
    margin-bottom: 50px;
}

.tjanster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 900px;
}

.tjanst-kort {
    background: white;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.tjanst-kort:hover {
    transform: translateY(-6px);
}

.tjanst-kort .ikon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.tjanst-kort h3 {
    font-size: 1.1rem;
    color: #3d0000;
    margin-bottom: 10px;
}

.tjanst-kort p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
}

.tjanster-cta {
    margin-top: 80px;
    background: white;
    border-radius: 16px;
    padding: 40px 56px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tjanster-cta h3 {
    color: #3d0000;
    font-size: 1.4rem;
}

/* Kontakt */
#kontakt {
    background: #f5ede8;
    flex-direction: column;
    text-align: center;
}

#kontakt h2 {
    font-size: 2rem;
    color: #3d0000;
    margin-bottom: 40px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 500px;
}

form input,
form textarea {
    padding: 14px 18px;
    border: 1.5px solid #e0d0c6;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    outline: none;
    transition: border 0.3s;
}

form input:focus,
form textarea:focus {
    border-color: #3d0000;
}

form textarea {
    height: 140px;
    resize: vertical;
}

form button {
    background: #3d0000;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #290000;
}

.hidden-field {
    display: none;
}

.kontakt-epost {
    margin-top: 24px;
    color: #555;
}

.kontakt-epost a {
    color: #3d0000;
    font-weight: bold;
    text-decoration: none;
}

.kontakt-epost a:hover {
    text-decoration: underline;
}

/* Bilder */
#bilder {
    background: #f5ede8;
    flex-direction: column;
    text-align: center;
}

#bilder h2 {
    font-size: 2rem;
    color: #3d0000;
    margin-bottom: 50px;
}

.bild-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1100px;
}

.bild-grid button {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    aspect-ratio: 4 / 3;
}

.bild-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.bild-grid button:hover img {
    transform: scale(1.06);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 8, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 40px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

footer {
    text-align: center;
    padding: 24px;
    background: #f5ede8;
    color: #aaa;
    font-size: 0.85rem;
}

@media (max-width: 700px) {
    nav {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    section {
        padding: 140px 24px 40px;
    }

    #hem h1 {
        font-size: 2.4rem;
    }

    .om-mig-inner {
        flex-direction: column;
        text-align: center;
    }

    .tjanster-grid {
        grid-template-columns: 1fr;
    }

    .bild-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
