/* portfolio.css - 미니멀 디자인 기반 스타일 (수정버전) */

:root {
  --primary-color: #333333;
  --secondary-color: #666666;
  --accent-color: #999999;
  --bg-color: #fcfcfc;
  --light-bg: #f5f5f5;
  --text-dark: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --border-color: #e0e0e0;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body, html {
  font-synthesis: none;
}

/* 기본 스타일 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  overflow-x: hidden;
}

.portfolio-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* 로딩 상태 */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-size: 18px;
  color: var(--text-light);
}


/* 각 섹션이 화면에 꽉 차게 설정 */
.fullscreen-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
}

/* 히어로 섹션 */
/* 기존 텍스트를 유지하고 오른쪽에 동영상 추가 */
/* 헤더 섹션 */
.portfolio-header {
  background-color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: none;
}

.portfolio-header-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.portfolio-header-content:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.fund-raising {
  font-family: "pretendard" !important;
  color: #333333 !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  margin-bottom: 8px !important;
  letter-spacing: 2px !important;
  position: relative;
  z-index: 1;
  background-color: transparent;
  padding: 15px 30px;
  border-radius: 0;
  display: inline-block;
}

.main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  max-width: 800px;
  color: #222222;
  box-shadow: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1), 
               0 0 20px rgba(255, 255, 255, 0.8), 
               0 0 30px rgba(255, 255, 255, 0.6);
}

.highlight-text {
  color: #0066ff;
  font-weight: 700;
  position: relative;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1), 
               0 0 20px rgba(255, 255, 255, 0.8), 
               0 0 30px rgba(255, 255, 255, 0.6);
}

.highlight-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 4px;
  background-color: #0066ff;
  opacity: 0.4;
  border-radius: 2px;
}

