/* ===================================================
   KOČICA – Profesionální tlakové čištění
   Kärcher yellow theme + responsive design
   =================================================== */

:root {
    --yellow: #FFD500;
    --yellow-light: #FFF3B0;
    --yellow-dark: #E6BF00;
    --black: #1A1A1A;
    --dark: #2D2D2D;
    --gray-900: #333333;
    --gray-700: #555555;
    --gray-400: #999999;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ======= NAVBAR ======= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--yellow);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: 3px;
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

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

.nav-link {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--yellow);
    background: rgba(255, 213, 0, 0.1);
}

.nav-link--cta {
    background: var(--yellow);
    color: var(--black) !important;
    font-weight: 700;
}

.nav-link--cta:hover {
    background: var(--yellow-dark) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ======= HERO ======= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.7) 0%,
        rgba(26, 26, 26, 0.5) 50%,
        rgba(26, 26, 26, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-highlight {
    display: block;
    color: var(--yellow);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--yellow);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ======= BUTTONS ======= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 213, 0, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ======= SECTIONS ======= */
.section {
    padding: 100px 0;
}

.section--dark {
    background: var(--black);
    color: var(--white);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.section--dark .section-title {
    color: var(--yellow);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-700);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.section--dark .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

/* ======= SERVICES ======= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--yellow);
}

.service-video {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body {
    padding: 28px 24px;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--yellow-dark);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.service-desc {
    color: var(--gray-700);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-size: 1rem;
    color: var(--gray-900);
    padding: 10px 16px;
    background: var(--yellow-light);
    border-radius: 8px;
    display: inline-block;
}

.service-price strong {
    font-size: 1.2rem;
    font-weight: 800;
}

/* ======= STATS ======= */
.stats-strip {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--yellow);
    display: inline;
}

.stat-plus {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--yellow);
}

.stat-label {
    display: block;
    margin-top: 4px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ======= CALCULATOR ======= */
.calc-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
}

.calc-types {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.calc-type {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--gray-100);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}

.calc-type svg {
    width: 36px;
    height: 36px;
}

.calc-type:hover {
    border-color: var(--yellow);
}

.calc-type.active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.calc-type.active svg {
    stroke: var(--black);
}

.calc-input-group {
    margin-bottom: 28px;
}

.calc-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.calc-input-wrap {
    position: relative;
    margin-bottom: 12px;
}

.calc-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition);
    -moz-appearance: textfield;
}

.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(255, 213, 0, 0.2);
}

.calc-unit {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-400);
    pointer-events: none;
}

/* Range slider */
.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    outline: none;
    transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--yellow);
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--yellow);
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Results */
.calc-result {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    margin-bottom: 24px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-result-inner {
    transition: var(--transition);
}

.calc-result-inner.hidden {
    display: none;
}

.calc-result-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.calc-result-range {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--black);
}

.calc-result-note {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 8px;
}

.calc-result-placeholder {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.calc-cta {
    font-size: 1.05rem;
}

/* ======= STEPS ======= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--black);
    font-size: 1.3rem;
    font-weight: 900;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.step-desc {
    color: var(--gray-700);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ======= CONTACT ======= */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-900);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 213, 0, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-info-card h3 {
    color: var(--yellow);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: var(--yellow);
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-item a,
.contact-item span {
    color: var(--white);
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--yellow);
}

.karcher-badge {
    background: var(--yellow);
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: center;
    color: var(--black);
}

.karcher-badge span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.karcher-badge strong {
    font-size: 1.5rem;
    letter-spacing: 3px;
}

/* ======= FOOTER ======= */
.footer {
    background: var(--dark);
    padding: 24px 0;
    border-top: 2px solid var(--yellow);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--yellow);
    letter-spacing: 2px;
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ======= ANIMATIONS ======= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================================
   RESPONSIVE DESIGN
   ==================================================== */

/* Tablet landscape */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

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

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
        width: 100%;
    }

    .nav-link--cta {
        text-align: center;
        margin-top: 12px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .service-video {
        height: 200px;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 40px;
    }

    /* Calculator */
    .calc-card {
        padding: 28px 20px;
    }

    .calc-types {
        gap: 8px;
    }

    .calc-type {
        padding: 12px 8px;
        font-size: 0.8rem;
    }

    .calc-type svg {
        width: 28px;
        height: 28px;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px 20px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .section {
        padding: 56px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 12px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .calc-result-range {
        font-size: 1.5rem;
    }

    .service-video {
        height: 180px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
