/*
 * FROMYOU 디자인 개선 (fixes.css) — 2026.10
 * ------------------------------------------------------------
 * style.css / effects.css 는 그대로 두고, 개선 사항만 이 파일에 모았습니다.
 * 각 HTML 의 <link rel="stylesheet" href="css/fixes.css"> 한 줄을 지우면 이전 디자인으로 돌아갑니다.
 *
 * 목차
 *   1. 한글 줄바꿈
 *   2. 본문 글씨 가독성
 *   3. 헤더 대비
 *   4. 메뉴 정렬 (중간 폭)
 *   5. 첫 화면 여백
 *   6. WATCH THE REEL 버튼
 *   7. (CONTACT 는 11번에서)
 *   8. 크리에이터 카드 (모바일)
 *   9. 쇼릴 전환 속도 (모바일)
 *  10. 푸터
 * ------------------------------------------------------------
 */

:root {
  --text-body: #3b3546;        /* 본문 (기존 #66626c 보다 진하게) */
  --text-sub: #4f4859;         /* 보조 문구 */
  --header-blue: #86a8d9;      /* 헤더 그라데이션 (기존보다 한 톤 진하게) */
  --header-purple: #a679b4;
}

/* 1. 한글 줄바꿈: 단어 중간에서 끊기지 않게 */
body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 2. 본문 글씨 가독성 */
.hero-text p {
  color: var(--text-body);
  font-size: 17px;
}
.about-description,
.value-text p,
.service-item p,
.business .service-item p {
  color: var(--text-body);
}
.about-description {
  font-size: clamp(15px, 1.15vw, 17px);
}
.value-text p {
  font-size: 15px;
}
.service-item p {
  font-size: 15px;
}
.business-summary strong {
  font-size: 14px;
}
.business-summary p {
  color: var(--text-sub);
  font-size: 14px;
}
.contact-info p {
  color: rgba(255, 255, 255, .94);
  font-size: 15px;
}
.contact-details span {
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
}
.contact-details a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .45);
}
.contact-details a:hover {
  text-decoration-color: #fff;
}
@media (max-width: 700px) {
  .business .service-item h3 {
    font-size: 13px;
  }
  .business .service-item p {
    font-size: 13px;
  }
}

/* 3. 헤더 대비: 흰 글씨가 잘 보이도록 배경을 한 톤 진하게 + 얇은 그림자 */
.header,
.creator-page .header,
.works-page .header {
  background: linear-gradient(90deg, var(--header-blue), var(--header-purple));
}
.header.is-scrolled,
.creator-page .header.is-scrolled,
.works-page .header.is-scrolled {
  background: linear-gradient(90deg, rgba(134, 168, 217, .92), rgba(166, 121, 180, .92));
}
.navbar,
.header .nav-menu a {
  text-shadow: 0 1px 2px rgba(45, 20, 70, .28);
}
.header .language-switch button.is-active,
.header .mobile-language-switch button.is-active {
  text-shadow: none;
}
@media (max-width: 700px) {
  .header .nav-menu {
    background: linear-gradient(90deg, var(--header-blue), var(--header-purple));
  }
}

/* 4. 메뉴 정렬: 중간 폭(701~1200px)에서 메뉴가 화면 끝에 붙지 않게 */
@media (min-width: 701px) and (max-width: 1200px) {
  .navbar {
    width: calc(100% - 64px);
  }
}

/* 5. 첫 화면 여백 (중간 폭·모바일에서 사진이 첫 화면에 보이도록) */
@media (max-width: 1200px) {
  .hero-text {
    padding-bottom: 16px;
  }
  .hero-text p {
    margin-bottom: 36px;
  }
}
@media (max-width: 700px) {
  .hero-text p {
    font-size: 15px;
  }
}

/* 6. WATCH THE REEL: 작아서 놓치기 쉬워 버튼 형태로 키움 */
#showreel-watch-link {
  padding: 13px 26px !important;
  font-size: 13px;
  color: #241c2e;
}
#showreel-watch-link::before {
  opacity: 1;
}

/* 7. CONTACT → 아래 "디자인 다듬기" 섹션에서 처리 (문의 폼은 숨김 유지) */

