﻿:root {
    --bg: #0F1115;
    --panel: #151922;
    --line: rgba(255,255,255,0.08);
    --text: #F0EDE4;
    --muted: #a8b0b3;
    --brand: #004643;
    --brand-light: #0a6b66;
    --accent: #F0EDE4;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "neue-haas-grotesk-display", sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(0, 70, 67, 0.2), transparent 30%), radial-gradient(circle at 80% 80%, rgba(240, 237, 228, 0.05), transparent 30%), #0c0f13;
    color: var(--text);
}
img {
    max-width: 100%;
    display: block;
}

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

.site-wrap {
    min-height: 100vh;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(10, 12, 16, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrap {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 84px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    max-height: 80px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    text-decoration: none;
    color: #f3f5f7;
    background: rgba(255, 255, 255, 0.03);
    transition: 0.25s ease;
}

    .nav-link:hover {
        color: var(--accent);
    }

.burger {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

    .burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #f3f5f7;
        border-radius: 999px;
        transition: 0.25s ease;
    }

/* mobil */
@media (max-width: 860px) {
    .nav-wrap {
        min-height: 74px;
        padding: 0 18px;
    }

    .burger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(15, 17, 21, 0.98);
        box-shadow: 0 0 30px rgba(0, 70, 67, 0.3);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: 0.25s ease;
    }

        .nav-menu.active {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

    .nav-link {
        width: 100%;
        min-height: 52px;
        justify-content: flex-start;
        padding: 0 16px;
        border-radius: 14px;
    }

    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/* HERO */
.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 72px 24px 48px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.eyebrow,
.section-kicker,
.price-tag,
.contact-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.eyebrow,
.section-kicker {
    color: var(--accent);
    font-weight: 700;
}

.hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(2.4rem, 6vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    max-width: 10ch;
}

.hero-description {
    max-width: 56ch;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: var(--brand);
    color: var(--text);
}

    .btn-primary:hover {
        background: var(--brand-light);
    }

.btn-secondary {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

.hero-image-frame {
    position: relative;
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    box-shadow: 0 0 30px rgba(0, 70, 67, 0.3);
    min-height: 520px;
}

    .hero-image-frame::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(135deg, transparent 48%, rgba(255,255,255,0.08) 49%, rgba(255,255,255,0.08) 51%, transparent 52%), linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.04) 49%, rgba(255,255,255,0.04) 51%, transparent 52%);
        background-size: 52px 52px;
        z-index: 2;
        pointer-events: none;
    }

    .hero-image-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        min-height: 520px;
    }

/* SECTIONS */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 100px;
}

.section-heading {
    margin-bottom: 32px;
}

    .section-heading h2 {
        margin: 10px 0 10px;
        font-size: clamp(1.9rem, 4vw, 3.4rem);
        line-height: 1.05;
        letter-spacing: -0.03em;
    }

.section-text {
    max-width: 60ch;
    color: var(--muted);
    line-height: 1.7;
}

/* INTRO */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.intro-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 28px;
    bbox-shadow: 0 0 30px rgba(0, 70, 67, 0.3);
}

    .intro-card h3 {
        margin-top: 0;
        margin-bottom: 12px;
        font-size: 1.15rem;
    }

    .intro-card p {
        margin: 0;
        color: var(--muted);
        line-height: 1.7;
    }

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.price-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

    .price-card.featured {
        border-color: rgba(215, 255, 100, 0.45);
        background: linear-gradient(180deg, rgba(215,255,100,0.08), rgba(255,255,255,0.03));
    }

.price-tag {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px;
}

.price-card h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.price {
    margin-bottom: 18px;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price-card ul {
    margin: 0 0 24px;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
}

.price-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 0 30px rgba(0, 70, 67, 0.3);
}

.project-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.project-content {
    padding: 22px;
}

    .project-content h3 {
        margin: 0 0 10px;
        font-size: 1.2rem;
    }

    .project-content p {
        margin: 0;
        color: var(--muted);
        line-height: 1.7;
    }

/* CONTACT */
.contact-section {
    padding-bottom: 110px;
}

.contact-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    padding: 34px;
    border-radius: calc(var(--radius) + 8px);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
    border: 1px solid var(--line);
    box-shadow: 0 0 30px rgba(0, 70, 67, 0.3);
}

    .contact-box h2 {
        margin: 10px 0 14px;
        font-size: clamp(1.9rem, 3vw, 3rem);
        line-height: 1.05;
    }

.contact-text p {
    max-width: 55ch;
    color: var(--muted);
    line-height: 1.7;
}

.contact-info {
    display: grid;
    gap: 18px;
    align-content: start;
}

.contact-item {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.contact-label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-weight: 700;
}

.contact-item a {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
    word-break: break-word;
}

/* FOOTER */
.footer {
    padding: 26px 24px 40px;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .hero,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .projects-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .nav-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-item {
        min-height: 84px;
    }

    .hero {
        padding-top: 42px;
    }

    .hero-image-frame,
    .hero-image-frame img {
        min-height: 340px;
    }

    .section,
    .hero {
        padding-left: 18px;
        padding-right: 18px;
    }

    .contact-box {
        padding: 20px;
    }
}

@media (max-width: 520px) {
    .nav-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn,
    .price-link {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}
    /* LOGO */
    .logo-img {
        max-height: 50px;
        object-fit: contain;
        z-index: 2;
    }

    /* GALLERY */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--panel);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .gallery-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.6);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 20px;
        opacity: 0;
        transition: 0.3s;
    }

.gallery-item:hover img {
    transform: scale(1.05);
}

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }
/* =========================
   KONFIGURATOR
========================= */

.config-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.config-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 0 30px rgba(0, 70, 67, 0.3);
}

