* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Inter", sans-serif;
}


html {
    scroll-behavior:smooth;
}


body {
    background:#050b18;
    color:white;
    overflow-x:hidden;
}


/* Background */

body::before {

    content:"";
    position:fixed;

    width:600px;
    height:600px;

    background:#2563eb;

    filter:blur(180px);

    opacity:.18;

    top:-200px;
    left:-200px;

    z-index:-1;
}




/* NAVBAR */


header {

    width:100%;
    padding:30px 8%;

}



nav {

    display:flex;
    justify-content:space-between;
    align-items:center;

}



.logo {

    font-size:32px;
    font-weight:800;

}



.logo span {

    color:#3b82f6;

}



.nav-links {

    display:flex;
    gap:35px;

}



.nav-links a {

    color:#94a3b8;
    text-decoration:none;
    font-weight:500;

    transition:.3s;

}



.nav-links a:hover {

    color:white;

}




.language-btn {


    background:#111827;

    border:1px solid #2563eb;

    color:white;

    padding:10px 20px;

    border-radius:12px;

    cursor:pointer;

    transition:.3s;

}



.language-btn:hover {

    background:#2563eb;

    transform:translateY(-3px);

}





/* HERO */


.hero {

    min-height:85vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:0 8%;

    text-align:center;

}



.hero-content {

    max-width:850px;

}



.hero h1 {

    font-size:80px;

    font-weight:800;

}



.hero h1 span {

    color:#60a5fa;

    text-shadow:
    0 0 20px #3b82f6;

}



.hero h2 {

    margin-top:20px;

    font-size:38px;

    color:#94a3b8;

}



#typing-text {

    color:#60a5fa;

}



.hero p {

    margin-top:25px;

    color:#94a3b8;

    font-size:19px;

    line-height:1.7;

}




/* BUTTONS */


.hero-buttons {

    margin-top:40px;

    display:flex;

    justify-content:center;

    gap:20px;

}



.btn {

    padding:15px 30px;

    border-radius:14px;

    text-decoration:none;

    transition:.3s;

    font-weight:600;

}



.primary {

    background:#2563eb;

    color:white;

    box-shadow:
    0 0 25px rgba(37,99,235,.5);

}



.secondary {

    border:1px solid #2563eb;

    color:white;

}



.btn:hover {

    transform:translateY(-5px);

}





/* STATS */


.stats {

    padding:80px 8%;

}



.stats-container {

    max-width:1100px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}



.stat-card {


    background:#111827;

    border:1px solid #1e293b;

    padding:30px;

    border-radius:22px;

    text-align:center;

    transition:.3s;

}



.stat-card:hover {


    transform:translateY(-10px);

    border-color:#3b82f6;

}



.stat-card h2 {

    font-size:40px;

    color:#60a5fa;

}



.stat-card p {

    color:#94a3b8;

}





/* GENERAL SECTIONS */


section {

    padding:100px 8%;

}



section h2 {

    font-size:45px;

    text-align:center;

    margin-bottom:50px;

}



section h2 span {

    color:#60a5fa;

}





/* ABOUT */


.about-container {

    max-width:900px;

    margin:auto;

}



.about-text {

    text-align:center;

}



.about-text p {

    color:#94a3b8;

    font-size:18px;

    line-height:1.8;

    margin-bottom:20px;

}



.about-tags {

    margin-top:35px;

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

}



.about-tags div {

    background:#111827;

    border:1px solid #1e293b;

    padding:12px 20px;

    border-radius:20px;

    transition:.3s;

}



.about-tags div:hover {

    border-color:#3b82f6;

    transform:translateY(-5px);

}





/* CARDS */


.project-grid {

    max-width:1100px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}



.project-card,
.skill-card,
.experience-card {


    background:#111827;

    border:1px solid #1e293b;

    padding:30px;

    border-radius:22px;

    transition:.3s;

}



.project-card:hover,
.skill-card:hover,
.experience-card:hover {


    transform:translateY(-10px);

    border-color:#3b82f6;

    box-shadow:
    0 0 30px rgba(37,99,235,.2);

}



.project-role {

    color:#60a5fa;

    margin:10px 0;

}



.project-card p,
.skill-card p,
.experience-card p {

    color:#94a3b8;

    line-height:1.7;

}



.project-tags,
.experience-tags {

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-top:20px;

}



