/* =============================================
   IBITA λ©?? ??΄μ? - style.css
   ============================================= */

/* ?? κΈ°λ³Έ λ¦¬μ ?? */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', 'λ§? κ³??', sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ?? κ³΅ν? inner (μ½?μΈ? ??: 1200px) ?? */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ?? ?Ήμ κ³΅ν? ???΄λ?Β·??λͺ? ?? */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #c0392b;
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}
.section-title.white { color: #fff; }
.section-title.small { font-size: 26px; text-align: left; margin-bottom: 20px; }

/* ============================================
   HEADER
   ============================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0,0,0,0);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 0 0px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { flex-shrink: 0; }
.logo img { height: 70px; width: auto; object-fit: contain; }

.gnb ul {
  display: flex;
  gap: 0;
}
.gnb ul li > a {
  display: block;
  padding: 3px 14px 0 14px;
  line-height: 70px;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  transition: color .2s;
  white-space: nowrap;
}
.gnb ul li > a:hover { color: #c0392b; }
.gnb ul li.sitemap-btn > a {
  background: #1a1a2e;
  color: #fff;
  border-radius: 4px;
  padding: 8px 16px;
  line-height: 1;
  margin-top: 22px;
  margin-left: 8px;
  font-size: 13px;
}
.gnb ul li.sitemap-btn > a:hover { background: #c0392b; }

/* ============================================
   HERO SLIDER  (??μ²? ?? 3000px κΈ°μ?)
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 750px;
  overflow: hidden;
}
.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 40, .72) 0%,
    rgba(10, 10, 40, .40) 50%,
    rgba(10, 10, 40, .10) 100%
  );
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;   /* ?¬λΌμ΄λ ?΄λ? μ½?μΈ? κΈ°μ? ?λΉ */
  height: 750px;
  margin: 0 auto;
  padding: 200px 0px 100px 0px;
  color: #fff;
}
.slide-content h2 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  margin-bottom: 20px;
}
.slide-sub {
  font-size: 17px;
  line-height: 1.7;
  opacity: .9;
  margin-bottom: 32px;
}
.slide-btn {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: background .25s, color .25s;
}
.slide-btn:hover { background: #fff; color: #1a1a2e; }

/* ?¬λΌμ΄λ ??? */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .3s, transform .3s;
  border: 2px solid rgba(255,255,255,.7);
}
.dot.active { background: #fff; transform: scale(1.2); }

/* ============================================
   ???? ?Όμ?  (??? 660px)
   ============================================ */
.section-exhibition {
  height: 500px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 50px 0;
  overflow: hidden;
}
.section-exhibition .inner { width: 100%; }

/* μΊ?¬μ ??? */
.expo-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.expo-arrow {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  color: #555;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
}
.expo-arrow:hover { border-color: #c0392b; color: #c0392b; }

.expo-carousel-viewport {
  overflow: hidden;
  flex: 1;
}
.expo-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

/* μΉ΄λ: 3κ°?? λ³΄μ΄κ?  (1200 - 72px(??΄νx2+gap) - 48px(gap 2κ°)) / 3 ? 360px */
.expo-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #fafafa;
  box-shadow: 0 2px 12px rgba(0,0,0,0);
  transition: transform .2s, box-shadow .2s;
}
.expo-card:hover { transform: translateY(0px); box-shadow: 0 8px 24px rgba(0,0,0,0); }
.expo-thumb {
  width: 100%;
  height: 174px;
  overflow: hidden;
  background: #fff;
}
.expo-title {
  padding: 14px 16px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #222;
}

/* ???? ??? */
.expo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.expo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background .3s;
}
.expo-dot.active { background: #1a1a2e; }

/* ============================================
   ???? ?λ³΄μ?  (??? 640px)
   ============================================ */
.section-video {
  height: 600px;
  background: linear-gradient(135deg, #0a3d6b 0%, #1565c0 100%);
  display: flex;
  align-items: center;
  padding: 0px 0;
  position: relative;
  overflow: hidden;
}
.section-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/video_bg_pattern.png') center/cover no-repeat;
  opacity: .07;
}
.section-video .section-label { color: #7ec8f8; }
.section-video .inner { position: relative; z-index: 1; width: 100%; }
.video-layout {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-top: 20px;
}
.video-thumb-wrap {
  flex: 0 0 460px;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

/* ?? λ§?? λ°©λ? 1?? κ·μ°?€λ©΄ ?? μ½?λ₯? ???©ν? λ³΄μΈμ */
.video-thumb-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  /* ?Όλ? λΈ?Όμ°μ??? ???λΈκ° λΉ?¨μ κ³?μ§?? ? κ°?? ????? */
  transform: scale(1.02); 
}
.video-thumb-link { display: block; width: 100%; height: 100%; position: relative; }
.video-thumb-link img { object-fit: cover; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(220, 30, 30, .92);
  color: #fff;
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  padding-left: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  transition: transform .2s, background .2s;
}
.video-thumb-link:hover .play-btn { transform: translate(-50%,-50%) scale(1.1); background: #e53935; }

.video-info { color: #fff; }
.video-scene { font-size: 16px; color: #7ec8f8; letter-spacing: 1px; margin-bottom: 10px; }
.video-event-title { font-size: 30px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.5px; }
.video-desc { font-size: 16px; line-height: 1.8; opacity: .85; margin-bottom: 28px;color:#fff }
.video-more-btn {
  display: inline-block;
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition: background .25s;
}
.video-more-btn:hover { background: rgba(255,255,255,.15); }

/* ============================================
   IBITA ?? & ?Έλ??λ³΄λ  (??? 670px)
   ============================================ */
.section-news {
  height: 550px;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  padding: 0px 0;
  overflow: hidden;
}
.news-grid {
  display: flex;
  gap: 0;
  align-items: flex-start;
  width: 100%;
}
.news-col { flex: 1; }
.news-divider {
  width: 1px;
  background: #ddd;
  align-self: stretch;
  margin: 0 50px;
}
.section-news .section-label { text-align: left; }

.news-list li {
  border-bottom: 1px solid #e5e5e5;
}
.news-list li a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.news-list li a:hover { color: #c0392b; }
.news-list li:first-child a { color: #c0392b; font-weight: 600; }

/* ============================================
   IBITA ?λ£??  (??? 545px)
   ============================================ */
.section-download {
  height: 545px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 50px 0;
  overflow: hidden;
}
.section-download .inner { width: 100%; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}
.dl-card {
  border-radius: 8px;
  overflow: hidden;
  background: #f5f6f8;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.13); }
.dl-card.accent { background: #F5F6F8; }
.dl-card.accent .dl-info h3,
.dl-card.accent .dl-info p { color: #333; }
.dl-card.accent .dl-more { color: #ffd1d1; }
.dl-thumb {
  height: 200px;
  overflow: hidden;
  background: #ddd;
}
.dl-info {
  padding: 20px 22px 22px;
}
.dl-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a2e;
}
.dl-info p {
  font-size: 16px;
  color: #777;
  margin-bottom: 16px;
  line-height: 1.5;
}
.dl-more {
  font-size: 13px;
  color: #c0392b;
  font-weight: 600;
  letter-spacing: .5px;
}
.dl-more:hover { text-decoration: underline; }

/* ============================================
   IBITA? λ¬Έμ?κΈ?  (??? 414px)
   ============================================ */
.section-contact {
  height:350px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  padding: 0px 0;
  overflow: hidden;
}
.section-contact .inner { width: 100%; }
.contact-sns {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
}
.sns-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .2s;
}
.sns-item:hover { transform: translateY(-6px); }
.sns-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
}
.sns-name {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}
.facebook  .sns-icon { background: #1877f2; }
.instagram .sns-icon {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  font-family: serif;
}
.youtube   .sns-icon { background: #ff0000; }
.kakao     .sns-icon { background: #fee500; color: #3a1d1d; font-size: 24px; }

/* ============================================
   FOOTER
   ============================================ */
.footer-partners {
  background: #f0f2f5;
  border-top: 1px solid #d4d4d4;
  padding: 24px 0;
}
.site-footer {
  border-top: 1px solid #d4d4d4;
  padding: 24px 0;
}
.footer-info {
  border-top: 1px solid #d4d4d4;
}
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.partner-logos li { height: 70px; }
.partner-logos li img { height: 100%; width: auto; object-fit: contain; }

.footer-info {
  background: #ffffff;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.footer-logo { flex-shrink: 0; }
.footer-logo img { height: 60px; width: auto; object-fit: contain; }

.footer-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-links li + li::before { content: '|'; margin: 0 12px; color: #444; }
.footer-links li a {
  font-size: 14px;
  color: #444;
  transition: color .2s;
}
.footer-links li a:hover { color: #444; }

.footer-addr {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
}

/* ============================================
   λ°?? (1200px ?΄ν)
   ============================================ */
@media (max-width: 1240px) {
  .inner { padding: 0 24px; }
  .gnb ul li > a { padding: 0 10px; font-size: 13px; }
}

@media (max-width: 900px) {
  .hero-slider { height: 380px; }
  .slide-content h2 { font-size: 34px; }
  .slide-content { padding: 60px 40px; }

  .section-exhibition { height: auto; min-height: 520px; }
  .expo-card { flex: 0 0 calc((100% - 24px) / 2); }

  .video-layout { flex-direction: column; gap: 30px; }
  .video-thumb-wrap { flex: none; width: 100%; height: 240px; }
  .section-video { height: auto; min-height: 640px; }

  .section-news { height: auto; min-height: 550px; }
  .news-grid { flex-direction: column; }
  .news-divider { width: 100%; height: 1px; margin: 30px 0; }

  .section-download { height: auto; min-height: 545px; }
  .download-grid { grid-template-columns: 1fr; }

  .section-contact { height: auto; min-height: 414px; }
  .contact-sns { flex-wrap: wrap; gap: 20px; }

  .gnb { display: none; } /* λͺ¨λ??? λ©?΄λ λ³? κ΅¬ν ?? */
}
