/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

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

/* Header Styles */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.site-logo {
  height: 50px;
  width: auto;
}

.logo-link {
  display: flex;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-title:hover {
  color: #3498db;
}

.site-navigation {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
  color: #3498db;
  border-bottom-color: #3498db;
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
  background-color: #fff;
  margin-top: 1rem;
}

.page {
  background-color: #fff;
}

.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e1e4e8;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #2c3e50;
}

.page-content h3 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  color: #34495e;
}

.page-content h4 {
  font-size: 1.1rem;
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  color: #3f4f5f;
}

.page-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.page-content p {
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content a {
  color: #3498db;
  text-decoration: none;
  border-bottom: 1px solid #3498db;
  transition: border-color 0.3s ease;
}

.page-content a:hover {
  border-bottom-color: #2980b9;
}

/* Home Page Specific Styles */
.hero {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin: -3rem 0 3rem 0;
  border-radius: 8px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Coordinator Styles */
.narrow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.narrow-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.narrow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.narrow-card h3 {
  color: #7f8c8d;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: normal;
  margin-bottom: 1rem;
  display: block;
}

.narrow-card h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Working Group Styles */
.wide-card {
  background: #f8f9fa;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.wide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wide-card h3 {
  color: #7f8c8d;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: normal;
  margin-top: 0rem;
  margin-bottom: 1rem;
  display: block;
}

.wide-card h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info strong {
  color: #2c3e50;
}

/* Footer Styles */
.site-footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
}

.footer-content p {
  margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-navigation {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

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