/* 8. 크리에이터 카드 (모바일) */
@media (max-width: 700px) {
  /* 사진을 조금 덜 길게 → 한 화면에 더 많은 크리에이터 */
  .creator-image {
    aspect-ratio: 0.8;
  }
}
/* 마우스가 없는 기기(휴대폰·태블릿)에서는 팔로워 수를 항상 보여줌 */
@media (hover: none) {
  .creator-follower-overlay {
    height: auto !important;
    padding: 28px 10px 8px !important;
    justify-content: flex-end !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .creator-follower-row {
    grid-template-columns: auto minmax(8px, 1fr) auto !important;
    gap: 6px !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
  }
}

/* 9. 쇼릴 전환 속도 (모바일): 카드가 겹쳐 보이는 시간을 줄임 */
@media (max-width: 760px) {
  .showreel-card {
    transition:
      transform .7s cubic-bezier(.2, .85, .25, 1),
      width .7s cubic-bezier(.2, .85, .25, 1),
      box-shadow .5s ease,
      border-radius .5s ease;
  }
}

/* 10. 푸터: 라벨 스타일 통일 + 링크 */
.footer-contact span {
  letter-spacing: 0;
  color: rgba(255, 255, 255, .72);
}
.footer-contact > div {
  grid-template-columns: 62px 1fr;
}
.footer-contact a {
  color: inherit;
}
.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-contact .footer-legal {
  margin: 18px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

/* ============================================================
 * 11. 디자인 다듬기 (2차)
 * ============================================================ */

/* 제목 줄바꿈을 균형 있게 (지원 브라우저에서만) */
h1, h2, h3 {
  text-wrap: balance;
}

/* 11-1. ABOUT 가치 영역: 번호에 포인트 색 + 짧은 선, 사진에 은은한 그림자 */
.value-text span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #8b3f9a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.value-text span::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.value-text-right span {
  flex-direction: row-reverse;
}
.value-text h3 {
  letter-spacing: -.01em;
}
.value-image {
  box-shadow: 0 22px 48px rgba(70, 40, 110, .16);
}
@media (max-width: 1200px) {
  .value-text-right span,
  .value-text span {
    flex-direction: column-reverse;
    gap: 8px;
  }
  .value-text span::after {
    width: 1px;
    height: 18px;
  }
}

/* 11-2. WHAT WE DO: 항목 사이 구분선, 아이콘 원을 조금 더 또렷하게 */
.service-grid {
  gap: 0;
}
.service-item {
  padding: 4px 16px;
}
.service-item p {
  font-size: 14px;
  text-wrap: balance;
}
.service-item p br {
  display: none; /* 고정 줄바꿈 대신 칸 너비에 맞춰 자연스럽게 */
}
.service-item + .service-item {
  border-left: 1px solid rgba(255, 255, 255, .55);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(236, 224, 246, .9));
  box-shadow: 0 8px 20px rgba(110, 70, 150, .14);
}
.service-item span {
  color: #8b3f9a;
  font-weight: 700;
  letter-spacing: .12em;
}
.service-item h3 {
  letter-spacing: -.01em;
}
@media (max-width: 700px) {
  .business .service-grid {
    gap: 30px 0;
  }
  .business .service-item {
    padding: 0 10px;
  }
  .business .service-item + .service-item {
    border-left: 0;
  }
}

/* 11-3. CONTACT: 문의 폼을 숨긴 상태에 맞춰 카드 하나로 정돈
 *        (왼쪽: 제목·안내 / 오른쪽: 연락처 정보) */
.contact-form {
  display: none !important;
}
.contact-layout {
  width: min(1140px, 100%);
  grid-template-columns: 1fr;
}
.contact-info {
  min-height: 0;
  padding: 64px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas:
    "sym details"
    "title details"
    "desc details";
  grid-template-rows: auto auto 1fr;
  column-gap: 72px;
  align-items: start;
}
.contact-info .section-symbol { grid-area: sym; }
.contact-info h2 { grid-area: title; }
.contact-info > p { grid-area: desc; }
.contact-info .contact-details {
  grid-area: details;
  align-self: center;
  margin-top: 0;
  gap: 0 32px;
}
.contact-details > div {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.contact-details strong {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .78);
}
.contact-details span {
  color: #fff;
  font-size: 16px;
}
@media (max-width: 1200px) {
  .contact {
    min-height: 0;
  }
}
@media (max-width: 900px) {
  .contact-info {
    padding: 44px 32px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "sym"
      "title"
      "desc"
      "details";
  }
  .contact-info .contact-details {
    margin-top: 36px;
  }
}
@media (max-width: 700px) {
  .contact-info {
    padding: 36px 24px;
  }
  .contact-info .contact-details {
    grid-template-columns: 1fr;
  }
  .contact-details > div {
    padding: 16px 0;
  }
}

/* 11-4. 크리에이터 카드: 이름·계정·분야 위계 정리 */
.creator-info h3 {
  letter-spacing: -.02em;
}
.creator-id {
  color: #7a4a8c !important;
  font-weight: 600;
}
.creator-tag {
  color: #8a8492 !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
}
.creator-socials a {
  opacity: .75;
  transition: opacity .2s ease;
}
.creator-socials a:hover {
  opacity: 1;
}
.creator-image {
  box-shadow: 0 14px 30px rgba(70, 40, 110, .12);
}

/* 11-5. WORKS 카드: 번호와 제목을 조금 더 또렷하게 */
.works-page .works-card::before {
  font-size: 13px;
}
.works-page .works-card h2 {
  letter-spacing: -.01em;
}
.works-page .works-card p {
  color: var(--text-body);
}
