
html{
    scroll-behavior: auto;
    cursor: url("../images/cursors/Default.png"), auto;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

.section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

body {
    color: #ffff;
    background: radial-gradient(circle at top center, rgba(44, 160, 255, 0.37) 0%, transparent 50%);
    background-color: #000;
    background-repeat: no-repeat;
    background-size: 100% 100vh; /* <-- ZMENŠÍ GRADIENT */
    height: 100%;

}



@font-face {
    font-family: "Anton SC";
    src: url("/fonts/AntonSC-Regular.ttf");
}

a {
    cursor: url("../images/cursors/Select.png"), pointer;
    text-decoration: none;
}

/* ============================
   TOPBAR – PŘEVZATO ZE MAIN
   ============================ */
/* TOP BAR */
.topbar {
    position: fixed;        /* zůstává nahoře vždy */
    top: 12px;              /* odsazení od vrchu */
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 95%);
    height: 45px;
    padding: 0 5px;
    background: rgba(9, 9, 9, 0.11);
    backdrop-filter: blur(12px) saturate(100%);
    border: 1px solid rgba(255, 255, 255, 0.21);
    border-radius: 25px;
    z-index: 1000;          /* vysoký index, aby bylo nad obsahem */

    display: flex;
    align-items: center;
    justify-content: space-between; /* profil vlevo, kontakt vpravo */
    position: fixed;       /* sticky/fixed */


}

/* ===== PROFILE ===== */
.profile {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0;
}

.profile img {
    width: 33px;
    height: 33px;
    border-radius: 50%;
}

.profile a {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

.profile a:hover {
    text-decoration: none;
}

/* ===== DESKTOP NAV ===== */
.icons {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    font-size: 14px;

}

.icons a {
    color: #c5c5c5;
    white-space: nowrap;
    transition: color 0.3s;
    text-decoration: none;
}

.icons a:hover {
    color: #fff;
    text-decoration: none;
}

/* ===== KONTAKT ===== */
.kontaktujte {
    margin-left: 18px;
    padding: 7px 14px;
    border-radius: 20px;
    border: 0.5px solid rgba(69, 69, 69, 0.62);
    color: #e6e6e6; /* text zůstane bílý */
    font-size: 15px;
    background: linear-gradient(-45deg, #000, #1b1b1b); /* default černý */
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
    flex-shrink: 0;
}


.kontaktujte span {
    position: relative;
    z-index: 1;
}

.kontaktujte::before {
    content: "";
    color: #e6e6e6; /* text zůstane bílý */
    position: absolute;
    inset: 0; /* top:0; left:0; right:0; bottom:0 */
    background: linear-gradient(-45deg, #00256c, #5783f3); /* modrý gradient */
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: 0; /* pod textem */
    text-decoration: none;
}

.kontaktujte:hover::before {
    opacity: 1;
}

/* hover efekt stínu */
.kontaktujte:hover {
    box-shadow: 0 0 25px rgba(23, 80, 106, 0.4);
    text-decoration: none;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 22px;
    position: relative;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    left: 0;
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* ACTIVE HAMBURGER */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 10px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 100%;
    max-width: 380px;

    /* TRUE GLASS */
    background: rgba(9, 9, 9, 0.91);

    border-radius: 24px;
    padding: 22px;

    box-shadow:
            0 14px 40px rgba(0, 0, 0, 0.45),
            inset 0 0 0 1px rgba(255, 255, 255, 0.12);

    display: flex;
    flex-direction: column;
    gap: 18px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.95);
    transition:
            opacity 0.3s ease,
            transform 0.3s ease;
}

.mobile-menu a {
    color: #fff;
    font-size: 16px;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.mobile-kontakt {
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    background: linear-gradient(-45deg, #00256c, #5783f3);
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .icons,
    .kontaktujte {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

html, body {
    overflow-x: hidden;
}

.topbar {
    max-width: 95vw;
}

/* Zabrání rozbití jména */
.profile a {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== TABLET ===== */
@media (max-width: 900px) {
    .icons {
        gap: 18px;
        font-size: 13px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .icons,
    .kontaktujte {
        display: none;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }
}

@media (max-width: 360px) {
    .mobile-menu {
        max-width: 100%;
        right: 0;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .profile a {
        max-width: 120px;
        font-size: 15px;
    }

    .topbar {
        padding: 6px 12px;
        gap: 12px;
    }

    .mobile-menu {
        padding: 16px;
    }

    .mobile-menu a {
        font-size: 15px;
    }
}

/* ===== EXTRA SMALL (360px) ===== */
@media (max-width: 360px) {
    .profile img {
        width: 30px;
        height: 30px;
    }

    .profile a {
        max-width: 95px;
        font-size: 14px;
    }

    .hamburger {
        width: 24px;
        height: 18px;
    }

    .hamburger span {
        height: 2px;
    }

    .mobile-menu {
        padding: 14px;
        gap: 14px;
    }
}

/* ===== 320px ===== */
@media (max-width: 320px) {
    .topbar {
        padding: 6px 10px;
    }

    .profile a {
        max-width: 80px;
    }

    .mobile-menu a {
        font-size: 14px;
    }

    .mobile-kontakt {
        font-size: 14px;
        padding: 8px;
    }
}

/* ===== HAMBURGER ACTIVE FROM 896px DOWN ===== */
@media (max-width: 896px) {

    .icons,
    .kontaktujte {
        display: none;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }
}

@media (max-width: 360px) {
    .mobile-menu {
        max-width: 100%;
        right: 0;
    }
}
/* HERO SECTION */
:root {
    --bg: rgba(14, 21, 26, 0.45);
    --card: linear-gradient(to bottom, rgba(22, 39, 58, 0.47), rgb(0, 0, 0));
    --text: #e5e7eb;
    --muted: #bcbcbc;
    --accent: #f8f8f8;
    --topbar-offset: 80px;
    --topbar-height: 70px;
}


.container {
    max-width: 1200px;
    margin: auto;
    padding: calc(var(--topbar-offset) + 20px) 20px 40px;
}

@media (max-width: 768px) {
    :root {
        --topbar-offset: 100px;
    }
}



/* HEADER */
.header {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.about-text {
    color: var(--muted);
    max-width: 600px;
    line-height: 1.6;
}

/* STATS */
.stats {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;

}

.stat {
    background: var(--card);
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 120px;
    text-align: center;
}

.stat strong {
    font-size: 22px;
    color: var(--accent);
}

.stat span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

/* AVATAR */
.avatar {
    background: #000000;
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;

}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;

}

.card {
    background: var(--card);
    border-radius: 16px;
    padding: 25px;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--accent);
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .header {
        grid-template-columns: 1fr;
    }
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
}

/* viditelný slide */
.slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Předdefinované pozice */
.slide.top {
    object-position: top center;
}

.slide.center {
    object-position: center center;
}

.slide.bottom {
    object-position: bottom center;
}

/* Jemné doladění */
.slide.custom1 {
    object-position: 50% 20%;
}

.slide.custom2 {
    object-position: 20% 50%;
}

.slide.active {
    display: block;
}

/* ŠIPKY */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 14px;
    cursor: url("../images/cursors/Select.png"), pointer;
    border-radius: 25%;
    z-index: 10;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.back-btn {
    position: absolute;
    top: 0px;
    left: 20px;

    display: flex;
    align-items: center;
    gap: 6px;

    background: rgba(18, 18, 18, 0.9);
    color: var(--accent);

    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;

    transition: all 0.2s ease;

    border: none;
}

.back-btn:hover {
    background: rgba(26, 34, 40, 1);
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .container {
        padding-top: 130px; /* víc místa pod topbar */
    }
}

@media (max-width: 768px) {
    .back-btn {
        top: -35px; /* zůstane nad nadpisem, ale pod topbarem */
    }
}

.oceneni {
    padding-left: 16px;
    margin-top: 18px;
    border-left: 3px solid rgba(255, 255, 255, 0.08);
}

.oceneni h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--text);
}

.oceneni {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;

}

.oceneni {
    padding-left: 16px;
    margin-top: 18px;
    border-left: 3px solid rgba(255, 255, 255, 0.08);
}

.oceneni h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--text);
}

.oceneni {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}

.first-place {
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
    margin-right: 6px;
}

.school {
    padding-left: 16px;
    margin-top: 18px;
    border-left: 3px solid rgba(255, 255, 255, 0.08);
}

.school h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--text);
}

.school span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}

.school {
    padding-left: 16px;
    margin-top: 18px;
    border-left: 3px solid rgba(255, 255, 255, 0.08);
}

.school h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--text);
}

