nav.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

nav.nav-links a {
  background: #2e2e2e;
  color: #f0c674;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
  outline: none;
  display: inline-block;
}

nav.nav-links a:hover,
nav.nav-links a:focus {
  background: #3e3e3e;
  color: #fffbe6;
  box-shadow: 0 4px 16px 0 rgba(240,198,116,0.15);
}

nav.nav-links a:active {
  background: #f0c674;
  color: #1e1e1e;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #1e1e1e;
  color: #e2e2e2;
  margin: 0;
  padding: 0;
}
.header-bg {
  background: url('background.jpg') center/cover no-repeat;
  padding: 60px 20px;
  text-align: center;
}
header h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}
header p {
  font-size: 1.2rem;
  font-style: italic;
  color: #ccc;
}
section {
  padding: 40px 20px;
  border-bottom: 1px solid #444;
}
h2 {
  color: #f0c674;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.card {
  flex: 1 1 200px;
  background: #2e2e2e;
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  color: #f0c674;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.card:hover, .card:focus {
  background: #3e3e3e;
  color: #fffbe6;
  box-shadow: 0 4px 16px 0 rgba(240,198,116,0.15);
  text-decoration: none;
}
.card:active {
  background: #f0c674;
  color: #1e1e1e;
}
iframe {
  width: 100%;
  height: 300px;
  border: none;
  margin-top: 20px;
}
.button {
  background-color: #f0c674;
  color: #1e1e1e;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 15px;
}
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #aaa;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
