:root {
    --primary-color: #2c3e50;
    --secondary-color: #7a4cf2;
    --background-color: #ecf0f1;
    --text-color: #333;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--background-color);
    color: var(--text-color);
}

.card-container {
    position: relative;
    max-width: 800px;
    width: 90%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto 20px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    color: var(--primary-color);
    margin: 0 0 10px;
    font-weight: 700;
}

h2 {
    color: var(--secondary-color);
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 1.2em;
}

.description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    text-decoration: none;
    color: #fff;
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
}

.contact-info {
    font-size: 1em;
    color: #555;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .card-container {
        padding: 30px 15px;
    }
    .profile-pic {
        width: 120px;
        height: 120px;
    }
    .logo {
        width: 300px;
        height: auto;
    }
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1em;
    }
    .social-links {
        flex-wrap: wrap;
    }
    .social-links a {
        width: 45px;
        height: 45px;
    }
}

.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.language-switch button {
    margin-left: 5px;
    padding: 6px 12px;
    font-size: 1em;
    border-radius: 5px;
    border: none;
    background: var(--secondary-color, #eee);
    cursor: pointer;
    transition: background 0.2s;
}

.language-switch button:hover {
    background: var(--primary-color, #ccc);
}

.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.language-switch button {
    color: #55d7bb; /* např. bílá, změňte dle potřeby */
    background: var(--secondary-color, #7a4cf2);
}