/* --- ZÁKLADNÍ NASTAVENÍ A BARVY --- */
:root {
    --brand-main: #8CA2C5;   
    --brand-light: #e6ebf1;  
    --brand-dark: #37578E;   
    --brand-accent: #486590; 
    
    --text-dark: #222222;
    --text-light: #555555;
    --bg-color: #fafbfc;     
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- LOGIKA DVOJJAZYČNOSTI --- */
body.lang-cz .ua { display: none !important; }
body.lang-ua .cs { display: none !important; }

/* --- HLAVIČKA (HEADER) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(55, 87, 142, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--brand-dark);
    z-index: 1001;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

/* Přepínač jazyků */
.lang-switcher {
    display: flex;
    background: var(--brand-light);
    border-radius: 20px;
    padding: 3px;
}

.lang-switcher button {
    background: transparent;
    border: none;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-dark);
    cursor: pointer;
    transition: 0.3s;
}

.lang-switcher button.active {
    background: var(--brand-dark);
    color: var(--white);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--brand-accent);
}

.btn-small {
    background: var(--brand-accent);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 20px;
}

.btn-small:hover {
    background: var(--brand-dark);
}

.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--brand-dark);
}

/* --- ÚVODNÍ OBRAZOVKA (LEHKÉ OMBRE MÍSTO FOTKY) --- */
.hero {
    /* Jemný přechod od velmi světlé po světle modrou */
    background: linear-gradient(135deg, #fdfbfb 0%, #e6ebf1 50%, #8CA2C5 100%);
    padding: 120px 20px 100px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 65vh;
}

.hero-content-center {
    max-width: 800px;
}

.hero-content-center h1 {
    font-size: 3.5rem;
    color: var(--brand-dark);
    margin-bottom: 15px;
    line-height: 1.15;
}

.hero-content-center p {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 35px;
}

.cta-button {
    display: inline-block;
    background: var(--brand-dark);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(55, 87, 142, 0.2);
}

.cta-button:hover {
    background: var(--brand-accent);
    transform: translateY(-2px);
}

/* --- TENKÁ MODRÁ ODDĚLOVACÍ ČÁRA --- */
.section-divider {
    width: 80%;
    max-width: 1000px;
    height: 2px; 
    background: linear-gradient(90deg, transparent, var(--brand-light), var(--brand-main), var(--brand-light), transparent);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* --- SPOLEČNÉ SEKCE --- */
section {
    padding: 70px 20px;
}
h2 {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 15px;
    color: var(--brand-dark);
}

/* --- PROČ MY --- */
.why-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.why-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(55, 87, 142, 0.05);
    border-left: 8px solid var(--brand-main);
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateX(10px);
}

.why-card p {
    font-size: 1.05rem;
    font-weight: 500;
}

/* --- JAK PROBÍHAJÍ LEKCE (TIMELINE) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 0;
    border-left: 4px dashed var(--brand-main);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.tl-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.tl-left { left: 0; }
.tl-right { left: 50%; }

.tl-dot {
    position: absolute;
    width: 45px;
    height: 45px;
    right: -22px;
    background-color: var(--brand-dark);
    border: 4px solid var(--white);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.2rem;
}

.tl-right .tl-dot { left: -22px; }

.tl-content {
    padding: 25px;
    background-color: var(--white);
    position: relative;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(55, 87, 142, 0.05);
    border: 1px solid var(--brand-light);
}

.tl-content h4 {
    color: var(--brand-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tl-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- CENY A FORMÁTY --- */
.mobile-price-tabs {
    display: none; 
}

.price-grid-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.price-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(55, 87, 142, 0.05);
    border: 2px solid var(--brand-light);
    display: flex;
    flex-direction: column;
}

.price-header {
    text-align: center;
    margin-bottom: 25px;
}

.price-header h3 {
    font-size: 1.6rem;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0px; 
}

.format-desc-bottom {
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--brand-accent);
    font-weight: 500;
}

.package-list {
    list-style: none;
    flex-grow: 1;
}

.package-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px dashed var(--brand-light);
}

.package-list li:last-child {
    border-bottom: none;
}

.pkg-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.pkg-name small {
    display: block;
    font-weight: 400;
    color: var(--brand-accent);
    font-size: 0.85rem;
    margin-top: 4px;
}

.pkg-price {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--brand-dark);
}

