* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: rgb(253, 248, 236);
    color: rgb(40, 50, 42);
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
}

/* ---------- Header ---------- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
}

.logo img {
    height: 4rem;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: rgb(31, 69, 43);
    font-weight: 600;
}

.main-nav a:hover {
    color: rgb(112, 148, 70);
}

.main-nav a.btn {
    color: white;
}

.menu-icon {
    display: none;
    cursor: pointer;
    color: rgb(31, 69, 43);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: rgb(31, 69, 43);
    color: white;
}

.btn-primary:hover {
    background-color: rgb(112, 148, 70);
}

.btn-outline {
    background-color: transparent;
    color: rgb(31, 69, 43);
    border-color: rgb(31, 69, 43);
}

.btn-outline:hover {
    background-color: rgb(31, 69, 43);
    color: white;
}

.btn-light {
    background-color: white;
    color: rgb(31, 69, 43);
}

.btn-light:hover {
    background-color: rgb(240, 142, 140);
}

/* ---------- Hero ---------- */

.hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 75rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 1rem;
    color: rgb(31, 69, 43);
}

.hero-text {
    font-size: 1.15rem;
    color: rgb(95, 108, 97);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
}

/* ---------- Hero slider (bara CSS) ---------- */

.hero-slider {
    position: relative;
    width: 100%;
    height: 30rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(31, 69, 43, 0.2);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshow 18s infinite;
}

/* 6 bilder x 3 sekunder = 18 sekunder per varv */
.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 3s;
}

.slide:nth-child(3) {
    animation-delay: 6s;
}

.slide:nth-child(4) {
    animation-delay: 9s;
}

.slide:nth-child(5) {
    animation-delay: 12s;
}

.slide:nth-child(6) {
    animation-delay: 15s;
}

@keyframes slideshow {
    0% {
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    16% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ---------- Section title ---------- */

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2.5rem;
    color: rgb(31, 69, 43);
}

/* ---------- Idea section ---------- */

.idea-section {
    background-color: rgb(238, 244, 226);
    padding: 4rem 1.5rem;
}

.idea-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 75rem;
    margin: 0 auto;
}

.idea-card {
    background: white;
    border-top: 5px solid rgb(112, 148, 70);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(31, 69, 43, 0.08);
    padding: 1.8rem;
    flex: 1;
    min-width: 17rem;
    max-width: 24rem;
    transition: box-shadow 0.2s ease-in-out;
}

.idea-card:hover {
    box-shadow: 0 6px 20px rgba(31, 69, 43, 5);
}

.idea-card h3 {
    color: rgb(31, 69, 43);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.idea-card p {
    color: rgb(95, 108, 97);
    margin: 0;
}

/* ---------- Menu section ---------- */

.menu-section {
    max-width: 75rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.menu-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.menu-card {
    width: calc((100% - 3rem) / 3);
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(31, 69, 43, 0.08);
    overflow: hidden;
    transition: box-shadow 0.2s ease-in-out;
}

.menu-card:hover {
    box-shadow: 0 6px 20px rgba(31, 69, 43, 5);
}

.menu-card img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    display: block;
}

.menu-card-text {
    padding: 1.2rem 1.4rem 1.5rem;
}

.menu-card-text h3 {
    color: rgb(31, 69, 43);
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.menu-card-text p {
    color: rgb(95, 108, 97);
    margin: 0;
}

/* ---------- Solution section ---------- */

.solution-section {
    background-color: rgb(238, 244, 226);
    padding: 4rem 1.5rem;
}

.solution-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 60rem;
    margin: 0 auto;
}

.solution-image {
    flex: 0 0 20rem;
    text-align: center;
}

.solution-image img {
    width: 100%;
    max-width: 20rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(31, 69, 43, 0.2);
}

.solution-info {
    flex: 1;
}

.solution-title {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: rgb(31, 69, 43);
}

.solution-text {
    font-size: 1.1rem;
    color: rgb(95, 108, 97);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(31, 69, 43, 0.08);
    padding: 1.2rem 1.5rem;
    transition: box-shadow 0.2s ease-in-out;
}

.step-card:hover {
    box-shadow: 0 6px 20px rgba(31, 69, 43, 5);
}

.step-number {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    line-height: 2.6rem;
    text-align: center;
    border-radius: 50%;
    background-color: rgb(240, 142, 140);
    color: white;
    font-weight: 700;
}

.step-card h3 {
    color: rgb(31, 69, 43);
    margin-top: 0;
    margin-bottom: 0.2rem;
}

.step-card p {
    color: rgb(95, 108, 97);
    margin: 0;
}

/* ---------- Contact section ---------- */

.contact-section {
    background-color: rgb(31, 69, 43);
    color: white;
    padding: 4rem 1.5rem;
}

.contact-content {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-text {
    color: rgb(210, 225, 205);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.contact-info p {
    margin: 0.3rem 0;
}

/* ---------- Footer ---------- */

.site-footer {
    background-color: rgb(253, 248, 236);
    padding: 1.5rem;
}

.footer-bottom {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-logo {
    height: 3.5rem;
}

.footer-bottom p {
    margin: 0;
    color: rgb(95, 108, 97);
    font-size: 0.9rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
    }

    .hero-slider {
        height: 22rem;
    }

    .menu-card {
        width: calc((100% - 1.5rem) / 2);
    }

    .solution-layout {
        flex-direction: column;
    }

    .solution-image {
        flex: none;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-slider {
        height: 18rem;
    }

    .menu-card {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .menu-icon {
        display: block;
    }

    .site-header {
        position: relative;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 10;
        background: rgb(253, 248, 236);
        flex-direction: column;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgb(220, 226, 210);
    }

    .main-nav.open {
        display: flex;
    }
}