@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Space+Grotesk:wght@500;700&display=swap');

html {
  background: #eef2ff;
  color: #fff;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: #f0f2f5;
  color: #1a1b1e;
}

h1,
h2,
p,
.header-title {
  font-family: 'Space Grotesk', sans-serif;
}

/* MOBIL (Default) */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
}

.news-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
}

.news-card,
.hero-card {
  transition: all 0.4s ease;
  /* Makes transition softer */
  cursor: pointer;
}

.news-card:hover,
.hero-card:hover {
  background-color: #5d3fd3;
  transform: translateY(-5px);
  /* Card Hover */
  box-shadow: 0 10px 20px rgba(93, 63, 211, 0.3);
}

.news-card:hover h2,
.hero-card:hover h1,
.news-card:hover p,
.hero-card:hover p {
  color: #ffffff;
}

.hero-card {
  max-width: 92%;
  margin: 0 auto;
  /* Centers the card and sets top/bottom margins */
  background: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.news-card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.coming-soon {
  background-color: #f3f0ff;
  border: 2px dashed #5d3fd3;
  border-radius: 8px;
  padding: 40px;
  margin: 40px auto;
  max-width: 92%;
  text-align: center;
  transition: transform 0.3s ease;
}

.coming-soon:hover {
  transform: scale(1.02);
}

.coming-soon h2 {
  color: #5d3fd3;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coming-soon p {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
}

/* --- HEADER --- */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  /* Keep navigation visible while scrolling */
}

.header-title {
  margin-right: 30px;
  /* Makes header straight on the page */
}

.header-logo {
  height: 43px;
}

.header-title {
  font-size: 1.3rem;
  letter-spacing: 2px;
  font-weight: 900;
}

/* --- HAMBURGER MENU --- */
.hamburger-menu {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  margin: 5px 0;
}

.hamburger-menu:hover {
  transform: scale(1.1);
  /* Subtle change on hover */
}

.hamburger-menu:hover span {
  background-color: #5d3fd3;
}

/* --- FOOTER STYLES --- */
.main-footer {
  background: #1a1a1a;
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}

.main-footer p {
  font-size: 1.2rem;
  color: #5d3fd3;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social-links a {
  color: #a29bfe;
  text-decoration: none;
  margin: 0 10px;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 20px;
  border: 1px solid #5d3fd3;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #5d3fd3;
  color: white;
  transform: translateY(-3px);
}

/* TABLET (from 668px: 2 column layout) */
@media (min-width: 668px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DESKTOP (from 1024px: 4 column layout) */
@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}