:root {
    --bg-left: #0a0a0c;
    --text-primary: #ffffff;
    --text-muted: #888899;
    --accent-glow: #00f2fe;
    --card-bg: rgba(22, 22, 28, 0.8);
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body, html {
    height: 100%;
    width: 100%;
    font-family: var(--font-main);
    background-color: var(--bg-left);
    color: var(--text-primary);
    overflow-x: hidden;
}

.split-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* --- LEWY PANEL --- */
.left-panel {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background-color: var(--bg-left);
    z-index: 2;
    position: relative;
}

.top-logo {
    position: absolute;
    top: 45px;
    left: 60px;
    display: flex;
    align-items: center;
}

.brand-mark {
    height: 90px; 
    width: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand-mark:hover {
    opacity: 1;
    transform: scale(1.05);
}

.left-panel .content {
    max-width: 460px;
    width: 100%;
}

.name {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.role {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 30px;
}

.role .uni {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.95rem;
}

.role .location {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    display: inline-block;
    margin-top: 6px;
}

/* --- IKONY SOCIAL MEDIA --- */
.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.icon-link {
    color: var(--text-primary);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    opacity: 0.85;
    text-decoration: none;
}

.icon-link svg {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.icon-link:hover {
    opacity: 1;
    color: var(--accent-glow);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.emails {
    margin-bottom: 30px;
}

.email {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.email:hover {
    color: var(--text-primary);
}

.credentials-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 30px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.credentials-btn .badge {
    background: var(--accent-glow);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
}

.credentials-btn:hover {
    border-color: var(--accent-glow);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    color: var(--accent-glow);
    transform: translateY(-2px);
}

.right-panel {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #111116;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 16px;
    padding: 35px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.15);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.cred-group {
    margin-bottom: 30px;
}

.group-title {
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--accent-glow);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.award-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

.award-badge {
    display: inline-block;
    background: var(--accent-glow);
    color: #000;
    font-weight: 800;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.award-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.award-card .issuer {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.award-card .desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ccc;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.cert-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-card .vendor {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.cert-card .vendor.nvidia { color: #76b900; }
.cert-card .vendor.ibm { color: #054ada; }
.cert-card .vendor.cisco { color: #1ba0d7; }
.cert-card .vendor.asana { color: #f2545b; }
.cert-card .vendor.santander { color: #ec0000; }
.cert-card .vendor.minna { color: #f5b000; }

.cert-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.cert-card .date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cert-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.72rem;
    color: var(--accent-glow);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.cert-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

@media (max-width: 850px) {
    .split-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .top-logo {
        top: 25px;
        left: auto;
        right: 25px;
    }

    .brand-mark {
        height: 80px;
    }

    .left-panel {
        width: 100%;
        height: auto;
        min-height: 60vh;
        padding: 90px 25px 50px 25px;
    }

    .right-panel {
        width: 100%;
        height: 50vh;
        min-height: 380px;
    }

    .name {
        font-size: 2.8rem;
    }

    .modal-content {
        padding: 20px;
    }
}