/* Hypelinks Header & Footer Styles - Exact match to React components */

/* Import fonts from CDN - matching your static website */
@import url("https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/plus-jakarta-display.min.css");
@import url('https://fonts.googleapis.com/css2?family=Bakbak+One:wght@400&display=swap');

/* Font definitions to match your static website */
.header-font-jakarta-disp {
  font-family: "Plus Jakarta Display";
}

.title-font-Bakbak {
  font-family: "Bakbak One";
}

/* Hypelinks Header Styles */
.hypelinks-header {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  border-color: rgb(229, 231, 235);
}

@media (min-width: 1024px) {
  .hypelinks-header {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.hypelinks-header-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
}

/* Logo section */
.hypelinks-logo-section {
  width: 140px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hypelinks-logo-img {
  height: 24px;
  width: 24px;
}

@media (min-width: 640px) {
  .hypelinks-logo-img {
    height: 36px;
    width: 36px;
  }
}

.hypelinks-logo-text {
  font-family: 'Bakbak One', cursive;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
}

/* Navigation styles */
.hypelinks-nav-desktop {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  order: 1;
}

@media (min-width: 1024px) {
  .hypelinks-nav-desktop {
    display: flex;
    width: auto;
  }
}

.hypelinks-nav-list {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .hypelinks-nav-list {
    flex-direction: row;
    gap: 32px;
    margin-top: 0;
  }
}

.hypelinks-nav-link {
  display: block;
  text-align: center;
  padding: 8px 16px 8px 12px;
  font-size: 16px !important;
  letter-spacing: 0.1px !important;
  line-height: 1.25 !important;
  color: #9f9f9f;
  text-decoration: none;
  /* font-family: 'Bakbak One', cursive; */
  transition: color 0.3s ease;
  border-bottom: 1px solid rgb(229, 231, 235);
}

@media (min-width: 1024px) {
  .hypelinks-nav-link {
    border: none;
    padding: 0;
  }
}

.hypelinks-nav-link:hover {
  color: #ffffff;
}

.hypelinks-nav-link.active {
  color: #ffffff;
}

/* Login/Signup buttons */
.hypelinks-auth-buttons {
  display: flex;
  align-items: center;
  order: 2;
}

.hypelinks-auth-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .hypelinks-auth-desktop {
    display: flex;
  }
}

.hypelinks-login-btn {
  color: #ffffff;
  background: transparent;
  border: none;
  font-size: 14px;
  padding: 8px 16px 8px 20px;
  margin-right: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* .hypelinks-login-btn:hover {
  background-color: rgb(55, 65, 81);
} */

.hypelinks-signup-btn {
  color: #000000;
  background-color: #ffffff;
  border: none;
  font-weight: 500;
  border-radius: 8px;
  font-size: 14px;
  padding: 8px 16px;
  margin-right: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

@media (min-width: 1024px) {
  .hypelinks-signup-btn {
    padding: 10px 20px;
  }
}

/* Mobile menu button */
.hypelinks-mobile-btn {
  display: inline-flex;
  align-items: center;
  background-color: rgb(243, 244, 246);
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
  font-size: 14px;
  color: rgb(107, 114, 128);
  border-radius: 8px;
  border: none;
  transition: background-color 0.3s ease;
}

.hypelinks-mobile-btn svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 1024px) {
  .hypelinks-mobile-btn {
    display: none;
  }
}

.hypelinks-mobile-btn:hover {
  background-color: rgb(243, 244, 246);
}

/* Resources dropdown */
.hypelinks-dropdown {
  position: relative;
}

.hypelinks-dropdown-btn {
  width: 100%;
  font-size: 16px !important;
  letter-spacing: 0.1px !important;
  line-height: 1.25 !important;
  display: flex;
  align-items: center;
  font-weight: 500;
  /* font-family: 'Bakbak One', cursive; */
  padding-top: 2px;
  color: #9f9f9f;
  transition: color 0.3s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px 16px 8px 12px;
  border-bottom: 1px solid rgb(229, 231, 235);
}

@media (min-width: 1024px) {
  .hypelinks-dropdown-btn {
    border: none;
    padding: 0;
  }
}

.hypelinks-dropdown-btn:hover {
  color: #ffffff;
}

.hypelinks-dropdown-btn.active {
  color: #ffffff;
}

.hypelinks-dropdown-btn svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  margin-top: 1px;
  transition: transform 0.3s ease;
}

.hypelinks-dropdown-btn.active svg {
  transform: rotate(180deg);
}

.hypelinks-dropdown-menu {
  position: absolute;
  left: 0;
  letter-spacing: 0.1px;
  line-height: 1.25;
  margin-top: 20px;
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  width: 240px;
  padding: 8px;
  font-size: 16px !important;
  z-index: 1000;
}

.hypelinks-dropdown-item {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: flex-start;
  padding-left: 16px;
  width: 100%;
  text-align: left;
  border-radius: 4px;
  color: #000000;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.hypelinks-dropdown-item:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Screen reader only - hide text visually but keep for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile menu slide-down (not overlay) */
.hypelinks-mobile-nav {
  display: none;
  width: 100%;
  order: 3;
}

.hypelinks-mobile-nav.open {
  display: flex;
}

@media (min-width: 1024px) {
  .hypelinks-mobile-nav {
    display: none !important;
  }
}

.hypelinks-mobile-menu {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  width: 100%;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hypelinks-mobile-menu li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hypelinks-mobile-nav-link {
  display: block;
  width: auto;
  text-align: center;
  padding: 8px 16px 8px 12px;
  font-size: 16px !important;
  letter-spacing: 0.1px !important;
  line-height: 1.25 !important;
  color: #9f9f9f;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgb(175, 175, 175);
}

.hypelinks-mobile-nav-link:hover {
  color: #ffffff;
}

.hypelinks-mobile-nav-link.active {
  color: #ffffff;
}

.hypelinks-mobile-auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 8px;
  margin-bottom: 16px;
}

.hypelinks-mobile-auth a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  margin-right: 8px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.hypelinks-mobile-signup-btn {
  color: #000000 !important;
  background-color: #ffffff;
  border: none;
  font-weight: 500;
  border-radius: 8px;
  font-size: 14px;
  padding: 10px 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* Mobile resources dropdown */
.hypelinks-mobile-dropdown {
  width: 100%;
  text-align: center;
}

.hypelinks-mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  text-align: center;
  padding: 8px 16px 8px 12px;
  font-size: 16px !important;
  letter-spacing: 0.1px !important;
  line-height: 1.25 !important;
  color: #9f9f9f;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgb(175, 175, 175);
}

.hypelinks-mobile-dropdown-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.hypelinks-mobile-dropdown-btn.active svg {
  transform: rotate(180deg);
}

.hypelinks-mobile-dropdown-btn:hover,
.hypelinks-mobile-dropdown-btn.active {
  color: #ffffff;
}

.hypelinks-mobile-dropdown-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 0.1px;
  line-height: 1.25;
  margin-top: 35px;
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  width: 240px;
  padding: 8px;
  font-size: 16px !important;
  z-index: 1000;
}

.hypelinks-mobile-dropdown-menu.open {
  display: block;
}

.hypelinks-mobile-dropdown-item {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: flex-start;
  padding-left: 16px;
  width: 100%;
  text-align: left;
  border-radius: 4px;
  color: #000000;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-bottom: 0;
}

.hypelinks-mobile-dropdown-item:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Hypelinks Footer Styles */
.hypelinks-footer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 64px;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  margin-top: 12vw;
}

