/* ============================================
   GT SYSTEMS — Štýly
   ============================================ */

:root {
    --bg-dark: #0a1828;
    --bg-dark-2: #0d1f33;
    --bg-card-dark: #112942;
    --bg-light: #ffffff;
    --bg-section-light: #f6f9fc;

    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #0f2540;
    --text-dark-muted: #5b7591;

    --accent-orange: #ea5d2c;
    --accent-orange-hover: #d44d1e;
    --accent-teal: #2bb3b3;

    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: #e3eaf3;

    --radius: 14px;
    --radius-sm: 10px;
    --container: 1200px;
    --shadow-card: 0 6px 24px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ============================================
   Anti-copy ochrana obsahu
   - zakáže označovanie textu mimo formulárov
   - zakáže ťahanie obrázkov myšou
   - "noselect" trieda sa dá pridať na ďalšie sekcie
   ============================================ */
body {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-touch-callout: none;   /* zakáže long-press menu na iOS */
    -webkit-tap-highlight-color: transparent;
}
/* Vo formulároch a poliach SELECT POVOLÍME — používateľ si musí vedieť kopírovať/vkladať */
input, textarea, select, .selectable {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}

img, .gallery-item img, .brand-logo-img, .partner-item img, .lightbox img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

/* Prázdne::after na obrázkoch zakryje pravý-klik save-as náhľad
   (iba estetické — neúplná ochrana) */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Tlačidlá
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent-orange);
    color: #fff;
    box-shadow: 0 4px 14px rgba(234, 93, 44, 0.3);
}
.btn-primary:hover {
    background: var(--accent-orange-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================
   Header / navigácia
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 24, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }

/* Obrázkové logo (gt-logo.jpg obsahuje symbol aj texty) */
.brand-logo-img {
    height: 68px;
    width: auto;
    display: block;
    background: #fff;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    object-fit: contain;
}
.brand:hover .brand-logo-img {
    transform: translateY(-1px);
}
.brand-logo-img--footer {
    height: 84px;
}

/* Stará G placeholder + brand-text — ponechané pre prípadný fallback */
.brand-logo {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--accent-orange);
    font-size: 26px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}
.brand-text .brand-title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 1;
}
.brand-text .brand-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 15px;
    color: var(--text-light);
    transition: color 0.2s;
    font-weight: 500;
}
.nav-links a:hover { color: var(--accent-teal); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 20px; font-size: 14px; }
.btn-login { background: var(--accent-orange); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    padding: 100px 0 140px;
    background:
        radial-gradient(ellipse at top right, rgba(43, 179, 179, 0.15), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(234, 93, 44, 0.08), transparent 60%),
        var(--bg-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(43, 179, 179, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 179, 179, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.eyebrow {
    color: var(--accent-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 28px;
}
.hero h1 .accent { color: var(--accent-orange); }

.hero-lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.trust-row {
    display: flex;
    gap: 36px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 15px;
}
.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.trust-row .icon { color: var(--accent-teal); }

/* Wave divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}
.wave-divider svg { width: 100%; height: 80px; display: block; }

/* ============================================
   Sekcie
   ============================================ */
.section {
    padding: 100px 0;
}
.section-light {
    background: var(--bg-light);
    color: var(--text-dark);
}
.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}
.section-head h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    margin: 12px 0 20px;
    letter-spacing: -0.5px;
}
.section-head .underline {
    width: 60px;
    height: 3px;
    background: var(--accent-teal);
    margin: 0 auto 24px;
    border-radius: 2px;
}
.section-dark .section-head .underline { background: var(--accent-orange); }
.section-head p {
    font-size: 17px;
    color: var(--text-dark-muted);
}
.section-dark .section-head p { color: var(--text-muted); }

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

.service-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(43, 179, 179, 0.12);
    color: var(--accent-teal);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
}
.service-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.service-card .subtitle {
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 18px;
}
.service-card p {
    color: var(--text-dark-muted);
    font-size: 15px;
    margin-bottom: 20px;
}
.service-card ul {
    list-style: none;
}
.service-card ul li {
    color: var(--text-dark-muted);
    font-size: 15px;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}
.service-card ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 9px;
}

