/* ============================================================
   보드웰이엔에이 - Main Stylesheet
   Dark Theme with Cyan Accents
   ============================================================ */

/* === Local Fonts === */
@font-face { font-family: 'Pretendard'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Pretendard-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Pretendard-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/Pretendard-Bold.woff2') format('woff2'); }

/* === Colors === */
:root {
  --color-dark: #1a2332;
  --color-darker: #0a0a0a;
  --color-accent: #00ffff;
  --color-text: #ffffff;
  --color-text-light: #cccccc;
  --color-border: #333333;
}

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #222; background: #fff; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* === Layout === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }

/* Section Header Style */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 15px;
  font-weight: 600;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  transition: background .3s, box-shadow .3s;
  height: 70px;
}
.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 50px;
}
.logo img {
  height: 100%;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  gap: 0;
  align-items: center;
  flex: 1;
  justify-content: center;
  list-style: none;
}
.nav > li {
  position: relative;
}
.nav > li > a {
  display: block;
  padding: 0 22px;
  line-height: 70px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .3s;
  white-space: nowrap;
}
.nav > li > a:hover,
.nav > li.active > a {
  color: var(--color-accent);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.95);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  padding: 12px 0;
  margin-top: 0;
  border-top: 2px solid var(--color-accent);
  list-style: none;
}
.nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li {
  list-style: none;
}
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: #999999;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all .2s;
  font-weight: 500;
}
.dropdown a:hover {
  color: var(--color-accent);
  background: rgba(0, 255, 255, 0.05);
  padding-left: 25px;
}

/* Consultation Button */
.consult-btn {
  background: linear-gradient(135deg, #00cccc 0%, #00ffff 100%);
  color: #000;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all .3s;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}
.consult-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.3);
  color: #000;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 10px 15px;
  cursor: pointer;
  background: none;
  border: none;
}

/* === Hero Slider (Swiper) === */
.hero-section {
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}
.hero-slider {
  height: 100vh;
  width: 100%;
  position: relative;
}
.swiper-slide.hero-slide {
  position: relative;
  overflow: hidden;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
.hero-caption {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
  max-width: 600px;
}
.hero-caption h2 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  color: var(--color-accent);
  margin-bottom: 15px;
}
.hero-caption p {
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
  color: rgba(255, 255, 255, 0.6);
  background: none;
  width: 50px;
  height: 50px;
  font-weight: 100;
  transition: all .3s;
  z-index: 10;
}
.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: var(--color-accent);
}
.swiper-button-prev:hover:after,
.swiper-button-next:hover:after {
  color: var(--color-accent);
}

.hero-button-prev,
.hero-button-next {
  top: 50% !important;
  transform: translateY(-50%);
}
.hero-button-prev {
  left: 30px !important;
}
.hero-button-next {
  right: 30px !important;
}

/* Hero Thumbnails */
.hero-thumbnails {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}
.hero-thumb {
  width: 80px;
  height: 60px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  transition: all .3s;
  opacity: 0.6;
}
.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-thumb:hover {
  opacity: 1;
  border-color: var(--color-accent);
}

