/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
    color: #555;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ===== FÄRGER - GRÅTT MED MYCKET DISKRET GUL ===== */
:root {
    /* NY GUL: #C4B000 - väldigt diskret */
    --yellow-700: #A39300;
    --yellow-600: #B6A300;
    --yellow-500: #C4B000;  /* HUVUDGUL */
    --yellow-400: #D2BE00;
    --yellow-100: #F0E8B3;  /* LJUSGUL för "Kort sagt" */
    
    /* Grått för huvuddesign */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-700: #424242;
    
    /* Textfärger */
    --text-dark: #1a1a1a;
    --text-gray: #555;
    --text-light: #777;
    
    /* Neutrala */
    --light-gray: #f8f9fa;
    --border-color: #EDE7D9;
    --shadow: 0 5px 15px rgba(196, 176, 0, 0.03);
    --shadow-hover: 0 10px 30px rgba(196, 176, 0, 0.05);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--yellow-700);
}

.nav-cta-button {
    background-color: var(--yellow-500);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px;
    margin-left: 1rem;
    transition: all 0.2s ease;
    border: 2px solid var(--yellow-700);
}

.nav-cta-button:hover {
    background-color: var(--yellow-700);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== KNAPPAR ===== */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.button-primary {
    background-color: var(--yellow-500);
    color: white;
    border: 2px solid var(--yellow-700);
}

.button-primary:hover {
    background-color: var(--yellow-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.button-outline {
    background-color: transparent;
    color: var(--yellow-600);
    border: 2px solid var(--yellow-600);
}

.button-outline:hover {
    background-color: var(--gray-50);
    transform: translateY(-2px);
}

.button-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 4rem 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--gray-50);
    padding: 2rem;
    border-left: 3px solid var(--yellow-500);
    margin-bottom: 0;
    box-shadow: none;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.service-card:hover {
    background-color: var(--gray-100);
    transform: none;
    box-shadow: none;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.4rem;
    border-bottom: 2px solid var(--gray-300);
    padding-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 4rem 0;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content {
    padding-right: 1rem;
}

.about-quote {
    margin: 2.5rem 0;
    padding: 2.5rem;
    border-left: 4px solid var(--yellow-600);
    background-color: var(--yellow-100);
    color: var(--text-gray);
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-quote p {
    margin: 0;
    font-style: italic;
}

.image-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    margin-bottom: 0;
}

.image-note {
    display: none;
}

/* ===== CONTACT SECTION - LJUSGRÅ BOX ===== */
.contact {
    padding: 4rem 0;
    background: #ffffff;
    color: #333;
    text-align: center;
}

.contact-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--gray-50);      /* Ljusgrå bakgrund */
    border: 1px solid var(--gray-200);     /* Väldigt ljus grå ram */
    border-radius: 6px;                    /* Litet rundade hörn */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02); /* Mycket lätt skugga */
}

.contact .section-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-text {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem 0;
    background-color: #1a1a1a;
    color: white;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-mission {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.footer-email {
    color: rgba(255, 255, 255, 0.85);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ===== RESPONSIVITET ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services, .about, .contact {
        padding: 3.25rem 0;
    }
}

@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-content {
        padding-right: 0;
    }
    .contact-box {
        padding: 2.5rem 2rem;
    }
    .image-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* MOBIL: MINIMALT AVSTÅND MELLAN BILD OCH KONTAKT */
    .about {
        padding-bottom: 0 !important;       /* Noll luft under bilden */
    }
    
    .contact {
        padding-top: 0.5rem !important;     /* Minimalt, bara 8px */
    }
    
    .services, .about, .contact {
        padding: 2.5rem 0;
    }
    
    .contact-box {
        padding: 2rem 1.5rem;
    }
    
    /* Mobilmeny */
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        height: 85vh;
        min-height: 500px;
        margin-top: 70px;
    }
    
    .hero-bg-image {
        object-position: center 25%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .button {
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 769px) {
    .navbar {
        background-color: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }
    
    .navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu a {
        color: white;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }
    
    .navbar.scrolled .nav-menu a {
        color: var(--text-gray);
        text-shadow: none;
    }
    
    .nav-cta-button {
        background-color: rgba(196, 176, 0, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.5);
        color: white !important;
    }
    
    .navbar.scrolled .nav-cta-button {
        background-color: var(--yellow-500);
        border: 2px solid var(--yellow-700);
        color: white !important;
    }
    
    .hero {
        height: 100vh;
        min-height: 600px;
        margin-top: 0;
    }
    
    /* ===== DATOR - SPECIFIKA AVSTÅNDSJUSTERINGAR ===== */
    /* BARA: Mindre över "Vill du veta mer"-rutan */
    .contact {
        padding-top: 2rem; /* 32px istället för 64px */
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    .hero {
        height: 65vh;
        min-height: 400px;
    }
    .about-quote {
        padding: 1.5rem;
    }
    .image-container {
        padding: 0;
    }
}
