/* ==========================================
   LAYOUT - Header, Navigation, Footer
   ========================================== */

/* Header & Navigation */
header {
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  padding: var(--spacing-sm) var(--spacing-xl);
}

.logo {
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.9;
}

.logo img {
  height: auto;
  max-height: 110px;
  width: auto;
}

nav {
  display: flex;
  gap: var(--spacing-2xl);
  align-items: center;
  flex: 1;
  margin-left: var(--spacing-3xl);
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
  letter-spacing: 0.3px;
}

nav a:hover {
  color: var(--color-white);
}

nav a::before {
  display: none;
}

nav a:hover::before {
  display: none;
}

nav a::after {
  display: none;
}

nav a:hover::after {
  display: none;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition-smooth);
}

/* Mobile Navigation */
.nav--mobile {
  display: none !important;
  flex-direction: column;
  padding: var(--spacing-lg);
  background-color: var(--color-secondary);
  border-top: 1px solid rgba(30, 64, 175, 0.15);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav--mobile.open {
  display: flex !important;
  max-height: 500px;
}

.nav--mobile a {
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(248, 250, 252, 0.1);
  text-align: center;
  color: rgba(248, 250, 252, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: var(--font-weight-semibold);
}

.nav--mobile a:hover {
  color: var(--color-accent);
}

/* Footer */
footer {
  background-color: var(--color-primary);
  border-top: 1px solid rgba(30, 64, 175, 0.15);
  padding: var(--spacing-4xl) 0;
  margin-top: var(--spacing-4xl);
}

footer a {
  color: var(--color-accent);
}

footer a:hover {
  color: var(--color-accent-light);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
}
