@font-face {
    font-family: 'Exo2S';
    src: url('../fonts/Exo2-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Exo2E';
    src: url('../fonts/Exo2-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

:root {
    --cyan:   #00cce8;
    --orange: #e87a00;
    --white:  #f0f6ff;
    --text:   #daeaf8;
    --lbl:    #f0f8ff;
    --line:   rgba(0, 204, 232, 0.55);
}

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


html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Exo2S', sans-serif;
    color: var(--text);
    font-size: 0.72vw;

    background-image: url('images/predloha.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* ===== GRID ===== */
.cv {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    min-width: 1200px;
}

.cv-grid, .polylines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 1200px;
}

.cv-grid {
    display: grid;
}

.cv-grid {
    z-index: 1;
    grid-template-columns: 21vw 21vw 14.6vw 21vw 21vw;

    grid-template-rows: 11vh 30.75vh 27.5vh 14.25vh 14.25vh;

    grid-template-areas:
        "header   header   omne     omne     omne   "
        "prace    prace    photo    vzdel    vzdel  "
        "jazyky   jazyky   photo    certif   certif "
        "technika technika zajmy    web      web    "
        "technika technika zajmy    kontakt  kontakt";

    gap: 0;
    padding: 1.1vh 0.65vw;
}

/* ===== SEKCE — průhledné panely ===== */
.cv-header, .cv-omne, .cv-prace, .cv-photo,
.cv-vzdel, .cv-jazyky, .cv-certif, .cv-web,
.cv-technika, .cv-zajmy, .cv-kontakt {
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cv-header   { grid-area: header;   }
.cv-omne     { grid-area: omne;     }
.cv-prace    { grid-area: prace;    }
.cv-photo    { grid-area: photo;    }
.cv-vzdel    { grid-area: vzdel;    }
.cv-jazyky   { grid-area: jazyky;   }
.cv-certif   { grid-area: certif;   }
.cv-technika { grid-area: technika; }
.cv-zajmy    { grid-area: zajmy;    }
.cv-web      { grid-area: web;      }
.cv-kontakt  { grid-area: kontakt;  }

/* ===== HEADER ===== */
.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 12px 20px;
}

.header-name {
    font-family: 'Exo2E', sans-serif;
    font-size: 3.8vw;
    color: var(--white);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 5px;
}

.header-title {
    font-family: 'Exo2S', sans-serif;
    font-size: 0.85vw;
    color: var(--orange);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ===== SEKCE — vnitřek ===== */
.section-inner {
    height: 100%;
    padding: 9px 13px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: hidden;
}

/* ===== SEKCE — hlavička ===== */
.s-hd {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.s-title {
    font-family: 'Exo2E', sans-serif;
    font-size: 1em;
    color: var(--white);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.s-line {
    height: 1px;
    background: linear-gradient(90deg, var(--line) 0%, rgba(0, 204, 232, 0.08) 85%, transparent 100%);
    flex-shrink: 0;
}

/* ===== OBSAH ===== */
p {
    font-size: 0.88em;
    line-height: 1.52;
    color: var(--text);
}

.lbl {
    color: var(--lbl);
    font-family: 'Exo2E', sans-serif;
}

/* ===== PRACOVNÍ ZKUŠENOSTI ===== */
.job-name {
    color: var(--lbl);
    font-family: 'Exo2E', sans-serif;
    font-size: 0.88em;
    line-height: 1.4;
}

.job-list {
    padding-left: 1.2em;
    font-size: 0.86em;
    line-height: 1.55;
    color: var(--text);
}

.job-list li {
    margin-bottom: 1px;
}

/* ===== VZDĚLÁNÍ ===== */
.school-name {
    color: var(--lbl);
    font-family: 'Exo2E', sans-serif;
    font-size: 0.88em;
    line-height: 1.4;
}

/* ===== FOTO ===== */
.cv-photo {
    position: relative;
}

.photo {
    width: 100%;
    height: 100%;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ===== KONTAKT ===== */
.website-url {
    font-family: 'Exo2E', sans-serif;
    font-size: 1.45em;
    color: var(--cyan);
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border: 1px solid var(--cyan);
    background: rgba(0, 204, 232, 0.06);
    flex-shrink: 0;
    align-self: stretch;
    text-align: center;
    margin-bottom: 2px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.88em;
    color: var(--text);
    line-height: 1.45;
}

.c-icon {
    color: var(--cyan);
    font-size: 1em;
    width: 1.3em;
    text-align: center;
    flex-shrink: 0;
    margin-top: 1px;
}


/* ===== LAJNY ===== */
.polylines {
    z-index: 2;
    pointer-events: none;
}

.polylines svg {
    width: 100%;
    height: 100%;
    fill: none;
    filter: drop-shadow(0 0 100px #0900ff);
    stroke: #0900ff;
    stroke-width: 35;
}