/* Header Styles */
#header {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  color: #333;
  padding: 16px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  
  .headerContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    .logo {
      a {
        color: #333;
        text-decoration: none;
        
        &:hover {
          color: #666;
        }
        
        h1 {
          font-size: 1.6rem;
          font-weight: 200;
          margin-bottom: 4px;
          letter-spacing: 0.1em;
          background: linear-gradient(135deg, #333 0%, #666 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
          white-space: nowrap;
        }
        
        p {
          font-size: 0.9rem;
          opacity: 0.9;
          margin-bottom: 0;
          font-weight: 300;
          letter-spacing: 0.05em;
          white-space: nowrap;
        }
      }
    }
    
    .headerNav {
      ul {
        display: flex;
        list-style: none;
        margin: 0;
        justify-content: flex-end;
        gap: 8px;
        
        li {
          margin: 0;
          
          a {
            color: #333;
            font-weight: 300;
            padding: 8px 12px;
            border-radius: 4px;
            transition: all 0.3s ease;
            letter-spacing: 0.02em;
            position: relative;
            
            &::after {
              content: '';
              position: absolute;
              bottom: 0;
              left: 50%;
              width: 0;
              height: 2px;
              background: linear-gradient(135deg, #333 0%, #666 100%);
              transition: all 0.3s ease;
              transform: translateX(-50%);
            }
            
            &:hover {
              background: rgba(0, 0, 0, 0.02);
              color: #333;
              
              &::after {
                width: 80%;
              }
            }
          }
        }
      }
    }
  }
}

/* Header spacing compensation */
body {
  padding-top: 120px;
}

/* Responsive */
@media (max-width: 768px) {
  #header {
    .headerContainer {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      
      .logo {
        margin-bottom: 0;
        
        h1 {
          font-size: 1.2rem;
          font-weight: 200;
          white-space: normal;
          line-height: 1.2;
          margin-bottom: 0;
        }
        
        p {
          font-size: 0.8rem;
          white-space: normal;
          line-height: 1.2;
          margin-bottom: 0;
        }
      }
      
      .headerNav {
        margin-top: 8px;
        
        ul {
          flex-wrap: nowrap;
          justify-content: flex-end;
          
          li {
            margin: 0;
            
            a {
              font-size: 0.6rem;
              padding: 4px 4px;
              white-space: nowrap;
              font-size: 0;
              width: 20px;
              height: 20px;
              display: block;
            }
          }
        }
      }
    }
  }
  
  body {
    padding-top: 80px;
  }
}