:root {
    --color-primary: #008fb3;   /* tmavšia modrá z loga */
    --color-accent: #00c0d9;    /* tyrkysová kvapka */
    --color-dark: #163645;
    --color-text: #24323a;
    --color-muted: #6b7a86;
    --color-bg: #f5f7fa;
    --color-white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --max-width: 1120px;
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

/* Layout */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.section-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.section-header {
    text-align: center;
}

.section-header.left {
    text-align: left;
}

.section-header h2 {
    font-size: 2rem;
    margin: 0 0 0.3rem;
    letter-spacing: 0.04em;
}

.section-tagline {
    margin: 0;
    font-size: 0.98rem;
    color: var(--color-muted);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background-color 0.12s ease-out, color 0.12s ease-out;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: rgba(0, 143, 179, 0.15);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background-color: rgba(0, 192, 217, 0.06);
}

.btn-full {
    width: 100%;
}

/* HEADER & NAV */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: rgba(245, 247, 250, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.5rem;
}

.logo img {
    height: 40px;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 1.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-muted);
    position: relative;
    padding-bottom: 0.2rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    transition: width 0.15s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 0.25rem;
    margin-left: 1.25rem;
}

.lang-btn {
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    background-color: transparent;
    cursor: pointer;
    color: var(--color-muted);
}

.lang-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* burger */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.35rem;
    margin-left: 0.75rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-dark);
    border-radius: 999px;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.nav-toggle span + span {
    margin-top: 4px;
}

/* HERO */

.hero {
    padding: 4.5rem 0 4rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--color-dark);
}

.hero-subtitle {
    margin: 0 0 1.5rem;
    font-size: 1.02rem;
    color: var(--color-muted);
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.hero-bullets li::before {
    content: "•";
    color: var(--color-accent);
    font-weight: 700;
    margin-right: 0.35rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.about-text p {
    margin: 0 0 0.9rem;
    font-size: 0.98rem;
}

.highlight {
    font-weight: 500;
    color: var(--color-dark);
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

/* CARDS – SERVICES */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-icon {
    font-size: 1.6rem;
}

.card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.card p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--color-muted);
}

/* PRICING */

.pricing {
    background-color: #e9f4f8;
}

.pricing-content {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.pricing-text p {
    margin: 0 0 0.9rem;
    font-size: 0.96rem;
}

.pricing-box {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.7rem 1.5rem;
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
}

.pricing-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pricing-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
}

.pricing-box li {
    padding-left: 1.1rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.pricing-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.gallery-grid img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.video-row {
    margin-top: 2.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.video-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.video-label {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.video-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.gallery-more {
    margin-top: 1.5rem;
    text-align: center;
}

/* LIGHTBOX – veľké zobrazenie fotky po kliknutí */

#lightboxOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#lightboxOverlay.visible {
    display: flex;
}

#lightboxOverlay img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

/* PARTNERS */

.partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-card {
    align-items: center;
    text-align: center;
}

/* CONTACT */

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: stretch;   /* obe karty rovnako vysoké */
}

.contact-block {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-block h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.02rem;
}

.contact-block p {
    margin: 0 0 0.75rem;
}

/* FORM */

.contact-form-wrapper {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.7rem;
    box-shadow: var(--shadow-soft);
}

.contact-form .form-row {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-form label {
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    border-radius: 10px;
    border: 1px solid #d4dde5;
    padding: 0.55rem 0.7rem;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(0, 143, 179, 0.08);
}

.form-row-inline {
    display: flex;
    justify-content: flex-end;
}

.form-row-inline small {
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* FOOTER */

.site-footer {
    padding: 1.3rem 0 1.6rem;
    background-color: #0f2733;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

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

.footer-meta {
    color: rgba(255, 255, 255, 0.6);
}

/* MULTI-LANGUAGE – default SK */

.lang {
    display: none;
}

.lang-sk {
    display: inline;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-inner,
    .about-grid,
    .pricing-content,
    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 4rem;
    }

    .hero-inner {
        gap: 2.3rem;
    }

    .hero-image {
        order: -1;
        text-align: center;
    }

    .hero-image img {
        max-width: 360px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding-inline: 1rem;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(245, 247, 250, 0.98);
        backdrop-filter: blur(14px);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.15s ease-out, opacity 0.15s ease-out;
    }

    .main-nav.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0.75rem 1.2rem 1rem;
    }

    .lang-switcher {
        order: 3;
        margin-left: 0.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .cards-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .cards-grid,
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .partners-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .section {
        padding: 3.5rem 0;
    }
}
