/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', sans-serif;
  background-color: #F1F1ED;
  color: #37210D;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Korean fonts: Libre Baskerville (serif titles) + Pretendard (sans-serif body) */
html[lang="ko"] .section-title,
html[lang="ko"] .events-title,
html[lang="ko"] .featured-event-info h2,
html[lang="ko"] .logo,
html[lang="ko"] .footer-logo {
  font-family: 'Libre Baskerville', serif;
}

html[lang="ko"] .team-subtitle,
html[lang="ko"] .events-subtitle,
html[lang="ko"] .footer-tagline,
html[lang="ko"] .belief-card p,
html[lang="ko"] .team-card p,
html[lang="ko"] .event-location,
html[lang="ko"] .belief-card h3,
html[lang="ko"] .team-card h3,
html[lang="ko"] .event-info h3,
html[lang="ko"] .nav-link,
html[lang="ko"] .event-date,
html[lang="ko"] .featured-event-badge,
html[lang="ko"] .featured-event-date,
html[lang="ko"] .featured-event-location,
html[lang="ko"] .events-section-title,
html[lang="ko"] .lang-select {
  font-family: 'Pretendard', sans-serif;
}

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

img {
  max-width: 100%;
  display: block;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background-color: rgb(241, 241, 237);
}

.logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  font-weight: 700;
  color: #37210D;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #37210D;
  text-decoration: none;
}

.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* === Language Switcher === */
.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lang-select {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #37210D;
  width: 100px;
  background-color: transparent;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%232B2220' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 22px;
}

.lang-select:hover {
  background-color: rgba(55, 33, 13, 0.05);  /* #37210D · 5% */
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%232B2220' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.lang-select:focus {
  outline: none;
  border-color: #37210D;
}

/* === Hero === */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 120px 32px 80px;
}

.hero-text {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #37210d;
  opacity: 0.8;
  line-height: 1.4;
}

/* === Hero Slider === */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1376 / 774;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-slider-track::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-video {
  width: 100%;
  height: 100%;
  background-color: #000;
}

.hero-slide-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background-color: rgba(255, 255, 255, 0.85);
  color: #37210D;
  font-family: 'Libre Baskerville', serif;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  transition: background-color 0.2s, transform 0.2s;
}

.hero-slider-arrow:hover {
  background-color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.hero-slider-arrow:focus-visible {
  outline: 2px solid #37210D;
  outline-offset: 2px;
}

.hero-slider-arrow--prev { left: 16px; }
.hero-slider-arrow--next { right: 16px; }

.hero-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s, width 0.2s;
}

.hero-slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.hero-slider-dot.is-active {
  background-color: #fff;
  width: 24px;
}

/* === Beliefs === */
.beliefs {
  padding: 80px 120px;
}

.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.44px;
  color: #37210d;
  margin-bottom: 56px;
}

.section-title.center {
  text-align: center;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.belief-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.belief-card h3 {
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #37210d;
}

.belief-card p {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  color: #37210d;
  opacity: 0.8;
  line-height: 1.6;
}

/* === Team === */
.team {
  padding: 80px 120px;
}

.team .section-title {
  margin-bottom: 16px;
}

.team-subtitle {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: #37210d;
  margin-bottom: 56px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  text-align: left;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-card-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-photo {
  width: 100%;
  height: 200px;
  background-color: #D9D5CD;
  border-radius: 8px;
  object-fit: cover;
}

.team-card h3 {
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  color: #37210d;
}

.team-card p {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #37210d;
  opacity: 0.8;
  line-height: 1.4;
}

.linkedin-btn {
  display: inline-block;
  padding: 6px 10px;
  background-color: rgba(55, 33, 13, 0.05);
  color: #37210D;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 4px;
  width: fit-content;
  transition: background-color 0.2s;
}

.linkedin-btn:hover {
  background-color: rgba(55, 33, 13, 0.1);
}

/* === Events Page === */
.events {
  padding: 128px 120px 60px;
}

.events-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.44px;
  color: #37210d;
  margin-bottom: 16px;
}

.events-subtitle {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: #37210d;
  margin-bottom: 56px;
}

/* === Featured Event === */
.featured-event {
  display: flex;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.featured-event:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.featured-event-image {
  flex: 1;
  min-height: 280px;
  overflow: hidden;
}

.featured-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-event-info {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.featured-event-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  background-color: #C45C26;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
}

.featured-event-info h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 24px;
  font-weight: 700;
  color: #37210D;
}

.featured-event-date {
  font-size: 14px;
  color: #C45C26;
  font-weight: 600;
}

.featured-event-location {
  font-size: 13px;
  color: #8C8A87;
  line-height: 1.4;
}

.events-section-title {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #8C8A87;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.event-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.event-image {
  width: 100%;
  background-color: #F1F1ED;
  aspect-ratio: 432 / 243;
  border-radius: 8px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.event-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #37210d;
}

.event-info h3 {
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  color: #37210d;
}

.event-date {
  font-family: 'Pretendard', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #37210d;
}

.event-location {
  font-family: 'Pretendard', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #37210d;
  opacity: 0.6;
  margin-top: -4px;
}

/* === Community CTA === */
.community-cta {
  padding: 80px 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-cta .section-title {
  margin-bottom: 16px;
}

.community-cta-desc {
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #37210D;
  opacity: 0.8;
  max-width: 520px;
  margin: 0 0 32px;
}

.kakao-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background-color: #FEE500;
  color: #181600;
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(254, 229, 0, 0.25);
}

.kakao-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(254, 229, 0, 0.4);
}

.kakao-btn:focus-visible {
  outline: 2px solid #37210D;
  outline-offset: 4px;
}

.kakao-btn-icon {
  flex-shrink: 0;
}

/* === Footer === */
.footer {
  border-top: 1px solid #D4CFC7;
  padding: 32px 48px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  font-weight: 700;
  color: #37210D;
}

.footer-tagline {
  font-size: 12px;
  color: #8C8A87;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #37210D;
  transition: background-color 0.2s, color 0.2s;
}

.footer-social-link:hover {
  background-color: rgba(55, 33, 13, 0.05);
}

.footer-social-link:focus-visible {
  outline: 2px solid #37210D;
  outline-offset: 2px;
}

.footer-social-link svg {
  display: block;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .beliefs {
    padding: 60px 48px;
  }

  .team {
    padding: 60px 48px;
  }

  .community-cta {
    padding: 60px 48px;
  }

  .events {
    padding: 120px 48px 40px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 24px;
  }

  .hero {
    padding: 80px 24px 48px;
  }

  .hero-slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .hero-slider-arrow--prev { left: 8px; }
  .hero-slider-arrow--next { right: 8px; }

  .beliefs {
    padding: 48px 24px;
  }

  .beliefs-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team {
    padding: 48px 24px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .community-cta {
    padding: 48px 24px;
  }

  .events {
    padding: 120px 24px 32px;
  }

  .featured-event {
    flex-direction: column;
  }

  .featured-event-image {
    min-height: 200px;
  }

  .featured-event-info {
    padding: 20px;
  }

  .featured-event-info h2 {
    font-size: 20px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer {
    padding: 24px;
  }
}
