/* ========================================
   VALHALLA GYM - Main Stylesheet
   Nordic Theme | Black & Yellow
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --primary: #fffc00;
  --primary-rgb: 255, 252, 0;
  --bg-dark: #000000;
  --bg-card: #0a0a0a;
  --bg-card-hover: #111111;
  --text-white: #ffffff;
  --text-gray: #b0b0b0;
  --text-muted: #666666;
  --border-color: #222222;
  --border-glow: rgba(255, 252, 0, 0.3);

  /* Typography */
  --font-heading: 'Staatliches', 'Exo', sans-serif;
  --font-body: 'Lexend', 'Exo', sans-serif;
  --font-accent: 'Skranji', serif;

  /* Spacing */
  --section-padding: 80px 20px;
  --container-max: 1200px;
  --navbar-height: 70px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --glow-sm: 0 0 10px rgba(255, 252, 0, 0.3);
  --glow-md: 0 0 20px rgba(255, 252, 0, 0.4);
  --glow-lg: 0 0 40px rgba(255, 252, 0, 0.5);
  --glow-text: 0 0 10px rgba(255, 252, 0, 0.8), 0 0 30px rgba(255, 252, 0, 0.4), 0 0 60px rgba(255, 252, 0, 0.2);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin: 15px auto 0;
  box-shadow: var(--glow-sm);
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto 40px;
  box-shadow: var(--glow-sm);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 252, 0, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
}

.btn-primary:hover {
  box-shadow: var(--glow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-dark);
  box-shadow: var(--glow-md);
  transform: translateY(-2px);
}

/* ---------- Nordic Decorative Elements ---------- */
.nordic-border {
  position: relative;
}

.nordic-border::before,
.nordic-border::after {
  content: '⚔';
  position: absolute;
  color: var(--primary);
  font-size: 1.2rem;
  opacity: 0.5;
}

.nordic-border::before {
  top: 10px;
  left: 10px;
}

.nordic-border::after {
  bottom: 10px;
  right: 10px;
}

.viking-knot {
  display: inline-block;
  color: var(--primary);
  font-size: 1.5rem;
  opacity: 0.6;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e6e300;
}

/* ---------- Selection ---------- */
::selection {
  background: var(--primary);
  color: var(--bg-dark);
}
