:root {
    --bg: #020202;
    --bg-alt: #050505;
    --primary: #00e5ff;
    --accent: #ff7a00;
    --text: #ffffff;
    --muted: #b3b3b3;
    --max-width: 1100px;
    --radius: 14px;
    --shadow-soft: 0 18px 35px rgba(0, 0, 0, 0.6);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #000000, #00131a, #0a0f14);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* HEADER & NAV */

header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 4px 0;
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.4rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    height: 70px;
}

/* textová varianta loga – standardně schovaná */
.nav-brand-text {
    display: none;
    flex-direction: column;
    font-size: 0.8rem;
}

/* když se logo nenačte, přidá se class .logo-fallback a zobrazí se text */
.nav-logo.logo-fallback .nav-brand-text {
    display: flex;
}

.nav-brand-text strong {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transition: width 0.25s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-phone {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(
        120deg,
        rgba(0, 229, 255, 0.13),
        rgba(255, 122, 0, 0.12)
    );
}

.nav-phone span {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0.3rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* MAIN LAYOUT */

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1.2rem 3rem;
}

/* HERO */

.hero {
    min-height: calc(50vh - 120px);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    padding: 0.5rem 0 2rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #19ff4a;
    box-shadow: 0 0 0 5px rgba(25, 255, 74, 0.18);
}

.hero h1 {
    font-size: clamp(1.9rem, 3vw + 1rem, 2.7rem);
    margin: 0;
}

.hero h1 span {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    margin: 0;
    color: var(--muted);
    max-width: 36rem;
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.btn {
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    border: 1px solid transparent;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease,
        background 0.16s ease, border-color 0.16s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--primary));
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* menší varianta pro boxy */
.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

.hero-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.hero-contact-row span {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
}

.hero-contact-row a {
    color: var(--primary);
    font-weight: 500;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    background: radial-gradient(
        circle at top left,
        rgba(0, 229, 255, 0.14),
        rgba(0, 0, 0, 0.97)
    );
    border-radius: 24px;
    padding: 1.4rem 1.4rem 1.6rem;
    width: 100%;
    max-width: 360px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-card img {
    margin: 0 auto 1.1rem;
}

.hero-card h2 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.6rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.hero-card ul li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.35rem;
}

.hero-card .hero-card-phone {
    display: inline-flex;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(0, 229, 255, 0.6);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.hero-card .hero-card-phone span {
    color: var(--primary);
    margin-left: 0.35rem;
}

/* SECTIONS */

section {
    padding: 1.6rem 0 0;
}

section + section {
    margin-top: 1.7rem;
}

.section-header {
    margin-bottom: 0.9rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 0.1rem;
}

/* malé ikonky u nadpisů sekcí */
.section-icon {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
    flex-shrink: 0;
}

.section-title {
    font-size: 1.35rem;
    margin: 0;
}

.section-subtitle {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

/* malé odznaky v boxech */
.pill-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 229, 255, 0.5);
    color: var(--primary);
    margin-bottom: 0.35rem;
}

/* řádek s CTA v boxech */
.section-cta-row {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    font-size: 0.86rem;
}

.section-cta-note {
    color: var(--muted);
}

/* SLUŽBY */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.service-card {
    padding: 1rem 1rem 1.1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
}

.service-pill {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.12);
    margin-bottom: 0.4rem;
}

.service-card h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.service-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* O NÁS / PRONÁJEM / PŮJČOVNA / KARIÉRA */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: flex-start;
}

.about p {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.about p:last-child {
    margin-bottom: 0;
}

.about-box {
    padding: 1rem 1rem 1.1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0.2rem 0 0;
}

.about-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.18rem 0;
}

.about-list span.label {
    color: var(--muted);
}

.about-list span.value {
    font-weight: 600;
}

/* KONTAKT */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: flex-start;
}

.contact-details {
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-details p {
    margin: 0 0 0.5rem;
}

.contact-details a {
    color: var(--primary);
    font-weight: 500;
}

.contact-box {
    padding: 1rem 1rem 1.1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
}

form {
    display: grid;
    gap: 0.7rem;
}

label {
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.12rem;
}

input,
textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.55rem 0.7rem;
    background: rgba(0, 0, 0, 0.75);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.35);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.1rem;
}

.form-consent input[type="checkbox"] {
    width: auto;
    margin-top: 0.1rem;
}

/* FOOTER */

footer {
    margin-top: 3rem;
    padding: 1.2rem 0 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
}

footer a {
    color: var(--primary);
}

/* RESPONSIVITA */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .hero-right {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #pronajem .info-section-box,
    #pujcovna .info-section-box,
    #kariera .info-section-box {
        margin-top: 0.4rem; /* mobilní varianta */
    }



}

@media (max-width: 720px) {
    .nav {
        padding-inline: 1rem;
    }

    .nav-menu {
        position: fixed;
        inset: 60px 0 auto;
        margin: 0;
        padding: 0.8rem 1.1rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(0, 0, 0, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-phone {
        align-self: stretch;
        justify-content: center;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .hero-contact-row {
        flex-direction: column;
    }

    main {
        padding-inline: 1rem;
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row-inline {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding-top: 1rem;
    }

    .hero-card {
        max-width: none;
    }
}

/* Toggle animace */

.nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Společné rozložení pro sekce Pronájem / Půjčovna / Kariéra */
.info-section {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.6rem 0 0;
}

/* levý sloupec (nadpis + text) */
.info-section-left {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* text v levém sloupci – stejné jako .about p */
.info-section-text p {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    color: var(--muted);
}

/* pravý box – jen jemný top padding, žádný margin hack */
.info-section-box {
    padding-top: 1rem;
}

/* Responsivita pro tyto sekce */
@media (max-width: 900px) {
    .info-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .info-section-box {
        padding-top: 0.5rem;
    }
}


/* Jemné snížení pravých boxů pro hezčí vizuální zarovnání */
#pronajem .info-section-box,
#pujcovna .info-section-box,
#kariera .info-section-box,
#onas .about-box,
#kontakt .contact-box {
    margin-top: 1.2rem;   /* můžeš si pohrát 0.8 – 1.8 podle oka */
}

.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0.35;
    border-radius: 10px;
    margin: 2.4rem 0;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

/* Na mobilu menší mezery */
@media (max-width: 900px) {
    .section-divider {
        margin: 1.8rem 0;
    }
}

.form-errors {
    display: none;
    margin-bottom: 0.7rem;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.6);
    color: #ffc6c6;
    font-size: 0.8rem;
}

.form-errors ul {
    margin: 0;
    padding-left: 1.1rem;
}

.form-errors.show {
    display: block;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 16px 28px;
    margin: 1rem 0 1.5rem;
    align-items: center;
}

.partner-logos img {
    height: 50px; /* sjednocená výška */
    width: auto;  /* zachovat proporce */
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.25));
    opacity: 0.9;
    transition: 0.2s ease;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.4rem;
    background: rgba(0,0,0,0.92);
    border-top: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 9999;
    animation: slideUp 0.4s ease;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
}

.cookie-banner .cookie-link {
    color: var(--primary);
    text-decoration: underline;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 720px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}