.school span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}

.footer {
    margin-top: 30px;
    /* Základní černá barva */
    background-color: #000;

    /* Gradient:
       ellipse at bottom -> elipsa začíná dole uprostřed
       #001a2d -> velmi tmavě modrá barva (střed)
       black -> přechází do úplné černé
    */
    background-image: radial-gradient(ellipse at bottom, #001a2d 0%, black 70%);

    color: #fff;
    padding: 60px 10% 20px 10%;
    font-family: sans-serif;

    /* Zajištění, aby gradient nepřebíhal (volitelné) */
    background-attachment: scroll;
    background-repeat: no-repeat;
}

/* Rozložení sloupců vedle sebe */
.footer-container {
    display: flex;
    justify-content: space-between; /* Rozprostře sloupce rovnoměrně */
    align-items: flex-start;
    flex-wrap: wrap;               /* Aby se na mobilu sloupce naskládaly pod sebe */
}

.footer img{
    max-width: 60px;
    opacity: 86%;

}

.footer-column {
    margin-bottom: 20px;
}

/* Stylování nadpisů a seznamů */
.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #aaa; /* Šedivá barva pro odkazy */
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #fff; /* Při najetí myší zbělá */
}

/* Ikony sociálních sítí */
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
    font-size: 1.2rem;
}

/* Spodní text (Copyright) */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #222; /* Jemná linka nad copyrightem */
    padding-top: 20px;
    font-size: 0.8rem;
    color: #939393;
}

@media (max-width: 1150px) {
    .back-btn {
        top: -35px; /* zůstane nad nadpisem, ale pod topbarem */
    }
}

@media (max-width: 1150px) {
    .container {
        padding-top: 130px; /* víc místa pod topbar */
    }
}



@media (max-width: 900px) {


    /* FOOTER */
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 600px) {


    .footer {
        padding: 40px 20px 20px;
    }
}

/* ==================================================
   MOBILE POLISH – SPACING & MEDIA (320–480px)
   ================================================== */
@media (max-width: 480px) {

    /* ---------- OKRAJE STRÁNKY ---------- */

    body {
        padding-left: 8px;
        padding-right: 8px;
    }


    /* ---------- FOOTER ---------- */

    .footer {
        margin-left: auto;
        margin-right: auto;
        max-width: 360px;
        border-radius: 16px 16px 0 0;
    }
}
/* ==================================================
   ULTRA MOBILE (≤ 360 / 320 px)
   ================================================== */
@media (max-width: 360px) {

    /* ---- ZÁKLADNÍ OKRAJE ---- */
    body {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* ---- FOOTER ---- */
    .footer {
        padding: 32px 16px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 24px;
    }
}




