/* Basket Hight - Modern Athletic Design System */

:root {
  /* Color Palette - Athletic but Calm */
  --primary-dark: #0a0a0a;
  --primary-black: #1a1a1a;
  --accent-orange: #ff6b35;
  --text-light: #ffffff;
  --text-muted: #cccccc;
  --text-subtle: #888888;
  --border-light: #333333;
  --border-accent: #444444;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;

  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --container-padding: var(--space-lg);
  --section-spacing: var(--space-3xl);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-light);
  background: var(--primary-dark);
  font-size: 16px;
}

/* Typography Hierarchy */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.7;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}


/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: -1;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content {
  position: relative;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 4px;
  height: calc(100% + 4rem);
  background: var(--accent-orange);
  opacity: 0.6;
}

.hero-title {
  margin-bottom: var(--space-md);
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 500px;
}

.hero-accent {
  position: absolute;
  top: -1rem;
  right: -2rem;
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-orange);
  border-radius: 50%;
  opacity: 0.3;
}

/* Content Sections */
.section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--border-light) 20%, var(--border-light) 80%, transparent 100%);
  opacity: 0.3;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Image + Text Blocks */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--section-spacing);
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-accent);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.content-image:hover img {
  transform: scale(1.02);
}

.content-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.content-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 20px 20px;
  border-color: transparent transparent var(--accent-orange) transparent;
  opacity: 0.8;
}

.content-text {
  position: relative;
}

.content-text::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 3px;
  height: calc(100% + 2rem);
  background: linear-gradient(to bottom, var(--accent-orange), transparent);
  opacity: 0.6;
}

/* Offset Sections */
.offset-section {
  margin-left: 15%;
  position: relative;
}

.offset-section::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -4rem;
  width: 2px;
  height: calc(100% + 4rem);
  background: var(--border-accent);
  opacity: 0.4;
}

/* Full Width Content */
.full-width-content {
  background: var(--primary-black);
  padding: var(--space-2xl) 0;
  margin: var(--section-spacing) 0;
  position: relative;
}

.full-width-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 50%, transparent 100%);
  opacity: 0.5;
}

.full-width-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s ease;
}

/* Footer */
.footer {
  background: var(--primary-black);
  border-top: 1px solid var(--border-light);
  padding: var(--space-xl) 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.footer-section h3 {
  color: var(--text-light);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: var(--space-sm);
}

.footer-section a:hover {
  color: var(--accent-orange);
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: var(--accent-orange);
}

.footer-copyright {
  text-align: center;
  grid-column: 1 / -1;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.footer-copyright p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Desktop Styles - Ensure burger menu and mobile menu are hidden */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }

  .nav-mobile-menu {
    display: none !important;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    height: 100%;
    -webkit-overflow-scrolling: touch;
  }

  body {
    padding-top: 60px; /* Account for fixed nav */
  }

  .nav {
    height: 60px; /* Fixed nav height for mobile */
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-container {
    padding: var(--space-sm) var(--space-md);
  }

  .nav-mobile-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-black);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Prevent body scrolling when mobile menu is open */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .nav-mobile-menu a {
    display: block;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-light);
    text-decoration: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }

  .hero-content::before {
    display: none;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .content-block.reverse {
    direction: ltr;
  }

  .offset-section {
    margin-left: 0;
  }

  .offset-section::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .container,
  .hero-container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .content-block {
    gap: var(--space-md);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus States */
a:focus,
button:focus {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}