/* Alter Pictures — 예전 alterpictures.co.kr 화면을 그대로 옮긴 스타일 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Lato, "Noto Sans", "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #121212;
  background: #fff url(../assets/img/bg-pattern.jpg) center center / cover no-repeat fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; position: relative; }
section[id] { scroll-margin-top: 70px; }

/* 메뉴 */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0 14px; background: transparent; font-size: 13px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 37px; width: auto; }
.menu { display: flex; align-items: center; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 0 15px; line-height: 50px; color: #000; letter-spacing: 1px; font-size: 13px; }
.menu > li > a:hover, .menu > li > a.is-current { color: #8a8a8a; }
.caret { display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: middle; }
.sub { position: absolute; top: 100%; left: 0; min-width: 170px; padding: 6px 0; background: #fff; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 6px 12px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 8px 20px; font-size: 13px; color: #000; white-space: nowrap; }
.sub a:hover { background: #f5f5f5; }
.nav-toggle { display: none; width: 44px; height: 34px; padding: 9px 10px; background: none; border: 0; }
.nav-toggle span { display: block; height: 2px; background: #000; border-radius: 1px; }
.nav-toggle span + span { margin-top: 4px; }

/* 슬라이드 공통 */
.carousel { position: relative; }
.slides { position: relative; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease-in-out; pointer-events: none; }
.slide.is-active { position: relative; opacity: 1; pointer-events: auto; }
.slide img { width: 100%; }
.arrow { position: absolute; top: 50%; width: 44px; height: 60px; margin-top: -30px; background: none; border: 0; opacity: .75; z-index: 2; }
.arrow:hover { opacity: 1; }
.arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; border-left: 1px solid #555; border-bottom: 1px solid #555; }
.arrow.prev::before { transform: translate(-25%, -50%) rotate(45deg); }
.arrow.next::before { transform: translate(-75%, -50%) rotate(-135deg); }
.dots { position: absolute; left: 0; right: 0; display: flex; justify-content: center; gap: 16px; z-index: 2; }
.dots li { width: 5px; height: 5px; border-radius: 50%; background: #bdbdbd; cursor: pointer; padding: 0; }
.dots li.is-active { background: #111; }

.hero { margin-top: 80px; }
.hero .slide img { aspect-ratio: 1920 / 913; object-fit: cover; }
.hero .arrow { width: 15%; height: 100%; top: 0; margin: 0; opacity: 0; }
.hero .arrow.prev { left: 0; } .hero .arrow.next { right: 0; }
.hero .dots { bottom: 24px; gap: 12px; }
.hero .dots li { width: 9px; height: 9px; background: transparent; border: 1px solid #fff; }
.hero .dots li.is-active { background: #fff; }

.showcase .container { padding: 0 45px; }
.showcase .slide img { aspect-ratio: 1920 / 757; }
.showcase .arrow.prev { left: 15px; } .showcase .arrow.next { right: 15px; }
.showcase .dots { bottom: -10px; }

/* 제목 구역 */
.head { text-align: center; padding: 16px 0 70px; }
.head .container { padding-top: 24px; }
.head-main { padding: 0; }
.head-main .container { padding-top: 62px; padding-bottom: 14px; }
.head-text { padding: 20px 0; }
.head-text .container { padding-top: 0; }
.head-tight { padding-bottom: 2px; }
.head-tight .container { padding-bottom: 49px; }
.head-60 { padding-bottom: 60px; }
.head-contact { padding: 80px 0 70px; }
.title-xl { font-size: 35px; line-height: 1.5; font-weight: 700; color: #121212; }
.title-sub { margin-top: 18px; font-size: 18px; font-weight: 700; color: #000; }
.title { font-size: 30px; line-height: 1.5; font-weight: 700; color: #000; }
.lead { margin-top: 26px; font-size: 15px; line-height: 1.5; color: #000; }
.head-text .lead { margin-top: 20px; color: #121212; }

.divider { padding: 20px 0; }
.divider hr { margin: 20px 0; border: 0; height: 1px; background: #e2e2e2; }
.divider.fade hr { height: 2px; background: linear-gradient(to right, rgba(127,127,127,0), rgba(127,127,127,.75), rgba(127,127,127,0)); }

/* DI 영상 */
.video-single { padding: 20px 0 76px; }
.video-frame { position: relative; max-width: 523px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 기업홍보 영상 */
.videos { padding: 20px 0 100px; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 30px; }
.video-grid a { display: block; }
.thumb { display: block; position: relative; aspect-ratio: 204 / 112; background: #cfcfcf center / cover no-repeat; }
.thumb::after { content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255,255,255,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 58'%3E%3Cpath fill='%23555' d='M41.25 29.43l-17.5 10.13c-.33.2-.75-.04-.75-.43V18.87c0-.39.42-.63.75-.43l17.5 10.13c.34.19.34.67 0 .86z'/%3E%3C/svg%3E") center / 100% no-repeat; transition: transform .2s; }
.video-grid a:hover .thumb::after { transform: scale(1.15); }
.cap { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: #333; }

/* 상영실 */
.pair { padding: 20px 0; }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pair-grid img { width: 100%; }

/* ABOUT */
.about { margin-top: 20px; padding: 100px 0; min-height: 576px; text-align: center; background: #363d3d url(../assets/img/about-bg.jpg) center center / cover no-repeat fixed; display: flex; align-items: flex-start; }
.about .container { padding-top: 60px; }
.about .lead { margin-top: 40px; }

/* CONTACT */
.contact { padding: 0 0 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.contact-info { font-family: "Open Sans", "Noto Sans KR", sans-serif; color: #000; padding-top: 8px; }
.form-name { font-size: 14px; margin-bottom: 76px; }
.contact-info dt { font-size: 15px; font-weight: 700; line-height: 1.5; }
.contact-info dd { font-size: 13px; line-height: 1.5; margin-bottom: 30px; }
.contact-info dd.addr { font-size: 14px; }
.form { font-family: "Open Sans", "Noto Sans KR", sans-serif; }
.field { display: block; margin-bottom: 28px; }
.label { display: block; margin-bottom: 8px; font-size: 13px; color: #808080; letter-spacing: -.2px; }
.hint { display: block; margin: -2px 0 8px; font-size: 12px; font-weight: 300; color: #878787; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  display: block; width: 100%; min-height: 40px; padding: 8px 12px; font: inherit; font-size: 13px; color: #333;
  background: #fff; border: 1px solid #e3e3e3; border-radius: 3px; outline: none; transition: border-color .15s;
}
.form select { appearance: none; -webkit-appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center no-repeat; }
.form textarea { resize: vertical; min-height: 150px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: #888; }
.form .is-invalid { border-color: #d9534f !important; }
.email-row { display: flex; align-items: center; gap: 8px; }
.email-row input { flex: 1 1 0; min-width: 0; }
.email-row select { flex: 0 0 150px; width: 150px; }
.email-row .at { flex: none; color: #555; }
.email-row input[readonly] { background: #f4f4f4; color: #555; }
@media (max-width: 767px) {
  .email-row { flex-wrap: wrap; }
  .email-row select { flex: 1 1 100%; width: 100%; }
}
.privacy { margin-bottom: 10px; padding: 12px; font-size: 12px; line-height: 1.6; color: #666; background: #fff; border: 1px solid #e3e3e3; border-radius: 3px; }
.check { display: flex; align-items: center; gap: 8px; font-family: "Noto Sans KR", sans-serif; font-size: 12px; color: #121212; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 20px; margin-bottom: 10px; font-size: 13px; text-align: center; color: #d9534f; }
.form-msg.ok { color: #2e7d32; }
.form-actions { text-align: center; }
.btn { min-width: 122px; padding: 11px 30px; font-size: 12px; color: #fff; background: #000; border: 1px solid #000; border-radius: 0; transition: .15s; }
.btn:hover { background: #333; }
.btn[disabled] { opacity: .5; cursor: default; }

.map iframe { display: block; width: 100%; height: 400px; border: 0; }
.spacer { height: 100px; }

.footer { padding: 23px 0; background: #000; color: #fff; font-size: 11px; letter-spacing: 1.3px; line-height: 1.5; }

.to-top { position: fixed; right: 30px; bottom: 30px; width: 34px; height: 34px; background: rgba(0,0,0,.12); border: 0; border-radius: 4px; opacity: 0; visibility: hidden; transition: .2s; z-index: 90; }
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top::before { content: ""; position: absolute; top: 14px; left: 12px; width: 9px; height: 9px; border-left: 1px solid #fff; border-top: 1px solid #fff; transform: rotate(45deg); }

/* 영상 크게 보기 */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.9); }
.lightbox[hidden] { display: none; }
.lb-frame { width: min(1000px, 100%); aspect-ratio: 16 / 9; background: #000; }
.lb-frame iframe { width: 100%; height: 100%; border: 0; }
.lb-close { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px; background: none; border: 0; }
.lb-close::before, .lb-close::after { content: ""; position: absolute; top: 19px; left: 6px; width: 28px; height: 1.5px; background: #fff; }
.lb-close::before { transform: rotate(45deg); } .lb-close::after { transform: rotate(-45deg); }

/* 태블릿 */
@media (max-width: 1199px) { .container { max-width: 970px; } .video-grid { gap: 40px 20px; } }
@media (max-width: 991px) {
  .container { max-width: 750px; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .title-xl { font-size: 28px; } .title { font-size: 24px; }
  body, .about { background-attachment: scroll; }
}
/* 휴대폰 */
@media (max-width: 767px) {
  .nav { padding: 8px 0; background: rgba(255,255,255,.92); }
  .brand img { height: 30px; }
  .nav-toggle { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; padding: 6px 0; flex-direction: column; align-items: stretch; background: #fff; border-top: 1px solid #eee; box-shadow: 0 8px 12px rgba(0,0,0,.1); max-height: calc(100vh - 60px); overflow: auto; }
  .menu.is-open { display: flex; }
  .menu > li > a { line-height: 44px; padding: 0 20px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 6px; }
  .sub a { padding: 9px 36px; color: #555; }
  section[id] { scroll-margin-top: 56px; }
  .hero { margin-top: 50px; }
  .head { padding: 10px 0 36px; } .head .container { padding-top: 24px; }
  .head-main .container { padding-top: 40px; }
  .head-contact { padding: 50px 0 36px; }
  .title-xl { font-size: 24px; } .title-sub { font-size: 16px; margin-top: 10px; }
  .title { font-size: 21px; } .lead { font-size: 14px; margin-top: 16px; }
  .lead br { display: none; }
  .showcase .container { padding: 0 15px; }
  .showcase .arrow { width: 30px; } .showcase .arrow.prev { left: 0; } .showcase .arrow.next { right: 0; }
  .showcase .arrow::before { width: 12px; height: 12px; }
  .showcase .dots { bottom: -16px; }
  .divider { padding: 10px 0; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .videos { padding-bottom: 50px; }
  .pair-grid { grid-template-columns: 1fr; gap: 14px; }
  .about { min-height: 360px; padding: 60px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-name { margin-bottom: 24px; }
  .contact-info dd { margin-bottom: 18px; }
  .form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { font-size: 16px; }
  .map iframe { height: 300px; }
  .spacer { height: 50px; }
  .footer { text-align: center; letter-spacing: .8px; }
  .to-top { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
