
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
  line-height: 1.6;
}


header {
  background: linear-gradient(90deg, #d71a28 50%, #ffffff 50%);
  color: #000;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 5px solid #000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

header h1 {
  margin: 0;
  color: #000;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

header p {
  margin-top: 10px;
  color: #222;
  font-style: italic;
}


.lang-btn {
  background: #d71a28;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lang-btn:hover {
  background: #b3161f;
}


nav {
  background: #000;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  background: #d71a28;
}


main {
  max-width: 1000px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.section-title {
  text-align: center;
  color: #d71a28;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.legends-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.legend-card {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.legend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.legend-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.legend-card h3 {
  color: #d71a28;
  margin: 10px;
}

.legend-card p {
  padding: 0 10px 15px;
  color: #333;
}


footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 0.9rem;
}
