/* Header / Navbar */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #e3006d; border-bottom: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 12px rgba(227, 0, 109, 0.3); }
.navbar { padding: 1rem 0; }
.nav-container {
  width: 100%;
  max-width: min(1400px, 92vw);
  margin: 0 auto;
  padding-left: clamp(16px, 2vw, 28px);
  padding-right: clamp(16px, 2vw, 28px);
  display: flex; justify-content: space-between; align-items: center;
  box-sizing: border-box;
}
.nav-logo h2 { color: #ffffff; font-size: 1.6rem; font-weight: 600; letter-spacing: 0.3px; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-link { text-decoration: none; color: #ffffff; font-weight: 500; letter-spacing: 0.4px; transition: color 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.nav-link:visited { color: #ffffff; }
.nav-link:hover { color: #e5e7eb; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.nav-btn { color: #ffffff !important; background: rgba(255, 255, 255, 0.15); padding: 0.5rem 1.25rem; border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.nav-btn:hover { background: rgba(255, 255, 255, 0.25); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); border-color: rgba(255, 255, 255, 0.4); }
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.bar { width: 25px; height: 3px; background-color: #ffffff; margin: 3px 0; transition: 0.3s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.header.past-hero { 
  /* Solid navbar after hero: no transparency */
  background: var(--brand) !important;
  background-color: var(--brand) !important;
  background-image: none !important;
  border-bottom: 0;
  box-shadow: 0 10px 28px rgba(227, 0, 109, 0.22);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* MOBILE NAVBAR - ENABLED */
@media (max-width: 768px) {
  .header {
    padding: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .navbar {
    padding: 15px 15px;
    box-sizing: border-box;
  }
  
  .nav-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
  }
  
  .nav-logo {
    flex-shrink: 0;
    max-width: calc(100% - 50px);
  }
  
  .nav-logo h2 {
    font-size: 1.3rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .nav-menu {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 8px 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 8px 20px;
    display: block;
    text-align: center;
    color: #333333;
    font-weight: 600;
  }
  
  .nav-link:hover {
    color: #e3006d;
    background: rgba(227, 0, 109, 0.05);
    border-radius: 8px;
  }
  
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    position: relative;
  }
  
  .nav-btn {
    color: #ffffff !important;
    background: #e3006d;
    padding: 0.5rem 1.25rem;
    border-radius: 28px;
    border: 1px solid #e3006d;
    box-shadow: 0 2px 8px rgba(227, 0, 109, 0.2);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  
  .nav-btn:hover {
    background: #d1005f;
    box-shadow: 0 4px 12px rgba(227, 0, 109, 0.3);
    border-color: #d1005f;
  }
  
  .hamburger .bar {
    width: 22px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -4px);
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .navbar {
    padding: 15px 12px;
  }
  
  .nav-logo h2 {
    font-size: 1.2rem;
  }
  
  .hamburger {
    width: 32px;
    height: 32px;
  }
  
  .hamburger .bar {
    width: 20px;
  }
}

/* VERY SMALL PHONES */
@media (max-width: 360px) {
  .navbar {
    padding: 15px 10px;
  }
  
  .nav-logo h2 {
    font-size: 1.1rem;
  }
  
  .hamburger {
    width: 30px;
    height: 30px;
  }
  
  .hamburger .bar {
    width: 18px;
  }
}
