/* === VARIABLER === */
:root {
    --primary: #8D7B68;
    --primary-light: #A69785;
    --primary-dark: #6B5D4F;
    --secondary: #4A5859;
    --secondary-light: #6B7879;
    --secondary-dark: #2F3839;
    --accent: #5F7161;
    --accent-light: #798C7A;
    --bg: #FAFAF9;
    --bg-warm: #F5F2EE;
    --text: #3D3D3D;
    --text-light: #6B6B6B;
    --text-dark: #1A1A1A;
    --white: #FFFFFF;
    --border: #E8E6E3;
    --max-width: 1100px;
}

/* === RESET === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Verdana, Geneva, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* === HEADER === */
.site-header {
    background: var(--white);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

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

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

/* === HERO === */
.hero {
    background: var(--white);
    padding: 80px 24px 60px;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-image {
    flex-shrink: 0;
}

.hero-image img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border);
}

.hero-text h1 {
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-intro {
    font-size: 1rem;
    color: var(--text);
    max-width: 520px;
    line-height: 1.8;
}

/* === SEKTIONER === */
.section {
    padding: 72px 24px;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section--alt {
    background: var(--bg-warm);
}

.section--dark {
    background: var(--secondary);
    color: var(--white);
}

.section-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section--dark .section-title {
    color: var(--white);
}

.section--dark .section-title::after {
    background: var(--primary-light);
}

/* === TRE DÖRRAR === */
.doors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.door {
    background: var(--white);
    border-radius: 8px;
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.door:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.door-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.door h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.door p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.door-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.door-link:hover {
    color: var(--primary-dark);
}

.door-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.door-link:hover svg {
    transform: translateX(3px);
}

/* === OM MIG === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-details {
    list-style: none;
}

.about-details li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    align-items: baseline;
    font-size: 0.93rem;
}

.about-details li:last-child {
    border-bottom: none;
}

.about-bullet {
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}

/* === KOMPETENS === */
.credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 0.93rem;
}

.credential-icon {
    color: var(--accent);
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* === KONTAKT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-info li:last-child {
    border-bottom: none;
}

.contact-icon {
    flex-shrink: 0;
    opacity: 0.8;
}

.contact-info a {
    color: var(--white);
}

.contact-info a:hover {
    color: var(--primary-light);
}

.contact-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: background 0.2s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.contact-map {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 32px;
}

.contact-map h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--white);
}

.contact-map p {
    font-size: 0.93rem;
    line-height: 1.7;
    opacity: 0.85;
}

/* === FOOTER === */
.site-footer {
    background: var(--secondary-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 32px 24px;
    text-align: center;
    font-size: 0.82rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer .logo-footer {
    height: 40px;
    margin: 0 auto 12px;
    opacity: 0.7;
}

/* === RESPONSIV === */
@media (max-width: 900px) {
    .doors {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 700px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .hero-intro {
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-image img {
        width: 200px;
        height: 200px;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Nav toggle */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .header-inner {
        position: relative;
    }

    .section {
        padding: 48px 20px;
    }
}
