/* Basic CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Nunito', 'Bubblegum Sans', cursive, sans-serif;
  line-height: 1.6;
  color: #fff;
  margin: 0;
  padding: 0;
  background-image: url('../images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

header, footer {
  text-align: center;
  padding: 20px 0;
}

header {
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.logo-container {
  margin: 0 auto 15px;
  width: 300px;
  height: 300px;
  position: relative;
}

.logo {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

footer {
  margin-top: 30px;
  color: #fff;
  font-size: 0.9rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

h1 {
  color: #fff;
  font-size: 3.2rem;
  font-family: 'Bubblegum Sans', cursive;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

h2 {
  color: #fff;
  font-size: 2.2rem;
  font-family: 'Bubblegum Sans', cursive;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  text-align: center;
}

h3 {
  font-family: 'Bubblegum Sans', cursive;
}

section {
  margin-bottom: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

p {
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
  font-size: 1.1rem;
}

.tagline {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);
}

.sub-tagline {
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
  max-width: 800px;
  margin: 0 auto 15px auto;
}

/* Navigation */
.main-nav {
  margin: 20px 0 10px;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 15px;
  flex-wrap: wrap;
}

.main-nav li a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.main-nav li a:hover {
  background-color: rgba(255, 153, 0, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* About Section Highlight */
.about-section .highlight {
  font-weight: bold;
  font-size: 1.1rem;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-top: 20px;
  border-left: 4px solid #ff9900;
}

/* Benefits Section */
.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  margin: 25px 0;
}

.benefit-item {
  flex: 1;
  min-width: 200px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #ff9900;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.benefit-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
  font-family: 'Bubblegum Sans', cursive;
}

.benefit-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Events Section Styling */
.events-section {
  text-align: center;
}

.event-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 25px;
}

.event-card {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.event-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.event-date {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: bold;
}

.event-description {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.event-location {
  font-size: 0.9rem;
  color: #ffcc80;
  margin-bottom: 15px;
  font-style: italic;
}

.register-btn {
  display: inline-block;
  background-color: #ff9900;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.register-btn:hover {
  background-color: #ff7700;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Gallery Section */
.gallery-section {
  text-align: center;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

/* Social Links Styling */
.social-section {
  text-align: center;
}

.contact-info {
  margin-bottom: 25px;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-info i {
  margin-right: 10px;
  color: #ff9900;
}

.contact-info a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #ff9900;
}

.newsletter {
  margin-bottom: 25px;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
}

.newsletter h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 15px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
}

.newsletter-form button {
  padding: 12px 25px;
  background-color: #ff9900;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #ff7700;
  transform: scale(1.05);
}

.social-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.social-links li {
  margin-bottom: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.social-links i {
  font-size: 1.8rem;
  margin-right: 12px;
}

.fa-instagram {
  color: #E1306C;
}

.fa-facebook {
  color: #4267B2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .event-card {
    width: 100%;
    max-width: 350px;
  }

  .logo-container {
    width: 240px;
    height: 240px;
  }

  section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .sub-tagline {
    font-size: 1rem;
  }

  .event-cards {
    gap: 15px;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-links a {
    width: 80%;
  }
}