.hypelinks-footer-divider {
  width: 100%;
  height: 1px;
  opacity: 0.2;
  background: #ffffff;
}

.hypelinks-footer-nav {
  display: flex;
  align-items: center;
}

.hypelinks-footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  font-weight: 500;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hypelinks-footer-nav-list {
    gap: 32px;
    margin-top: 16px;
  }
}

.hypelinks-footer-nav-link {
  display: block;
  align-items: center;
  color: #9f9f9f;
  /* font-family: 'Bakbak One', cursive; */
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgb(229, 231, 235);
  padding: 8px 16px 8px 12px;
}

@media (min-width: 1024px) {
  .hypelinks-footer-nav-link {
    border: none;
    padding: 0;
  }
}

.hypelinks-footer-nav-link:hover {
  color: #ffffff;
}

.hypelinks-footer-nav-btn {
  display: block;
  align-items: center;
  color: #9f9f9f;
  /* font-family: 'Bakbak One', cursive; */
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgb(229, 231, 235);
  padding: 8px 16px 8px 12px;
}

@media (min-width: 1024px) {
  .hypelinks-footer-nav-btn {
    border: none;
    padding: 0;
  }
}

.hypelinks-footer-nav-btn:hover {
  color: #ffffff;
}

.hypelinks-footer-legal {
  margin-top: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hypelinks-footer-legal a {
  color: #9f9f9f;
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.hypelinks-footer-legal a:hover {
  color: #ffffff;
}

.hypelinks-footer-brand {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.hypelinks-footer-brand-text {
  /* font-family: 'Bakbak One', cursive; */
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.05em;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .hypelinks-footer {
    padding: 48px 16px;
  }
  
  .hypelinks-footer-nav-list {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .hypelinks-footer-legal {
    flex-direction: column;
    gap: 16px;
  }
}
