/* Global Styles */
:root {
  --teal: #008080;
  --orange: #F28C38;
  --soft-white: #F5F6F5;
  --dark-slate: #1F2A44;
  --charcoal: #333333;
  --light-gray: #D3D3D3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat Alternates', sans-serif;
}

body {
  font-weight: 400;
  line-height: 1.6;
}

.theme-light {
  background: var(--soft-white);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23008080" fill-opacity="0.05" d="M0 0h20v20H0z"/><path fill="%23008080" fill-opacity="0.05" d="M5 5h10v10H5z"/></svg>');
  background-size: 20px 20px;
  color: var(--charcoal);
}

.theme-dark {
  background: var(--dark-slate);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23F28C38" fill-opacity="0.05" d="M0 0h20v20H0z"/><path fill="%23F28C38" fill-opacity="0.05" d="M5 5h10v10H5z"/></svg>');
  background-size: 20px 20px;
  color: var(--light-gray);
}

.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 {
  color: var(--light-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styles */
.header {
  background: var(--teal);
  padding: 0.5rem 0;
}

.header h1 {
  color: var(--soft-white);
}

.nav {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.nav-link {
  color: var(--soft-white);
  text-decoration: none;
  padding: 0.5rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--orange);
}

.theme-select, .language-select {
  border: none;
  font-size: 0.875rem;
  background: var(--teal);
  color: var(--soft-white);
}

.theme-select:focus, .language-select:focus {
  outline: 2px solid var(--orange);
}

/* Footer Styles */
.footer {
  background: var(--teal);
  padding: 0.5rem 0;
  margin-top: 2rem;
}

.footer h3, .footer p, .footer a {
  color: var(--soft-white);
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--orange);
}

/* Section Styles */
.section {
  padding: 2.5rem 0;
}

/* Card Styles */
.card {
  transition: transform 0.3s;
  background: var(--soft-white);
}

.theme-dark .card {
  background: var(--dark-slate);
  border-color: var(--teal);
}

.card:hover {
  transform: scale(1.05);
}

/* Button Styles */
.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s;
  background: var(--orange);
  color: var(--soft-white);
}

.button:hover {
  transform: scale(1.05);
  background: var(--teal);
}

/* Input Styles */
.input {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--teal);
  border-radius: 0.25rem;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--soft-white);
}

.theme-dark .input {
  color: var(--light-gray);
  background: var(--dark-slate);
  border-color: var(--teal);
}

/* Form Success Message */
.form-success {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--orange);
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fade-in 0.5s ease-in;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal);
    padding: 1rem;
  }

  .nav.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 1rem 0;
  }

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