/* ============================================================
   multionesverige.se – Style
   Brand: Hjerpes Maskincentra / MultiOne
   Colors: Gold #DCB100, Dark #222222, Light #F7F7F7
   Inspired by vagfrasning.se structure
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: proxima-nova, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #222;
    line-height: 1.7;
    font-size: 17px;
    background: #fff;
}

a {
    text-decoration: none;
    color: #DCB100;
    transition: color 0.2s;
}

a:hover {
    color: #b89600;
}

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

h1, h2, h3 {
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.25;
    letter-spacing: 0.5px;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

ul { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }

/* === TOPBAR === */
.topbar {
    background: #1a1a1a;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid #333;
}

.topbar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    color: #DCB100;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #DCB100;
}

.topbar-link:hover { color: #fff; }

.topbar-divider {
    color: #555;
}

.topbar-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #DCB100;
}

.topbar-text {
    color: #aaa;
    font-weight: 400;
}

/* === HEADER / NAV === */
.header {
    background: #222;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    height: 70px;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

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

.nav-link {
    display: block;
    padding: 0.6rem 1.1rem;
    color: #ccc;
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 6px;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    color: #DCB100;
    border-color: rgba(220,177,0,0.3);
}

.nav-cta {
    display: block;
    padding: 0.55rem 1.4rem;
    background: transparent;
    color: #DCB100;
    font-weight: 700;
    font-size: 14px;
    text-transform: none;
    border: 2px solid #DCB100;
    border-radius: 6px;
    margin-left: 0.5rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #DCB100;
    color: #222;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    flex-shrink: 0;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: #DCB100;
    transition: all 0.3s;
}

.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* === HERO === */
.hero {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('/assets/img/multione.jpg') center;
    background-size: cover;
    padding: 8rem 2rem;
    text-align: center;
}

.hero-overlay { max-width: 900px; margin: 0 auto; }

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-hero {
    background: linear-gradient(135deg, #222 0%, #333 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: #fff;
}

.page-hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-hero p { color: #DCB100; font-size: 1.1rem; }

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: #DCB100;
    color: #222;
}

.btn-primary:hover {
    background: #c29b02;
    color: #fff;
}

.btn-dark {
    background: #222;
    color: #DCB100;
}

.btn-dark:hover {
    background: #DCB100;
    color: #222;
}

.btn-outline {
    background: transparent;
    color: #222;
    border: 2px solid #222;
}

.btn-outline:hover {
    background: #222;
    color: #DCB100;
}

.text-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
}

/* === CONTENT SECTIONS === */
.content-section {
    padding: 4rem 2rem;
}

.section-grey {
    background: #F7F7F7;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

/* === GRID TWO COL === */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .grid-two-col {
        grid-template-columns: 1.5fr 1fr;
        gap: 5rem;
    }
}

/* === CTA BOX === */
.cta-box {
    background: #fff;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
}

.cta-box h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.cta-box p { margin-bottom: 1.2rem; }
.cta-box .btn { margin-bottom: 0.5rem; }

.cta-badge {
    margin-top: 1.5rem;
}

.cta-badge img { width: 130px; }

/* === CARD GRID === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-icon {
    width: 60px;
    margin-bottom: 1rem;
}

/* === MACHINE CARDS === */
.machine-card {
    text-align: left;
    padding: 2rem;
}

.machine-card h3 {
    font-size: 1.2rem;
    color: #222;
    margin-top: 0;
    margin-bottom: 0.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #DCB100;
}

.machine-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #DCB100;
    margin-bottom: 1rem;
}

.machine-specs {
    margin: 0;
}

.machine-specs div {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.machine-specs dt {
    font-weight: 600;
    color: #555;
}

.machine-specs dd {
    font-weight: 700;
    color: #222;
}

.fuel-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.fuel-diesel { background: #f0e8cc; color: #8a7200; }
.fuel-electric { background: #d4edda; color: #155724; }

/* === SITEMAP LIST === */
.sitemap-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.sitemap-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.sitemap-list a {
    color: #222;
    font-weight: 600;
}

.sitemap-list a:hover { color: #DCB100; }

/* === FOOTER === */
.footer {
    background: #222;
    color: #f2f2f2;
    padding-top: 4rem;
}

.footer h3 {
    color: #DCB100;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.footer p, .footer a {
    color: #ccc;
    font-size: 15px;
}

.footer a:hover { color: #DCB100; }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.footer-column { }

.footer-address {
    margin-top: 0.5rem;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover { color: #DCB100; }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(220,177,0,0.2);
}

/* Trust badges */
.trust-badges { margin-bottom: 1rem; }

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
    font-size: 14px;
}

.aajoda-badge img {
    width: 100px;
    border-radius: 8px;
}

.footer-orgnr {
    font-size: 12px;
    color: #666;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 1.5rem 2rem;
}

.copyright {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.copyright p {
    font-size: 13px;
    color: #666;
    margin-bottom: 0.3rem;
}

/* === MOBILE === */
@media (max-width: 1024px) {
    .desktop-only { display: none; }

    .nav {
        height: 60px;
        justify-content: space-between;
    }

    .nav-logo img {
        height: 35px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #222;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.4);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active { right: 0; }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        width: 100%;
        border-bottom: 1px solid #333;
        border-radius: 0;
        color: #ccc;
    }

    .nav-cta {
        margin: 1rem 0;
        text-align: center;
    }

    .hamburger { display: block; z-index: 1001; }

    .hero { padding: 6rem 1.5rem; }
    .hero h1 { font-size: 2rem; }

    .page-hero { padding: 3.5rem 1.5rem; }
    .page-hero h1 { font-size: 1.8rem; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.4rem; }

    .content-section, .section-grey { padding: 2.5rem 1.5rem; }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .topbar-content {
        font-size: 12px;
        gap: 6px;
    }

    .hero h1 { font-size: 1.6rem; }
}
