

:root {
            --primary-dark: #171717;
            --accent-red: #ff0000;
            --bg-light: #f7f7f7;
            --bg-accent: #ffffff;
            --text-color: #333333;
        }

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

        body {
            font-family: 'Open Sans', sans-serif;
            color: var(--text-color);
            line-height: 1.6;
            scroll-behavior: smooth;
        }

        h1, h2, h3 {
            font-family: 'Open Sans', serif;
            color: var(--primary-dark);
        }

        header {
            background-color: var(--bg-accent);
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo img {
            height: 40px; /* Denna höjd brukar vara optimal för en menyrad, men justera gärna efter PNG-filens proportioner */
            width: auto; /* Behåller bildens naturliga breddförhållande */
            display: block;
        }

        nav a {
            margin-left: 2rem;
            text-decoration: none;
            color: var(--primary-dark);
            font-weight: 600;
            transition: color 0.2s ease;
        }

        nav a:hover { color: var(--accent-red); }

        #hero {
            background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../img/Bil.webp') center/cover no-repeat;
            color: var(--bg-accent);
            text-align: center;
            padding: 10rem 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        #hero h1 { color: var(--bg-accent); font-size: 3.5rem; margin-bottom: 1rem; }
        #hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 2.5rem; }

        

        .contact-button {
            background-color: var(--accent-red);
            border: 2px solid var(--accent-red);
            color: var(--bg-accent);
            padding: 1rem 2.5rem;
            text-decoration: none;
            font-weight: 600;
            border-radius: 3px;
            display: inline-block;
            cursor: pointer;
            font-size: 1rem;
            transition: background-color 0.2s ease;
        }

        .contact-button:hover { background-color: var(--primary-dark);color: var(--accent-red);}

        .certifications { margin-top: 4rem; }
        .certifications img { height: 80px; margin: 0 15px; }

        /*Våra services*/

        #services { 
            padding: 6rem 5%; 
            background-color: var(--bg-light); 
            text-align: center; 
        }

        #services h2 { 
            font-size: 2.5rem; 
            margin-bottom: 3rem; 
        }

        .services-container {
            display: flex;
            align-items: stretch; 
            gap: 4rem;
            max-width: 1100px;
            margin: 0 auto;
            text-align: left;
        }

        .services-list {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 2rem; 
        }

        .service-card {
            background-color: var(--bg-accent);
            padding: 2.5rem 2rem;
            border-radius: 3px;
        }

        .service-card h3 { 
            font-size: 1.5rem; 
            margin-bottom: 0.5rem; 
        }

        .services-image {
            flex: 1;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .services-image img {
            width: 100%;
            height: 100%;
            border-radius: 3px;
            object-fit: cover;
        }

        
       
        /* Om oss delen */
        #about { 
            padding: 6rem 5%; 
            background-color: var(--bg-accent);
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }
        
        .about-container {
            display: flex;
            align-items: center;
            gap: 4rem;
            max-width: 1000px;
            margin: 0 auto;
            text-align: left;
        }

        .about-text {
            flex: 1;
        }

        .about-text h2 { 
            font-size: 2.5rem; 
            margin-bottom: 1.5rem; 
        }

        .about-text p { 
            font-size: 1.1rem; 
        }

        .about-image {
            flex: 1;
            text-align: center;
        }

        .about-image img {
            max-width: 100%;
            max-height: 500px; 
            border-radius: 3px;
            object-fit: cover;
        }

        
        /* Kontakta oss biten*/
        footer {
            background-color: var(--primary-dark);
            color: #ffffff;
            padding: 5rem 5% 3rem;
            text-align: center;
        }

        footer h2 { color: #ffffff; font-size: 2.5rem; margin-bottom: 1.5rem; }

        .contact p {
            margin-bottom: 2rem;
        }

        .contact-info { margin-bottom: 2rem; font-size: 1.2rem; }
        .contact-info a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 500;
            display: inline-block;
            margin: 0 15px;
            user-select: text;
            transition: color 0.2s ease;
        }

        .contact-info a svg {
            width: 20px;  
            height: 20px;
            fill: #ffffff; 
            transition: fill 0.2s ease;
        }

        .contact-info a:hover {
            color: var(--accent-red);
        }

        .contact-info a:hover svg {
            fill: var(--accent-red);
        }

        /* --- Formulär CSS --- */
        .contact-form {
            max-width: 500px;
            margin: 0 auto 3rem auto;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            text-align: left;
        }

        .contact-form input, .contact-form textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid #444;
            border-radius: 3px;
            background-color: #333;
            color: #fff;
            font-family: 'Open Sans', sans-serif;
        }
        
        .contact-form input::placeholder, .contact-form textarea::placeholder {
            color: #aaa;
        }

        .contact-form input:focus, .contact-form textarea:focus {
            outline: none;
            border-color: var(--accent-red);
        }

        .success-msg { color: #4CAF50; font-weight: 600; margin-bottom: 1.5rem; font-size: 1.1rem; }
        .error-msg { color: var(--accent-red); font-weight: 600; margin-bottom: 1.5rem; font-size: 1.1rem; }

        .copyright {
            font-size: 0.9rem;
            opacity: 0.6;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
        }

        @media (max-width: 768px) {
            #hero h1 { font-size: 2.5rem; }
            
            nav { display: none; }
            
            /*Våra services*/
            .services-container { 
                flex-direction: column; 
            }
            .services-image {
                max-height: 394px;
            }
            .services-image img{
                height: 400px; 
            }
            
            /*Om oss*/
            .about-container { 
                flex-direction: column; 
                text-align: center; 
            }
        }