/* Import Blanka Font */
@font-face {
  font-family: 'Blanka';
  src: url('../fonts/Blanka-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(to bottom right, #fff1f8, #e6f7ff);
  color: #333;
  padding: 20px;
  animation: backgroundFade 10s infinite alternate;
  overflow-x: hidden;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 30px;
  animation: slideDown 1s ease-out;
}

header img.logo {
  width: 120px;
  transition: transform 0.5s ease-in-out;
  cursor: pointer;
}
header img.logo:hover {
  transform: scale(1.2) rotate(10deg);
}

h1 {
  font-size: 2.8em;
  color: #4a0072;
  margin-top: 10px;
  animation: fadeInUp 1s ease-in-out;
  font-family: 'Blanka', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 2px;
}

h2 {
  font-size: 2em;
  color: #004d40;
  margin-bottom: 10px;
  animation: fadeInUp 1s ease-in-out;
}

h3 {
  font-size: 1.6em;
  margin: 15px 0 10px;
  color: #880e4f;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

a {
  text-decoration: none;
  color: #fff;
  background: #6a1b9a;
  padding: 10px 18px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(106, 27, 154, 0.3);
}

a:hover {
  background: #ab47bc;
  transform: translateY(-3px) scale(1.05);
}

/* Main Content */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 25px;
  background: #ffffffcc;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1.2s ease-in;
}

/* Search Box */
.search-container {
  text-align: center;
  margin-bottom: 30px;
}

.search-container input {
  padding: 12px 22px;
  font-size: 16px;
  border-radius: 25px;
  border: 2px solid #6a1b9a;
  width: 60%;
  max-width: 450px;
  transition: all 0.4s ease;
}

.search-container input:focus {
  outline: none;
  box-shadow: 0 0 10px #ab47bc;
  background: #f3e5f5;
}

/* Event Grid */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 20px;
  animation: fadeInUp 1s ease-in;
}

.event-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, background-color 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 0.6s ease-in-out;
}

.event-card:hover {
  transform: scale(1.05);
  background: #f3e5f5;
}
/* List Items */
ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 10px;
  padding: 10px;
  background: #f3e5f5;
  border-left: 4px solid #6a1b9a;
  border-radius: 5px;
  animation: fadeInUp 0.5s ease-in;
}

/* Venue Info */
.venue {
  margin: 10px 0 25px;
  font-size: 1.2em;
  color: #00695c;
  font-weight: bold;
}

/* Buttons */
button {
  padding: 10px 18px;
  border: none;
  border-radius: 25px;
  background-color: #ff4081;
  color: white;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(255, 64, 129, 0.3);
  transition: all 0.3s ease-in-out;
  margin-top: 20px;
}

button:hover {
  background-color: #f50057;
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95em;
  padding: 25px 15px;
  background: linear-gradient(to right, #6a1b9a, #8e24aa);
  color: #ffffff;
  animation: fadeIn 2s ease-in;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.15);
}

footer p {
  margin: 10px 0;
}

footer a {
  color: #ffccff;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffee58;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes backgroundFade {
  from {
    background: linear-gradient(to bottom right, #ffe0f0, #e1f5fe);
  }
  to {
    background: linear-gradient(to bottom right, #f8bbd0, #b3e5fc);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

/* Banner Section */
.banner {
  text-align: center;
  margin: 30px 0 20px;
  animation: slideIn 1.2s ease-in-out;
}

.banner-img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 64, 129, 0.3),
              0 0 45px rgba(171, 71, 188, 0.2),
              0 0 60px rgba(106, 27, 154, 0.1);
  transition: transform 0.5s ease, box-shadow 0.4s ease-in-out;
}

.banner-img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px #ff4081, 0 0 60px #ab47bc, 0 0 80px #6a1b9a;
}

/* Slide-in Animation */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  main {
    padding: 15px;
  }

  .search-container input {
    width: 80%;
  }
  
}

