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

body {
  font-family: 'Georgia', serif;
  background-color: #fdfcf8;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 20px 0;
}

.site-header {
  background-color: #1e1e1e;
  color: #f4f4f4;
  padding: 40px 0;
  text-align: center;
}

.site-header h1 {
  font-size: 2.5rem;
  letter-spacing: 1px;
}

.tagline {
  font-size: 1.1rem;
  margin-top: 10px;
  font-style: italic;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.nav-links li a {
  color: #f4f4f4;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background-color: #e3e3dc;
  text-align: center;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.hero button {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #1e1e1e;
  color: white;
  border: none;
  font-size: 1em;
  cursor: pointer;
}

.gallery h3,
.about h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.work-card {
  width: 300px;
  text-align: center;
}

.work-card img {
  max-width: 100%;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.about p {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 1.1rem;
}

.site-footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

.legacy {
  background-color: #f5f5f5;
  padding: 3rem 1rem;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.legacy h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #333;
}

.legacy p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}
/* language switcher visual features */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.language-switcher .globe-icon {
  font-size: 1rem;
  line-height: 1;
  color: #555;
}

.language-switcher select {
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.language-switcher select:hover,
.language-switcher select:focus {
  border-color: #999;
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Replace the emoji span with an inline SVG */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.language-switcher .globe-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: #555;
}
