/* --- Custom Properties & Reset --- */
:root {
  --primary: #00a8e8;       /* Sky Blue */
  --primary-dark: #0077b6;  /* Deep Blue */
  --secondary: #ffda3b;     /* Sunburst Yellow */
  --secondary-dark: #f0b900;/* Darker Yellow */
  --bg-color: #ffffff;
  --bg-light: #f8fbff;      /* Very light blue */
  --text-color: #333333;
  --text-muted: #666666;
  --font-base: 'M PLUS Rounded 1c', 'Montserrat', sans-serif;
  --header-height: 70px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Typography & Utilities --- */
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.section-padding {
  padding: 80px 0;
}
.bg-light {
  background-color: var(--bg-light);
}
.bg-primary {
  background-color: var(--primary);
  color: #fff;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-title {
  font-size: 2.2rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-dark);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  background-color: var(--secondary);
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}
.bg-primary .section-title {
  color: #fff;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}
.bg-primary .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Animation Classes --- */
.fade-in, .fade-in-up, .card, .gallery-item {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.fade-in {
  transform: translateY(20px);
}
.fade-in-up {
  transform: translateY(40px);
}
.fade-in.appear, .fade-in-up.appear, .card.appear, .gallery-item.appear {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 5px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.navbar.scrolled .logo {
  color: var(--primary);
  text-shadow: none;
}
.logo-text {
  font-size: 1.8rem;
  letter-spacing: -1px;
}
.logo-sub {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  transition: var(--transition);
}
.navbar.scrolled .nav-links a {
  color: var(--text-color);
  text-shadow: none;
}
.nav-links a:hover {
  color: var(--secondary);
}
.btn-join-nav {
  background: var(--secondary);
  color: var(--text-color) !important;
  padding: 8px 20px;
  border-radius: 50px;
  text-shadow: none !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  font-weight: 700 !important;
}
.btn-join-nav:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
.navbar.scrolled .hamburger {
  color: var(--text-color);
  text-shadow: none;
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  min-height: 600px;
  background: url('../images/hero.png') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 168, 232, 0.4), rgba(0, 0, 0, 0.4));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 2px;
  color: var(--secondary);
}
.hero-title {
  font-size: 5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: 2px;
}
.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 500;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  text-shadow: none;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.scroll-indicator a {
  color: #fff;
  font-size: 2rem;
  opacity: 0.8;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* --- About Section --- */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.about-text h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.about-text p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.about-stats {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.stat-item {
  flex: 1;
  text-align: center;
}
.stat-item i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
}
.stat-item h4 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.stat-item p {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* --- Activities Section --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.card:hover::before {
  height: 100%;
  opacity: 0.03;
}
.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}
.card:hover .card-icon {
  background: var(--primary);
  color: #fff;
  transform: rotateY(360deg);
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Gallery Section --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* --- Contact Section --- */
.contact-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-title {
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
}
.contact-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
}
.social-links {
  display: flex;
  justify-content: center;
}
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary-dark);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.btn-instagram:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  color: #e1306c; /* Instagram color */
}

/* --- Footer --- */
footer {
  background: #222;
  color: #888;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (min-width: 992px) {
  .about-content {
    flex-direction: row;
    align-items: center;
  }
  .about-text {
    flex: 3;
    padding-right: 50px;
  }
  .about-stats {
    flex: 2;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .section-padding {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Mobile Menu */
  .hamburger {
    display: block;
    z-index: 1001;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 1000;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    color: var(--text-color);
    font-size: 1.2rem;
    text-shadow: none;
    margin: 15px 0;
  }
  .btn-join-nav {
    margin-top: 20px;
  }
  .navbar:not(.scrolled) .nav-links a {
    color: var(--text-color);
    text-shadow: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }
  .about-stats {
    flex-direction: column;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
