/* =========================
   GLOBAL SETTINGS
========================= */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

/* =========================
   LANGUAGE SWITCH
========================= */
.language-switch {
    position: absolute;
    top: 20px;
    right: 25px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.language-switch img {
    width: 35px;
    height: 25px;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.language-switch img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;

    /* Background gradient + fallback color */
    background-color: #3a402e;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #104d3e);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

/* Gradient animation */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =========================
   HEADER
========================= */
header {
    background-image: url('uvodna_foto.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100vw;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,0,0,1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

header * {
    position: relative;
    z-index: 1;
}

/* H1 animation & style */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    margin-top: 10px;
    text-shadow:
        0 0 2px #3d2503,
        0 0 5px #5e3b0b,
        0 0 10px #78521e,
        0 0 20px #876331,
        0 0 30px #9e7b4a,
        0 0 40px #b09268,
        0 0 60px #c2a680;
}

/* Header navigation */
header nav ul {
    list-style: none;
    padding: 0;
    margin: 200px 0 0 0;
}

header nav ul li {
    display: inline;
    margin: 0 18px;
}

header nav ul li a {
    color: #cfd8b5;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.2s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

header nav ul li a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0,123,255,0.7);
    transform: translateY(-2px);
}

/* =========================
   MAIN CONTENT
========================= */
main {
    padding: 70px 60px;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
}

/* Sections */
section {
    margin-bottom: 40px;
    padding: 30px;
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.9s ease, transform 0.9s ease;
    opacity: 0;
    transform: translateY(40px);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

section:last-of-type {
    border-bottom: 40px;
    margin-bottom: 40px;
}

/* Headings */
h2 {
    color: #fa05cd;
    border-bottom: 2px solid #c2029f;
    padding-bottom: 12px;
    margin-top: 0;
    font-size: 2rem;
}

h3 {
    color: #555;
    margin-top: 25px;
    margin-bottom: 10px;
}

h4 {
    color: #555;
    margin-top: 25px;
    margin-bottom: 0;
}

/* Lists */
ul {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
}

ul ul {
    list-style: circle;
    margin-left: 30px;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* =========================
   PROFILE IMAGE
========================= */
.profil-foto {
    width: 200px;
    height: 274px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: block;
}

.foto { /* wrapper */
    float: right;
    margin: 0 180px 20px 30px;
}

/* =========================
   FLOATING IMAGES (RIGHT) 
========================= */
.agi { float: right; margin: 0 80px 20px 30px; width: 250px; height: 313px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); display: block; }
.certif { float: right; margin: 0 10px 20px 30px; width: 400px; height: 283px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); display: block; }
.vystup { float: right; margin: 0 200px 10px 30px; width: 150px; height: 142px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); display: block; }
.euba { float: right; margin: 0 10px 20px 30px; width: 450px; height: 338px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); display: block; }

/* =========================
   SKILLS & PROGRESS BARS
========================= */
.skill { margin-bottom: 15px; }

.bar {
    background: linear-gradient(90deg, #f0f0f0, #dcdcdc);
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.progress {
    height: 100%;
    border-radius: 10px;
}

/* Color-coded progress bars */
.python { width: 45%; background: linear-gradient(90deg, #ab41e0, #69467a); }
.vscode { width: 50%; background: linear-gradient(90deg, #1687de, #1a5582); }
.canva { width: 95%; background: linear-gradient(90deg, #ab41e0, #69467a); }
.word { width: 95%; background: linear-gradient(90deg, #70276b, #f229e4); }
.powerpoint { width: 97%; background: linear-gradient(90deg, #1687de, #1a5582); }
.excel { width: 65%; background: linear-gradient(90deg, #ab41e0, #69467a); }
.pycharm { width: 50%; background: linear-gradient(90deg, #70276b, #f229e4); }


/* =========================
   TOOLTIP
========================= */
.tooltip-container { position: relative; }
.tooltip-text {
    visibility: hidden; /* Skrytie na začiatku */
    opacity: 0;
    transition: opacity 0.4s, visibility 0.4s;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Remove bullet points if needed */
.bezbodky { list-style: none; padding: 0; margin: 0; }
.s-odstupom {
    margin-top: 6em;
    margin-bottom: 1.5em;
}

/* =========================
   MULTICOLUMN LIST
========================= */
.tri-stlpce {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    list-style: none;
    padding: 0;
}

.tri-stlpce > li {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 25px;
    background-color: #333;
    color: #fff;
    margin-top: 50px;
}

/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #9e6fe3; border-radius: 5px; }
::-webkit-scrollbar-thumb { background: #f872fc; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #555; }