.btn-select {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--brand-dark);
    color: var(--white);
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    margin-top: 25px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-select:hover {
    background: var(--brand-accent);
}

/* --- TÝM (LEKTORKY) --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px 15px; 
    text-align: center;
    box-shadow: 0 4px 15px rgba(55, 87, 142, 0.05);
    border: 1px solid var(--brand-light);
}

.team-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--brand-light);
}

.team-badge {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand-dark);
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.team-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.team-focus {
    font-size: 0.85em;
    color: var(--text-dark);
    border-top: 1px dashed var(--brand-light);
    padding-top: 12px;
}

/* --- 100+ STUDENTŮ (STATISTIKA) --- */
.big-stats {
    text-align: center;
    margin-bottom: 40px;
}

.big-stats .num {
    font-size: 5.5rem; 
    color: var(--brand-dark);
    font-weight: 800;
    line-height: 1;
}

.big-stats .text {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 5px;
}

/* --- RECENZE --- */
.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-sub {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.carousel-container {
    position: relative;
    max-width: 800px; 
    margin: 0 auto;
    padding: 0 60px 20px 60px; 
    min-height: 220px; 
}

.carousel-track {
    width: 100%;
    position: relative;
}

.review-card {
    display: none; 
    background: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(55, 87, 142, 0.06);
    border: 1px solid var(--brand-light);
    text-align: center; 
    width: 100%;
}

.review-card.active {
    display: block; 
    animation: fadeIn 0.4s ease;
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.author {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brand-dark);
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--brand-light);
    color: var(--brand-dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--brand-accent);
    color: var(--white);
    border-color: var(--brand-accent);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
    text-align: center;
    margin-top: 25px;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: var(--brand-light);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--brand-dark);
}

/* --- FAQ (AKORDEON) --- */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--brand-light);
    box-shadow: 0 4px 10px rgba(55, 87, 142, 0.03);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--brand-dark);
    user-select: none;
}

.faq-question i {
    color: var(--brand-main);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
    color: var(--text-light);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.4s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- KONTAKTY A TALLY FORMULÁŘ --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    text-align: left;
}

.contact-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-pill {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--brand-dark);
    border: 2px solid var(--brand-light);
    padding: 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    width: 100%;
    max-width: 300px;
}

.contact-pill:hover {
    background: var(--brand-accent);
    color: var(--white);
    border-color: var(--brand-accent);
}

.contact-box {
    flex: 1;
    min-width: 320px;
}

.form-wrapper {
    background: var(--white);
    border: 2px solid var(--brand-light); 
    border-radius: 16px; 
    padding: 15px; 
    box-shadow: 0 8px 30px rgba(55, 87, 142, 0.05); 
}

/* --- PATIČKA --- */
footer {
    background: var(--brand-dark);
    padding: 25px;
    text-align: center;
    color: var(--white);
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONZIVITA --- */
@media (max-width: 992px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .price-grid-desktop { gap: 10px; }
    .price-box { padding: 30px 20px; }
}

@media (max-width: 768px) {
    header { padding: 15px 20px; }
    .burger { display: block; }
    
    #navMenu {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }
    #navMenu.active { right: 0; }
    #navMenu a {
        margin: 20px 0;
        margin-left: 0;
        font-size: 1.4rem;
    }
    
    /* Mobilní přepínání cen */
    .mobile-price-tabs {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 30px;
    }
    .m-tab {
        background: var(--white);
        border: 1px solid var(--brand-light);
        padding: 10px 15px;
        border-radius: 20px;
        color: var(--brand-dark);
        font-weight: 600;
        cursor: pointer;
    }
    .m-tab.active {
        background: var(--brand-dark);
        color: var(--white);
        border-color: var(--brand-dark);
    }
    .price-grid-desktop { display: block; }
    .price-box { display: none; }
    #price-indiv { display: block; }

    /* Timeline pro mobil */
    .timeline::after { left: 31px; }
    .tl-container { width: 100%; padding-left: 70px; padding-right: 0; }
    .tl-right { left: 0%; }
    .tl-dot { left: 11px; right: auto; }
    .tl-right .tl-dot { left: 11px; }

    .hero-content-center h1 { font-size: 2.5rem; }
    .contact-wrapper { flex-direction: column; }
    .contact-pill { max-width: 100%; }
    .carousel-container { padding: 0 10px 40px 10px; }
    .carousel-btn { width: 35px; height: 35px; font-size: 0.9rem; }
}

@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
}