/* ===== Global Reset & Fonts ===== */
* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ddd;
  background-color: #121212;
  line-height: 1.6;
}

/* ===== Navigation Bar ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0,0,0,0.9);
  padding: 0.75rem 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

.nav-logo img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.nav-logo span {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffcc00;
}

/* Mobile Menu Toggle Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  background: url("../img/hero-bg.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 4rem;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #ffcc00;
}

.hero-overlay p {
  font-size: 1.2rem;
}

/* ===== Main Content Sections ===== */
.content-section {
  padding: 4rem 1rem;
  max-width: 1000px;
  margin: 2rem auto;
}

.content-section h2 {
  margin-bottom: 1rem;
  color: #ffcc00;
}

.content-section p,
.content-section ul {
  margin-bottom: 1rem;
}

.article-list {
  list-style-type: disc;
  padding-left: 2rem;
}

.article-list a {
  color: #ffcc00;
  text-decoration: none;
}

.article-list a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== Article Page Specific ===== */
.article-hero {
  height: 50vh;
  background: url("../img/hero-bg.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 4rem;
  position: relative;
}

.article-hero-overlay {
  background: rgba(0,0,0,0.7);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.article-hero-overlay h1 {
  font-size: 2.5rem;
  color: #ffcc00;
}

.article-content {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  color: #ddd;
}

.article-content h2, .article-content h3 {
  color: #ffcc00;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin-bottom: 1rem;
}

.article-content blockquote {
  background: rgba(255,204,0,0.1);
  border-left: 4px solid #ffcc00;
  padding: 1rem;
  font-style: italic;
}

.article-content a {
  color: #ffcc00;
  text-decoration: underline;
}

.article-content a:hover {
  color: #fff;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  background: rgba(0,0,0,0.8);
  padding: 1rem 0;
  color: #aaa;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    display: none;
  }

  .nav-links li {
    margin: 1rem 0;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }
}
