* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

.split {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Stavebnictví - levá strana */
.split.left {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.85), rgba(32, 58, 67, 0.85)),
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600') center/cover;
    background-attachment: fixed;
}

/* Software - pravá strana */
.split.right {
    background: linear-gradient(135deg, rgba(16, 24, 48, 0.85), rgba(38, 57, 77, 0.85)),
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600') center/cover;
    background-attachment: fixed;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.4s ease;
}

.split:hover .overlay {
    background: rgba(0, 0, 0, 0.1);
}

.split:hover {
    width: 60%;
}

.split:hover + .split {
    width: 40%;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    transition: all 0.4s ease;
}

.split:hover .content {
    transform: translate(-50%, -50%) scale(1.05);
}

.content h1 {
    font-size: 5rem;
    font-weight: 200;
    margin-bottom: 1.5rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    border: 1px solid rgba(255, 140, 50, 0.6);
    border-radius: 0;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff8c32, #ff6600);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: #000;
    border-color: #ff8c32;
}

/* Logo uprostřed */
.logo-center {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
}

.logo-center img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
}

.logo-center h2 {
    font-size: 2.8rem;
    font-weight: 200;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: 8px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Vertikální dělící čára */
.split.left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent
    );
    z-index: 5;
}

/* Responsivní design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .split {
        width: 100% !important;
        height: 50%;
    }

    .split:hover {
        height: 55%;
    }

    .split:hover + .split {
        height: 45%;
    }

    .split.left::after {
        width: 100%;
        height: 2px;
        top: auto;
        bottom: 0;
        background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(255, 255, 255, 0.3) 80%,
            transparent
        );
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .content p {
        font-size: 1rem;
    }

    .logo-center img {
        height: 40px;
    }

    .logo-center h2 {
        font-size: 1.8rem;
    }
}
