/* Minimalistický styl pro DRNT - Dronaut */

:root {
  --bg: #f5f5f5;
  --text: #111111;
  --muted: #444444;
  --border: #e1e1e1;
  --accent: #000000;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: #1A1A1A;
  color: #ffffff;
}

#header-description {
  color: #ffffff;
}

header a {
  color: rgba(255, 255, 255, 0.9);
}

header a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

header img {
  max-width: 780px;
  width: min(100%, 780px);
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.04em;
}

#logo {
  font-size: clamp(2rem, 10vw, 5rem);
  font-family: 'Orbitron', sans-serif;
  color: #53CBF3;
  letter-spacing: 0.15em;
}

.brand {
  font-family: Supply, sans-serif;
  font-size: 3.5rem;
  margin: 0;
}

header p {
  max-width: 740px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

nav {
  margin-top: 2rem;
}

nav ul {
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
}

nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, border 0.2s ease;
}

nav a:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  position: relative;
  transition: transform 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  position: absolute;
  left: 0;
  transition: transform 0.25s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

nav {
  margin-top: 2rem;
}

nav.open {
  display: block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.02);
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  margin: 0.75rem 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

main {
  max-width: var(--max-width);
  margin: 2.5rem auto 4rem;
  padding: 0 1.5rem;
}

section {
  margin-bottom: 3.5rem;
}

section h2 {
  margin-top: 0;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}

section p {
  margin: 1rem 0;
  color: var(--muted);
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.45rem 1.3rem;
  background: rgba(0, 0, 0, 0.02);
}

.card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.footer-links {
  margin: 0.7rem 0 0;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  section h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 720px) {
  header {
    padding: 2rem 1rem 1.75rem;
  }

  header h1 {
    font-size: 1.75rem;
  }

  header h2 {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 0.75rem;
  }

  nav a {
    width: 100%;
    text-align: center;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span::before {
    transform: rotate(90deg);
    top: 0;
  }

  .nav-toggle[aria-expanded="true"] span::after {
    opacity: 0;
  }

  main {
    padding: 0 1rem;
    margin: 2rem auto 3rem;
  }

  section {
    margin-bottom: 2.5rem;
  }

  section h2 {
    font-size: 1.25rem;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}
