html, body.split-page {
    margin: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.split-logo {
    position: fixed;
    top: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    pointer-events: none;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.split-logo span {
    color: #f4bcbc;
}

.split-screen {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.split-half {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    transition: flex 0.5s ease;
}

.split-screen:hover .split-half {
    flex: 0.85;
}

.split-screen .split-half:hover {
    flex: 1.3;
}

/* Interior side - real photo, warm overlay */
.split-interior {
    background: linear-gradient(rgba(20, 15, 15, 0.45), rgba(20, 15, 15, 0.45)),
                url('../images/Jídelna s obývacím pokojem 3.jpeg') center/cover;
}

/* Web design side - photo with dark overlay, plus a subtle grid on top
   to echo the "digital" identity used elsewhere in the web-design section */
.split-web {
    background: linear-gradient(rgba(20, 15, 15, 0.55), rgba(20, 15, 15, 0.55)),
                url('../images/Webovka.png') center/cover;
}

.split-web::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244, 188, 188, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 188, 188, 0.12) 1px, transparent 1px);
}

.split-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 380px;
}

.split-content h2 {
    font-size: 2.2rem;
    margin: 0 0 0.5rem;
    color: #fff;
}

.split-content p {
    font-size: 1.05rem;
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.split-cta {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border: 1.5px solid #f4bcbc;
    border-radius: 30px;
    color: #f4bcbc;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

.split-half:hover .split-cta {
    background-color: #f4bcbc;
    color: #1b1b1b;
}

@media (max-width: 768px) {
    html, body.split-page {
        overflow: auto;
    }
    .split-screen {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .split-screen:hover .split-half,
    .split-screen .split-half:hover {
        flex: 1;
    }
    .split-half {
        min-height: 50vh;
    }
}
