/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --primary: #7b2d8b;
  --accent: #f9c22e;
  --light: #fdf6ff;
  --dark: #3d1a47;
  --text: #555;
  --white: #fff;
  --shadow: 0 4px 24px rgba(123,45,139,0.12);
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(61,26,71,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 1.8rem; color: var(--accent); }
.logo-main { display: block; font-family: 'Raleway', sans-serif; font-weight: 900; font-size: 1.05rem; color: #fff; letter-spacing: 0.5px; }
.logo-sub { display: block; font-size: 0.68rem; color: #d4a8e0; letter-spacing: 1.5px; text-transform: uppercase; }
.nav { display: flex; gap: 28px; }
.nav a { color: #d4a8e0; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav a:hover { color: #fff; }
.btn-donate {
  background: var(--accent); color: var(--dark); padding: 10px 22px;
  border-radius: 30px; font-weight: 800; font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-donate:hover { background: #f0b800; transform: scale(1.05); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* ===== MOBILE MENU ===== */
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(61,26,71,0.98);
  flex-direction: column; align-items: center; justify-content: center;
}
.mobile-overlay.active { display: flex; }
.mobile-menu { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.close-menu { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; margin-bottom: 12px; }
.mobile-link { color: #fff; font-size: 1.4rem; font-weight: 800; font-family: 'Raleway', sans-serif; transition: color 0.2s; }
.mobile-link:hover { color: var(--accent); }
.btn-donate-mobile { background: var(--accent); color: var(--dark); padding: 12px 36px; border-radius: 30px; margin-top: 12px; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(61,26,71,0.88) 0%, rgba(123,45,139,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 24px; max-width: 820px;
}
.music-note-deco { font-size: 2.5rem; color: var(--accent); margin-bottom: 16px; opacity: 0.8; }
.hero-content h1 {
  font-family: 'Raleway', sans-serif; font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900; color: #fff; margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-content p { font-size: 1.1rem; color: #e0c4f0; margin-bottom: 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary); color: #fff; padding: 14px 32px;
  border-radius: 30px; font-weight: 700; font-size: 1rem;
  transition: background 0.2s, transform 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #5e2270; transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: #fff; padding: 14px 32px;
  border-radius: 30px; font-weight: 700; font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 1.2rem; z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px;
}
.section-label.light { color: #d4a8e0; }

/* ===== ABOUT ===== */
.about { padding: 96px 0 60px; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.about-text h2 { font-family: 'Raleway', sans-serif; font-size: 2.2rem; font-weight: 900; color: var(--dark); margin-bottom: 18px; }
.about-text > p { color: var(--text); line-height: 1.8; margin-bottom: 16px; font-size: 1rem; }
.about-highlights { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.highlight { display: flex; align-items: center; gap: 10px; background: var(--light); padding: 12px 20px; border-radius: 30px; }
.highlight i { color: var(--primary); font-size: 1rem; }
.highlight span { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.about-img-wrap { position: relative; height: 460px; }
.img-main { position: absolute; top: 0; right: 0; width: 80%; height: 340px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.img-secondary { position: absolute; bottom: 0; left: 0; width: 55%; height: 200px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); border: 4px solid #fff; }
.mission-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mc-card { background: var(--light); border-radius: 16px; padding: 32px 24px; text-align: center; border-top: 4px solid var(--primary); transition: transform 0.2s, box-shadow 0.2s; }
.mc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mc-card i { font-size: 2rem; color: var(--primary); margin-bottom: 16px; }
.mc-card h3 { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.mc-card p { color: var(--text); font-size: 0.95rem; line-height: 1.6; }

/* ===== GALLERY ===== */
.gallery-section { padding: 60px 0; background: var(--light); }
.gallery-section h2 { font-family: 'Raleway', sans-serif; font-size: 2rem; font-weight: 900; color: var(--dark); margin-bottom: 32px; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; height: 380px; }
.g-item { overflow: hidden; border-radius: 12px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.g-item:hover img { transform: scale(1.06); }
.g-large { grid-row: span 2; height: 100%; }

/* ===== EVENTS ===== */
.events { padding: 80px 0; background: #fff; }
.events h2 { font-family: 'Raleway', sans-serif; font-size: 2rem; font-weight: 900; color: var(--dark); margin-bottom: 40px; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.event-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s; }
.event-card:hover { transform: translateY(-6px); }
.event-header { background: var(--primary); color: #fff; text-align: center; padding: 20px; }
.event-month { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; }
.event-day { display: block; font-family: 'Raleway', sans-serif; font-size: 3rem; font-weight: 900; line-height: 1; }
.event-body { padding: 24px; }
.event-body h3 { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--dark); margin-bottom: 10px; font-size: 1.05rem; }
.event-body p { color: var(--text); font-size: 0.93rem; line-height: 1.6; margin-bottom: 16px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.event-meta span { font-size: 0.82rem; color: var(--text); }
.event-meta span i { margin-right: 4px; color: var(--primary); }
.free-badge { background: #dcfce7; color: #16a34a; font-weight: 700; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; }
.join-band {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  border-radius: 20px; padding: 48px; display: flex;
  align-items: center; justify-content: space-between; gap: 40px; color: #fff;
}
.join-text h3 { font-family: 'Raleway', sans-serif; font-size: 1.6rem; font-weight: 900; margin-bottom: 12px; }
.join-text p { color: #e0c4f0; line-height: 1.7; margin-bottom: 20px; }
.join-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.join-list li { color: #e0c4f0; font-size: 0.95rem; }
.join-list li i { color: var(--accent); margin-right: 8px; }

/* ===== DONATE ===== */
.donate { padding: 80px 0; background: var(--dark); }
.donate-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.donate-text h2 { font-family: 'Raleway', sans-serif; font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 16px; }
.donate-text p { color: #d4a8e0; line-height: 1.7; margin-bottom: 28px; }
.donate-amounts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.d-btn {
  background: rgba(255,255,255,0.1); color: #fff; border: 2px solid rgba(255,255,255,0.3);
  padding: 10px 24px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.d-btn:hover, .d-btn.active { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.btn-donate-main {
  display: inline-block; background: var(--accent); color: var(--dark);
  padding: 16px 40px; border-radius: 30px; font-weight: 800; font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-donate-main:hover { background: #f0b800; transform: translateY(-2px); }
.donate-visual img { border-radius: 16px; width: 100%; height: 380px; object-fit: cover; opacity: 0.8; }

/* ===== FOOTER ===== */
.footer { background: #200d2a; color: #c9a0d8; padding: 64px 0 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.footer-col h4 { font-family: 'Raleway', sans-serif; font-weight: 800; color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col p { font-size: 0.92rem; line-height: 1.8; margin-bottom: 8px; }
.footer-col p i { margin-right: 8px; color: var(--accent); }
.footer-email a { color: #d4a8e0; font-size: 1.05rem; font-weight: 600; }
.footer-email a:hover { color: #fff; }
.footer-col a { display: block; color: #c9a0d8; font-size: 0.92rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 0.85rem; }
.scroll-top {
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.scroll-top:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }

/* ===== POPUPS ===== */
.popup-overlay {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.65); align-items: center; justify-content: center;
}
.popup-overlay.active { display: flex; }
.popup-box {
  background: #fff; border-radius: 20px; padding: 40px;
  max-width: 480px; width: 90%; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: popIn 0.3s ease;
}
@keyframes popIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.popup-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: #888; }
.popup-box h3 { font-family: 'Raleway', sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--dark); margin-bottom: 24px; }
.popup-box form { display: flex; flex-direction: column; gap: 14px; }
.popup-box input, .popup-box textarea {
  border: 1.5px solid #ddd; border-radius: 8px; padding: 12px 16px;
  font-size: 0.95rem; font-family: inherit; outline: none; transition: border-color 0.2s;
}
.popup-box input:focus, .popup-box textarea:focus { border-color: var(--primary); }
.popup-box textarea { resize: vertical; }
.popup-thanks { text-align: center; }
.popup-thanks i { font-size: 4rem; color: #22c55e; margin-bottom: 16px; }
.popup-thanks p { color: var(--text); margin-bottom: 24px; }
.popup-policy { max-width: 600px; max-height: 80vh; overflow-y: auto; }
.policy-content { margin-bottom: 24px; }
.policy-content h4 { font-weight: 700; color: var(--dark); margin: 16px 0 8px; }
.policy-content p { color: var(--text); line-height: 1.7; font-size: 0.95rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { height: 300px; }
  .img-main { width: 100%; height: 220px; position: relative; }
  .img-secondary { display: none; }
  .mission-cards { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .donate-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .g-large { grid-column: span 2; height: 220px; grid-row: span 1; }
  .g-item { height: 160px; }
  .join-band { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .nav, .btn-donate { display: none; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; height: auto; }
  .g-large { grid-column: span 1; height: 200px; }
  .g-item { height: 160px; }
}
