/* ========================================
   Alumnus Header Bar Styles
   ======================================== */

/* -------------------- 
   Main Header Container 
   -------------------- */
   .alumnus-header-bar {
    background: var(--alumnus-header-bg);
    color: var(--alumnus-gold-muted);
    font-family: "Helvetica Neue", Arial, sans-serif;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    border-bottom: 2px solid var(--alumnus-secondary);
  }
  
  .alumnus-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    padding: 12px 20px;
    position: relative;
  }
  
  /* -------------------- 
     Left Section 
     -------------------- */
  .ahb-left {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  
  .ahb-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: var(--alumnus-gold-muted);
    padding: 4px 2px;
  }
  
  /* -------------------- 
     Navigation 
     -------------------- */
  .ahb-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 34px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  .ahb-nav a {
    text-decoration: none;
    color: var(--alumnus-gold-muted);
    position: relative;
    padding: 18px 0 10px;
    display: inline-block;
  }
  
  .ahb-nav li.current > a,
  .ahb-nav a.active {
    color: var(--alumnus-secondary);
  }
  
  .ahb-nav li.current .ahb-indicator {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    width: 6px;
    height: 6px;
    background: var(--alumnus-gold-muted);
    border-radius: 50%;
    margin: 0 auto;
  }
  
  /* -------------------- 
     Right Section 
     -------------------- */
  .ahb-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  /* Shared button styles */
  .ahb-community-feed-btn,
  .ahb-directory-btn,
  .ahb-profile-btn {
    text-decoration: none;
    color: var(--alumnus-gold-muted);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 12px;
    transition: opacity 0.2s;
  }
  
  
  
  .ahb-logout-btn {
    background: var(--alumnus-gold-muted);
    color: var(--alumnus-header-bg);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 50px;
    transition: opacity 0.2s;
  }

  .ahb-logout-btn:hover {
    opacity: 0.9;
  }

  /* -------------------- 
     Hamburger Menu (Mobile)
     -------------------- */
  .ahb-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    font-size: 32px;
    line-height: 1;
    transition: opacity 0.2s;
    color: #d8b847;
    position: relative;
    width: 48px;
    height: 48px;
  }

  .ahb-hamburger:hover {
    opacity: 0.8;
  }

  .ahb-hamburger i {
    display: block;
    color: #d8b847 !important;
    font-size: 32px;
  }

  .ahb-hamburger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(216, 184, 71, 0.1);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s;
  }

  .ahb-hamburger:hover::before {
    opacity: 1;
  }

  /* -------------------- 
     Mobile Sidebar
     -------------------- */
  .ahb-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--alumnus-header-bg);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 9999;
    overflow-y: auto;
  }

  .ahb-sidebar.active {
    right: 0;
  }

  .ahb-sidebar-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 32px;
    line-height: 1;
    transition: opacity 0.2s;
    z-index: 10;
    color: #d8b847;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ahb-sidebar-close:hover {
    opacity: 0.7;
    background: rgba(216, 184, 71, 0.1);
    border-radius: 4px;
  }

  .ahb-sidebar-close i {
    display: block;
    color: #d8b847 !important;
    font-size: 32px;
  }

  .ahb-sidebar-content {
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ahb-sidebar-item {
    color: var(--alumnus-gold-muted);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
    display: block;
  }

  .ahb-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .ahb-sidebar-item.ahb-sidebar-logout {
    background: var(--alumnus-gold-muted);
    color: var(--alumnus-header-bg);
    margin-top: 20px;
    border-radius: 50px;
    text-align: center;
    border-bottom: none;
  }

  .ahb-sidebar-item.ahb-sidebar-logout:hover {
    opacity: 0.9;
    background: var(--alumnus-gold-muted);
  }

  /* -------------------- 
     Sidebar Overlay
     -------------------- */
  .ahb-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 9998;
  }

  .ahb-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* ========================================
     Responsive Styles
     ======================================== */
  
  /* Tablet breakpoint */
  @media (max-width: 880px) {
    .ahb-nav ul {
      gap: 22px;
      font-size: 18px;
    }
  }
  
  /* Mobile breakpoint */
  @media (max-width: 680px) {
    .ahb-nav {
      display: none;
    }
  
    .alumnus-header-inner {
      padding: 12px 16px;
      justify-content: flex-start;
    }

    /* Show hamburger button */
    .ahb-hamburger {
      display: flex !important;
      align-items: center;
      justify-content: center;
      /*margin-left: auto;*/
    }

    /* Hide desktop buttons in header */
    .ahb-right {
      display: none !important;
    }
  }
  