/* Gallery strip */
.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
}
.gallery-arrow {
    position: absolute;
    z-index: 10;
    background: rgba(26, 26, 26, 0.72);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.gallery-arrow:hover {
    background: #e30613;
}
.gallery-arrow-prev { left: 1rem; }
.gallery-arrow-next { right: 1rem; }
.gallery-strip-wrapper {
    overflow: hidden;
    flex: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}
.gallery-strip {
    display: flex;
    gap: 1rem;
    width: max-content;
    will-change: transform;
}
.gallery-strip-item {
    flex: 0 0 auto;
    width: 580px;
    border-radius: 0.75rem;
    overflow: hidden;
    display: block;
}
.gallery-strip-item img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-strip-item:hover img {
    transform: scale(1.06);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Base */
body {
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* Header */
.site-header .header-top {
    background-color: #0a0a0a;
}
.site-nav {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.brand-logo {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}
.brand-logo span {
    color: var(--color-primary);
}
.btn-phone {
    padding: 0.6rem 1.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.4);
    letter-spacing: 0.01em;
}
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-phone .bi {
    font-size: 1.1rem;
    line-height: 1;
    color: #fff;
}
.btn-phone:hover {
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.55);
    transform: translateY(-1px);
}

/* Nav */
.bg-secondary-dark {
    background-color: #1a1a1a !important;
}
.navbar .navbar-nav {
    margin-left: -0.5rem;
}
.navbar .nav-link {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #2a2a2a !important;
    text-transform: uppercase;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--color-primary) !important;
}

/* Hero */
.hero {
    position: relative;
    color: #1a1a1a;
    padding: 4rem 0;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/6.jpg');
    background-size: cover;
    background-position: 100% center;
    filter: blur(4px) brightness(0.92);
    transform: scale(1.05); /* prevents blur edge bleed */
    z-index: 0;
}
.hero-bg--subpage {
    filter: blur(10px) brightness(0.88);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.65) 55%, rgba(255,255,255,0) 100%);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
}
.hero .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}
.hero .highlight {
    color: var(--color-primary);
}

/* USP icons */
.usp-icon {
    font-size: 2rem;
    color: var(--color-primary);
}

/* Process — horizontal stepper */
.process-h-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.process-h-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.process-bubble {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.4);
    position: relative;
    z-index: 1;
}
.process-h-wrapper {
    padding: 2rem 0;
}
.process-h-line {
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), #ddd);
}
.process-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}
.process-title {
    margin: 0.2rem 0 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
}
.process-text {
    color: #666;
    font-size: 0.82rem;
    margin: 0;
    padding: 0 1.2rem;
}

/* Process accordion (mobile) */
.process-accordion {
    border-radius: 0.75rem;
    overflow: hidden;
}
.process-accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}
.process-accordion-item:last-child {
    border-bottom: none;
}
.process-accordion-btn {
    background: #fff;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1rem;
    gap: 0.75rem;
    box-shadow: none !important;
    padding: 1.1rem 1rem;
}
.process-accordion-btn:not(.collapsed) {
    background: #fff;
    color: var(--color-primary);
}
.process-accordion-btn::after {
    filter: none;
    margin-left: auto;
}
.process-acc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
}
.process-acc-icon {
    font-size: 1.2rem;
    color: var(--color-primary);
    flex-shrink: 0;
}
.process-accordion-body {
    font-size: 0.92rem;
    color: #666;
    padding: 0.5rem 1rem 1.25rem 1rem;
    background: #fafafa;
}

/* Technology section */
.tech-section {
    background-color: var(--color-muted);
}
.tech-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    height: 100%;
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.tech-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.tech-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.tech-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}
.vehicle-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.2rem 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
}
.vehicle-card i {
    font-size: 1.6rem;
    color: var(--color-primary);
}

/* Pricing cards */
.price-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-top: 3px solid #e0e0e0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.price-card--featured {
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(227, 6, 19, 0.15);
}
.price-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.price-card h5 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.price-desc {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 1rem;
}
.price-amount {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}
.price-note {
    font-size: 0.78rem;
    color: #aaa;
    margin: 0;
}

/* Section alternating bg */
.section-muted {
    background-color: var(--color-muted);
}
.section-pricing {
    border-top: 2px solid var(--color-muted);
}

/* Phone CTA */
.phone-cta {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}
.phone-cta:hover { color: var(--color-primary-hover); }

