/* ========================================
   MONO SKIN - Minimalist Portfolio
   극도의 여백 + 포트폴리오 + 수직 타임라인
   ======================================== */

/* HERO: 극도의 미니멀 */
.mono-hero {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  padding-top: 64px;
}
.mono-hero h1 {
  font-weight: 300; letter-spacing: -1px;
  position: relative; display: inline-block;
}
.mono-hero h1::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: #333;
  animation: subtleUnderlineGrow 0.8s ease-out 0.3s forwards;
}
@keyframes subtleUnderlineGrow {
  to { width: 100%; }
}
.mono-hero .hero-btns { margin-top: 40px; }
.mono-hero .btn-primary {
  background: #222; letter-spacing: 2px; font-size: 13px;
  text-transform: uppercase; padding: 16px 40px;
}

/* SECTION LABEL: 미니멀 라벨 */
.mono-section-label {
  font-size: 11px; letter-spacing: 5px; text-transform: uppercase;
  color: #999; margin-bottom: 12px;
}

/* INTRO: 풀 와이드 텍스트 */
.mono-intro {
  padding: 80px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee;
}
.mono-intro-text {
  font-size: 22px; line-height: 1.8; color: var(--sub);
  max-width: 800px; font-weight: 300; letter-spacing: 0.3px;
  animation: introReveal 1s ease-out forwards;
}
@keyframes introReveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* PORTFOLIO: 2컬럼 매거진 */
.mono-portfolio { padding: 100px 0; }
.mono-portfolio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px;
}
.mono-folio-item {
  cursor: pointer;
}
.mono-folio-item:hover { opacity: 1; }
.mono-folio-thumb {
  aspect-ratio: 4/3;
  background: #f5f5f5; display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.mono-folio-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(100%);
}
.mono-folio-item:hover .mono-folio-thumb img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.mono-folio-thumb span {
  position: relative; z-index: 2;
}
.mono-folio-thumb::before {
  content: attr(data-number);
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; font-weight: 200; color: #fff;
  opacity: 0; transition: opacity 0.4s ease-out;
}
.mono-folio-item:hover .mono-folio-thumb::before {
  opacity: 1;
}
.mono-folio-thumb span {
  font-size: 48px; font-weight: 200; color: rgba(255,255,255,0.7);
  transition: opacity 0.3s ease-out;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.mono-folio-item:hover .mono-folio-thumb span {
  opacity: 0.5;
}
.mono-folio-info h3 {
  font-size: 16px; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 4px;
}
.mono-folio-info p { font-size: 13px; color: #999; }

/* STATS: 하단 라인 구분 */
.mono-stats { padding: 60px 0; }
.mono-stats .stat-card {
  border: none; border-bottom: 1px solid #222;
  border-radius: 0; background: transparent;
  box-shadow: none; padding: 24px 0;
}
.mono-stats .stat-card .val { color: #222; font-weight: 300; font-size: 36px; }
.mono-stats .stat-card .lbl { letter-spacing: 2px; text-transform: uppercase; font-size: 11px; }

/* SERVICES: 세로 리스트 */
.mono-services-section { padding: 100px 0; }
.mono-service-list {
  display: flex !important; flex-direction: column; gap: 0;
}
.mono-service-list .service-card {
  display: grid; grid-template-columns: 60px 1fr; gap: 24px;
  padding: 32px 0; border-radius: 0;
  background: transparent; border: none; box-shadow: none;
  border-bottom: 1px solid #eee; align-items: start;
  position: relative;
}
.mono-service-list .service-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: #333;
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.3s ease-out;
}
.mono-service-list .service-card:hover::before {
  transform: scaleY(1);
}
.mono-service-list .service-card:last-child { border-bottom: none; }
.mono-service-list .service-card .icon {
  font-size: 24px; color: #999; padding-top: 4px;
  transition: color 0.3s ease-out;
}
.mono-service-list .service-card:hover .icon {
  color: #333;
}
.mono-service-list .service-card h3 {
  font-weight: 500; letter-spacing: 0.5px; margin-bottom: 8px;
}

/* PROCESS: 수직 타임라인 */
.mono-process { padding: 100px 0; background: #fafafa; }
.mono-timeline { position: relative; padding-left: 40px; }
.mono-timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: #ddd;
  animation: timelineDrawLine 1.2s ease-out forwards;
  transform-origin: top;
}
@keyframes timelineDrawLine {
  from { height: 0; }
  to { height: 100%; }
}
.mono-process .process-grid {
  display: flex !important; flex-direction: column; gap: 0;
}
.mono-process .process-step {
  text-align: left; padding: 32px 0; position: relative;
  border-bottom: 1px solid #eee;
}
.mono-process .process-step::before {
  content: ''; position: absolute; left: -44px; top: 40px;
  width: 8px; height: 8px; background: #222; border-radius: 50%;
  transform: scale(0); transition: transform 0.5s ease-out;
}
.mono-process .process-step {
  animation: processStepEnter 0.6s ease-out forwards;
}
.mono-process .process-step:nth-child(1) {
  animation-delay: 0.2s;
}
.mono-process .process-step:nth-child(2) {
  animation-delay: 0.4s;
}
.mono-process .process-step:nth-child(3) {
  animation-delay: 0.6s;
}
.mono-process .process-step:nth-child(4) {
  animation-delay: 0.8s;
}
@keyframes processStepEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mono-process .process-step::before {
  animation: dotFillIn 0.4s ease-out forwards;
}
.mono-process .process-step:nth-child(1)::before {
  animation-delay: 0.5s;
}
.mono-process .process-step:nth-child(2)::before {
  animation-delay: 0.7s;
}
.mono-process .process-step:nth-child(3)::before {
  animation-delay: 0.9s;
}
.mono-process .process-step:nth-child(4)::before {
  animation-delay: 1.1s;
}
@keyframes dotFillIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.mono-process .process-step .num {
  display: inline-block; background: transparent;
  color: #999; font-size: 12px; font-weight: 400;
  letter-spacing: 2px; margin-bottom: 8px;
  width: auto; height: auto;
}

/* REVIEWS: 미니멀 인용 */
.mono-reviews { padding: 100px 0; }
.mono-reviews .review-card {
  border: none; border-bottom: 1px solid #eee;
  border-radius: 0; background: transparent; box-shadow: none;
  padding: 28px 0; position: relative;
}
.mono-reviews .review-card::before {
  content: '"'; position: absolute; top: -8px; left: 0;
  font-size: 32px; color: #eee; font-weight: 300;
  opacity: 0; transition: opacity 0.3s ease-out;
}
.mono-reviews .review-card:hover::before {
  opacity: 1;
}
.mono-reviews .review-text {
  font-style: normal; font-size: 15px; line-height: 1.8;
  transition: color 0.3s ease-out;
}
.mono-reviews .review-card:hover .review-text {
  color: #333;
}

/* CTA: 텍스트 온리 */
.mono-cta { padding: 80px 0; }
.mono-cta .cta-banner {
  background: #222; border-radius: 0; padding: 80px 40px;
}
.mono-cta .cta-banner a { border-radius: 0; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }

/* CONTACT: 미니멀 폼 */
.mono-contact { padding: 100px 0; }
.mono-contact .contact-form {
  background: transparent; border: 1px solid #eee; border-radius: 0;
}
.mono-contact .contact-form input,
.mono-contact .contact-form textarea {
  border-radius: 0; border: none; border-bottom: 1px solid #ddd;
  padding: 12px 0; background: transparent;
}
.mono-contact .submit-btn {
  border-radius: 0; background: #222; letter-spacing: 2px;
  text-transform: uppercase; font-size: 13px;
}

/* GALLERY: 현장사진 */
.mono-gallery { padding: 100px 0; background: #fafafa; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.gallery-item {
  aspect-ratio: 4/3; overflow: hidden; cursor: pointer;
  background: #e5e5e5;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: grayscale(30%);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.gallery-hidden { display: none; }
.gallery-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 40px; font-size: 15px; font-weight: 600;
  background: #222; color: #fff; border: none; cursor: pointer;
  letter-spacing: 1px; transition: background 0.3s ease;
}
.gallery-more-btn:hover { background: #444; }
.gallery-more-btn i { font-size: 12px; }

/* Lightbox */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92); display: flex;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.gallery-lightbox.active { opacity: 1; pointer-events: all; }
.gallery-lightbox img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
}
.gallery-lightbox-close {
  position: absolute; top: 24px; right: 32px;
  font-size: 32px; color: #fff; cursor: pointer;
  background: none; border: none; z-index: 10;
}
.gallery-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 28px; color: #fff; cursor: pointer;
  background: rgba(255,255,255,0.1); border: none;
  width: 48px; height: 48px; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.gallery-lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.gallery-lightbox-prev { left: 16px; }
.gallery-lightbox-next { right: 16px; }

/* RESPONSIVE */
@media(max-width:768px) {
  .mono-portfolio-grid { grid-template-columns: 1fr; }
  .mono-service-list .service-card { grid-template-columns: 1fr; }
  .mono-timeline { padding-left: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
