@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family:'Poppins', sans-serif ;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}


body {
   width: 100%;
   height: 100vh;
   background-color: #030303; 
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    color: #f0f8ff;
    font-weight: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color:#229cff;
    text-shadow: 0 0 10px #229cff;
}

.hamburg,
.cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links {
    display: flex;
}

.nav-container .links a{
    position: relative;
    font-size: 1.5rem;
    color: white;
    margin: 0 30px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

/* Linky v navigaci */
.nav-container .links a {
    position: relative;
    font-size: 1.5rem;
    color: white;
    margin: 0 30px;
    text-decoration: none;
    font-weight: 550;
    transition: color 0.3s linear;
}

/* Spodní čára animace */
.nav-container .links a::after {
    content: "";
    position: absolute;
    bottom: -3px;       /* vzdálenost od textu */
    left: 0;
    width: 0;           /* začíná u 0 */
    height: 3px;
    background-color: #229cff;
    transition: width 0.3s ease;  /* plynulý přechod */
}

/* Hover efekt */
.nav-container .links a:hover::after {
    width: 100%;        /* čára se rozšíří přes celý text */
}

.nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #229cff;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before {
    color: #229cff;
}

.dropdown {
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px #030303;
    transition: 0.2s linear;
}

.dropdown .links a{
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: #229cff;
}

.main-container {
    max-width: 1180px;
    margin: 0 auto 4rem;
    padding: 3rem 1.5rem 1rem;
}

.section-title {
    color: #f0f8ff;
    text-align: center;
    font-weight: 700;
    font-size: clamp(2.4rem, 2.2rem + 1vw, 3.2rem);
    margin-bottom: 2rem;
}

.section-title span {
    color: #229cff;
    text-shadow: 0 0 10px #229cff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(320px, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.about-copy,
.skills-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.about-copy p {
    color: #e9f2ff;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.strength-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-left: 0;
}

.strength-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #dce7f5;
    font-size: 0.98rem;
}

.strength-list li i {
    color: #22b0ff;
    min-width: 1.1rem;
}

.skills-header h2 {
    font-size: 1.95rem;
    margin-bottom: 0.8rem;
    color: #f8faff;
}

.frameworks-block {
    margin-top: 1.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.frameworks-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e9f3ff;
    margin-bottom: 0.85rem;
}

.frameworks-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.framework-pill {
    background: rgba(34, 156, 255, 0.12);
    color: #e7f3ff;
    border: 1px solid rgba(34, 156, 255, 0.18);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.framework-pill i {
    font-size: 1rem;
    color: #7dd4ff;
}

.skills-header h2 span {
    color: #229cff;
}

.skills-header p {
    color: #b8c8dd;
    line-height: 1.7;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.2rem;
    display: grid;
    gap: 0.9rem;
}

.skill-card i {
    font-size: 1.9rem;
    color: #229cff;
}

.skill-card h3 {
    color: #eef4ff;
    font-size: 1rem;
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.skill-fill {
    width: var(--level, 100%);
    height: 100%;
    background: linear-gradient(90deg, #229cff 0%, #6ed0ff 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.skills-panel {
    display: flex;
    flex-direction: column;
}

.skills-panel .skills-grid {
    margin-top: 1.5rem;
}

@media (max-width: 884px) {
    nav .logo{
        position: absolute;
        top: 20px;
        left: 15px;
        font-size: 1.2rem;
    }

    .main-container {
        display: flex;
        flex-direction: column;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-container .links{
        display: none;
    }

    .hamburg,
    .cancel{
        display: block;
    }

    .about-copy,
    .skills-panel {
        padding: 1.5rem;
    }
}

@media (max-width: 430px) {
    .section-title {
        font-size: 2.2rem;
    }

    .about-copy,
    .skills-panel {
        padding: 1.2rem;
    }
}

footer {
  width: 100%;
  background-color: #030303;
  color: #fff;
  padding: 40px 20px 20px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid #1a1a1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.5rem;
  color: #229cff;
  text-shadow: 0 0 8px #229cff;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -3px;
  background-color: #229cff;
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: #229cff;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.footer-social a {
  color: #229cff;
  font-size: 1.3rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  color: #fff;
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #229cff);
}

.footer-copy {
  margin-top: 25px;
  font-size: 0.85rem;
  color: #555;
}