/* Servisi page – same hero as cmimore, title+subtitle, intro, parallax, info sections, Kontakti block */

html.servisi-page {
    scroll-behavior: smooth;
}

.servisi-page {
    background: #fff;
    color: #111;
}

.servisi-header {
    position: relative;
}

.servisi-header .hero-nav {
    background: #fff;
    color: #111;
}

.servisi-hero {
    width: 100%;
    height: 55vh;
    min-height: 286px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.servisi-main {
    padding: 0;
}

/* 1. Title section – like kontakti.php */
.servisi-title-section {
    background: #fff;
    padding: 80px 24px 48px;
}

.servisi-title-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: left;
}

.servisi-title {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: 64px;
    font-weight: 700;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #111;
    line-height: 1.1;
}

.servisi-subtitle {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #111;
}

/* 2. Intro paragraph */
.servisi-intro-section {
    background: #fff;
    padding: 0 24px 56px;
}

.servisi-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.servisi-intro-text {
    font-family: "BMWMotorradW01-Regular", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
    color: #333;
    max-width: 800px;
}

/* 3. Parallax section – big photo moves on scroll */
.servisi-parallax-section {
    width: 100%;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
    position: relative;
}

.servisi-parallax-bg {
    position: absolute;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

/* 4. Info sections – alternating text left / image left */
.servisi-info-section {
    background: #fff;
    padding: 56px 24px 72px;
}

.servisi-info-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.servisi-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.servisi-info-text-left .servisi-info-grid {
    direction: ltr;
}

.servisi-info-image-left .servisi-info-grid {
    direction: ltr;
}

.servisi-info-image-left .servisi-info-image {
    order: 1;
}

.servisi-info-image-left .servisi-info-text {
    order: 2;
}

.servisi-info-heading {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.servisi-info-para {
    font-family: "BMWMotorradW01-Regular", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 28px;
    color: #333;
}

.servisi-ratio-3-2 {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.servisi-info-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.servisi-info-btn.hero-button {
    display: inline-block;
    text-align: center;
    padding: 14px 28px;
    background: #111;
    color: #fff;
    border: none;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    transition: background 0.2s ease, color 0.2s ease;
}

.servisi-info-btn.hero-button:hover {
    background: #0062ff;
    color: #fff;
}

/* 5. Special KONTAKTI section – separator with motorcycle icon */
.servisi-kontakti-section {
    background: #fff;
    padding: 64px 24px 80px;
    text-align: center;
}

.servisi-kontakti-separator {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servisi-kontakti-line {
    display: block;
    position: absolute;
    left: 15%;
    right: 15%;
    top: 50%;
    height: 3px;
    background: #333;
}

.servisi-kontakti-icon {
    position: relative;
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: #fff;
    padding: 0 16px;
}

.servisi-kontakti-title {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 40px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #111;
}

.servisi-kontakti-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: left;
}

.servisi-kontakti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.servisi-kontakti-lead {
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #111;
}

.servisi-kontakti-para {
    font-family: "BMWMotorradW01-Regular", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 28px;
    color: #333;
}

.servisi-kontakti-btn.hero-button {
    display: inline-block;
    text-align: center;
    padding: 14px 28px;
    background: #fff;
    color: #111;
    border: 3px solid #111;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-family: "BMWMotorradW01-Bold", Arial, sans-serif;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.servisi-kontakti-btn.hero-button:hover {
    background: #0062ff;
    color: #fff;
    border-color: #0062ff;
}

.servisi-kontakti-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.servisi-kontakti-right.servisi-ratio-3-2 {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

/* Back to top */
.servisi-back-to-top {
    background: #fff;
    min-height: 180px;
    padding: 64px 24px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}

.servisi-back-to-top .back-to-top-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-family: "BMWMotorradW01-Regular", Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.servisi-back-to-top .back-to-top-link:hover {
    color: #111;
}

.servisi-back-to-top .back-to-top-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0);
}

.servisi-back-to-top .back-to-top-text {
    text-transform: uppercase;
}

/* Mobile */
@media (max-width: 768px) {
    .servisi-title-section {
        text-align: left;
        padding-left: 25px;
    }

    .servisi-title-wrap {
        text-align: left;
        padding-left: 0;
    }

    .servisi-title {
        font-size: 48px;
        text-align: left;
    }

    .servisi-subtitle {
        font-size: 24px;
        text-align: left;
    }

    .servisi-intro-section {
        text-align: left;
        padding-left: 25px;
    }

    .servisi-intro-inner {
        text-align: left;
        padding-left: 0;
    }

    .servisi-info-grid,
    .servisi-kontakti-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .servisi-kontakti-right {
        order: 1;
    }

    .servisi-kontakti-left {
        order: 2;
    }

    /* Mobile: always image → title → paragraph (same for all sections) */
    .servisi-info-text {
        display: contents;
    }

    .servisi-info-image {
        order: 1;
    }

    .servisi-info-heading-wrap {
        order: 2;
    }

    .servisi-info-body-wrap {
        order: 3;
    }

    .servisi-info-section {
        padding: 58px 24px 72px;
    }

    .servisi-info-heading {
        margin-bottom: 4px;
    }

    .servisi-info-para {
        margin-bottom: 12px;
    }

    .servisi-kontakti-section {
        padding: 48px 24px 64px;
    }

    .servisi-kontakti-icon {
        width: 90px;
        height: 90px;
    }

    .servisi-kontakti-title {
        font-size: 24px;
        margin-bottom: 32px;
    }
}

@media (max-width: 640px) {
    .servisi-hero {
        height: 20vh;
        min-height: 234px;
    }

    .servisi-title-section {
        padding: 48px 20px 32px;
        padding-left: 25px;
        text-align: left;
    }

    .servisi-title-wrap {
        padding: 0 25px 0 0;
        text-align: left;
    }

    .servisi-title {
        font-size: 36px;
        text-align: left;
    }

    .servisi-subtitle {
        font-size: 18px;
        text-align: left;
    }

    .servisi-intro-section {
        padding: 0 20px 40px;
        padding-left: 25px;
        text-align: left;
    }

    .servisi-intro-inner {
        padding: 0 25px 0 0;
        text-align: left;
    }

    .servisi-intro-text {
        font-size: 15px;
        text-align: left;
    }

    .servisi-parallax-section {
        height: 50vh;
        min-height: 300px;
    }

    .servisi-info-section {
        padding: 50px 20px 65px;
    }

    .servisi-info-inner,
    .servisi-kontakti-inner {
        padding: 0;
    }

    .servisi-info-heading {
        font-size: 24px;
        margin-bottom: -15px;
    }

    .servisi-info-para {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .servisi-kontakti-icon {
        width: 72px;
        height: 72px;
    }

    .servisi-info-btn.hero-button,
    .servisi-kontakti-btn.hero-button {
        padding: 12px 24px;
        font-size: 13px;
    }

    .servisi-back-to-top {
        min-height: 140px;
        padding: 48px 20px 32px;
    }

    .servisi-back-to-top .back-to-top-link {
        font-size: 14px;
    }

    .servisi-back-to-top .back-to-top-icon {
        width: 18px;
        height: 18px;
    }
}