/* === Marquee Section === */
.marquee-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, #2c3e50 100%);
  padding: 60px 0;
  overflow: hidden;
  color: #fff;
}
.marquee-header {
  text-align: center;
  margin-bottom: 40px;
}
.marquee-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
  font-weight: 600;
}
.marquee-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: scroll 30s linear infinite;
  padding: 20px 0;
  will-change: transform;
}
.marquee-logo {
  height: 50px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity .3s;
  flex-shrink: 0;
}
.marquee-logo:hover {
  opacity: 1;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* === Supported Works Section === */
.section-supported-works {
  background: #fff;
  padding: 80px 0;
}
.supported-works-slider {
  position: relative;
}
.supported-work-slide {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.supported-work-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
  opacity: 0;
  transition: opacity .3s;
}
.supported-work-slide:hover .work-overlay {
  opacity: 1;
}
.work-text {
  color: #fff;
  text-align: right;
}
.work-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.work-desc {
  font-size: 1rem;
  opacity: 0.9;
}

/* === Director Section === */
.section-directors {
  background: #f5f5f5;
  padding: 80px 0;
}
.slick-director-carousel {
  position: relative;
}
.director-slide {
  display: flex;
  gap: 60px;
  align-items: stretch;
  padding: 40px 0;
}
.director-images {
  flex: 1;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.director-images img {
  width: calc(50% - 10px);
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.director-bio {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.director-bio h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 2px solid #333;
  padding-bottom: 15px;
}
.director-role {
  color: var(--color-accent);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}
.director-text {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Slick Pagination */
.slick-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.slick-dots li {
  list-style: none;
}
.slick-dots button {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #ddd;
  color: transparent;
  border: none;
  cursor: pointer;
  font-size: 0;
  transition: all .3s;
}
.slick-dots button:before {
  content: '';
}
.slick-dots li.slick-active button {
  background: #222;
  font-weight: 700;
}

/* === Our Works Section === */
.section-our-works {
  background: #fff;
  padding: 80px 0;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 8px;
  cursor: pointer;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.work-card:hover img {
  transform: scale(1.08);
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
}
.work-card:hover .card-overlay {
  opacity: 1;
}
.card-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
  font-weight: 700;
}
.card-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 700;
}
.card-link {
  display: inline-block;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all .3s;
  width: fit-content;
}
.card-link:hover {
  background: var(--color-accent);
  color: #000;
}

/* === Participated Works Section === */
.section-participated {
  background: #0a0a0a;
  color: #fff;
  padding: 80px 0;
}
.participated-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.participated-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: 6px;
  cursor: pointer;
}
.participated-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.participated-item:hover img {
  transform: scale(1.1);
}
.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s;
}
.participated-item:hover .item-overlay {
  opacity: 1;
}
.item-overlay p {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* === Casting Board Section === */
.section-casting {
  background: var(--color-darker);
  color: #fff;
  padding: 80px 0;
}
.casting-carousel {
  position: relative;
  margin-top: 50px;
}
.casting-slide {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.casting-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Footer === */
.footer {
  background: #111;
  color: #999;
  padding: 80px 0 40px;
  font-size: 0.85rem;
}
.footer-content {
  text-align: center;
}
.footer-logo {
  margin-bottom: 40px;
}
.footer-logo img {
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  filter: invert(1) brightness(1.2);
}
.footer-links-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  border-bottom: 1px solid #333;
  padding-bottom: 40px;
}
.footer-links-row a {
  color: #999;
  font-size: 0.9rem;
  transition: color .3s;
}
.footer-links-row a:hover {
  color: var(--color-accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
  text-align: left;
}
.footer-info h4,
.footer-service h4 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-info p,
.footer-service p {
  line-height: 1.8;
  margin-bottom: 5px;
  font-size: 0.85rem;
}
.footer-service .phone {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 15px;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: all .3s;
}
.footer-social a:hover {
  background: var(--color-accent);
  color: #000;
}
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  color: #666;
  font-size: 0.85rem;
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.active {
  display: flex;
}
.lightbox img,
.lightbox iframe {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  transition: transform .3s;
}
.lightbox-close:hover {
  transform: scale(1.2);
}

/* === Utility Classes === */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.more-link {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  transition: all .3s;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 5px;
}
.more-link:hover {
  transform: translateX(5px);
}

/* === Responsive Design === */
@media (max-width: 1199px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  .participated-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .nav > li > a {
    padding: 0 15px;
    font-size: 0.85rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .header-inner {
    padding: 0 15px;
  }

  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 30px 20px;
    overflow-y: auto;
    justify-content: flex-start;
    gap: 10px;
  }
  .nav.open {
    display: flex;
  }
  .nav > li {
    position: relative;
    width: 100%;
  }
  .nav > li > a {
    padding: 0;
    line-height: 50px;
    font-size: 1rem;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    padding-left: 20px;
    border: none;
    margin-top: 0;
  }
  .dropdown a {
    line-height: 40px;
    padding: 5px 0 5px 20px;
  }
  .menu-toggle {
    display: block;
  }
  .consult-btn {
    display: none;
  }

  .hero-slider {
    height: 60vh;
  }
  .hero-caption h2 {
    font-size: 2.2rem;
  }
  .hero-caption p {
    font-size: 1rem;
  }
  .hero-button-prev,
  .hero-button-next {
    display: none;
  }
  .hero-thumbnails {
    bottom: 20px;
    gap: 10px;
  }
  .hero-thumb {
    width: 60px;
    height: 45px;
  }

  .section {
    padding: 50px 0;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .marquee-header h2 {
    font-size: 1.8rem;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .participated-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .director-slide {
    flex-direction: column;
    gap: 30px;
  }
  .director-images img {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links-row {
    gap: 20px;
    font-size: 0.8rem;
  }
}

@media (max-width: 767px) {
  .header {
    height: 60px;
  }
  .logo {
    height: 40px;
  }
  .logo img {
    width: 140px;
  }

  .hero-slider {
    height: 50vh;
    min-height: 300px;
  }
  .hero-caption {
    bottom: 10%;
  }
  .hero-caption h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
  .hero-caption p {
    font-size: 0.9rem;
  }
  .hero-thumbnails {
    gap: 8px;
  }
  .hero-thumb {
    width: 50px;
    height: 38px;
  }

  .marquee-track {
    gap: 40px;
  }
  .marquee-logo {
    height: 35px;
  }

  .section {
    padding: 40px 0;
  }
  .section-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }
  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .marquee-header h2 {
    font-size: 1.5rem;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .participated-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer {
    padding: 50px 0 30px;
  }
  .footer-logo {
    margin-bottom: 30px;
  }
  .footer-logo img {
    max-width: 150px;
  }
  .footer-links-row {
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 30px;
  }
  .footer-info h4,
  .footer-service h4 {
    font-size: 0.9rem;
  }
  .footer-service .phone {
    font-size: 1.2rem;
  }
  .footer-social {
    gap: 15px;
  }
  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .logo img {
    width: 120px;
  }

  .hero-slider {
    height: 45vh;
  }
  .hero-caption h2 {
    font-size: 1.3rem;
  }
  .hero-caption p {
    font-size: 0.85rem;
  }

  .section {
    padding: 30px 0;
  }
  .section-label {
    font-size: 0.65rem;
  }
  .section-header h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .marquee-header h2 {
    font-size: 1.3rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }
  .participated-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .supported-work-slide {
    aspect-ratio: 4/3;
  }
  .casting-slide {
    aspect-ratio: 4/3;
  }

  .footer {
    padding: 30px 0 20px;
    font-size: 0.8rem;
  }
  .footer-logo img {
    max-width: 130px;
  }
  .footer-links-row {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
  .footer-social {
    gap: 12px;
    margin-bottom: 30px;
  }
  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}
