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

body {
  background: #0b0f17;
  color: #ffffff;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
}

/* Site title (home page) */
.site-title {
  text-align: center;
  padding: 24px 16px 8px;
  background: #05070c;
}
.site-title h1 {
  margin: 0;
  color: #ff2b2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 18px 16px;
  background: #05070c;
  border-bottom: 1px solid #1e2533;
}
nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
}
nav a:hover,
nav a.active { color: #ffd23f; }

/* Page section: picture and text side by side, never overlapping */
.section {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
  padding: 56px 16px;
}
.section .picture { flex: 0 0 40%; }
.section .picture img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.section .text { flex: 1; }

h1 {
  color: #ffd23f;
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.intro {
  font-size: 1.2rem;
  margin-bottom: 28px;
}
ul { list-style: none; }
li {
  margin-bottom: 22px;
  padding-left: 18px;
  border-left: 3px solid #ffd23f;
  font-size: 1.05rem;
}
li strong {
  display: block;
  color: #ffd23f;
  font-size: 1.15rem;
}

/* Two-picture row below the text */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px 56px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Home page */
.hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.home-text {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 16px;
  text-align: center;
}
.button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 28px;
  background: #ffd23f;
  color: #05070c;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

footer {
  text-align: center;
  padding: 24px 16px;
  color: #8a93a6;
  font-size: 0.9rem;
  border-top: 1px solid #1e2533;
}
footer a { color: #ffd23f; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer p + p { margin-top: 6px; }

/* Phones and small tablets: stack picture above text */
@media (max-width: 800px) {
  .section { flex-direction: column; gap: 28px; padding: 32px 16px; }
  .section .picture { flex: none; width: 100%; max-width: 420px; }
  h1 { font-size: 1.9rem; }
  .site-title h1 { font-size: 40px; }
  .gallery { grid-template-columns: 1fr; padding-bottom: 32px; }
}
