/* Base Styles - Reset + Typography */

@font-face {
  font-family: 'Venera';
  src: local('Venera'),
       url('../fonts/Venera.woff2') format('woff2'),
       url('../fonts/Venera.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Venera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #000000;
  background-color: var(--bg-primary, #000000);
  color: #ffffff;
  color: var(--text-primary, #ffffff);
  line-height: 1.6;
  min-height: 100vh;
  height: 100%;
  width: 100%;
  touch-action: auto;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: #ffffff;
  color: var(--heading-color, var(--text-primary, #ffffff));
  transition: color var(--transition-normal);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.8;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  background: #000000;
  background: var(--bg-primary, #000000);
}

#hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: transparent;
  min-height: 50vh;
  height: 50vh;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  touch-action: none;
}

.hero-background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.hero-title {
  font-size: clamp(1.2rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: clamp(0.16em, 1vw, 0.22em);
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 1);
  user-select: none;
  margin: 0;
  white-space: nowrap;
  max-width: 90vw;
}

.hero-nav {
  z-index: 1;
  pointer-events: auto;
  position: absolute;
  left: 0.15rem;
  bottom: 0.35rem;
  width: calc(100% - 0.3rem);
}

.hero-nav-inner {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-nav .btn {
  height: 28px;
  padding: 0 0.55rem;
  min-width: 88px;
  font-size: 0.68rem;
}

.about-panel {
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.section-title {
  font-size: clamp(1.2rem, 3.5vw, 2.6rem);
  margin-bottom: var(--spacing-sm);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  /* Fallback color for browsers without gradient text support */
  color: #ffffff;
  width: 100%;
}

/* Gradient text for modern browsers */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .section-title {
    background: var(--heading-gradient, var(--accent-gradient));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section {
    min-height: auto;
    padding: var(--spacing-lg) 0;
  }

  #hero-section {
    min-height: 50vh;
    height: 50vh;
    padding: 0;
  }
}
