@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Roboto:wght@300;400;700&display=swap');

:root {
  --accent-color: #e63946; /* Striking Red */
  --accent-hover: #b92a36;
  --text-dark: #1a1a1a;
  --text-gray: #555555;
  --bg-white: #ffffff;
  --bg-light: #f4f4f4;
  --border-light: #eaeaea;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --radius: 4px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --transition: all 0.2s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.2;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--accent-color);
  padding-left: 10px;
  display: flex;
  align-items: center;
}

/* Header & Navigation */
header {
  background-color: var(--bg-white);
  border-bottom: 2px solid var(--accent-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-dark);
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-content {
  padding: 3rem 0;
}

/* Grid Layouts */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* News Cards */
.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--accent-color);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--accent-color);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.card-title a:hover {
  color: var(--accent-color);
}

.card-excerpt {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.card-date {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.read-more {
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 5px 12px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
}

.read-more:hover {
  background-color: var(--accent-color);
}

/* Hero Section */
.hero {
  position: relative;
  margin-bottom: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  height: 450px;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 3rem 2rem;
  color: var(--bg-white);
  max-width: 800px;
}

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

@media (min-width: 768px) {
  .hero-title { font-size: 3.5rem; }
}

.hero-title a:hover {
  color: var(--accent-color);
}

/* Sections */
.section {
  margin-bottom: 4rem;
}

.bg-light-section {
  background-color: var(--bg-light);
  padding: 4rem 0;
}

/* Page Banner */
.page-banner {
  background-color: var(--text-dark);
  color: var(--bg-white);
  text-align: center;
  padding: 4rem 1.5rem;
  margin-bottom: 3rem;
}

.page-banner h1 {
  font-size: 3rem;
  color: var(--accent-color);
}

/* Article Styling */
.article-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--text-gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: bold;
}

.article-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  margin: 2rem 0 1rem;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 4rem 0 2rem;
  border-top: 5px solid var(--accent-color);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-about .logo {
  color: var(--bg-white);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-about p {
  color: #aaaaaa;
  font-size: 0.95rem;
}

.footer-title {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #aaaaaa;
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #777;
  font-size: 0.9rem;
}

/* Responsive Menu */
@media (max-width: 767px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--accent-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }
  
  .nav-links.show {
    max-height: 400px;
  }
  
  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
  }
}
