/* Simple Theme Variables */
[data-theme="dark"] {
  --bg-primary: #0a1f1a;
  --bg-secondary: #0f2d26;
  --text-primary: #eafaf7;
  --text-secondary: #b3d4cd;
  --accent-primary: #2be2b4;
  --border-color: #2be2b4;
  --header-bg: #0f2d26;
}

[data-theme="light"] {
  --bg-primary: #f0fdf9;
  --bg-secondary: #ffffff;
  --text-primary: #1a3a2d;
  --text-secondary: #2d5a45;
  --accent-primary: #00764b;
  --border-color: #2be2b4;
  --header-bg: #ffffff;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header - Simple */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  color: var(--text-primary);
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Close Menu Button */
.close-menu-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Theme Toggle - Simple */
.theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1002;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--accent-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.05);
  border-color: var(--accent-primary);
}

/* Mobile Styles - Simple */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 4rem 1.5rem 2rem 1.5rem;
    transition: right 0.4s ease;
    z-index: 999;
    gap: 1rem;
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 50px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--accent-primary);
    color: var(--bg-primary);
  }

  .mobile-menu-btn {
    display: flex;
    top: 1rem;
    right: 5rem;
    z-index: 1001;
  }

  .theme-toggle {
    top: 1rem;
    right: 1rem;
  }

  .desktop-nav {
    display: none;
  }
}

/* Desktop Navigation */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
  }

  .mobile-menu-btn,
  .close-menu-btn {
    display: none;
  }
}
