/* ====== RESET & BASE ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* ====== HEADER ====== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #ff6b6b, #f9d423, #4ecdc4, #5e60ce);
  background-size: 300% 300%;
  animation: gradient 8s ease infinite;
  padding: 10px 30px;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header .logo img {
  height: 40px;
  width: auto;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  text-decoration: underline;
  font-weight: 600;
}

/* ====== HERO SECTION ====== */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #a8edea, #fed6e3);
  color: #333;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
}

/* ====== GRID CONTAINER ====== */
.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.container h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #444;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* ====== EVENT CARDS ====== */
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 15px;
  background: linear-gradient(to right, #74ebd5, #acb6e5);
  color: #fff;
  font-size: 1.2rem;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  background: #222;
  color: #ddd;
  padding: 25px 15px;
  margin-top: 50px;
}

footer .social a {
  color: #f1c40f;
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
}

footer .social a:hover {
  color: #fff;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 8px 10px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .grid {
    gap: 20px;
  }

  .card img {
    height: 160px;
  }
}
