* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
  body {
  font-family: 'Poppins', sans-serif;
  background-color: #1e0037;
}
/* Navbar */
header {
  display: flex;
  justify-content: space-between; /* logo left, nav right */
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: rgba(30, 0, 55, 0.95);
  backdrop-filter: blur(8px);
}


.logo-group img {
  height: 110px;
  width: 150px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 25px; /* space between links */
}

.nav-links a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #fff;
  text-decoration: underline;
}


/* Hero-Section */
.hero {
  background: url('bg-pic.jpg') no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 0, 55, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffd700;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffeb88;
}

.btn {
  background-color: #ffd700;
  color: #1e0037;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #e6c200;
  color: #000;
}
/* Upcoming-Events*/
.section-purple {
  background-color: #1e0037;
  color: #ffd700;
  padding: 80px 20px;
  text-align: center;
}

.section-purple h2 {

  font-size: 35px;
  font-weight: 300px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.grid p {
  font-size: 19px;
}

.card {
  
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 50%;
  border-radius: 8px;

}

 /* Past-Events*/
.section-purple {
  background-color: #1e0037;
  color: #ffd700;
  padding: 80px 20px;
  text-align: center;
}

.section-purple h2 {

  font-size: 35px;
  font-weight: 400px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.grid p {
  font-size: 19px;
}

.card {
  
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  border-radius: 8px;

}

/* Merch Section */

    .merch-section {
      padding: 60px 20px;
      background-color: #1a1a2e;
      text-align: center;
    }
    .merch-section h2 {
      color: #ffd700;
      font-size: 2.5rem;
      margin-bottom: 40px;
    }
    .merch-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
    }
    .merch-item {
      background-color: #2e2e4d;
      border-radius: 15px;
      padding: 20px;
      max-width: 200px;
    }
    .merch-item img {
      width: 100%;
      border-radius: 10px;
    }
    .merch-item p {
      margin-top: 10px;
      color: #fff;
    }


    /* About-Carnival */
    .about-carnival {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      padding: 60px 20px;
      background-color: #2b1b3d;
    }
    .carnival-leftside {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      padding: 20px;
    }
    .carnival-leftside img {
      width: 100%;
      border-radius: 30px;
    }
    .about-carnival .img1{
      height: 280px;
   }
    .carnival-rightside {
      flex: 1;
      padding: 20px;
    }
    .carnival-rightside h2 {
      color: #ffd700;
      font-size: 2rem;
      margin-bottom: 20px;
    }
    .carnival-rightside p {
      font-size: 1rem;
      margin-bottom: 20px;
      color: #ddd;
    }
    .carnival-rightside a{
      background-color: #ffd700;
      color: #2b1b3d;
      padding: 10px 20px;
      font-weight: bold;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }


    /* Footer */
    footer {
      background-color: #14121f;
      color: #ccc;
      padding: 40px 20px;
    }
    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 40px;
    }
    .footer-column h4 {
      color: #fff;
      margin-bottom: 10px;
    }
    .footer-column ul {
      list-style: none;
      padding: 0;
    }
    .footer-container img {
      height: 60px;
      width: 100px;
    }
    .footer-column ul li {
      margin-bottom: 10px;
    }
    .footer-bottom {
      border-top: 1px solid #333;
      margin-top: 30px;
      padding-top: 20px;
      text-align: center;
      color: #777;
    }
    .social-icons a {
      margin-right: 10px;
      display: inline-block;
    }
    .social-icons img {
      width: 24px;
      height: 24px;
      filter: brightness(1.2);
    }

    @media screen and (max-width: 768px) {
      .about-carnival {
        flex-direction: column;
      }
      .merch-container, .footer-container {
        flex-direction: column;
        align-items: center;
      }
    }
    
  /* Footer link and icon hover styles */
  .footer-column a {
    transition: color 0.3s ease, background-color 0.3s ease;
  }

  .footer-column a:hover {
    color: #4c1d95; /* dark purple */
    background-color: #fcd34d; /* yellow-300 */
  }
  @media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px 20px;
  }
  .nav-links {
    margin-top: 10px;
    justify-content: center;
    gap: 15px;
  }
}


  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .card img {
    width: 100%;
  }

  .carnival-leftside {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .carnival-rightside {
    padding: 0;
    text-align: center;
  }

  .footer-column {
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .merch-container {
    flex-direction: column;
    align-items: center;
  }







