/* Responsive Design Enhancements */
@media (max-width: 1024px) {
    section {
        padding: 60px 0;
    }
    
    .logo-large img {
        height: 150px;
    }
    
    .hero-content h1 {
        font-size: 2.1rem;
    }
    
    /* Benefits */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* Generella justeringar */
    .container {
        padding: 0 20px;
    }

    /* Header & Navigering */
    header {
        height: 70px;
    }

    /* Sektioner & innehåll */
    section {
        padding: 60px 0;
    }
    
    /* Hamburger-menyn */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 22px;
        z-index: 10;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0 0 20px 0;
    }

    /* Justera parallax-effekter för mobil */
    .parallax-bg {
        transform: none !important;
    }
    
    /* Hero-sektion */
    #hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
    }
    
    .logo-large img {
        height: 120px;
        margin-bottom: 35px;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
        margin-bottom: 40px;
    }
    
    .animated-tagline {
        height: 80px;
    }

    /* Tjänster & Fördelar */
    .services-grid, .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
    }
    
    .benefit-icon i {
        font-size: 1.7rem;
    }

    /* Formulär */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-person {
        margin-bottom: 20px;
    }
    
    .contact-image {
        width: 180px;
        height: 180px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    /* Hero-sektion */
    .logo-large img {
        max-width: 220px;
        height: auto;
        margin-bottom: 30px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 35px;
    }
    
    .animated-tagline {
        height: 100px;
    }
    
    .tagline-second {
        font-size: 1.2rem;
    }
    
    /* Generella justeringar */
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    /* Komponenter */
    .service-card, 
    .testimonial-card {
        padding: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
    
    .contact-image {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
    
    .benefit-card {
        padding: 25px 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }

    /* Footer */
    footer {
        padding: 40px 0 20px;
    }
}
