header {
    padding: 0;
}

/* --- TLAČÍTKA A ZVÝRAZNĚNÍ --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-align: center;
}

.btn-weby-color {
    background: transparent;
    color: var(--weby-main);
    border: 2px solid var(--weby-main);
    box-shadow: 0 0 10px var(--weby-glow);
}

.btn-weby-color:hover {
    background: var(--weby-main);
    color: var(--bg-main);
    box-shadow: 0 0 20px var(--weby-glow), inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.btn-doucovani-color {
    background: transparent;
    color: var(--doucovani-main);
    border: 2px solid var(--doucovani-main);
    box-shadow: 0 0 10px var(--doucovani-glow);
}

.btn-doucovani-color:hover {
    background: var(--doucovani-main);
    color: #fff;
    box-shadow: 0 0 20px var(--doucovani-glow), inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.highlight-weby-color {
    color: var(--weby-main);
    text-shadow: 0 0 8px var(--weby-glow);
}

.highlight-doucovani-color {
    color: var(--doucovani-main);
    text-shadow: 0 0 8px var(--doucovani-glow);
}

/* --- ROZCESTNÍK --- */
.home-page {
    min-height: 100%;
    overflow-x: hidden;
}

.split-layout {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    position: relative;
}

/* Mobilní přepínač */
.mobile-toggle {
    display: flex;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4px;
    backdrop-filter: blur(10px);
    width: 240px;
}

.toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #888;
    padding: 10px 0;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.toggle-btn.active {
    color: #fff;
}

.toggle-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.mobile-toggle.web-active .toggle-slider {
    transform: translateX(100%);
}

/* Obsah sekcí */
.split-side {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    min-height: 100dvh;
}

.split-side.active-tab {
    display: flex;
}

.split-content {
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.split-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.split-content p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.tutoring-side {
    background: linear-gradient(180deg, #251204 0%, var(--bg-main) 100%);
}

.web-side {
    background: linear-gradient(0deg, var(--bg-main) 0%, #0a1a1a 100%);
}

/* --- Jmeno --- */

.name {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%); /* Posune jméno přesně na svůj vlastní střed */
    z-index:10;
}

.name p {
    background: rgba(255,255,255,0.2); 
    padding: 5px 20px; 
    border-radius: 10px;
    color:rgba(255,255,255,0.9);
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    box-shadow: 2px 2px 5px black;
}


/* --- DESKTOP (od 768px) --- */
@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }

    .split-layout {
        flex-direction: row;
    }

    .split-side {
        display: flex !important;
        min-height: 100vh; 
    }

    .tutoring-side {
        border-right: 1px solid var(--border-color);
    }

    .tutoring-side:hover,
    .web-side:hover {
        flex: 1.1; 
    }

    .tutoring-side:hover {
        background: linear-gradient(180deg, #401c04 0%, var(--bg-main) 100%);
    }

    .web-side:hover {
        background: linear-gradient(0deg, var(--bg-main) 0%, #0d2424 100%);
    }

    .name {
        top:50%;
    }
}