/* ============================================
   Výhody
   ============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.advantage-card {
    position: relative;
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: transform 0.25s, border-color 0.25s;
}
.advantage-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-teal);
}

.advantage-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--accent-orange);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(234, 93, 44, 0.4);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(43, 179, 179, 0.15);
    color: var(--accent-teal);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
}
.advantage-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}
.advantage-card p {
    color: var(--text-muted);
    font-size: 15px;
}

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

.contact-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-item .ci-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(43, 179, 179, 0.15);
    color: var(--accent-teal);
    display: grid;
    place-items: center;
}
.contact-item .ci-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.contact-item .ci-value {
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    line-height: 1.4;
}
.contact-item .ci-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 2px;
}

.firma-box {
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 26px 28px;
    margin-top: 12px;
}
.firma-box h4 {
    font-size: 13px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 700;
}
.firma-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}
.firma-row span:first-child { color: var(--text-muted); }
.firma-row span:last-child { color: #fff; font-weight: 600; }

/* Form */
.contact-form {
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-card);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-group label .req { color: var(--accent-orange); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(43, 179, 179, 0.12);
}
.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-disclaimer {
    text-align: center;
    color: var(--text-dark-muted);
    font-size: 13px;
    margin-top: 14px;
}

.flash {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}
.flash-success {
    background: #e8f5ef;
    color: #1a7a3e;
    border: 1px solid #b9e2c8;
}
.flash-error {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c2bd;
}

/* ============================================
   Partneri (S kým spolupracujeme)
   ============================================ */
.section-partners { padding: 70px 0; }
.section-partners .section-head { margin-bottom: 36px; }

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 36px;
}

.partner-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 32px 56px;
    min-width: 440px;
    max-width: 640px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.partner-item img {
    max-width: 100%;
    max-height: 140px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(0.15);
    opacity: 0.95;
    transition: filter 0.25s ease, opacity 0.25s ease;
}
.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 24, 40, 0.08);
    border-color: var(--accent-teal);
}
.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 720px) {
    .partner-item { padding: 24px 32px; min-width: 0; max-width: 100%; }
    .partner-item img { max-height: 110px; }
}

/* ============================================
   Galéria
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.gallery-item {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #e3eaf3;
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.25s ease;
    filter: saturate(0.95);
}
.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10, 24, 40, 0.18);
}
.gallery-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.05);
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 24, 40, 0.25));
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 16, 28, 0.94);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.lightbox.is-open {
    display: flex;
}
.lightbox-stage {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    user-select: none;
}
.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-top: 16px;
    letter-spacing: 1px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}
.lightbox-close {
    top: 24px;
    right: 24px;
    font-size: 32px;
}
.lightbox-prev { left: 24px;  top: 50%; transform: translateY(-50%); font-size: 36px; }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 720px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .lightbox { padding: 16px; }
    .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 26px; }
    .lightbox-close { top: 14px; right: 14px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}
@media (min-width: 721px) and (max-width: 1100px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--bg-dark-2);
    padding: 70px 0 30px;
    border-top: 1px solid var(--border-dark);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 50px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-col p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent-teal); }

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 12px;
}
.footer-contact-row .icon { color: var(--accent-teal); flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   Responzív
   ============================================ */
@media (max-width: 960px) {
    .services-grid,
    .advantages-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
    .nav-links,
    .nav-cta .btn-text { display: none; }
    .menu-toggle { display: block; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark-2);
        flex-direction: column;
        padding: 20px;
        gap: 18px;
        border-top: 1px solid var(--border-dark);
    }
    .hero { padding: 60px 0 100px; }
    .section { padding: 70px 0; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .footer-bottom { justify-content: center; text-align: center; }
}
