.navbar ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-family: 'Century Gothic', sans-serif;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #007BFF;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  
  .navbar ul li a:hover {
    color: #007BFF;
  }
  
  .navbar ul li a:hover::after {
    transform: scaleX(1);
  }
  

/* Navbar top row styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #1e1e1e;
    box-shadow: 0 2px 5px rgba(255,255,255,0.1);
}

.navbar h1 {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Century Gothic', sans-serif;
    margin: 0;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s ease;
    font-family: 'Century Gothic', sans-serif;
}

.main-menu li a:hover {
    color: #007BFF;
}

/* Navbar second row styling for weeks */
.week-navbar {
    background-color: #181818;
    padding: 10px 50px;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(255,255,255,0.05);
}

.week-menu {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.week-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease;
    font-family: 'Century Gothic', sans-serif;
}

.week-menu li a:hover {
    color: #007BFF;
}

.week-navbar {
    background-color: #1e1e1e;
    padding: 15px 50px;
    box-shadow: 0 2px 5px rgba(255,255,255,0.1);
}

.week-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.week-menu li {
    display: inline;
}

.week-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-family: 'Century Gothic', sans-serif;
    transition: color 0.3s ease;
}

.week-menu li a:hover {
    color: #007BFF;
}

body {
    font-family: 'Century Gothic', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #ffffff;
}

h1, h2 {
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    margin-bottom: 20px;
  }
  
  h1::after, h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 3px;
    background: #007BFF;
    border-radius: 5px;
  }
  

.window-card {
    background: rgba(30, 30, 30, 0.6); /* semi-transparent glass effect */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 40px;
    margin: 60px auto;
    max-width: 1200px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease-in-out;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  
  .window-card:hover {
    transform: translateY(10px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    outline: 1px solid rgba(0, 123, 255, 0.2);
    outline-offset: 3px;

  }
  
  /* Entry animation */
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
  }
  
  .scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
  }

  img {
    border-radius: 12px;
}

/* --- Typography polish --- */
p, li {
    font-size: 1.05rem;
    line-height: 1.75;
    letter-spacing: 0.2px;
}

/* --- Smooth transitions --- */
a, .blog-card, .hidden-content, img {
    transition: all 0.3s ease;
}

/* --- Image polish --- */
img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    max-width: 100%;
    height: auto;
}

/* --- Code blocks readability --- */
pre code {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    display: block;
    /* NEPREPISUJEME color ani background-color – necháme to na Highlight.js */
}



/* --- Blockquote style --- */
blockquote {
    border-left: 4px solid #007BFF;
    padding-left: 1rem;
    font-style: italic;
    color: #cccccc;
    margin: 1.5em 0;
}

/* --- Hover effect for images --- */
img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* --- Optional highlight class for key terms --- */
.highlight {
    color: #00bcd4;
    font-weight: bold;
}