.config-card-head h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.config-card-head p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.plot-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.config-btn {
    min-height: 46px;
    padding: 0 18px;
}

.plot-canvas-wrap {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.plot-svg {
    width: 100%;
    height: auto;
    display: block;
    cursor: crosshair;
}

.plot-bg {
    fill: rgba(255, 255, 255, 0.02);
}

.grid-line {
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 1;
}

.plot-polyline {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
}

.plot-polygon {
    fill: rgba(215, 255, 100, 0.12);
    stroke: var(--accent);
    stroke-width: 3;
}

.plot-point {
    fill: var(--accent);
    stroke: #111;
    stroke-width: 2;
}

.plot-label {
    fill: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.config-form {
    display: grid;
    gap: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

    .form-group label {
        font-weight: 600;
        color: var(--text);
    }

    .form-group input,
    .form-group select {
        min-height: 50px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.03);
        color: var(--text);
        padding: 0 14px;
        font: inherit;
    }

        .form-group input::placeholder {
            color: var(--muted);
        }

.config-subsection h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.side-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.side-group {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.result-box {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .result-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .result-row span {
        color: var(--muted);
    }

    .result-row strong {
        color: var(--text);
        font-size: 1.05rem;
    }

.config-actions {
    margin-top: 18px;
}

.config-note {
    margin-top: 16px;
    color: var(--muted);
    line-height: 1.7;
}

.muted-text {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .config-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .form-grid,
    .side-inputs {
        grid-template-columns: 1fr;
    }

    .config-card {
        padding: 20px;
    }
}
/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 21, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

    .lightbox.active {
        opacity: 1;
        pointer-events: auto;
    }

.lightbox-image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}
.config-card,
.gallery-item {
    backdrop-filter: blur(10px);
}
/* =========================
   DESIGN FIX / BRAND UPDATE
========================= */

:root {
    --bg: #0c0f13;
    --bg-soft: #12161c;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.08);
    --text: #F0EDE4;
    --muted: #a9b0b2;
    --brand: #004643;
    --brand-light: #0f766e;
    --brand-glow: rgba(0, 70, 67, 0.4);
    --accent: #F0EDE4;
    --radius: 22px;
    --shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* ===== BODY FIX ===== */

body {
    background: radial-gradient(circle at top left, rgba(0, 70, 67, 0.18), transparent 30%), radial-gradient(circle at bottom right, rgba(240, 237, 228, 0.06), transparent 25%), linear-gradient(180deg, #0f1115 0%, #11161b 100%);
    color: var(--text);
}

/* ===== CARDS ===== */

.price-card,
.project-card,
.contact-box,
.config-card,
.hero-image-frame,
.intro-card {
    box-shadow: var(--shadow);
    border-radius: var(--radius-sm);
}

/* ===== BUTTONS ===== */

.btn-primary {
    background: var(--brand);
    color: var(--text);
}

    .btn-primary:hover {
        background: var(--brand-light);
    }

/* ===== NAV ===== */

.nav-link:hover {
    color: var(--accent);
}

/* ===== REMOVE OLD GREEN STYLE ===== */

.price-card.featured {
    border-color: rgba(0, 70, 67, 0.5);
    background: linear-gradient( 180deg, rgba(0, 70, 67, 0.2), rgba(255, 255, 255, 0.03) );
}

/* ===== CONFIGURATOR POLYGON ===== */

.plot-polygon {
    fill: rgba(0, 70, 67, 0.2);
    stroke: var(--accent);
}

/* ===== LIGHTBOX ===== */

.lightbox {
    background: rgba(15, 17, 21, 0.95);
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line);
}

/* ===== GALLERY FIX ===== */

.gallery-item {
    cursor: pointer;
}

    .gallery-item img {
        transition: transform 0.4s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

/* ===== TYPO FIX ===== */

.section-kicker {
    color: var(--brand);
}

.section-text {
    color: var(--muted);
}
.price-card,
.project-card,
.config-card,
.contact-box,
.intro-card {
    background: var(--panel);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: 0.3s ease;
}

    .price-card:hover,
    .project-card:hover,
    .config-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    }
.btn-primary {
    background: linear-gradient(135deg, #004643, #0f766e);
    color: #fff;
    border-radius: 999px;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px var(--brand-glow);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 40px var(--brand-glow);
    }

.btn-secondary {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 999px;
    padding: 12px 24px;
    transition: 0.3s;
}

    .btn-secondary:hover {
        border-color: var(--brand);
        color: var(--brand);
    }

.header {
    background: rgba(12, 15, 19, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-link {
    position: relative;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0%;
        height: 2px;
        background: var(--brand);
        transition: 0.3s;
    }

    .nav-link:hover::after {
        width: 100%;
    }
.hero-image-frame {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    transition: 0.4s;
}

    .hero-image-frame:hover {
        transform: scale(1.02);
    }
.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
}

    .gallery-item img {
        transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.08);
    }

/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.service-card {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
    }

/* === POZITIVNÍ KARTA === */

.service-positive {
    border-left: 4px solid var(--brand);
}

    .service-positive:hover {
        box-shadow: 0 20px 50px rgba(0, 70, 67, 0.25);
    }

/* === NEGATIVNÍ KARTA === */

.service-negative {
    border-left: 4px solid rgba(240, 237, 228, 0.4);
}

    .service-negative:hover {
        box-shadow: 0 20px 50px rgba(255,255,255,0.08);
    }

/* === TEXTY === */

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* === LIST === */

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

    .service-list li {
        position: relative;
        padding-left: 26px;
        line-height: 1.6;
    }

/* zelené tečky */
.service-positive li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-light);
}

/* neutrální tečky */
.service-muted li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
}

.service-muted li {
    color: var(--muted);
}

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

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}