.update-date {
  color: #777777;
  font-size: 14px;
  margin-bottom: 16px;
  font-style: italic;
  position: relative;
  z-index: 1;
  background-color: transparent;
  padding: 10px 20px;
  border-radius: 0;
  display: inline-block;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

.counter {
  font-size: 100px;
  font-weight: 800;
  color: #222222;
  margin: 30px 0;
}

/* 프로필 섹션 스타일 */
.profile-section {
  background-color: var(--white);
  position: relative;
  padding: 80px 0;
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  position: relative;
}

.profile-three-columns {
  display: flex;
  gap: 70px;
  justify-content: space-between;
  align-items: flex-start;
}

.profile-image-container {
  flex: 0 0 380px;
  align-self: flex-start;
}

.ceo-profile-image {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  border: none;
  display: block;
}

.profile-text {
  flex: 1;
  max-width: 450px;
  padding: 15px 0;
}

.profile-intro {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.profile-name {
  font-size: 38px;
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.2;
}

.profile-name .name{
  font-weight: 700;
}

.text-highlight {
  color: #000000;
}

.profile-description {
  font-size: 15px;
  line-height: 2;
  color: var(--text-dark);
  word-spacing: 1px;
  letter-spacing: -0.2px;
  word-break: keep-all;
  margin-top: 0;
  margin-bottom: 0;
  padding-right: 15px;
  font-family: "pretendardRegular";
}

.profile-info {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-left: 30px;
  padding-top: 10px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 0;
}

.info-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.info-title {
  font-size: 16px;
  font-weight: 300;
  color: #888888;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-content {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-family: "pretendardRegular";
  color: #222222;
}

.info-highlight {
  font-weight: normal;
  color: #000000;
  display: inline-block;
  margin-bottom: 6px;
  font-size: 16px;
  font-family: "pretendardRegular";
}

/* CTA 섹션 */
/* CTA 섹션 */
.portfolio-cta {
  background-color: #001845; /* var(--dark-navy) */
  color: #ffffff; /* var(--white) */
  text-align: center;
  padding: 30px 0;
  margin-bottom: 0 !important;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.portfolio-cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-cta p {
  font-family: "pretendardRegular";
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.primary-btn {
  background-color: #0066ff; /* var(--primary-color) */
  color: #ffffff; /* var(--white) */
  font-family: "pretendardRegular";
  border: none;
  padding: 14px 32px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background-color: #0052cc;
}

.secondary-btn {
  font-family: "pretendardRegular";
  background-color: transparent;
  color: #ffffff; /* var(--white) */
  border: 1px solid #ffffff; /* var(--white) */
  padding: 14px 32px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cta-logo {
  max-width: 180px;
  margin-bottom: 0;
  filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.2));
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-logo {
    max-width: 150px;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .cta-logo {
    max-width: 120px;
    margin-bottom: 0;
  }
}

/* 예술과 기술의 만남 섹션 - 단일 배너 이미지 */
.art-tech-section {
  background-color: #000000; /* 완전 검은색 배경 */
  padding: 0;
  height: 100vh; /* 화면 전체 높이 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.art-tech-banner {
  width: 100%;
  height: 100%;
  background-color: #000000;
  background-image: none;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding-right: 5%;
  padding-left: 5%;
}

/* 그라데이션 제거 */
.art-tech-banner::before {
  display: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 45%;
  color: white;
}

.banner-video-container {
  position: relative;
  z-index: 2;
  width: 45%;
  height: 70%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-tech-banner h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: white;
}

.banner-subtext {
  font-family: "pretendardExtraLight", sans-serif !important;
  font-size: 16px;
  font-weight: 100 !important;
  line-height: 1.6;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.3px;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
}

/* 반응형 조정 */
@media (max-width: 992px) {
  .art-tech-banner {
    flex-direction: column;
    padding: 20px 5%;
    justify-content: center;
    gap: 20px;
  }
  
  .banner-content {
    max-width: 90%;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .banner-video-container {
    width: 90%;
    height: 40%;
  }
}

@media (max-width: 768px) {
  .banner-content {
    max-width: 90%;
  }
  
  .art-tech-banner h2 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .art-tech-banner h2 {
    font-size: 32px;
  }
  
  .banner-subtext {
    font-size: 14px;
  }
}

/* 서비스 섹션 */
.services {
  padding: 100px 0;
  background-color: var(--white);
}

.service-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 60px;
}

.service-card {
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-title {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-icon {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.service-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  font-family: "pretendardRegular";
}

/* 포트폴리오 섹션 */
.portfolio {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.portfolio-filter {
  margin-bottom: 50px;
  display: flex;
  gap: 30px;
}

.filter-button {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-lighter);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  position: relative;
}

.filter-button.active {
  color: var(--primary-color);
}

.filter-button.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 70%;
  background-color: var(--white);
}

.portfolio-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
  box-sizing: border-box;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-category {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-lighter);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.portfolio-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.portfolio-description {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.portfolio-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.portfolio-link::after {
  content: '→';
  margin-left: 6px;
  transition: var(--transition);
}

.portfolio-link:hover::after {
  transform: translateX(5px);
}

/* 포트폴리오 모달 */
.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.portfolio-modal-content {
  background-color: white;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  border-radius: 0;
  box-sizing: border-box;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: var(--text-dark);
  z-index: 10;
}

.modal-header {
  margin-bottom: 30px;
}

.modal-title {
  font-size: 28px;
  font-weight: 500;
  margin-top: 10px;
}

.modal-image {
  width: 100%;
  height: 400px;
  margin-bottom: 30px;
  background-color: var(--light-bg);
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.modal-info-item {
  padding: 20px;
  background-color: var(--light-bg);
}

.modal-info-item h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.modal-info-item p {
  font-size: 15px;
  color: var(--text-light);
  margin: 0;
}

.modal-description {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.modal-description p {
  margin: 0;
}

.modal-footer {
  text-align: center;
}

/* 포트폴리오 그리드 갤러리 섹션 */
.portfolio-grid-section {
  background-color: var(--white);
  padding: 80px 0;
}

.portfolio-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-grid-item {
  aspect-ratio: 1;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
}

.portfolio-grid-item:hover {
  transform: translateY(-5px);
}

.portfolio-grid-item .portfolio-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-grid-item:hover .portfolio-image {
  transform: scale(1.05);
}

/* 연락처 섹션 */
.contact {
  padding: 100px 0;
  background-color: var(--light-bg);
  text-align: center;
}

.section-description {
  margin: 0 auto 40px;
  max-width: 600px;
}

.contact-button {
  display: inline-block;
  padding: 14px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  transition: var(--transition);
  margin: 0 10px;
  border: none;
  cursor: pointer;
}

.contact-button:hover {
  background-color: #000000;
}

.contact-button.outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.contact-button.outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* 푸터 */
.footer {
  padding: 60px 0 20px;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-info {
  max-width: 350px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.footer-text {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-contact {
  font-size: 14px;
  color: var(--text-light);
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-nav-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-item {
  margin-bottom: 10px;
}

.footer-nav-link {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav-link:hover {
  color: var(--primary-color);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.copyright {
  font-size: 14px;
  color: var(--text-lighter);
  text-align: center;
  margin: 0;
}

/* 팀 섹션 */
.team {
  padding: 100px 0;
  background-color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.team-member {
  position: relative;
}

.team-image-container {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 100%;
  margin-bottom: 20px;
}

.team-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.team-position {
  font-size: 14px;
  color: var(--text-lighter);
  margin: 0;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
  }
  
  .hero-content {
    padding: 60px 20px;
    order: 2;
  }
  
  .hero-image {
    order: 1;
    width: 100%;
    min-height: 300px;
  }
  
  .service-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-nav {
    gap: 40px;
  }
  
  .portfolio-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* 프로필 섹션 반응형 */
  .profile-three-columns {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .profile-image-container {
    margin: 0 auto;
  }
  
  .profile-text {
    text-align: center;
    max-width: 100%;
  }
  
  .profile-info {
    padding-left: 0;
    border-left: none;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  header.header {
    padding: 15px 20px;
  }
  
  .hero-title, .section-title {
    font-size: 36px;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .service-container {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 30px;
  }
  
  .portfolio-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modal-info-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-image {
    height: 300px;
  }
  
  /* 프로필 섹션 반응형 추가 */
  .profile-name {
    font-size: 32px;
    font-family: "pretendardSemiBold";
    font-weight: bold
  }
  
  .profile-container {
    padding: 0 30px;
  }
  
  .profile-image-container {
    flex: 0 0 340px;
  }
  
  .ceo-profile-image {
    max-width: 340px;
  }
  
  .info-item:not(:last-child) {
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  }
  
  .contact-button {
    display: block;
    margin: 10px auto;
    max-width: 250px;
  }
  
  .portfolio-modal-content {
    padding: 20px;
  }

  .section-title {
    font-family: "pretendardRegular";
    font-weight: 300;
  }

  .service-title {
    font-family: "pretendardRegular"
  }

  .banner-content h2 {
    font-family: "pretendardSemiBold";
    font-weight: bold;
  }

  .cta-container h2 {
    font-family: "[retendardRegular";
    font-weight: bold;
    font-size: 24px;
  }

  .gallery-content h3 {
    font-size: 18px !important;
  }

  .gallery-content p {
    font-size: 12px !important;
    font-family: "pretendardRegular";
  }

}

@media (max-width: 480px) {
  .hero-title, .section-title {
    font-size: 28px;
  }
  
  .section-tag {
    font-size: 12px;
  }
  
  .hero-text, .section-description {
    font-size: 16px;
  }
  
  .profile-description {
    font-size: 14px;
  }

  .main-title {
    font-size: 26px;
  }
  
  .service-card {
    padding: 30px;
  }
  
  .service-title {
    font-size: 18px;
  }
  
  .portfolio-grid-container {
    grid-template-columns: 1fr;
  }
  
  .portfolio-modal-content {
    padding: 20px 15px;
  }
}