/* LEED Page Custom Styles */

/* Page Header */
.page-header {
  background: white;
  border-bottom: 1px solid #e9ecef;
}

.page-header .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.page-header .breadcrumb-item a {
  color: #6c757d;
  text-decoration: none;
}

.page-header .breadcrumb-item.active {
  color: #495057;
}

.page-header .nav-tabs {
  border-bottom: none;
}

.page-header .nav-link {
  padding: 0.75rem 0;
  margin-right: 2rem;
  background: none;
  border: none;
  color: #6c757d;
}

.page-header .nav-link.active {
  color: #007bff;
  border-bottom: 2px solid #007bff !important;
}

/* LEED 소개 섹션 */
.leed-intro-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 2rem;
}

.leed-intro-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1.5rem;
}

.leed-description .lead {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.6;
}

.leed-description p {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 0;
}

.leed-logo-container {
  padding: 2rem;
}

.leed-logo-circle {
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* LEED 평가 시스템 */
.leed-rating-section h2 {
  font-size: 2.25rem;
  font-weight: 600;
  color: #1a202c;
}

.rating-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.rating-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.rating-image {
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.rating-card .card-body {
  padding: 1.5rem;
}

.rating-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.rating-card .card-title {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
}

.rating-card .card-text {
  color: #4a5568;
  line-height: 1.5;
}

/* LEED 인증등급 */
.leed-certification-section h2 {
  font-size: 2.25rem;
  font-weight: 600;
  color: #1a202c;
}

.certification-item {
  text-align: left;
}

.cert-badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.certification-item:hover .cert-badge {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.certification-item h4 {
  font-weight: 600;
  color: #2d3748;
}

.certification-item p {
  color: #6c757d;
}

/* 프로젝트 섹션 */
.global-leed-section,
.domestic-leed-section {
  overflow: hidden;
}

.global-leed-section h2,
.domestic-leed-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a202c;
}

.project-card {
  transition: transform 0.3s ease;
}

.project-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-info h5 {
  font-weight: 600;
  color: #2d3748;
  font-size: 1rem;
}

.project-info p {
  color: #6c757d;
  font-size: 0.875rem;
}

/* Global Projects Swiper */
.leed-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.slick-slide {
  margin: 0 5px;
}

.slick-wrap {
  position: relative;
}

.slick-wrap .prevArrow,
.slick-wrap .nextArrow {
  position: absolute;
  z-index: 20;
  top: 50%;
  transform: translateY(-100%);
  color: #ccc;
}

.slick-wrap .nextArrow {
  right: 0;
}

.leed-container {
  width: calc(100% - 100px);
  margin: 0 auto;
}

.leed-section .project-info p {
  margin-bottom: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .leed-intro-section h1 {
    font-size: 2rem;
    text-align: center;
  }

  .leed-intro-section h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .leed-description {
    text-align: center;
  }

  .leed-logo-circle {
    width: 200px;
    height: 200px;
  }

  .leed-rating-section h2,
  .leed-certification-section h2,
  .global-leed-section h2,
  .domestic-leed-section h2 {
    font-size: 1.75rem;
  }

  .rating-card.h-100 {
    height: auto !important;
    margin-bottom: 2rem;
  }

  .rating-card {
    min-height: auto !important;
  }

  .rating-card .card-body {
    padding: 1rem !important;
    height: auto !important;
  }

  .rating-image {
    height: auto !important;
    min-height: 120px !important;
  }

  .rating-card .card-title {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
  }

  .rating-card .card-text {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
  }

  .cert-badge {
    width: 100px !important;
    height: 100px !important;
  }

  .cert-badge i {
    font-size: 2.5rem !important;
  }

  .certification-item .mb-3 {
    width: 100px !important;
    height: 100px !important;
  }

  .certification-item .mb-3 img {
    max-width: 100%;
    max-height: 100%;
  }

  .slick-wrap .prevArrow,
  .slick-wrap .nextArrow {
    font-size: 6px;
    border-radius: 9999px;
    background: #ddd;
    width: 40px;
    height: 40px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-150%);
    opacity: 0.8;
  }

  .leed-container {
    width: 100%;
  }

  .page-header .nav-link {
    margin-right: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .leed-intro-section h1 {
    font-size: 1.75rem;
  }

  .leed-intro-section h2 {
    font-size: 1.25rem;
  }

  .leed-logo-circle {
    width: 150px;
    height: 150px;
  }

  .leed-rating-section h2,
  .leed-certification-section h2,
  .global-leed-section h2,
  .domestic-leed-section h2 {
    font-size: 1.5rem;
  }

  .rating-card.h-100 {
    height: auto !important;
    margin-bottom: 1.5rem;
  }

  .rating-card {
    min-height: auto !important;
  }

  .rating-card .card-body {
    padding: 0.875rem !important;
    height: auto !important;
  }

  .rating-image {
    height: auto !important;
    min-height: 100px !important;
  }

  .rating-card .card-title {
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }

  .rating-card .card-text {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
  }

  .cert-badge {
    width: 80px !important;
    height: 80px !important;
  }

  .cert-badge i {
    font-size: 2rem !important;
  }

  .certification-item .mb-3 {
    width: 80px !important;
    height: 80px !important;
  }

  .certification-item .mb-3 img {
    max-width: 100%;
    max-height: 100%;
  }

  .project-image {
    height: 140px !important;
  }

  .global-swiper-wrapper .swiper-button-next,
  .global-swiper-wrapper .swiper-button-prev,
  .domestic-swiper-wrapper .swiper-button-next,
  .domestic-swiper-wrapper .swiper-button-prev {
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }

  .global-swiper-wrapper .swiper-button-next,
  .domestic-swiper-wrapper .swiper-button-next {
    right: -30px;
  }

  .global-swiper-wrapper .swiper-button-prev,
  .domestic-swiper-wrapper .swiper-button-prev {
    left: -30px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* 호버 효과 향상 */
.rating-card,
.project-card {
  cursor: pointer;
}

/* 색상 테마 일관성 */
.text-primary {
  color: #007bff !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

/* 섹션 간격 최적화 */
.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

@media (max-width: 768px) {
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

/* 그림자 효과 */
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* 애니메이션 효과 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Carousel 스타일 */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  color: #333;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* LEED 자격증 섹션 */
.leed-credentials-section {
  background: white;
}

.leed-credentials-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
}

.leed-credentials-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #2d3748;
}

.leed-badge-large {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.leed-badge-large:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.leed-badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.leed-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 커리어 섹션 */
.career-section {
  background: white;
}

.leed-badge-option {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.leed-badge-option.active {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.credential-details {
  margin-top: 3rem;
}

.credential-detail {
  display: none;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  border: 1px solid #e9ecef;
}

.credential-detail.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.credential-detail p {
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.9em;
}

.credential-detail h4,
.credential-detail h4 + p {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.9rem;
}

/* 혜택 섹션 */
.benefits-section {
  background: #f8f9fa;
}

.benefits-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a202c;
}

.benefit-item {
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item h5 {
  font-weight: 600;
  color: #2d3748;
}

.benefit-item p {
  color: #4a5568;
  line-height: 1.5;
}

.benefit-icon {
  flex-shrink: 0;
  align-self: center;
}

/* 모바일 반응형 추가 */
@media (max-width: 768px) {
  .leed-credentials-section h1 {
    font-size: 2rem;
  }

  .leed-credentials-section h2 {
    font-size: 1.5rem;
  }

  .leed-badge-option {
    margin: 15px !important;
    object-fit: contain;
  }

  .leed-badge-option > img {
    width: 100%;
    margin: 0px !important;
  }

  .leed-badge-option div {
    font-size: 0.7rem !important;
  }

  .credential-detail {
    padding: 1.5rem;
  }

  .benefit-item {
    margin-bottom: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 8%;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 576px) {
  .leed-badge-option {
    margin: 5px !important;
  }

  .leed-badge-option > img {
    width: 100%;
    margin: 0px !important;
  }

  .leed-badge-option div:first-child {
    font-size: 0.6rem !important;
  }

  .leed-badge-option div:last-child {
    font-size: 0.5rem !important;
  }

  .row.justify-content-center {
    justify-content: center !important;
  }

  .col-auto {
    flex: 0 0 auto;
    margin: 2px;
  }
}
