/* Make header and navigation wider for index2.html only */

.header-content {
  max-width: 100%;
  display: flex;
  align-items: center;
  min-width: 0; /* Allow children to shrink */
  padding-left: 0 !important;
}

.logo {
  margin-right: 48px !important;
  flex: 0 0 auto;
  margin-left: 0 !important;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 32px;
  min-width: 0;
  overflow-x: auto;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 991px) {
  .header-content {
    max-width: 100%;
    padding: 0 16px;
  }
  .nav-list {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .hero-image {
    display: none !important;
  }
  .footer-content {
    flex-direction: column !important;
    align-items: center !important;
    display: flex !important;
  }
  .footer-brand,
  .footer-logo,
  .social-links {
    text-align: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .header {
    position: relative !important;
    z-index: 1000;
  }
  .nav-list {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100vw !important;
    height: auto !important;
    background: var(--color-secondary-dark);
    z-index: 999;
    margin: 0 !important;
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center !important;
  }
  .nav-item a {
    text-align: center;
    width: 100%;
    position: relative;
    overflow: visible;
  }
  .nav-item a::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 2px;
    background: var(--color-primary-light);
    width: 0;
    transition: width 0.2s, left 0.2s;
    transform: translateX(-50%);
  }
  .nav-item.current a::after,
  .nav-item a:hover::after {
    width: 35%; /* Tighter underline for text */
  }
} 