
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --bg-color: #f8f9fa;
  --text-dark: #333;
  --text-light: #fff;
  --transition: all 0.3s ease;
  --card-bg: #fff;
  --border-color: #eee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

header {
  background-color: var(--card-bg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 1rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 900px;
  justify-content: center;
}

.nav-item a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-item a:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.hero {
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  -webkit-text-stroke: 1px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

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

.latest-news {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.latest-news h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.news-list {
  list-style: none;
}

.news-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.news-date {
  font-size: 0.85rem;
  color: #777;
  display: block;
  margin-bottom: 0.3rem;
}

.news-title {
  font-weight: bold;
  color: var(--text-dark);
}

.news-desc {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

.layout-2col {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .layout-2col {
    grid-template-columns: 1fr;
  }
}

.main-content {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-content h1, .main-content h2, .main-content h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.main-content h1 {
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.main-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.3rem;
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget li {
  margin-bottom: 0.8rem;
}

.sidebar-widget a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.sidebar-widget a:hover {
  color: var(--secondary-color);
}

.ad-space {
  background: #eee;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 10px;
  border: 1px dashed #ccc;
  color: #888;
}

footer {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
}

footer a {
  color: #ccc;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  color: var(--text-light);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.ad-banner { text-align: center; margin: 1rem 0; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    right: 1rem;
    top: 1.2rem;
  }
  #nav-menu-container {
    display: none;
    width: 100%;
    text-align: center;
    padding-top: 1rem;
  }
  #nav-menu-container.active {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }
  .header-container {
    position: relative;
    align-items: flex-start;
  }
}