/* Footer */
.site-footer {
    font-size: 0.9rem;
    color: #fff;
}
.footer-main {
    background-color: #1a1a1a;
}
.footer-bottom {
    background-color: #0a0a0a;
    color: #666;
}
.footer-brand {
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
}
.footer-brand span {
    color: var(--color-primary);
}
.footer-heading {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    color: #888;
}
.footer-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-link:hover {
    color: var(--color-primary);
}
.footer-phone {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}
.footer-phone:hover {
    color: var(--color-primary-hover);
}
.whatsapp-link {
    color: #25d366;
    font-weight: 700;
    text-decoration: none;
}
.whatsapp-link:hover {
    color: #1da851;
}

/* CTA banner with blurred background */
.cta-banner {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 3rem 0;
}
.cta-banner-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/2.png');
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.35);
    transform: scale(1.05);
    z-index: 0;
}
.cta-banner .container {
    position: relative;
    z-index: 1;
}

/* Services grid */
.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-left: 4px solid var(--color-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.service-card p {
    flex: 1;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.service-card-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.service-card p {
    font-size: 0.88rem;
    color: #666;
    margin: 0;
}

/* STK Ostrava promo block */
.stk-promo {
    background-color: var(--color-muted);
}
.stk-promo-inner {
    background: #1a1a1a;
    border-radius: 1.5rem;
    padding: 3rem;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.stk-promo-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}
.stk-promo-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
}
.stk-promo-tagline {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 1rem;
}
.stk-promo-text {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
}
.stk-promo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.stk-promo-list li {
    font-size: 0.88rem;
    color: #ddd;
    margin-bottom: 0.4rem;
}
.stk-promo-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 6px 24px rgba(227,6,19,0.4);
}
.stk-promo-badge i {
    font-size: 2.5rem;
}

/* Contact page */
.contact-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-top: 3px solid var(--color-primary);
}
.contact-card-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.contact-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.contact-card-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: 0.4rem;
}
.contact-card-note {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
}
.contact-people {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.contact-person {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-person-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-person-avatar--secondary {
    background-color: #444;
}
.contact-people-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
    padding-left: 0.6rem;
    margin-bottom: 1.25rem;
}
.contact-people-label--secondary {
    color: #444;
    border-left-color: #444;
}
.contact-map-preview {
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
}
.contact-map-link {
    position: relative;
    display: block;
    height: 100%;
}
.contact-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.contact-map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.contact-map-link:hover .contact-map-overlay {
    opacity: 1;
}
.contact-map-link:hover .contact-map-img {
    transform: scale(1.03);
}
.contact-map-placeholder {
    background: var(--color-muted);
    border-radius: 1rem;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    /* Phone button — no wrapping */
    .btn-phone {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Brand logo left padding */
    .brand-logo {
        padding-left: 0.75rem;
    }

    /* CTA banner + hero buttons stack vertically */
    .cta-banner .d-flex,
    .hero .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem !important;
    }
    .cta-banner .btn,
    .hero .btn {
        width: 100%;
        max-width: 320px;
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
        justify-content: center;
    }

    /* Service cards — bigger text and buttons */
    .service-card h5 {
        font-size: 1.15rem;
    }
    .service-card p {
        font-size: 0.95rem;
    }
    .service-card .btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem 1rem;
        justify-content: center;
        max-width: none;
    }

    /* Hide STK stamp on mobile */
    .stk-promo-badge {
        display: none;
    }

    /* STK promo button full width centered */
    .stk-promo-inner .btn {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
    }

    /* Nav text larger, with left indent */
    .navbar .nav-link {
        font-size: 1.25rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        padding-left: 1rem !important;
    }
    /* Hamburger in top bar */
    .header-top .navbar-toggler {
        border-color: rgba(255,255,255,0.5);
        padding: 0.4rem 0.6rem;
        transform: scale(1.2);
        transform-origin: right center;
    }
    .header-top .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Hide breadcrumbs on mobile */
    .breadcrumb-section {
        display: none;
    }

    /* Center buttons on mobile */
    .hero .btn,
    .cta-banner .btn,
    section .btn {
        display: flex;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }


    /* CTA bottom margin */
    .cta-banner {
        padding-bottom: 4rem;
    }
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 0.6rem 0;
    background-color: #111;
    border-bottom: 1px solid #2a2a2a;
}
.breadcrumb-section .breadcrumb {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.breadcrumb-section .breadcrumb-item a {
    color: #aaa;
    text-decoration: none;
}
.breadcrumb-section .breadcrumb-item a:hover {
    color: var(--color-primary);
}
.breadcrumb-section .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}
.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    color: #555;
    content: "›";
}