.project-tags span {

    background:#0b1120;

    border:1px solid #334155;

    padding:7px 14px;

    border-radius:20px;

    color:#cbd5e1;

}





/* GRID SKILLS */


.skills-grid {

    max-width:1100px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}





/* EXPERIENCE */


.experience-container {

    max-width:1000px;

    margin:auto;

}



.experience-title {

    margin:40px 0 25px;

    color:#60a5fa;

}



.experience-header {

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:15px;

}



.experience-header span {

    color:#60a5fa;

}





/* REVEAL */


.reveal {

    opacity:0;

    transform:translateY(40px);

    transition:.8s ease;

}



.reveal.active {

    opacity:1;

    transform:translateY(0);

}





/* MOBILE */


@media(max-width:900px){


.nav-links {

    display:none;

}


.hero h1 {

    font-size:50px;

}


.stats-container,
.skills-grid,
.project-grid {

    grid-template-columns:1fr;

}


.hero-buttons {

    flex-direction:column;

}


section {

    padding:70px 5%;

}


}
/* =====================
   CONTACT SECTION
===================== */

.contact {
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.contact-container {
    max-width: 800px;
    width: 100%;
    text-align: center;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);

    padding: 50px 40px;

    border-radius: 20px;

    backdrop-filter: blur(10px);

    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}



.contact-container h2 {

    font-size: 42px;
    margin-bottom: 20px;

}



.contact-container h2 span {

    color: #3b82f6;

}



.contact-container p {

    color: #9ca3af;
    font-size: 18px;

    max-width: 600px;
    margin: 0 auto 35px;

    line-height: 1.6;

}




.contact-buttons {

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

}



.contact-buttons .btn {

    min-width: 160px;

    text-align: center;

}
footer {

    text-align: center;

    padding: 30px 20px;

    margin-top: 80px;

    color: #9ca3af;

    font-size: 14px;

}
.built-with {
    margin-top: 10px;
    opacity: 0.6;
    font-size: 14px;
}
/* =========================
   EXPERIMENTS SECTION
========================= */

.experiments {
    padding: 100px 20px;
}


.experiments-container {
    max-width: 1200px;
    margin: auto;
}


.experiments h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}


.experiments h2 span {
    color: #3b82f6;
}


.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #9ca3af;
    font-size: 18px;
}



/* GRID */

.experiments-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 25px;

}



/* CARD */

.experiment-card {

    background: rgba(17, 24, 39, 0.8);

    border: 1px solid rgba(59, 130, 246, 0.15);

    border-radius: 20px;

    padding: 30px;

    transition: 0.3s ease;

    backdrop-filter: blur(10px);

}



.experiment-card:hover {

    transform: translateY(-8px);

    border-color: #3b82f6;

    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);

}



.experiment-card h3 {

    font-size: 24px;

    margin-bottom: 15px;

}



.experiment-card p {

    color: #9ca3af;

    line-height: 1.6;

    margin-bottom: 25px;

}



/* BUTTON */

.experiment-card .btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

}



/* REVEAL ANIMATION */

.reveal {

    opacity: 0;

    transform: translateY(40px);

    transition: all 0.7s ease;

}



.reveal.active {

    opacity: 1;

    transform: translateY(0);

}

/* EXPERIMENTS */

.experiments {
    padding: 100px 20px;
}

.experiments-container {
    max-width: 900px;
    margin: auto;
}

.experiments h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    color: #9ca3af;
    margin-bottom: 40px;
}

.experiment-card {
    background: #111827;
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: 0.3s;
}

.experiment-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.experiment-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.experiment-card p {
    color: #9ca3af;
    margin-bottom: 25px;
}
/* EXPERIMENTS */

.experiments {
    padding: 100px 8%;
}


.experiments-container {
    max-width: 1200px;
    margin: auto;
}


.experiments h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
}


.section-description {
    text-align: center;
    opacity: 0.7;
    margin-bottom: 40px;
}


.experiments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}


.experiment-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s;
}


.experiment-card:hover {
    transform: translateY(-8px);
}


.experiment-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}


.experiment-card p {
    opacity: 0.8;
    line-height: 1.6;
}


#open-terminal {
    margin-top: 20px;
}
.terminal{

background:#050505;

border-radius:18px;

overflow:hidden;

font-family:Consolas,monospace;

border:1px solid #222;

}


.terminal-top{

background:#1a1a1a;

padding:12px 16px;

display:flex;

align-items:center;

gap:8px;

}


