/* ===== Director Section - Modern Magazine Style ===== */
:root {
  --green-primary: #2d8659;
  --green-light: #e6f5ee;
  --green-accent: #4caf7f;
  --green-dark: #1f5d3f;
}

.section-director {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  background: #ffffff;
  color: #1a1a1a;
  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: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  overflow: hidden;
  padding: 80px 0;
}

.director-hero-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

.director-hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.director-hero:hover .director-hero-image {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.director-hero-image .director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.director-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 134, 89, 0.1) 0%, rgba(76, 175, 127, 0.05) 100%);
  pointer-events: none;
}

.director-hero-text {
  position: relative;
  z-index: 3;
}

.director-intro-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--green-light);
  color: var(--green-primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.director-hero-text .director-name {
  font-size: clamp(36px, 5vw, 46px);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.director-hero-text .director-greeting {
  font-size: clamp(20px, 2.8vw, 24px);
  font-weight: 400;
  margin: 0 0 24px;
  color: var(--green-primary);
  opacity: 0.9;
  font-style: italic;
}

.director-hero-text .intro-text {
  font-size: clamp(18px, 2.3vw, 20px);
  line-height: 1.8;
  color: #555;
  max-width: 100%;
}

/* ===== 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: 80px;
}

.school-photo {
  width: 100%;
  height: var(--school-photo-height-pc, 400px);
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
}

/* ===== Content Grid - 비대칭 2컬럼 ===== */
.director-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  padding: 0 40px;
}

.content-card {
  position: relative;
  padding: 40px 36px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(45, 134, 89, 0.08);
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--green-primary);
}

.card-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  z-index: 0;
  opacity: 0.5;
}

.history-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.philosophy-card {
  background: linear-gradient(135deg, var(--green-light) 0%, #ffffff 100%);
}

.history-title,
.philosophy-title {
  font-size: clamp(26px, 3.8vw, 30px);
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.3;
  color: #1a1a1a;
  position: relative;
  z-index: 1;
}

.history-text,
.philosophy-text {
  font-size: clamp(18px, 2.3vw, 19px);
  line-height: 1.8;
  color: #555;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

/* ===== DTS Section ===== */
.dts-section {
  padding: 0 40px 80px;
  margin-bottom: 0;
}

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

.dts-number {
  display: inline-block;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 16px;
}

.dts-title {
  font-size: clamp(26px, 3.8vw, 34px);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: #1a1a1a;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-primary);
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  border: 1.5px solid var(--green-light);
}

.dts-slider-prev:hover,
.dts-slider-next:hover {
  background: var(--green-primary);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(45, 134, 89, 0.3);
}

.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: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.9);
  padding: 0;
}

.dts-dot.active {
  background: #fff;
  width: 36px;
  border-radius: 8px;
  border-color: #fff;
}

.dts-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.dts-description {
  font-size: clamp(18px, 2.3vw, 20px);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 32px;
  color: #555;
  letter-spacing: -0.01em;
}

.dts-cta {
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 600;
  margin: 0;
  color: var(--green-primary);
  padding: 14px 32px;
  background: var(--green-light);
  border-radius: 50px;
  display: inline-block;
  transition: all 0.3s ease;
}

.dts-cta a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dts-cta a::after {
  content: '↗';
  font-size: 0.95em;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.dts-cta:hover {
  background: var(--green-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 134, 89, 0.25);
}

.dts-cta:hover a::after {
  transform: translate(3px, -3px);
}

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

  .director-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 40px;
  }

  .director-hero-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .director-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 40px;
  }

  .content-card {
    padding: 32px 28px;
  }
}

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

  .director-container {
    padding: 0;
  }

  .director-hero {
    padding: 40px 0;
  }

  .director-hero-content {
    padding: 0 20px;
    gap: 32px;
  }

  .director-hero-image {
    max-width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
  }

  .director-intro-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
    margin-bottom: 16px;
  }

  .director-hero-text .director-name {
    font-size: clamp(24px, 6vw, 28px);
    margin-bottom: 12px;
  }

  .director-hero-text .director-greeting {
    font-size: clamp(16px, 4vw, 18px);
    margin-bottom: 20px;
  }

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

  .school-photo-section {
    margin-bottom: 60px;
  }

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

  .director-content-grid {
    padding: 0 20px;
    gap: 24px;
    margin-bottom: 60px;
  }

  .content-card {
    padding: 28px 24px;
    border-radius: 12px;
  }

  .card-number {
    top: 16px;
    right: 24px;
    font-size: clamp(36px, 10vw, 48px);
  }

  .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: 0 20px 60px;
  }

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

  .dts-number {
    font-size: clamp(32px, 8vw, 40px);
    margin-bottom: 12px;
  }

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

  .dts-description {
    font-size: clamp(16px, 4vw, 17px);
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .dts-cta {
    font-size: clamp(14px, 3.5vw, 16px);
    padding: 12px 24px;
  }

  .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-content {
    padding: 0 16px;
  }

  .director-content-grid {
    padding: 0 16px;
  }

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

  .dts-section {
    padding: 0 16px 48px;
  }

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