:root {
    --primary-color: #2c3e50; /* Mörkare, mer professionell blå */
    --secondary-color: #18bc9c; /* Ljusare, mer levande turkos */
    --bg-color: #ecf0f1; /* Ljusgrå bakgrund */
    --text-color: #34495e; /* Mörkgrå text */
    --white: #ffffff;
    --light-gray: #bdc3c7;
    --border-radius: 5px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1.1rem;
    scroll-behavior: smooth;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
nav {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

nav .logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

nav .nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

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

nav .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav .nav-links li a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Header */
header {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8rem 0 5rem;
    text-align: center;
    margin-top: 60px; /* Justera för fast nav */
}

header h1 {
    font-size: 3em;
    margin-bottom: 1rem;
    font-weight: 700;
}

header p {
    font-size: 1.3em;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Sections */
main {
    display: block;
}

section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

section:nth-child(even) {
    background-color: var(--white);
}

h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
}

h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* List Grid & Cards */
.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.focus-area, .service-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.focus-area:hover, .service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.focus-area h3, .service-box h3 {
    color: var(--secondary-color);
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 1rem;
    padding-left: 2em;
    position: relative;
}

ul li::before {
    content: "→"; 
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    transition: var(--transition);
}

ul li:hover::before {
    transform: translateX(5px);
}

/* Specific Sections */
#for-vem blockquote {
    font-style: normal;
    font-size: 1.1em;
    color: var(--primary-color);
    border-left: 5px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin-top: 2.5rem;
    margin-left: 0;
}

#tjanster .price-tag {
    margin-top: 2.5rem;
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
}

/* Kontakt */
#kontakt {
    background-color: var(--primary-color);
    color: var(--white);
}

#kontakt h2 {
    color: var(--white);
}

#kontakt .contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

#kontakt .contact-details {
    margin: 2rem 0;
    font-size: 1.2em;
}

#kontakt .contact-details p {
    margin: 0.8rem 0;
}

#kontakt .contact-details a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px dotted var(--secondary-color);
    transition: var(--transition);
}

#kontakt .contact-details a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--white);
}

#kontakt .contact-buttons {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#kontakt .cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
}

#kontakt .cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: transparent;
}


/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--light-gray);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9em;
}

footer p {
    margin: 0;
}

/* Mobile & Tablet Navigation */
@media screen and (max-width: 960px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding: 2rem 0;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }
    
    header {
        margin-top: 0;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Tablet & Smaller Desktops */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 2em;
    }
}