/* Základní nastavení a import fontu - GEN Z DARK MODE */
:root {
    --primary-color: #BEF264; /* Zářivá limetková */
    --background-color: #121212; /* Téměř černá */
    --surface-color: #1E1E1E; /* Tmavě šedá pro prvky */
    --text-color: #E5E7EB; /* Světle šedý text */
    --heading-color: #F9FAFB; /* Bílý nadpis */
    --white-color: #fff;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden; /* Pojistka proti horizontálnímu scrollu */
}
body.modal-open {
    overflow: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
}
section:last-of-type {
    border-bottom: none;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--heading-color);
}

h1 {
    font-size: 3rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.title-decorated::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: #9ca3af;
}

/* Hlavička a navigace */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    position: sticky;
    top: 0;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #2a2a2a;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    z-index: 1001;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.lang-switcher {
    font-weight: 600;
    color: #4b5563;
}
.lang-switcher a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}
.lang-switcher a:hover {
    color: var(--primary-color);
}
.lang-switcher .lang-active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Tlačítka */
.cta-button {
    background-color: var(--primary-color);
    color: #121212;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.cta-button:hover {
    background-color: var(--white-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 20px rgba(190, 242, 100, 0.2);
}
.header-cta svg {
    width: 20px;
    height: 20px;
    fill: #121212;
}

/* Hamburger a mobilní menu */
.hamburger-menu { display: none; }
.mobile-nav-overlay { display: none; }

/* Hero sekce */
#hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
    min-height: 80vh;
    border-bottom: none;
}
.hero-content { flex: 1; text-align: left; position: relative; z-index: 2; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content h3 { font-weight: 400; color: #9ca3af; margin-bottom: 30px; }
.hero-content p { max-width: 500px; margin-bottom: 40px; }
.hero-image { flex: 0 0 45%; text-align: center; position: relative; z-index: 2;}
.hero-image img { max-width: 100%; height: auto; }

/* Sekce Služby */
#sluzby { background-color: var(--surface-color); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card { background: var(--surface-color); padding: 30px; border-radius: 12px; border: 1px solid #2a2a2a; transition: all 0.3s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-8px); border-color: var(--primary-color); }
.service-card .icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background-color: var(--primary-color); color: var(--background-color); border-radius: 50%; margin-bottom: 20px; }
.service-card .icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: 15px; }
.service-card p { flex-grow: 1; color: #9ca3af; }
.learn-more-btn { margin-top: 20px; font-weight: 600; color: var(--primary-color); text-decoration: none; cursor: pointer; background: none; border: none; padding: 0; font-family: 'Poppins', sans-serif; font-size: 0.9rem; }
.learn-more-btn:hover { text-decoration: underline; }

/* Sekce Klienti */
#klienti { padding-top: 100px; padding-bottom: 100px; }
#klienti .container { background-color: var(--surface-color); border: 1px solid #2a2a2a; border-radius: 12px; padding: 60px 40px; box-shadow: var(--box-shadow); }
.section-title-small { text-align: center; font-size: 1.2rem; font-weight: 600; color: #9ca3af; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 1px; }
.klienti-loga { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 40px; }
.logo-klienta img { max-height: 45px; width: auto; opacity: 0.6; filter: brightness(0) invert(1); transition: all 0.3s ease; }
.logo-klienta img:hover { opacity: 1; transform: scale(1.1); }

/* Sekce O nás */
#o-nas { padding-top: 100px; padding-bottom: 100px; }
.about-container { display: flex; align-items: center; gap: 50px; background-color: var(--surface-color); padding: 40px; border-radius: 16px; border: 1px solid #2a2a2a; }
.about-text { flex: 1; }
.about-image { flex: 1; max-width: 400px; }
.about-image img { width: 100%; border-radius: 8px; filter: none; transition: filter 0.3s ease; }
.about-image img:hover { filter: brightness(1.1); }

/* Sekce Kontakt */
#kontakt {
    text-align: center;
    padding-top: 120px;
    padding-bottom: 120px;
}
#kontakt h2 {
    font-size: 2.8rem;
}

/* Modální okna (Popups) */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 200; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-overlay.visible { opacity: 1; visibility: visible; }
.modal-container { background: var(--surface-color); padding: 40px; border-radius: 8px; max-width: 600px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; border: 1px solid #2a2a2a; transform: translateY(-20px) scale(0.95); transition: transform 0.3s ease; }
.modal-overlay.visible .modal-container { transform: translateY(0) scale(1); }
.modal-close-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: #9ca3af; }
.modal-close-btn:hover { color: var(--white-color); }
.modal-container h2 { text-align: left; margin-top: 0; font-size: 2rem; }
.modal-container ul { list-style: none; padding-left: 0; }
.modal-container li { padding-left: 1.5em; position: relative; margin-bottom: 10px; }
.modal-container li::before { content: '✓'; color: var(--primary-color); position: absolute; left: 0; font-weight: bold; }

/* Animace při scrollu */
.hidden { opacity: 0; transform: translateY(30px); }

/* Patička */
footer { background-color: var(--surface-color); color: #9ca3af; padding-top: 60px; font-size: 0.9rem; border-top: 1px solid #2a2a2a; }
.footer-container { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.footer-column { flex: 1; }
.footer-column.about { flex: 2; }
.footer-column h4 { color: var(--heading-color); margin-bottom: 20px; font-size: 1.1rem; }
.footer-column p, .footer-column ul a { color: #9ca3af; text-decoration: none; transition: color 0.3s ease; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul a:hover { color: var(--primary-color); }
.social-links a { display: inline-block; margin-right: 15px; color: #9ca3af; transition: color 0.3s ease; }
.social-links a:hover { color: var(--primary-color); }
.social-links svg { width: 24px; height: 24px; fill: currentColor; }
.footer-bottom { text-align: center; padding: 20px; border-top: 1px solid #2a2a2a; font-size: 0.8rem; color: #4b5563; }

/* Responzivita a mobilní optimalizace */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 60px 0; }
    .header-right { display: none; }
    .hamburger-menu { display: block; cursor: pointer; z-index: 1001; background: none; border: none; padding: 0; }
    .hamburger-menu .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--heading-color); transition: all 0.3s ease-in-out; }
    .hamburger-menu.is-active .bar { background-color: var(--primary-color); }
    .hamburger-menu.is-active .bar:nth-child(2) { opacity: 0; }
    .hamburger-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .mobile-nav-overlay { display: flex; position: fixed; top: 0; left: -100%; width: 100%; height: 100%; background-color: var(--background-color); transition: left 0.3s ease-in-out; z-index: 1000; justify-content: center; align-items: center; text-align: center; }
    .mobile-nav-overlay.is-active { left: 0; }
    .mobile-nav ul { list-style: none; padding: 0; }
    .mobile-nav li { margin-bottom: 30px; }
    .mobile-nav a, .mobile-nav .lang-switcher a, .mobile-nav .lang-switcher .lang-active { font-size: 1.8rem; color: var(--heading-color); text-decoration: none; font-weight: 600; }
    .mobile-nav .cta-button { display: inline-flex; margin-top: 20px; font-size: 1.2rem; }
    .mobile-nav .lang-switcher { margin-top: 40px; }
    #hero { flex-direction: column-reverse; text-align: center; min-height: auto; }
    .hero-content { text-align: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .about-container { flex-direction: column-reverse; padding: 20px; }
    .footer-container { flex-direction: column; text-align: center; }
}