/* global_header.css - shared header styling */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(rgba(13, 15, 26, 0.7), rgba(13, 15, 26, 0.7)), url('img/header.png') center center / cover no-repeat;
    box-shadow: 0 4px 10px rgba(0, 229, 255, 0.08);
    text-align: center;
    background-attachment: scroll;
  }
  
  .site-header {
    background: #12141f;
    padding: 20px;
    text-align: center;
  }
  .site-title {
    margin: 0;
    font-size: 2rem;
    color: #00e5ff;
  }
  .site-subtitle {
    margin-top: 5px;
    font-size: 1rem;
    color: #b2ebf2;
    opacity: 0.7;
  }
  
  .datetime-info {
    background-color: #0f111a;
    color: #b2ebf2;
    font-size: 0.9rem;
    padding: 8px 16px;
    text-align: center;
    border-bottom: 1px solid #00bcd4;
    box-shadow: 0 2px 6px rgba(0, 229, 255, 0.08);
    z-index: 1001;
  }
  
  .top-nav {
    background-color: #0f111a;
    text-align: center;
    padding: 12px 0;
    border-bottom: 1px solid #00bcd4;
    backdrop-filter: blur(6px);
  }
  
  .top-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .top-nav a {
    position: relative;
    text-decoration: none;
    color: #00e5ff;
    font-weight: 500;
    padding: 4px 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    overflow: hidden;
  }
  
  .top-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, #00e5ff, #00bcd4);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease-in-out;
  }
  
  .top-nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px #00e5ff, 0 0 12px #00bcd4;
  }
  .top-nav a:hover::after {
    transform: scaleX(1);
  }
  