/* =========================================
   1. PROMĚNNÉ A ZÁKLAD (ROOT & BASE)
   ========================================= */
:root {
    /* Hlavní barvy */
    --color-bg: #0f172a;       /* Tmavě modrá/černá */
    --color-text: #e2e8f0;     /* Světlý text */
    --color-highlight: #c97115; /* Oranžová (Gold) */

    /* Akcenty z loga */
    --gradient-blue: #00bcd4;
    --gradient-red: #ff3d00;

    /* Gradienty */
    --main-gradient: linear-gradient(90deg, var(--gradient-blue) 0%, var(--gradient-red) 100%);
    --text-gradient-red: linear-gradient(90deg, #ff9a9e 0%, #ff2a2a 100%);
    --text-gradient-blue: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3, .logo-text, .form-title, .lang-switcher {
    font-family: 'Orbitron', sans-serif; /* Tech font */
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }

/* Zvýraznění textu */
.highlight {
    color: var(--color-highlight);
    font-weight: bold;
    text-shadow: 0px 0px 10px rgba(201, 113, 21, 0.3);
}

.highlight-blue {
    color: var(--gradient-blue);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.text-gradient {
    background: var(--main-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-red {
    background: var(--text-gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-blue {
    background: var(--text-gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   2. NAVIGACE
   ========================================= */
.main-navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    position: sticky; top: 0; z-index: 100;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.navbar-logo {
    height: 60px; width: auto; display: block;
    filter: drop-shadow(0 0 5px rgba(33, 212, 253, 0.3));
    transition: transform 0.3s ease;
}
.navbar-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(183, 33, 255, 0.5));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--gradient-blue);
}

/* Language Switcher */
.lang-switcher {
    display: flex; align-items: center; margin-left: 30px; font-size: 0.9rem;
}
.lang-btn {
    text-decoration: none; color: #64748b; font-weight: bold; padding: 5px;
    transition: all 0.3s ease;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
    border-bottom: 2px solid var(--gradient-blue);
}
.divider { color: #334155; margin: 0 5px; font-size: 0.8rem; }

/* =========================================
   3. HERO SEKCE & OSTATNÍ HERO
   ========================================= */
.hero-section, .team-hero, .projects-hero, .contact-hero {
    padding: 4rem 1rem;
    background: radial-gradient(circle at top right, rgba(255, 61, 0, 0.1), transparent 40%),
    radial-gradient(circle at top left, rgba(0, 188, 212, 0.1), transparent 40%);
}

.hero-content {
    max-width: 800px; margin: 0 auto; text-align: center;
}

.main-title {
    font-size: 2.5rem; margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.divider-gradient {
    height: 4px; width: 100px;
    background: var(--main-gradient);
    margin: 0 auto 2rem auto; border-radius: 2px;
}

/* Hero Grid (vlevo text, vpravo logo) */
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center; margin-bottom: 4rem;
}

.text-block, .lead-text {
    margin-bottom: 1.5rem; font-size: 1.15rem;
}
.text-block { text-align: justify; text-align-last: center; }

/* Velké Logo s animací */
.spartan-logo, .hero-big-logo {
    width: 100%; max-width: 450px; height: auto;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@keyframes floatLogo { /* Alias pro stejnou animaci */
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   4. TLAČÍTKA
   ========================================= */
.cta-container, .cta-box { margin-top: 3rem; }

/* Primary / Glow Button */
.btn-primary, .btn-glow {
    display: inline-block; padding: 12px 30px;
    background: transparent;
    border: 2px solid transparent;
    border-image: var(--main-gradient); border-image-slice: 1;
    color: white; text-decoration: none; font-weight: bold;
    font-size: 1.1rem; text-transform: uppercase;
    transition: all 0.3s ease; cursor: pointer;
    background: rgba(0,0,0,0.3);
}

.btn-primary:hover, .btn-glow:hover {
    background: var(--main-gradient); color: #000;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
    color: white; /* U glow varianty chceme bílý text */
    transform: scale(1.05);
}

/* Submit & Large Glow Button */
.btn-submit, .btn-glow-large {
    background: var(--main-gradient); color: white; border: none;
    font-weight: bold; text-transform: uppercase; cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-submit { width: 100%; padding: 15px; border-radius: 8px; font-size: 1.1rem; margin-top: 10px; }
.btn-glow-large { display: inline-block; padding: 20px 50px; border-radius: 50px; font-size: 1.2rem; text-decoration: none; }
.btn-submit:hover, .btn-glow-large:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(183, 33, 255, 0.6); }

/* Outline Red Button */
.btn-outline-red {
    display: inline-block; padding: 10px 25px; border: 1px solid var(--gradient-red);
    color: var(--gradient-red); text-decoration: none; font-weight: bold;
    border-radius: 5px; transition: all 0.3s;
}
.btn-outline-red:hover {
    background: rgba(255, 42, 42, 0.1); box-shadow: 0 0 15px rgba(255, 42, 42, 0.4); color: #fff;
}

/* =========================================
   5. HOME PAGE prvky (Ikony, Know-how)
   ========================================= */
.value-prop-section {
    background-color: rgba(255,255,255,0.03); padding: 50px 0; margin: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.text-block-center { text-align: center; max-width: 800px; margin: 0 auto; font-size: 1.1rem; }
.sub-text { margin-top: 15px; color: #bdc3c7; }

.tech-stack-container, .tech-stack-section { padding-top: 3rem; padding-bottom: 60px; border-top: 1px solid rgba(255,255,255,0.1); }
.tech-group { margin-bottom: 40px; text-align: center; }
.tech-text { margin-bottom: 30px; font-size: 1.1rem; }

.services-icons, .icons-grid {
    display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin: 2rem 0;
}
.service-item, .icon-item {
    display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease; width: 100px;
}
.service-item:hover, .icon-item:hover { transform: translateY(-5px); }

.service-item i, .icon-item i { font-size: 3rem; margin-bottom: 0.5rem; }
.service-item p, .icon-item span { font-size: 0.9rem; margin: 0; opacity: 0.8; color: #aaa; }

/* Barvy ikon */
.firebird-icon, .fa-database { color: #FCC624; }
.fa-linux { color: #FCC624; } /* Nebo white, dle zadání */
.fa-windows { color: #0078D6; }
.fa-apple { color: #A2AAAD; }
.fa-android { color: #3DDC84; }

.divider-line { height: 1px; background: rgba(255,255,255,0.1); width: 50%; margin: 40px auto; }

/* =========================================
   6. PROJECTS PAGE
   ========================================= */
.project-intro { max-width: 800px; margin: 0 auto; color: #cbd5e1; }

.grid-wrapper {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-top: 40px; align-items: stretch;
}

.project-card {
    background: rgba(30, 41, 59, 0.4); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 15px;
    padding: 25px 20px;
    display: flex; flex-direction: column; height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover { transform: translateY(-10px); background: rgba(30, 41, 59, 0.6); z-index: 2; }

.project-card h3 { font-family: 'Orbitron', sans-serif; margin: 15px 0; font-size: 1.3rem; }
.project-card p { font-size: 0.95rem; color: #a0aec0; flex-grow: 1; }
.project-card ul { margin-top: 15px; padding-left: 20px; color: #e2e8f0; font-size: 0.9rem; }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }

/* Barevné varianty karet */
.card-red { border-top: 3px solid var(--gradient-red); } .card-red .card-icon { color: var(--gradient-red); }
.card-blue { border-top: 3px solid var(--gradient-blue); } .card-blue .card-icon { color: var(--gradient-blue); }
.card-gold { border-top: 3px solid var(--color-highlight); } .card-gold .card-icon { color: var(--color-highlight); }
.card-orange { border-top: 3px solid #ff9800; } .card-orange .card-icon { color: #ff9800; }

/* Specifická úprava pro poslední kartu (Automotive) */
.project-card:last-child { grid-column: auto; text-align: left; }
.project-card:last-child .card-icon { padding-left: 0; }

/* CTA Section */
.consultation-cta {
    position: relative; margin-top: 80px; padding: 80px 0; overflow: hidden;
    background: linear-gradient(to right, rgba(15, 23, 42, 0), rgba(15, 23, 42, 1));
    border-top: 1px solid rgba(255,255,255,0.05);
}
.cta-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-text h2 { font-size: 2rem; margin-bottom: 15px; }
.cta-text p { font-size: 1.1rem; max-width: 600px; }

.bg-watermark {
    position: absolute; top: 50%; left: 10%; transform: translateY(-50%); height: 400px;
    opacity: 0.15; z-index: 1; pointer-events: none; filter: grayscale(100%);
}

/* =========================================
   7. TEAM PAGE
   ========================================= */
.center-divider { margin: 0 auto 30px auto; }
.member-card {
    display: flex; align-items: center; gap: 60px; margin: 60px 0; padding: 40px;
    background: rgba(255, 255, 255, 0.02); border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05); transition: transform 0.3s ease;
}
.member-card:hover { background: rgba(255, 255, 255, 0.04); }

.reverse-layout { flex-direction: row-reverse; text-align: right; }
.member-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.member-name { font-size: 2.2rem; margin-bottom: 5px; color: #fff; }

.member-image-wrapper { flex: 0 0 300px; position: relative; }
.member-photo { width: 100%; height: auto; border-radius: 15px; position: relative; z-index: 2; }

/* Záře kolem fotek */
.glow-red .member-photo { box-shadow: 0 0 30px rgba(255, 42, 42, 0.2); border: 2px solid rgba(255, 42, 42, 0.5); }
.glow-blue .member-photo { box-shadow: 0 0 30px rgba(0, 210, 255, 0.2); border: 2px solid rgba(0, 210, 255, 0.5); }

.member-role { font-size: 1.1rem; color: #888; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; display: inline-block; margin-bottom: 20px; }
.member-achievements { display: flex; gap: 20px; margin: 20px 0 30px 0; flex-wrap: wrap; }
.achievement-item {
    display: flex; align-items: center; gap: 10px; font-size: 0.95rem;
    background: rgba(0,0,0,0.3); padding: 8px 15px; border-radius: 50px;
}
.icon-red { color: var(--gradient-red); } .icon-blue { color: var(--gradient-blue); }

.connector-line {
    height: 100px; width: 2px;
    background: linear-gradient(to bottom, rgba(255,42,42,0.3), rgba(0,210,255,0.3)); margin: 0 auto;
}

/* =========================================
   8. CONTACT PAGE
   ========================================= */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
    align-items: start; margin-bottom: 80px;
}
.contact-logo { text-align: center; margin-bottom: 40px; }
.animate-logo {
    max-width: 250px; filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.3));
    animation: floatLogo 6s ease-in-out infinite;
}

.info-cards { display: flex; flex-direction: column; gap: 20px; }
.info-item {
    display: flex; align-items: center; gap: 20px; padding: 20px;
    background: rgba(255, 255, 255, 0.03); border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05); transition: transform 0.3s;
}
.info-item:hover { transform: translateX(10px); background: rgba(255, 255, 255, 0.06); }

.icon-box {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem; color: #fff; flex-shrink: 0;
}
.item-red .icon-box { background: linear-gradient(135deg, #ff9a9e 0%, #ff2a2a 100%); }
.item-blue .icon-box { background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%); }
.item-gold .icon-box { background: linear-gradient(135deg, #fccb90 0%, #c97115 100%); }

.info-text h3 { margin: 0 0 5px 0; font-size: 0.9rem; text-transform: uppercase; color: #aaa; }
.info-text a, .info-text p { color: #fff; text-decoration: none; font-size: 1.1rem; font-weight: bold; margin: 0; }
.info-text a:hover { text-decoration: underline; }

/* Formulář */
.contact-form-wrapper {
    background: rgba(15, 23, 42, 0.6); padding: 40px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.form-title { margin-top: 0; margin-bottom: 30px; color: #fff; }
.form-group { margin-bottom: 20px; }
.modern-form label { display: block; margin-bottom: 8px; color: #ccc; font-size: 0.9rem; }
.grid-half { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.input-wrapper { position: relative; }
.input-icon {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: #666; transition: color 0.3s;
}
.textarea-icon { top: 20px; transform: none; }

.form-control {
    width: 100%; padding: 12px 15px 12px 45px;
    background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; color: #fff; font-size: 1rem; transition: all 0.3s; box-sizing: border-box;
}
.form-control:focus {
    outline: none; border-color: var(--gradient-blue);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2); background: rgba(0, 0, 0, 0.5);
}
.form-control:focus + .input-icon { color: var(--gradient-blue); }

.flash { padding: 15px; margin-bottom: 20px; border-radius: 5px; font-weight: bold; text-align: center; }
.flash.success { background: rgba(61, 220, 132, 0.2); border: 1px solid #3ddc84; color: #3ddc84; }
.flash.error { background: rgba(255, 42, 42, 0.2); border: 1px solid #ff2a2a; color: #ff2a2a; }

/* =========================================
   9. RESPONZIVITA (MEDIA QUERIES)
   ========================================= */
/* Tablety a menší laptopy */
@media (max-width: 1100px) {
    .grid-wrapper { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* Mobily a Tablety na výšku */
@media (max-width: 900px) {
    .navbar-content { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .lang-switcher { margin-left: 0; width: 100%; justify-content: center; margin-top: 10px; }

    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-image-wrapper, .hero-image { order: -1; display: flex; justify-content: center; margin-bottom: 30px; }
    .spartan-logo { max-width: 250px; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-info-wrapper { order: -1; text-align: center; }
    .info-item { justify-content: center; }

    .member-card, .member-card.reverse-layout { flex-direction: column; text-align: center; gap: 30px; }
    .member-content { align-items: center !important; }
    .member-achievements { justify-content: center !important; }
    .btn-outline-red, .reverse-layout .btn-outline-red { align-self: center; }
    .divider-gradient { margin: 0 auto 30px auto; }
}

/* Malé mobily */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .cta-content { flex-direction: column; text-align: center; }
    .bg-watermark { left: 50%; transform: translate(-50%, -50%); height: 300px; opacity: 0.1; }
}

@media (max-width: 600px) {
    .grid-wrapper, .grid-half { grid-template-columns: 1fr; }
}





























/* =========================================
   1. PROMĚNNÉ A ZÁKLAD (ROOT & BASE)
   ========================================= */
:root {
    --color-bg: #0f172a;
    --color-text: #e2e8f0;
    --color-highlight: #c97115;

    --gradient-blue: #00bcd4;
    --gradient-red: #ff3d00;

    --main-gradient: linear-gradient(90deg, var(--gradient-blue) 0%, var(--gradient-red) 100%);
    --text-gradient-red: linear-gradient(90deg, #ff9a9e 0%, #ff2a2a 100%);
    --text-gradient-blue: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .logo-text, .form-title, .lang-switcher {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }

/* =========================================
   2. TEXT & GRADIENTY
   ========================================= */
.highlight {
    color: var(--color-highlight);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(201, 113, 21, 0.3);
}

.highlight-blue {
    color: var(--gradient-blue);
    font-weight: bold;
}

.text-gradient {
    background: var(--main-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-red {
    background: var(--text-gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
    background: var(--text-gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   3. NAVIGACE
   ========================================= */
.main-navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--gradient-blue);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-btn {
    color: #64748b;
    text-decoration: none;
    font-weight: bold;
}

.lang-btn.active {
    color: white;
    border-bottom: 2px solid var(--gradient-blue);
}

/* =========================================
   4. HERO SEKCE
   ========================================= */
.hero-section {
    padding: 4rem 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.main-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.divider-gradient {
    height: 4px;
    width: 100px;
    background: var(--main-gradient);
    margin: 0 auto 2rem;
}

.text-block {
    font-size: 1.1rem;
}

.spartan-logo {
    max-width: 450px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    50% { transform: translateY(-15px); }
}

/* =========================================
   5. BUTTONS
   ========================================= */
.btn-glow {
    display: inline-block;
    padding: 14px 30px;
    border: 2px solid transparent;
    border-image: var(--main-gradient);
    border-image-slice: 1;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    background: rgba(0,0,0,0.3);
}

/* =========================================
   6. GRIDY & KARTY
   ========================================= */
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =========================================
   7. FOOTER / CTA
   ========================================= */
.cta-content {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

/* =========================================
   8. CONTACT
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

/* =========================================
   9. RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    html { font-size: 15px; }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-links {
        justify-content: center;
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    html { font-size: 14px; }

    .grid-wrapper {
        grid-template-columns: 1fr;
    }

    .btn-glow {
        width: 100%;
        text-align: center;
    }

    .spartan-logo {
        max-width: 220px;
    }
}
