/* ===================================
   VARIABLES & BASE
   =================================== */
:root {
  --primary-color: #0A1F44;
  --accent-color: #FF6B35;
  --text-color: #333;
  --bg-color: #F9F9F9;
  --card-bg: #FFFFFF;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
  --transition-speed: 0.3s;
}

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

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

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

/* ===================================
   LAYOUT CONTAINERS
   =================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* ===================================
   HEADER & NAV
   =================================== */
.site-header {
  background-color: var(--primary-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  color: #fff;
  font-size: 1.75rem;
  font-weight: bold;
  text-decoration: none;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed);
}
.main-nav a:hover {
  color: var(--accent-color);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.75);
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.5);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}
.hero-content h1 {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}
.hero-content .highlight {
  color: var(--accent-color);
}
.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}
.btn {
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color var(--transition-speed);
}
.btn:hover {
  background-color: #e85c2b;
}

/* ===================================
   TICKER WIDGET
   =================================== */
.ticker-container {
  background: #fff;
  padding: 1rem 0;
  border-top: 4px solid var(--accent-color);
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}

/* ===================================
   FILTER BUTTONS
   =================================== */
.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.filter-btn {
  background: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-speed);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

/* ===================================
   CARD GRID
   =================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-content {
  padding: 1.5rem;
}
.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.card-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #555;
}
.card-content a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}
.card-content a:hover {
  text-decoration: underline;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background: var(--primary-color);
  color: #ccc;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.875rem;
}
.site-footer p {
  margin-bottom: 0.5rem;
}
.site-footer .social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.site-footer .social img {
  width: 24px;
  filter: invert(1);
  transition: filter var(--transition-speed);
}
.site-footer .social a:hover img {
  filter: invert(0.6) sepia(1) saturate(5) hue-rotate(10deg);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .card img {
    height: 150px;
  }
}
