body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #eeeeee;
  color: #1f2937;
  line-height: 1.6;
}

header {
  background: linear-gradient(rgba(216, 133, 59, 0.7), rgba(206, 132, 4, 0.7)), url('castle.webp') center/cover no-repeat;
  color: white;
  padding: 4rem 2rem 3rem;
  text-align: center;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  position: relative;
  margin-bottom: 0.3rem;
}

header h1 {
  margin: 0;
  font-size: 2.0rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

nav {
  background: transparent;
  text-align: center;
  padding: 0.75rem 0;
}

nav a {
  display: inline-block;
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: color 0.3s, background-color 0.3s, transform 0.2s ease;
}

nav a:hover {
  background: linear-gradient(135deg, rgba(247, 112, 34, 0.75), rgba(255, 186, 10, 0.75));
  transform: scale(1.1);
}

@media (max-width: 768px) {
  nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  nav a:hover {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  header {
    padding: 1.5rem 1rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  header p, .subtitle {
    font-size: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    transform: none !important;
  }
}

section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.hero {
  position: relative;
  background: url('Britain.jpg') center/cover no-repeat;
  background-color: #2563eb;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero h2,
.hero p {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card {
  background-color: #dfdede;
  margin-bottom: -1rem;
  padding: 1.5rem;
  border-radius: 7px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

footer {
  background: linear-gradient(135deg, #F77022, #FFBA0A);
  color: #1f2937;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.flag-row {
  text-align: center;
  margin: 2rem 0;
}

.flag-row img {
  height: 40px;
  margin: 0 10px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.contact-info {
  font-size: 1.1rem;
}

.contact-info a {
  color: #2563eb;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.lang-switcher {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, #F77022, #FFBA0A);
}

.lang-switcher label {
  color: #fff;
  margin-right: 0.5rem;
  font-weight: bold;
}

.lang-switcher select {
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: none;
  background-color: #eeeeee;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lang-switcher select:hover {
  background-color: #eeeeee;
}

.lang-icon {
  background-color: white;
  color: #eeeeee;
  padding: 0.4rem;
  border-radius: 50%;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
