/* Base Styles */
:root {
  --primary: #ff9800;
  --primary-hover: #f57c00;
  --background: #121212;
  --surface: #1e1e1e;
  --surface-light: #2d2d2d;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar .nav-links li a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.navbar .nav-links li a:hover {
  color: var(--primary);
  background: rgba(255, 152, 0, 0.1);
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Header Section */
.header {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('/api/placeholder/1920/1080');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.header .content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  z-index: 1;
}

.header .content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header .content p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  color: var(--text);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.header .content .btn {
  background-color: var(--primary);
  padding: 1rem 2rem;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header .content .btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* Section Styles */
.section {
  padding: 5rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--surface);
  margin-top: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.section a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.section a:hover {
  border-color: var(--primary);
}

.code-block {
  background-color: var(--surface-light);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-block code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  color: #e6e6e6;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */
footer {
  background: var(--surface);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .navbar .nav-links {
    display: none;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .code-block {
    padding: 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Style */
::selection {
  background: var(--primary);
  color: white;
}
