/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Header styles moved from inline */
.header-image {
  text-align: center;
  margin-top: 20px;
}

.header-image img {
  max-width: 100%;
  height: auto;
}

/* Language Switcher Dropdown */
.language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.language-toggle:hover {
  border-color: #0066cc;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.language-toggle:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

.globe-icon {
  width: 20px;
  height: 20px;
  color: #2c3e50;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.language-toggle[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: #2c3e50;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background-color: #f0f7ff;
  color: #0066cc;
}

.language-option .flag-icon {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.language-option span {
  font-family: 'Inter', sans-serif;
}

nav {
  background-color: white;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 1rem 0;
  font-family: 'Inter', sans-serif;
  border-bottom: 2px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.menu a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  margin: 0 20px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.menu a:hover {
  background-color: #f0f7ff;
  color: #0066cc;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Footer styles */
footer {
  background-color: #f8f9fa;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
  border-top: 1px solid #e5e5e5;
  font-size: 14px;
  color: #6c757d;
}

footer a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* Skip to content for accessibility */
.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 999;
}

.skip-to-content:focus {
  left: 0;
  background: #000;
  color: #fff;
  padding: 0.5rem;
}
