/* HamburgerNav.css - Styles for the hamburger navigation component */

/* Header Styles */
.hamburger-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@supports (backdrop-filter: blur(12px)) {
  .hamburger-header {
    background: rgba(0, 0, 0, 0.4);
  }
}

.hamburger-container {
  margin: 0 auto;
  display: flex;
  height: 4rem;
  width: min(100% - 32px, var(--max-content-width, 1200px));
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

/* Slightly taller on desktop for better spacing */
@media (min-width: 768px) {
  .hamburger-container {
    height: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hamburger-container {
    padding: 0 2rem;
  }
  .hamburger-brand {
    gap: 1rem;
  }
  .hamburger-nav-desktop {
    gap: 2rem;
  }
}

/* Brand/Logo */
.hamburger-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hamburger-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.hamburger-logo-img {
  width: 33px;
  height: 37.55px;
  object-fit: contain;
}

@media (min-width: 640px) {
  .hamburger-logo-img {
    width: 41px;
    height: 46px;
    object-fit: contain;
  }
}

.hamburger-brand-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: white;
}

/* Show short text on mobile, full text on larger screens */
.brand-short {
  display: inline;
}

.brand-full {
  display: none;
}

@media (min-width: 640px) {
  .hamburger-brand-text {
    font-size: 1.25rem;
  }
  
  .brand-short {
    display: none;
  }
  
  .brand-full {
    display: inline;
  }
}

/* Larger text on desktop */
@media (min-width: 1024px) {
  .hamburger-brand-text {
    font-size: 1.25rem;
  }
}

/* Desktop Navigation */
.hamburger-nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 50;
}

/* Show desktop nav only on larger screens where it fits */
@media (min-width: 1024px) {
  .hamburger-nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: white;
}

/* Policies Dropdown */
.policies-dropdown {
  position: relative;
  z-index: 100;
}

.policies-button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.policies-button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.chevron-icon {
  height: 1rem;
  width: 1rem;
}

.policies-popover {
  position: absolute;
  right: 0;
  top: 100%;
  padding-top: 0.5rem;
  width: 14rem;
  z-index: 101;
  pointer-events: auto;
}

.policies-popover > div {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.policy-item {
  display: block;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.policy-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Social Links */
.social-links {
  display:none;
  /*display: flex;*/
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

.social-icon .icon {
  height: 1rem;
  width: 1rem;
  color: white;
}

/* Mobile Hamburger Toggle */
.hamburger-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
}

.hamburger-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-toggle:active {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(0.95);
}

.hamburger-toggle:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.hamburger-toggle:focus:not(:focus-visible) {
  outline: none;
}

/* Hide hamburger only on larger screens where desktop nav shows */
@media (min-width: 1024px) {
  .hamburger-toggle {
    display: none;
  }
}

.hamburger-icon {
  height: 2.25rem;
  width: 2.25rem;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Drawer Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

/* Drawer Content */
.drawer-content {
  position: fixed;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgb(10, 10, 10);
  padding: 0;
  color: #ffffff;
  will-change: transform;
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  margin: 0;
  transform: none !important;
  box-sizing: border-box;
}

/* Drawer Header */
.drawer-header {
  position: sticky;
  top: 0;
  z-index: 10001;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 0;
  padding: 0;
}

.drawer-header-container {
  margin: 0 auto;
  display: flex;
  height: 4rem;
  max-width: 1280px;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .drawer-header-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .drawer-header-container {
    padding: 0 2rem;
  }
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-logo-img {
  width: 33px;
  height: 37.55px;
  object-fit: contain;
}

.drawer-brand-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: white;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.drawer-close:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.close-text {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: block;
  font-family: Arial, sans-serif;
  height: 1.5rem;
  width: 1.5rem;
}


/* Drawer Body Content */
.drawer-body {
  padding: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow-y: auto;
  max-height: calc(100vh - 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .drawer-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .drawer-body {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Drawer Sections */
.drawer-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.drawer-section:first-of-type {
  margin-top: 0;
  padding-top: 0.75rem;
  border-top: none;
}

.drawer-section + .drawer-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-section-primary .drawer-link {
  padding-left: 1rem;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  padding: 0.75rem 0;
}

.drawer-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
}

.drawer-link:hover {
  color: white;
}

.drawer-link-vcf {
  display: flex;
  align-items: center;
}

.accordion-link-vcf {
  display: flex;
  align-items: center;
}

.vcf-icon {
  height: 1rem;
  width: 1rem;
  display: inline-block;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.accordion-link-vcf svg {
  height: 1rem;
  width: 1rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Accordion */
.accordion {
  margin-top: 0;
}

.accordion-summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  list-style: none;
  transition: all 0.2s;
  font-weight: 600;
  user-select: none;
  margin: 0;
}

.accordion-summary:hover {
  color: white;
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

/* Chevron indicator */
.accordion-summary::after {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  padding-left: 0.5rem;
  flex-shrink: 0;
  display: inline-block;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' fill-rule='evenodd' clip-rule='evenodd' d='M5.293 7.293a1 1 0 0 1 1.414 0L10 10.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' fill-rule='evenodd' clip-rule='evenodd' d='M5.293 7.293a1 1 0 0 1 1.414 0L10 10.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.2s;
}

.accordion[open] .accordion-summary::after {
  transform: rotate(180deg);
}

.accordion-content {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  gap: 0.25rem;
}

.accordion-link {
  display: block;
  border-radius: 0.375rem;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s;
}

.accordion-link:hover {
  color: white;
}

/* Social Chips */
.social-chips {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
}

.social-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.chip-icon {
  height: 1rem;
  width: 1rem;
}

/* Transitions */
.fade-enter-active, .fade-leave-active {
  transition: opacity 120ms ease;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

/* Responsive adjustments */
@media (min-width: 640px) {
  .hamburger-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hamburger-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ------------------------------------------ */
/* Footer                                    */
/* ------------------------------------------ */

.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(28px, 7vw, 48px) clamp(16px, 5vw, 32px);
  background: rgba(9, 12, 18, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(229, 234, 247, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-footer a {
  color: #0AAAFE;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #4cc9ff;
}

.footer-inner {
  margin: 0 auto;
  max-width: min(1200px, 94vw);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
  align-items: center;
}

.footer-legal {
  margin: 0;
  line-height: 1.5;
  color: rgba(207, 217, 235, 0.85);
}

.footer-legal {
  margin: 0;
  line-height: 1.5;
  color: rgba(207, 217, 235, 0.85);
}

.footer-disclaimer {
  font-weight: 600;
  color: rgba(229, 234, 247, 0.95);
}

.footer-usage {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.footer-usage-line {
  color: rgba(207, 217, 235, 0.9);
}

.footer-usage a {
  font-weight: 600;
}

.footer-policy-extra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-policy-extra span {
  color: rgba(255, 255, 255, 0.35);
}

.footer-updated {
  color: rgba(174, 190, 217, 0.85);
  font-size: 0.9rem;
}

.footer-meta-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  font-size: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.meta-separator {
  color: rgba(255, 255, 255, 0.35);
}

.footer-powered-link {
  font-weight: 600;
}

@media (max-width: 767px) {
  .footer-legal {
    font-size: 0.85rem;
  }

  .footer-usage {
    font-size: 0.88rem;
  }

  .footer-policy-extra {
    gap: 0.4rem;
  }

  .footer-meta-line {
    font-size: 0.82rem;
  }
}

@media (min-width: 768px) {
  .footer-usage {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
  }

  .footer-usage-line {
    white-space: nowrap;
  }
}

