/* Define variables for consistency */
:root {
  --primary-color: #252850;
  --hover-color: #1CA9C9;
  --background-color: #f8fafc;
  --text-color: #4B0082;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header styling */
.site-header {
  padding: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
}

.logo h1 {
font-family: nunito-sans-light, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Main content styling */
.content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 2rem;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 800px;
}

.language-button {
  background: white;
  border: none;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 200px;
}

.language-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: var(--primary-color);
  color: white;
}

.language-button:focus {
  outline: 3px solid var(--hover-color);
  outline-offset: 2px;
}

.flag-icon {
  width: 28px;
  height: 21px;
  border-radius: 3px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.language-button:hover .flag-icon {
  opacity: 1;
}

/* Footer styling */
.site-footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1.5rem 2rem;
}

.site-footer .social-media {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.site-footer .social-media a {
  color: white;
  transition: transform 0.3s ease;
}

.site-footer .social-media a:hover {
  transform: translateY(-3px);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.section-label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 300; /* Thinner font */
  color: var(--primary-color);
  margin: 20px auto;
}

/* Adjust additional buttons to be thinner and have a smaller font */
.additional-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 560px;
  margin: 20px auto;
  text-align: center;
}

/* Thinner buttons with smaller text */
.info-button {
  background: white;
  border: none;
  padding: 1rem 1.5rem; /* Reduced height */
  border-radius: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  color: var(--primary-color);
  font-size: 0.9rem; /* Reduced font size */
  font-weight: 500;
  min-width: 200px;
}

.info-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: var(--primary-color);
  color: white;
}

.info-button:focus {
  outline: 3px solid var(--hover-color);
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content {
    padding: 2rem;
  }

  .logo img {
    width: 50px;
    height: 50px;
  }

  .logo h1 {
  font-family: nunito-sans-light, sans-serif;
    font-size: 1.25rem;
  }

  .button-grid {
    grid-template-columns: 1fr;
  }

  .language-button {
    padding: 1.5rem;
    font-size: 1rem;
  }
  
   .additional-buttons {
    grid-template-columns: 1fr;
  }

  .info-button {
    padding: 0.8rem; /* Further reduction for smaller screens */
    font-size: 0.85rem;
  }

  .section-label {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .language-button,
  .site-footer .social-media a {
    transition: none;
  }
}