/* Modern och ren designgrund */
:root {
    --light-primary-color: #f8f9fa;
    --light-text-color: #dce2e9;
    --primary-color: #2c3e50;
    --text-color: #333333;
    --bg-color: #f8f9fa;
}

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
}

a {
   text-decoration: none; 
}

.contact-section a {
    color: var(--light-primary-color);
    text-decoration:  underline;
}

/* Begränsar bredden så det blir lättläst */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 4rem;
}

.block {
    display: block;
}

/* Layout för tjänsterna (1 tjänst per rad) */
.service-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Kolumn 1: Visuellt */
.service-visual {
    flex: 1;
}

.service-visual img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* Kolumn 2: Text */
.service-text {
    flex: 1;
}

.service-text h2 {
    color: var(--primary-color);
    margin-top: 0;
}

.cta-button {
    background: #2b6cb0; /* Din primära knappfärg */
    color: #ffffff;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #2c5282;
    opacity: 1;
}

.cta-button a, a:visited {
    color: var(--light-primary-color);
}

.no-break {
    white-space: nowrap;
}

.phone-mt {
    display: inline-block;
    margin-top: 0px;
}

/*
* Header css style
*/
.main-header {
     background-color: var(--primary-color);
     color: white;
     padding: 1rem 0;
     position: sticky;
     /* Gör att menyn följer med när man skrollar ner */
     top: 0;
     z-index: 100;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 .header-container {
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 2rem;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .logo a {
     color: white;
     text-decoration: none;
     font-size: 1.8rem;
     font-weight: bold;
     letter-spacing: 1px;
 }

 .logo img {
    width: 200px;
 }

 .main-nav ul {
     list-style: none;
     margin: 0;
     padding: 0;
     display: flex;
     align-items: center;
     gap: 2rem;
 }

 .main-nav a {
     color: white;
     text-decoration: none;
     font-variant: small-caps;
     font-size: 1rem;
     transition: opacity 0.3s ease;
 }

 .main-nav a:hover {
     opacity: 0.8;
 }

 header p {
     font-size: 1.2rem;
     opacity: 0.9;
 }

 /*
  * Hero css style
 */
.hero-section {
    position: relative; /* Behövs för att placera innehållet ovanpå överlagringen */
    display: flex;
    justify-content: center; /* Centrerar innehållet horisontellt */
    align-items: center; /* Centrerar innehållet vertikalt */
    min-height: 80vh; /* Sätter en minsta höjd för att fylla en stor del av skärmen */
    
    /* Bakgrundsbild */
    background-image: url('../../img/hero/hero1920.webp'); /* Ersätt med sökvägen till din bild */
    background-size: cover; /* Ser till att bilden täcker hela sektionen */
    background-position: center; /* Centrerar bilden */
    background-repeat: no-repeat; /* Förhindrar att bilden repeteras */
    
    /* Din befintliga stil, anpassad för bakgrundsbild */
    padding: 2rem; /* Justerad padding för att se bra ut på alla skärmar */
    margin-bottom: 20px;
    border-bottom: solid 1px lightgrey;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--light-primary-color);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-primary-color);
    background-color:  #111827;
    padding: 10px 20px;
}

.hero-text a {
    color: white;
}

/* En lite större variant av kontaktknappen för Hero-sektionen */
.hero-btn {
    display: inline-block;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

 /*
  * Footer css style
  */
footer, .footer {
    background-color: #111827 !important; /* Tvingar fram rätt bakgrund */
    color: #e5e7eb !important;
    padding: 4rem 1rem 2rem 1rem !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* VIKTIGT: Vi ser till att själva footern INTE tvingar allt till en centrerad kolumn längre */
    display: block !important; 
    text-align: left;
}

/* Behållaren som styr maxbredden och sköter staplingen på mobil */
.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Grundstyling för kolumnerna (Mobil: Centrerat) */
.footer-column {
    text-align: center;
    flex: 1;
}

.footer-column p {
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
    text-align: inherit; /* Ärver centreringen från .footer-column på mobil */
}

/* Vänster kolumn specifikt */
.footer-brand {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.org-number, .footer-tagline {
    color: #9ca3af !important;
    font-size: 0.9rem !important;
}

.f-skatt {
    color: #9ca3af !important;
    font-size: 0.9rem !important;
}

/* Höger kolumn specifikt */
.footer-column h3 {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    font-weight: 600;
}

footer a, .footer a {
    color: #e5e7eb !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

footer a:hover, .footer a:hover {
    color: #3b82f6 !important; /* Blå hover */
}

/* Bottenraden för Copyright */
.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0 auto;
    padding: 1.5rem 1rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    margin: 0 !important;
    color: #9ca3af !important;
    font-size: 0.85rem !important;
    text-align: center !important;
}

@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    .phone-mt {
        margin-top: 10px;
    }

    /*
     * Hero section
    */
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-section {
        flex-direction: column-reverse;
        min-height: 60vh;
        background-image: url('../../img/hero/hero800.webp');
        /* Lägger texten överst på mobilen för snabbast möjliga budskap */
        text-align: center;
        padding: 3rem 1rem;
        gap: 2rem;
    }

    .service-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-text h1  {
        font-size: 2rem; /* Mindre rubrik på mobiler */
    }
    
    .hero-text p {
        font-size: 1rem; /* Mindre text på mobiler */
    }
 }

 @media (min-width: 768px) {
    .footer-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Skapar 2 spalter */
        gap: 4rem !important;
    }

    /* Nu tvingar vi texterna att lägga sig i ytterkanterna */
    .company-info {
        text-align: left !important;
    }

    .contact-info {
        text-align: right !important;
    }
}