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

:root {
  --primary: #7b5ea7;
  --secondary: #9b7ec7;
  --accent: #d4a853;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-light: #f5f5f5;
  --bg-card: #ffffff;
  --bg-section: #f5f5f5;
}

[data-theme="dark"] {
  --dark: #f5f5f5;
  --light: #1a1a1a;
  --white: #2d2d2d;
  --text: #f5f5f5;
  --text-light: #1a1a1a;
  --bg-card: #2d2d2d;
  --bg-section: #1a1a1a;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
  transition: background 0.3s, color 0.3s;
}

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

.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.3s;
}

.theme-toggle {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 20px;
  transition: all 0.3s;
}

.theme-toggle:hover {
  background: var(--secondary);
}

.btn-small {
  padding: 4px 14px;
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-small:hover {
  background: #e6b864;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary);
}

.hero {
  height: 45vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%237b5ea7" width="1200" height="800"/><circle cx="200" cy="600" r="150" fill="%239b7ec7"/><circle cx="1000" cy="400" r="200" fill="%239b7ec7"/><circle cx="600" cy="200" r="100" fill="%23ab8ec7"/></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 20px;
}

.hero-text {
  text-align: center;
}

.hero-content h1 {
  font-size: 7rem;
  margin: 0;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin: 10px 0;
  opacity: 0.9;
}

.sub-text {
  color: #ff69b4 !important;
  font-size: 2.2rem !important;
  margin: 10px 0 !important;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #e6b864;
  transform: translateY(-2px);
}

.section {
  padding: 80px 0;
}

.bg-light {
  background: var(--bg-section);
}

.bg-dark {
  background: var(--dark);
  color: var(--text-light);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--primary);
}

.bg-dark .section-title {
  color: var(--accent);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.about-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-card);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, background 0.3s;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.schedule-date {
  background: var(--primary);
  color: var(--white);
  padding: 20px;
  text-align: center;
  min-width: 100px;
}

.schedule-date .month {
  display: block;
  font-size: 0.9rem;
}

.schedule-date .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
}

.schedule-info {
  padding: 20px 30px;
}

.schedule-info h3 {
  margin-bottom: 8px;
  color: var(--text);
}

.schedule-info p {
  color: #666;
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: transform 0.3s;
}

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

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
}

.footer {
  background: #111;
  color: #888;
  text-align: center;
  padding: 30px 0;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .nav {
    display: none;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .schedule-item {
    flex-direction: column;
    text-align: center;
  }
  
  .schedule-date {
    width: 100%;
    padding: 15px;
  }
}
