/* ===== Director Section - Minimal & Sophisticated ===== */
.section-director {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  background: #ffffff;
  color: #0f172a;
  overflow: hidden;
}

.director-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Hero Section - 원장님 소개 ===== */
.director-hero {
  position: relative;
  min-height: var(--director-photo-height-pc, 500px);
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 0;
  overflow: hidden;
  padding: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  border-bottom: none;
}

.director-hero-content {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  z-index: 2;
  min-height: var(--director-photo-height-pc, 500px);
}

.director-hero-image {
  position: relative;
  width: 100%;
  height: var(--director-photo-height-pc, 500px);
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.director-hero-image:hover {
  background-color: #f8fafc;
  border-right-color: #cbd5e1;
}

.director-hero-image .director-photo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.director-hero-image:hover .director-photo {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.director-hero-overlay {
  display: none;
}

.director-hero-text {
  position: relative;
  z-index: 3;
  padding: 80px min(5vw, 80px) 80px min(5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--director-photo-height-pc, 500px);
  background: #ffffff;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.director-hero-text:hover {
  background-color: #f8fafc;
}

.director-intro-badge {
  display: none;
}

.director-hero-text .director-name {
  font-size: clamp(40px, 5.5vw, 52px);
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  text-align: center;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.director-hero-text:hover .director-name {
  color: #1e293b;
}

.director-hero-text .director-greeting {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  margin: 0 0 32px;
  color: #64748b;
  font-style: normal;
  text-align: center;
}

.director-hero-text .intro-text {
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.85;
  color: #475569;
  max-width: 100%;
  letter-spacing: -0.01em;
  text-align: center;
}

/* ===== School Photo - 와이드 ===== */
.school-photo-section {
  margin: 0;
  padding: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  position: relative;
  margin-bottom: 0;
  margin-top: 0;
  border-top: none;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.school-photo {
  width: 100%;
  height: var(--school-photo-height-pc, 400px);
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.school-photo-section:hover .school-photo {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ===== Content Grid - 비대칭 2컬럼 ===== */
.director-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 0;
  padding: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  border-top: 1px solid #e2e8f0;
}

.content-card {
  position: relative;
  padding: 80px min(5vw, 80px);
  background: #ffffff;
  border-radius: 0;
  border: none;
  border-top: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-card:first-child {
  border-left: none;
  padding-left: min(5vw, 80px);
  padding-right: min(5vw, 80px);
}

.content-card:last-child {
  padding-right: min(5vw, 80px);
  padding-left: min(5vw, 80px);
}

.content-card:hover {
  border-top-color: #0f172a;
  border-left-color: #0f172a;
  background-color: #f8fafc;
}

.content-card:last-child:hover {
  border-right: 1px solid #0f172a;
}

.card-number {
  display: none;
}

.history-card {
  background: #ffffff;
}

.philosophy-card {
  background: #ffffff;
}

.history-title,
.philosophy-title {
  font-size: clamp(28px, 4vw, 32px);
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.25;
  color: #0f172a;
  position: relative;
  letter-spacing: -0.02em;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.content-card:hover .history-title,
.content-card:hover .philosophy-title {
  color: #1e293b;
}

.history-text,
.philosophy-text {
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.85;
  color: #475569;
  position: relative;
  letter-spacing: -0.01em;
  text-align: center;
}

/* ===== DTS Section ===== */
.dts-section {
  padding: 0 min(5vw, 80px) 80px;
  margin-bottom: 0;
  border-top: 1px solid #e2e8f0;
  padding-top: 80px;
}

.dts-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.dts-number {
  display: none;
}

.dts-title {
  font-size: clamp(28px, 4vw, 32px);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: #0f172a;
  max-width: 100%;
  letter-spacing: -0.02em;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.dts-section:hover .dts-title {
  color: #1e293b;
}

.dts-slider {
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  margin-top: 0;
  margin-bottom: 40px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  display: none;
}

.dts-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.dts-slide-item {
  flex: 0 0 100%;
  position: relative;
  width: 100%;
  height: var(--dts-slider-height-pc, 400px);
}

.dts-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.dts-slider-prev,
.dts-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 24px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

.dts-slider-prev:hover,
.dts-slider-next:hover {
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-50%) scale(1.05);
  box-shadow: none;
  border-color: #cbd5e1;
}

.dts-slider-prev {
  left: 30px;
}

.dts-slider-next {
  right: 30px;
}

.dts-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.dts-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0;
}

.dts-dot.active {
  background: #ffffff;
  width: 32px;
  border-radius: 0;
  border-color: #ffffff;
}

.dts-content {
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.dts-description {
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.85;
  max-width: 100%;
  margin: 0 auto 32px;
  color: #475569;
  letter-spacing: -0.01em;
  text-align: center;
}

.dts-cta {
  font-size: clamp(18px, 2.3vw, 21px);
  font-weight: 400;
  margin: 0;
  color: #475569;
  padding: 0;
  background: transparent;
  border-radius: 0;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.85;
  letter-spacing: -0.01em;
}

.dts-cta a {
  color: #0f172a;
  text-decoration: none;
  display: inline;
  border-bottom: 1px solid #cbd5e1;
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dts-cta a::after {
  display: none;
}

.dts-cta:hover {
  background: transparent;
  color: #475569;
  transform: none;
  box-shadow: none;
}

.dts-cta:hover a {
  border-bottom-color: #0f172a;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .director-hero {
    min-height: var(--director-photo-height-mobile, 400px);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }

  .director-hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    min-height: var(--director-photo-height-mobile, 400px);
  }

  .director-hero-image {
    width: 100%;
    height: var(--director-photo-height-mobile, 400px);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .director-hero-text {
    padding: 40px min(5vw, 80px);
    min-height: auto;
  }

  .director-content-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }

  .content-card {
    padding: 48px 24px;
    border-left: none;
    border-right: none;
    border-top: 1px solid #e2e8f0;
  }
  
  .content-card:first-child {
    border-top: none;
    padding-left: 24px;
    padding-right: 24px;
  }

  .content-card:last-child {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .section-director {
    padding: 0;
  }

  .director-container {
    padding: 0;
  }

  .director-hero {
    min-height: var(--director-photo-height-mobile, 400px);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }

  .director-hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    min-height: var(--director-photo-height-mobile, 400px);
  }

  .director-hero-image {
    width: 100%;
    height: var(--director-photo-height-mobile, 400px);
    border-radius: 0;
  }

  .director-hero-text {
    padding: 40px 24px;
    min-height: auto;
  }

  .director-hero-text .director-name {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 10px;
  }

  .director-hero-text .director-greeting {
    font-size: clamp(17px, 4.5vw, 20px);
    margin-bottom: 24px;
  }

  .director-hero-text .intro-text {
    font-size: clamp(17px, 4.5vw, 19px);
    line-height: 1.8;
  }

  .school-photo-section {
    margin-bottom: 0;
  }

  .school-photo {
    height: var(--school-photo-height-mobile, 280px);
  }

  .director-content-grid {
    padding: 0;
    gap: 0;
    margin-bottom: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }

  .content-card {
    padding: 48px 24px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .history-title,
  .philosophy-title {
    font-size: clamp(20px, 5vw, 22px);
    margin-bottom: 16px;
  }

  .history-text,
  .philosophy-text {
    font-size: clamp(16px, 4vw, 17px);
    line-height: 1.7;
  }

  .dts-section {
    padding: 60px 24px;
    padding-top: 60px;
  }

  .dts-header {
    margin-bottom: 32px;
    text-align: center;
  }

  .dts-title {
    font-size: clamp(24px, 5.5vw, 28px);
  }

  .dts-description {
    font-size: clamp(17px, 4.5vw, 19px);
    line-height: 1.8;
    margin-bottom: 24px;
  }

  .dts-cta {
    font-size: clamp(17px, 4.5vw, 19px);
    padding: 0;
  }

  .dts-slider {
    margin-left: -20px;
    margin-right: -20px;
    width: 100vw;
    margin-bottom: 32px;
  }

  .dts-slide-item {
    height: var(--dts-slider-height-mobile, 250px) !important;
  }

  .dts-slider-prev,
  .dts-slider-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .dts-slider-prev {
    left: 12px;
  }

  .dts-slider-next {
    right: 12px;
  }

  .dts-slider-dots {
    bottom: 20px;
  }

  .dts-dot {
    width: 8px;
    height: 8px;
  }

  .dts-dot.active {
    width: 28px;
  }
}

@media (max-width: 480px) {
  .director-hero {
    min-height: var(--director-photo-height-mobile, 400px);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }

  .director-hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    min-height: var(--director-photo-height-mobile, 400px);
  }

  .director-hero-image {
    height: var(--director-photo-height-mobile, 400px);
  }

  .director-hero-text {
    padding: 32px 24px;
    min-height: auto;
  }

  .director-content-grid {
    padding: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }

  .content-card {
    padding: 40px 20px;
  }

  .dts-section {
    padding: 48px 20px;
    padding-top: 48px;
  }

  .dts-slider {
    margin-left: -16px;
    margin-right: -16px;
  }
}
