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

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

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

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

.site-header h1 {
  color: #2c5aa0;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-primary {
  display: flex;
  gap: 2rem;
}

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

.nav-primary a:hover {
  color: #2c5aa0;
  border-bottom-color: #2c5aa0;
}

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

.lang-link {
  color: #666;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.lang-link.active {
  background: #2c5aa0;
  color: white;
}

.admin-link {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Hero Section */
.hero-main {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #ff6b35;
  color: white;
}

.btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,107,53,0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: #2c5aa0;
}

/* Quick Facts Section */
.quick-facts {
  padding: 4rem 0;
  background: #f8f9fa;
}

.quick-facts h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 3rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.fact-item {
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.fact-item:hover {
  transform: translateY(-5px);
}

.fact-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ff6b35;
  margin-bottom: 0.5rem;
}

.fact-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

/* Distinctive Section */
.distinctive-section {
  padding: 4rem 0;
  background: white;
}

.distinctive-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-left: 4px solid #ff6b35;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-card h3 {
  color: #2c5aa0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* News Preview Section */
.news-preview {
  padding: 4rem 0;
  background: #f8f9fa;
}

.news-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.news-item-preview {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.news-item-preview:hover {
  transform: translateY(-5px);
}

.news-item-preview h3 {
  color: #2c5aa0;
  margin-bottom: 0.5rem;
}

.news-date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.news-more {
  text-align: center;
}

.btn-link {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid #2c5aa0;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-link:hover {
  background: #2c5aa0;
  color: white;
}

/* Footer Styles */
.site-footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 0;
  margin-top: 0;
}

.site-footer a {
  color: #ff6b35;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Legacy styles for existing pages */
.card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hero {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
  color: white;
  padding: 3rem 1rem;
  margin-bottom: 2rem;
  border-radius: 15px;
}

.hero h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.small {
  font-size: 0.9rem;
  color: #666;
}

.hero .small {
  color: rgba(255,255,255,0.9);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.news-item {
  border-left: 4px solid #ff6b35;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

/* Admin styles */
.admin-login {
  max-width: 400px;
  margin: 3rem auto;
}

.admin-login input {
  width: 100%;
  padding: 1rem;
  margin: 0.5rem 0;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.admin-login button {
  width: 100%;
  padding: 1rem;
  background: #2c5aa0;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.admin-login button:hover {
  background: #1e4080;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .nav-primary {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
}
