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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #2c3e50;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: #2c3e50;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.75rem 1.25rem;
  display: block;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #3498db;
  background: rgba(52, 152, 219, 0.05);
  border-radius: 5px;
}

.nav-links .admin-link {
  background: #3498db;
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  margin-left: 0.5rem;
}

.nav-links .admin-link:hover {
  background: #2980b9 !important;
}

.nav-links .band-link {
  background: #00c73c;
  color: #fff !important;
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
}

.nav-links .band-link:hover {
  background: #00a832 !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: kenBurnsZoom 20s ease-in-out infinite;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
  z-index: 1;
}

/* Ken Burns Effect */
@keyframes kenBurnsZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 10;
}

.hero-prev,
.hero-next {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.hero-indicators {
  display: flex;
  gap: 0.75rem;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  border-radius: 6px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: #667eea;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease 0.4s both;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #2c3e50;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #667eea;
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.active {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  color: #667eea;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.feature-card p {
  color: #666;
  line-height: 1.7;
}

/* Programs Section */
.programs-section {
  padding: 6rem 2rem;
  background: #fff;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.program-item {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.program-item.active {
  opacity: 1;
  transform: translateY(0);
}

.program-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.program-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.program-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.program-item p {
  font-size: 1rem;
  opacity: 0.95;
}

/* Stats Section */
.stats-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"></path></svg>') no-repeat;
  background-size: cover;
  opacity: 0.1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.stat-item.active {
  opacity: 1;
  transform: scale(1);
}

.stat-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Contact Section */
.contact-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

/* Join Form */
.join-form-container {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.join-form {
  background: #fff;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: #667eea;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  margin-top: 2rem;
  text-align: center;
}

.submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-message.hidden {
  display: none;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-30px);
}

.contact-item.active {
  opacity: 1;
  transform: translateX(0);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  font-size: 2rem;
  color: #667eea;
  min-width: 40px;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.contact-item p {
  color: #666;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  text-align: center;
  padding: 2rem;
}

.footer p {
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Effects */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    gap: 0;
    align-items: stretch;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: left;
  }

  .nav-links .band-link,
  .nav-links .admin-link {
    margin: 0.5rem 1rem;
    text-align: center;
    border-radius: 8px;
  }

  .hero {
    min-height: 80vh;
    padding: 5rem 1.5rem 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .features,
  .program-list,
  .stats-grid,
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .contact-icon {
    font-size: 1.5rem;
    min-width: 35px;
  }

  .contact-item h4 {
    font-size: 1.1rem;
  }

  .contact-item p {
    font-size: 0.95rem;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .org-chart {
    padding: 1.5rem;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }

  .hero {
    min-height: 70vh;
    padding: 4rem 1rem 2rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .org-chart {
    padding: 1rem;
  }

  .org-card {
    padding: 1.5rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* iOS zoom 방지 */
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .section-description {
    font-size: 1rem;
    margin: 0 auto 2rem;
    padding: 0 1rem;
  }
}

  .stat-number {
    font-size: 2.5rem;
  }
}

/* About Section - Enhanced */
.about-content {
  margin-top: 3rem;
}

.about-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.intro-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #444;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.detail-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.detail-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #fff;
}

.detail-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
}

.detail-card p {
  color: #666;
  line-height: 1.8;
  text-align: center;
}

/* Organization Chart Section */
.organization-section {
  padding: 6rem 2rem;
  background: #fff;
}

.org-chart {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 0;
}

.org-level {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.org-card {
  background: #fff;
  padding: 2rem 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 200px;
  transition: all 0.3s ease;
}

.org-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.org-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
}

.org-card.president .org-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  width: 100px;
  height: 100px;
  font-size: 3rem;
}

.org-card.secretary .org-icon {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  width: 90px;
  height: 90px;
  font-size: 2.75rem;
}

.org-card.auditor .org-icon,
.org-card.advisors .org-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.org-card.vice-presidents .org-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.org-card.consultants .org-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.org-card.directors .org-icon {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.org-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.org-count {
  font-size: 1.1rem;
  color: #667eea;
  font-weight: bold;
  margin: 0.5rem 0;
}

.org-role {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

.org-section-title {
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.org-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #667eea;
}

.org-exec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.org-exec-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.org-exec-card:hover {
  border-color: #667eea;
  background: #fff;
  transform: translateY(-3px);
}

.exec-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.org-exec-card h4 {
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.exec-count {
  font-size: 0.9rem;
  color: #667eea;
  font-weight: 600;
}

.org-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.stat-box i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.stat-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.stat-box .stat-number {
  font-size: 2.5rem;
  font-weight: bold;
}

/* Schedule Section */
.schedule-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.schedule-tab {
  padding: 1rem 2rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schedule-tab:hover,
.schedule-tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: #667eea;
}

.schedule-notice {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 3rem;
  border-left: 5px solid #667eea;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.schedule-notice i {
  font-size: 1.5rem;
  color: #667eea;
  margin-right: 1rem;
}

.schedule-notice p {
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.schedule-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.schedule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.schedule-month {
  font-size: 1.8rem;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e0e0e0;
}

.schedule-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.schedule-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
}

.schedule-badge.regular {
  background: #e3f2fd;
  color: #1976d2;
}

.schedule-badge.special {
  background: #fff3e0;
  color: #f57c00;
}

.schedule-text {
  color: #555;
  font-size: 0.95rem;
}

/* Responsive for Organization and Schedule */
@media (max-width: 768px) {
  .org-exec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  
  .org-stats {
    grid-template-columns: 1fr;
  }
}

/* Organization Names */
.org-name {
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 600;
  margin: 0.3rem 0;
}

.org-names {
  margin-top: 1rem;
}

.org-names-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  text-align: left;
}

.org-names-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.org-card.wide {
  min-width: 400px;
  max-width: 600px;
}

.exec-name {
  font-size: 0.9rem;
  color: #667eea;
  margin: 0.2rem 0;
  font-weight: 600;
}

.exec-count {
  display: none;
}

@media (max-width: 768px) {
  .org-names-grid {
    grid-template-columns: 1fr;
  }
  
  .org-names-grid.three-col {
    grid-template-columns: 1fr;
  }
  
  .org-card.wide {
    min-width: auto;
    max-width: 100%;
  }
}

/* Loading Spinner */
.loading-spinner {
  font-size: 0.9em;
  color: #999;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Calendar Styles */
.calendar-container {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.calendar-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #2c3e50;
}

.calendar-nav-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.calendar-nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.calendar-weekday {
  text-align: center;
  font-weight: 600;
  color: #666;
  padding: 0.75rem;
  font-size: 0.95rem;
}

.calendar-weekday:first-child {
  color: #e74c3c;
}

.calendar-weekday:last-child {
  color: #3498db;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  min-height: 400px;
}

.calendar-day {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  min-height: 80px;
}

.calendar-day:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.calendar-day.other-month {
  opacity: 0.3;
  pointer-events: none;
}

.calendar-day.today {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.calendar-day.today .day-number {
  color: #fff;
}

.calendar-day.has-event {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border: 2px solid #667eea;
}

.calendar-day.has-event.today {
  border: 2px solid #fff;
}

.day-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.day-events {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.day-event {
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.day-event.regular {
  background: #4caf50;
  color: #fff;
}

.day-event.special {
  background: #ff9800;
  color: #fff;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #666;
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend-dot.regular {
  background: #4caf50;
}

.legend-dot.special {
  background: #ff9800;
}

.legend-dot.today {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Calendar Mobile Responsive */
@media (max-width: 768px) {
  .calendar-container {
    padding: 1rem;
  }

  .calendar-title {
    font-size: 1.3rem;
  }

  .calendar-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .calendar-weekday {
    font-size: 0.8rem;
    padding: 0.5rem 0.25rem;
  }

  .calendar-day {
    padding: 0.5rem 0.25rem;
    min-height: 60px;
  }

  .day-number {
    font-size: 0.9rem;
  }

  .day-event {
    font-size: 0.6rem;
    padding: 0.15rem 0.3rem;
  }

  .calendar-legend {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Join Form Tablet Styles */
  .contact-section {
    padding: 4rem 1.5rem;
  }

  .join-form-container {
    padding: 0 1rem;
    margin: 0 auto 3rem;
  }

  .join-form {
    padding: 2rem 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .calendar-days {
    gap: 0.25rem;
  }

  .calendar-day {
    padding: 0.4rem 0.2rem;
    min-height: 50px;
  }

  .day-events {
    gap: 0.15rem;
  }

  .day-event {
    font-size: 0.55rem;
  }

  /* Join Form Mobile Styles */
  .contact-section {
    padding: 3rem 1rem;
  }

  .join-form-container {
    margin: 0 auto 2rem;
    padding: 0;
  }

  .join-form {
    padding: 1.5rem 1rem;
    border-radius: 10px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 0.875rem 0.75rem;
    border-radius: 6px;
  }

  .btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  /* Contact Info Mobile Styles */
  .contact-info {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .contact-item {
    padding: 1.25rem 1rem;
    gap: 1rem;
    border-radius: 8px;
  }

  .contact-icon {
    font-size: 1.3rem;
    min-width: 30px;
  }

  .contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .contact-item p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* ========================================
   팝업 스타일
   ======================================== */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
}

.popup-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

/* 위치별 스타일 */
.popup-content.popup-top {
  align-self: flex-start;
  margin-top: 2rem;
}

.popup-content.popup-bottom {
  align-self: flex-end;
  margin-bottom: 2rem;
}

.popup-content.popup-center {
  align-self: center;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: background 0.3s ease, transform 0.2s ease;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

.popup-body {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.popup-image {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  display: block;
  background: #f8f9fa;
}

.popup-text {
  padding: 1.5rem 2rem;
  flex: 1;
  overflow-y: auto;
}

.popup-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.popup-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.popup-link {
  display: inline-flex;
  align-items: center;
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.popup-link:hover {
  color: #764ba2;
}

.popup-footer {
  padding: 1rem 2rem;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e0e0e0;
}

.popup-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #555;
}

.popup-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.popup-close-btn {
  padding: 0.5rem 1.5rem;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-close-btn:hover {
  background: #764ba2;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
  .popup-content {
    max-width: 95vw;
    max-height: 85vh;
  }
  
  .popup-image {
    max-height: 50vh;
  }
  
  .popup-text {
    padding: 1.5rem 1.25rem;
  }
  
  .popup-title {
    font-size: 1.3rem;
  }
  
  .popup-description {
    font-size: 0.95rem;
  }
  
  .popup-footer {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .popup-close-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .popup-content {
    max-width: 98vw;
    max-height: 80vh;
  }
  
  .popup-image {
    max-height: 40vh;
  }
  
  .popup-close {
    width: 35px;
    height: 35px;
    top: 10px;
    right: 10px;
    font-size: 1rem;
  }
  
  .popup-text {
    padding: 1rem;
  }
  
  .popup-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .popup-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .popup-footer {
    padding: 1rem;
  }
  
  .popup-checkbox {
    font-size: 0.85rem;
  }
}
