/* Reset and base styles for clean layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', 'Georgia', serif;
  line-height: 1.7;
  color: #fff;
  background: linear-gradient(180deg, #2a1a3d, #1e0f2b); /* Deep purple gradient for flow vibe */
}

/* Header styles */
header {
  background: linear-gradient(135deg, #ff00cc, #3300ff); /* Groovy pink-to-blue gradient */
  padding: 25px 40px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  font-size: 2.8rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-family: 'Dancing Script', cursive; /* Flowy font for title */
}

nav {
  margin-top: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin: 0 20px;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  color: #ffccff;
  transform: scale(1.1);
}

/* Hero section with background image */
.hero {
  padding: 70px 20px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 80vh; /* Ensures full viewport height */
  margin: 30px auto;
  max-width: 1100px;
  border-radius: 15px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white for glassy effect */
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px); /* Frosted glass effect */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero h2 {
  font-size: 2.2rem;
  color: #ff00cc;
  margin-bottom: 15px;
  font-family: 'Dancing Script', cursive;
}

.hero p {
  font-size: 1.3rem;
  color: #e6e6e6;
  max-width: 650px;
  margin: 0 auto 25px;
}

/* Gallery section (gallery.html) */
.gallery-section {
  padding: 70px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-section h1 {
  font-size: 2.8rem;
  color: #ff00cc;
  margin-bottom: 15px;
  font-family: 'Dancing Script', cursive;
}

.gallery-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.gallery-section p {
  font-size: 1.2rem;
  color: #e6e6e6;
  max-width: 700px;
  margin: 0 auto 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: rgba(255, 255, 255, 0.15);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 0, 204, 0.5); /* Pink glow on hover */
}

.gallery-item iframe,
.gallery-item blockquote {
  width: 100%;
  max-width: 450px;
  border: none;
  border-radius: 15px;
}

.gallery-item p {
  margin: 15px 10px;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.embed-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* About section (about.html) */
.hero {
  padding: 70px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.hero h1 {
  font-size: 2.8rem;
  color: #ff00cc;
  margin-bottom: 15px;
  font-family: 'Dancing Script', cursive;
}

.hero h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: #e6e6e6;
  margin-bottom: 25px;
}

/* Mission section (mission.html) */
.hero {
  padding: 70px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.hero h1 {
  font-size: 2.8rem;
  color: #ff00cc;
  margin-bottom: 15px;
  font-family: 'Dancing Script', cursive;
}

.hero h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: #e6e6e6;
  margin-bottom: 25px;
}

/* Social links (used in hero and footer) */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 25px 0;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.social-icon:hover {
  transform: scale(1.2);
  opacity: 0.9;
}

/* Footer styles */
footer {
  background: linear-gradient(135deg, #3300ff, #ff00cc); /* Matching header gradient */
  color: #fff;
  text-align: center;
  padding: 25px;
  margin-top: 50px;
}

footer p {
  font-size: 1rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hit counter styling */
.hit-counter {
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
  color: #ff00cc; /* Groovy pink to match headings */
  font-family: 'Dancing Script', cursive; /* Flowy font */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hit-counter p {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

/* Responsive design */
@media (max-width: 768px) {
  header {
    padding: 20px 15px;
  }
  
  header h1 {
    font-size: 2.2rem;
  }
  
  nav a {
    font-size: 1rem;
    margin: 0 12px;
  }
  
  .hero, .hero {
    padding: 50px 15px;
    margin: 20px auto;
  }
  
  .hero h2, .hero h2 {
    font-size: 1.9rem;
  }
  
  .gallery-section {
    padding: 50px 15px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item iframe,
  .gallery-item blockquote {
    max-width: 100%;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.9rem;
  }
  
  nav a {
    font-size: 0.9rem;
    margin: 0 8px;
  }
  
  .hero h2, .hero h2 {
    font-size: 1.6rem;
  }
  
  .hero p, .hero p {
    font-size: 1.1rem;
  }
  
  .gallery-section h1, .hero h1, .hero h1 {
    font-size: 2.2rem;
  }
  
  .gallery-section h2 {
    font-size: 1.6rem;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
}