:root {
  --primary: #25a6eb;
  --secondary: #1e293b;
  --accent: #f8fafc;
  --text: #374555;
  --icon: cornflowerblue;
  --max-width: 1200px;
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: white;
}

/* =========================
   Header
   ========================= */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: auto;
  padding: 0 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--secondary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--secondary);
  transition: color .3s ease;
}

nav a:hover {
  color: var(--primary);
}

/* =========================
   Sections
   ========================= */

.section {
  min-height: 60vh;
  padding: 2rem 2rem 3rem;
  display: flex;
  align-items: center;
}

.section:nth-child(even) {
  background: var(--accent);
}

.content {
  max-width: var(--max-width);
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.text h2 i.bi {
  font-size: 1.5rem;
  color: var(--icon);
  display: none;
}

.text p {
  margin-bottom: 1rem;
}

.image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.cze-flag::before {
  content: "🇨🇿 ";
}

.eng-flag::before {
  content: "🇬🇧 ";
}

.avatar {
  font-size: 2em;
  border-radius: 50%;
  overflow: hidden;
}

/* =========================
   Bootstrap overrides
   ========================= */

.btn-primary {
  --bs-btn-bg: cornflowerblue;
  --bs-btn-border-color: cornflowerblue;
  --bs-btn-disabled-bg: cornflowerblue;
  --bs-btn-disabled-border-color: cornflowerblue;
}

/* =========================
   Scroll Animation
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

/* =========================
   Footer
   ========================= */

footer {
  background: var(--secondary);
  color: white;
  padding: 2rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: white;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 768px) {

  .content {
    grid-template-columns: 1fr;
  }

  nav ul {
    gap: 0.8rem;
    font-size: 0.9rem;
  }

  .text h2 {
    font-size: 2rem;
  }

  .header-container {
    padding: 0 1rem;
  }
}
