/* 1) Import a clean, modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg-color:   #121212;
  --nav-bg:     rgba(30,30,30,0.8);
  --text-color: #eee;
  --accent:     #4b0082; /* Indigo */
  --hover:      #7f00ff;
  --container-max: 1200px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* --- Header --- */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  z-index: 100;
}

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

/* Logo / Brand */
header .logo a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

/* Nav */
nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  padding: 0.5rem 0;
  transition: color 0.2s ease-in-out;
}

/* Active link underline */
nav a.active,
nav a:hover {
  color: var(--hover);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* Language toggle */
#lang-toggle {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}
#lang-toggle:hover {
  background: var(--hover);
}

/* --- Main content --- */
main {
  max-width: var(--container-max);
  margin: 2rem auto;
  padding: 0 1rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
}

/* Utility: make images responsive */
img {
  max-width: 100%;
  height: auto;
}