.dot{

width:12px;
height:12px;
border-radius:50%;

}

.red{background:#ff5f56;}
.yellow{background:#ffbd2e;}
.green{background:#27c93f;}

.terminal-title{

margin-left:10px;

color:#aaa;

font-size:14px;

}


.terminal-body{

padding:20px;

height:260px;

overflow-y:auto;

color:white;

line-height:1.8;

}


.blue{

color:#3b82f6;

}


.terminal-input{

display:flex;

align-items:center;

gap:10px;

padding:18px;

border-top:1px solid #222;

}


.terminal-input span{

color:#3b82f6;

font-weight:bold;

}


.terminal-input input{

background:none;

border:none;

outline:none;

color:white;

font-family:Consolas,monospace;

font-size:16px;

width:100%;
}



#experiments {
    text-align: center;
}

#experiments h2 {
    margin-bottom: 15px;
    font-size: 36px;
    font-weight: 700;
}

#experiments .section-description {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #9ca3af;
    font-size: 17px;
    line-height: 1.6;
}
.terminal {
    text-align:left;
}

.terminal-body {
    text-align:left;
    font-family:Consolas, monospace;
}

.terminal-line {
    text-align:left;
}

/* TERMINAL INPUT */

.terminal-input {

    display:flex;

    align-items:center;

    gap:12px;

    padding:15px 20px;

    background:#0d1117;

    border-top:1px solid #30363d;

}


.terminal-input span {

    color:#3fb950;

    font-family:"Consolas", monospace;

    font-weight:bold;

    font-size:16px;

}



#terminal-input {

    flex:1;

    background:transparent;

    border:none;

    outline:none;

    color:#c9d1d9;

    font-family:"Consolas", "Courier New", monospace;

    font-size:16px;

    caret-color:#3fb950;

}



/* blikající kurzor */

#terminal-input::placeholder {

    color:#6e7681;

}



#terminal-input:focus {

    outline:none;

}

.green-text {

    color:#3fb950;

}


.command {

    color:#3fb950;

}
.neofetch {
    color: #3b82f6;
    font-family: monospace;
    line-height: 1.1;
    margin: 0;
}

/* ========================= */
/* MOBILE TERMINAL */
/* ========================= */

@media (max-width: 768px){

.terminal{

    width:100%;
    border-radius:12px;

}

.terminal-body{

    min-height:260px;
    max-height:320px;

    padding:14px;

    font-size:12px;
    line-height:1.45;

    overflow-y:auto;
    word-break:break-word;

}

.terminal-line{

    white-space:pre-wrap;
    word-break:break-word;

}

.time{

    font-size:10px;
    opacity:.55;

}

.terminal-input{

    padding:10px 14px;

}

.terminal-input span{

    font-size:15px;

}

#terminal-input{

    font-size:16px; /* zabrání zoomu na iPhone */

    width:100%;

    min-width:0;

}

.terminal-title{

    font-size:12px;

}

}

.terminal-new {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 2px solid #f97316;
    color: #f97316;

    background: rgba(249, 115, 22, 0.08);

    box-shadow: 
        0 0 15px rgba(249, 115, 22, 0.35);

    transition: 0.3s ease;
}


.terminal-new:hover {

    background: rgba(249, 115, 22, 0.2);

    transform: translateY(-3px);

    box-shadow:
        0 0 25px rgba(249, 115, 22, 0.6);

}


.new-badge {

    position: absolute;

    top: -14px;
    right: -14px;


    background: #f97316;

    color: white;


    font-size: 10px;

    font-weight: 800;


    padding: 4px 8px;

    border-radius: 999px;


    letter-spacing: 1px;


    box-shadow:
        0 0 10px rgba(249,115,22,0.7);

}

.scroll-indicator {
    margin-top: 45px;

    display: flex;
    flex-direction: column;
    align-items: center;

    font-size: 12px;
    color: #94a3b8;

    pointer-events: none;
}


.scroll-mouse {

    width: 22px;
    height: 34px;

    margin-top: 10px;

    border: 2px solid #f97316;
    border-radius: 20px;

    display: flex;
    justify-content: center;

    padding-top: 6px;

    opacity: 0.8;

}


.scroll-wheel {

    width: 4px;
    height: 7px;

    background: #f97316;

    border-radius: 5px;

    animation: scrollMove 1.5s infinite;

}



@keyframes scrollMove {

    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }

}