/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 페이지 헤더 */

.page-header {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.page-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 18px;
  color: #666;
}

.section-title {
  color: var(--color-primary-yellow);
}
/* 캠퍼스 섹션 */
.campus-section {
  padding: 80px 0;
  background: #f8f9fa;
}

/* 캠퍼스 아이템 */
.campus-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 4rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.campus-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.campus-item:last-child {
  margin-bottom: 0;
}

/* 상단 메인 영역 (정보 + 지도) */
.campus-main {
  display: flex;
  /* align-items: center; */
  padding: 2rem;

  gap: 3rem;
}

/* 캠퍼스 정보 (왼쪽) */
.campus-info {
  padding-top: 16px;
}

.campus-name {
  color: #1a1a1a;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.campus-address {
  color: #0f5672;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.campus-description {
  color: #666;
  line-height: 1.6;
}

.campus-description p {
  margin-bottom: 1rem;
}

.campus-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.campus-features li {
  padding: 0.3rem 0;
  color: #555;
  font-size: 0.9rem;
}

/* 지도 영역 (오른쪽) */
.campus-map {
  flex: 1;
  min-height: 300px;
}

.naver-map {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.9rem;
}

/* 캠퍼스 사진 갤러리 - 하단 영역 */
.campus-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0 2rem 2rem 2rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover .gallery-image {
  filter: brightness(0.7);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* 캠퍼스 모바일 반응형 */
  .campus-main {
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem;
  }

  .campus-map {
    width: 100%;
    min-height: 250px;
  }

  .naver-map {
    height: 250px;
  }

  .campus-name {
    font-size: 1.3rem;
  }

  .campus-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.campus-item {
  animation: fadeIn 0.6s ease-out forwards;
}

.campus-item:nth-child(1) {
  animation-delay: 0.1s;
}
.campus-item:nth-child(2) {
  animation-delay: 0.2s;
}
.campus-item:nth-child(3) {
  animation-delay: 0.3s;
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
/* Contract Info Section */
.contract-section {
  padding: 80px 0;
  background: #fff;
}

.contract-content {
  max-width: 800px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contract-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contract-content p:last-child {
  margin-bottom: 0;
}

.text-section {
  margin-bottom: 100px;
}
