:root {
  --bg-color: #050505;
  --text-color: #d1d1d1;
  --heading-color: #ffffff;
  --accent-color: #555555;
  --line-color: #222222;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --spacing-section: 120px;
}

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

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

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

/* Navigacija */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.language-switch {
  color: var(--heading-color);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.language-switch:hover {
  opacity: 0.6;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--spacing-section) 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typography */
h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-color);
  margin-bottom: 2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h3 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 2.5rem;
  text-align: center;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 100px;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  margin-bottom: 3rem;
  /* Image wrapper */
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.9;
  border-radius: 4px;
}

.hero .lead {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--heading-color);
  max-width: 600px;
  margin: 1.5rem auto 3rem;
  line-height: 1.4;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  border-left: 1px solid var(--line-color);
  padding-left: 2rem;
  margin-left: 1rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.35rem;     /* 2rem padding + ~0.35rem offset to center logic */
  top: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--heading-color);
  border-radius: 50%;
}

.timeline-year {
  font-size: 1.2rem;
  color: var(--heading-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0;
}

/* Players List */
.players-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.player-item h4 {
  margin-bottom: 1rem;
}

/* Quotes */
.quotes {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

blockquote {
  font-size: 1.75rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--heading-color);
  margin-bottom: 4rem;
  position: relative;
}

blockquote::before, blockquote::after {
  content: "";
}

/* Achievements */
.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: center;
}

.achievements-group h4 {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.achievements-list {
  list-style: none;
}

.achievements-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--heading-color);
}

/* Divider */
hr.separator {
  border: 0;
  height: 1px;
  background: var(--line-color);
  margin: 4rem auto;
  width: 50px;
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 0;
  font-size: 0.9rem;
  color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  .hero .lead {
    font-size: 1.2rem;
  }
  .achievements-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  blockquote {
    font-size: 1.25rem;
  }
}
