/* =====================
   PC 전용 + 공통 스타일
   ===================== */

/* =====================
   공통 레이아웃/폰트/버튼/박스 스타일
   ===================== */
body {
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.section-box {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background: #fafafa;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-more, .main-btn, .btn-map, .btn-copy {
  display: inline-block;
  padding: 0.7em 1.5em;
  margin: 0.5em 0.2em;
  background: linear-gradient(135deg, #374151 0%, #6b7280 100%) !important;
  color: #fff !important;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(55, 65, 81, 0.3);
  text-align: center;
}
.btn-more:hover, .main-btn:hover, .btn-map:hover, .btn-copy:hover {
  background: linear-gradient(135deg, #4b5563 0%, #9ca3af 100%) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(55, 65, 81, 0.4) !important;
}

#logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #111;
}

/* SNS/블로그 아이콘 공통 */
#sidebar-sns {
  position: fixed;
  top: 40%;
  left: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  border-radius: 0 16px 16px 0;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.08);
  padding: 0.5em 0.3em;
}
#sidebar-sns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#sidebar-sns li {
  margin: 0.7em 0;
}
#sidebar-sns img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: transform 0.2s;
}
#sidebar-sns a:hover img {
  transform: scale(1.15);
}

/* 맨위로 버튼 */
#to-top {
  position: fixed;
  right: 2vw;
  bottom: 2vw;
  background: linear-gradient(135deg, #374151 0%, #6b7280 100%) !important;
  color: #fff !important;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(55, 65, 81, 0.3);
  cursor: pointer;
  display: none;
  z-index: 200;
  transition: all 0.3s ease;
}

/* 기타 공통 스타일 */
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1.5rem;
  border: 3px solid #eee;
}
.intro-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.intro-text {
  flex: 1;
}

.tattoo-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}
.tattoo-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
  width: 140px;
  text-align: center;
  transition: transform 0.18s;
  cursor: pointer !important;
  text-decoration: none !important;
  color: inherit !important;
  position: relative;
  display: block !important;
  pointer-events: auto !important;
  z-index: 10 !important;
}
.tattoo-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.tattoo-card span {
  display: block;
  padding: 0.7em 0;
  font-weight: 500;
}
.tattoo-card:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

/* 카드 오버레이 효과 */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 0.5em;
  text-align: center;
}

.tattoo-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
}

/* 타투 상세 페이지 스타일 */
.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: #222;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #888;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.tattoo-detail {
  margin-top: 2rem;
}

.tattoo-info {
  margin-bottom: 3rem;
}

.tattoo-info h3 {
  color: #222;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.tattoo-info h4 {
  color: #444;
  margin: 1.5rem 0 0.8rem 0;
  font-size: 1.1rem;
}

.tattoo-info p {
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.tattoo-info ul {
  margin: 0.5rem 0 1.5rem 0;
  padding-left: 1.5rem;
}

.tattoo-info li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #555;
}

.tattoo-gallery {
  margin-bottom: 3rem;
}

.tattoo-gallery h3 {
  color: #222;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.consultation-section {
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.consultation-section h3 {
  color: #222;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.consultation-section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.consultation-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.portfolio-thumbs {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}
.portfolio-thumb {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
  width: 180px;
  text-align: center;
  transition: transform 0.18s;
}
.portfolio-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.portfolio-thumb p {
  margin: 0.5em 0;
  font-size: 0.98rem;
}
.portfolio-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.review-cards {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.review-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  width: 260px;
  padding: 1em;
  margin-bottom: 1em;
}
.review-imgs {
  display: flex;
  gap: 0.5em;
  margin-bottom: 0.7em;
}
.review-imgs img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}
.review-user {
  font-size: 0.95em;
  color: #888;
}

.faq-list {
  margin: 1em 0;
}
.faq-item {
  margin-bottom: 0.7em;
  border-bottom: 1px solid #eee;
}
.faq-question {
  background: none;
  border: none;
  font-size: 1.1em;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 0.7em 0;
}
.faq-answer {
  display: none;
  padding: 0.5em 0 1em 1em;
  color: #444;
  font-size: 0.98em;
}

.location-tabs {
  display: flex;
  gap: 1em;
  margin-bottom: 1em;
  justify-content: center;
}
.tab-btn {
  background: #eee;
  border: none;
  border-radius: 16px 16px 0 0;
  padding: 0.7em 1.5em;
  font-size: 1em;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.18s;
}
.tab-btn.active {
  background: #222;
  color: #fff;
}
.location-contents {
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 1.5em;
}
.location-content {
  display: none;
}
.location-content.active {
  display: block;
}
.btn-map {
  margin-right: 0.5em;
}

footer {
  background: #374151 !important;
  color: #fff !important;
  text-align: center !important;
  padding: 1.5em 0 0.8em 0 !important;
  margin-top: 2em !important;
  border-radius: 24px 24px 0 0 !important;
}
.footer-info {
  font-size: 0.95em !important;
  margin-bottom: 0.4em !important;
}
.footer-copy {
  font-size: 0.9em !important;
  color: #9ca3af !important;
}

/* =====================
   PC 전용 스타일
   ===================== */

body {
  font-size: 1.08rem;
  background: #f7f7f7;
  margin-top: 80px; /* 네비게이션바 높이만큼 마진 추가 */
}

#main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3vw 1.2rem 3vw;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
#logo {
  font-size: 2.1rem;
  margin: 0;
}
#main-menu {
  display: block;
}
#main-menu ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
#main-menu li {
  position: relative;
}
#main-menu a {
  color: #222;
  font-size: 1.15rem;
  text-decoration: none;
  font-weight: 600;
  padding: 0.3em 0.7em;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
#main-menu a:hover {
  background: #222;
  color: #fff;
}
#main-menu .submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 2.2em;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  border-radius: 8px;
  min-width: 160px;
  z-index: 200;
  padding: 0.5em 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 2단 서브메뉴 (타투종류 > 기법/스타일 타투 등) */
#main-menu .submenu .submenu {
  position: absolute;
  left: 100%; /* 부모 메뉴의 오른쪽에 위치 */
  top: 0; /* 부모 메뉴와 같은 높이에서 시작 */
  margin-left: 2px; /* 약간의 간격 */
  z-index: 201; /* 더 높은 z-index */
  min-width: 180px; /* 조금 더 넓게 */
}

/* 3단 서브메뉴 (타투종류 > 기법/스타일 타투 > 레터링 등) */
#main-menu .submenu .submenu .submenu {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 2px;
  z-index: 202; /* 가장 높은 z-index */
  min-width: 160px;
}

/* CSS 호버 효과 - 지연 시간 추가 */
#main-menu .has-submenu:hover > .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 2단, 3단 서브메뉴도 호버 시 표시 */
#main-menu .submenu .has-submenu:hover > .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#main-menu .submenu li {
  margin: 0;
  position: relative; /* 2단, 3단 서브메뉴를 위한 상대 위치 */
}

#main-menu .submenu a {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  padding: 0.5em 1.2em;
  border-radius: 0;
  background: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap; /* 텍스트 줄바꿈 방지 */
}

#main-menu .submenu a:hover {
  background: #f8f9fa;
  color: #007bff;
  transform: translateX(5px);
}
#hamburger-btn {
  display: none; /* PC에서는 햄버거 숨김 */
}

/* PC에서는 모바일 메뉴 숨김 */
.mobile-menu {
  display: none !important;
}

/* 왼쪽 SNS 아이콘: PC에서는 크고, 상단에 고정 */
#sidebar-sns {
  top: 30vh;
  left: 0;
  border-radius: 0 16px 16px 0;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.97);
  padding: 0.7em 0.3em;
  transition: top 0.6s ease-out, transform 0.3s ease; /* 더 부드러운 전환 효과 */
  animation: float 4s ease-in-out infinite; /* 자연스러운 떠다니는 효과 */
}

/* 자연스러운 떠다니는 애니메이션 */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 호버 시 애니메이션 일시정지 */
#sidebar-sns:hover {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.05);
}

#sidebar-sns img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: transform 0.2s;
}

/* 메인 환영 메시지 */
.main-welcome {
  text-align: center;
  padding: 3.5rem 0 2.5rem 0;
}
.main-btns {
  display: flex;
  justify-content: center;
  gap: 1.2em;
  margin-top: 1.5em;
}
.mobile-bottom-btns {
  display: none; /* PC에서는 하단 고정 버튼 숨김 */
}

/* 마이진소개, 타투종류, 포트폴리오, 후기, FAQ, 오시는길: 가로/그리드/좌우 분할 */
.section-box {
  margin: 2.5rem auto;
  padding: 2.5rem 2rem;
  border-radius: 18px;
}
.intro-profile {
  flex-direction: row;
  align-items: center;
  text-align: left;
}
.profile-img {
  margin: 0 2.5rem 0 0;
}

.tattoo-cards, .portfolio-thumbs, .review-cards {
  flex-direction: row;
  gap: 2rem;
}
.portfolio-thumb, .review-card {
  width: 180px;
  max-width: 220px;
  margin: 0;
}

/* FAQ 아코디언 PC */
.faq-question {
  font-size: 1.15em;
}

/* 오시는길 탭 버튼 PC */
.location-tabs {
  gap: 1.5em;
}
.tab-btn {
  font-size: 1.08em;
  padding: 0.7em 1.7em;
}

footer {
  font-size: 1.05em !important;
  padding: 1.5em 0 0.8em 0 !important;
  background: #374151 !important;
  border-radius: 24px 24px 0 0 !important;
}

#to-top {
  width: 48px;
  height: 48px;
  font-size: 1.1em;
  right: 2vw;
  bottom: 2vw;
}
.intro-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: linear-gradient(90deg, #f8fafc 60%, #f0f4f8 100%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  padding: 3rem 3rem;
  border-radius: 24px;
}
.profile-img {
  max-width: 320px;
  border-radius: 16px;
  border: 6px solid #dbeafe;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.intro-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.intro-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}

/* 마이진소개 페이지 PC 스타일 */
.intro-section {
  padding: 4rem 3rem;
}

.intro-image-container {
  margin-bottom: 3rem;
}

.intro-profile-image {
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.intro-title {
  font-size: 3rem;
  margin-bottom: 2.5rem;
}

.brand-name {
  font-size: 3.2rem;
  letter-spacing: 3px;
}

.tagline {
  font-size: 2rem;
}

.main-intro {
  font-size: 1.3rem;
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.philosophy {
  font-size: 1.2rem;
  padding: 2rem;
  margin-bottom: 3rem;
}

.intro-highlights, .intro-experience {
  margin-bottom: 2.5rem;
  padding: 2rem;
}

.intro-highlights h3, .intro-experience h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.intro-bullets li, .experience-list li {
  font-size: 1.2rem;
  padding: 0.6rem 0;
}

/* =====================
   마이진소개 페이지 스타일
   ===================== */
.intro-section {
  text-align: center;
  padding: 4rem 3rem;
}

.intro-image-container {
  margin-bottom: 3rem;
}

.intro-profile-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  border: 4px solid #f8f9fa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-profile-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 56px rgba(0,0,0,0.18);
}

.intro-text-container {
  max-width: 800px;
  margin: 0 auto;
}

.intro-title {
  margin-bottom: 2.5rem;
  font-size: 3rem;
  font-weight: 700;
  color: #222;
}

.brand-name {
  color: #333;
  font-size: 3.2rem;
  letter-spacing: 3px;
}

.tagline {
  color: #666;
  font-size: 2rem;
  font-weight: 500;
}

.intro-description {
  text-align: left;
  line-height: 1.8;
}

.main-intro {
  font-size: 1.3rem;
  color: #444;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  border-left: 4px solid #007bff;
}

.philosophy {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
  font-style: italic;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-left: 4px solid #28a745;
}

.intro-highlights, .intro-experience {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.intro-highlights h3, .intro-experience h3 {
  color: #333;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  text-align: center;
  font-weight: 600;
}

.intro-bullets, .experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.intro-bullets li, .experience-list li {
  padding: 0.6rem 0;
  font-size: 1.2rem;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.intro-bullets li:last-child, .experience-list li:last-child {
  border-bottom: none;
}

.intro-bullets li {
  color: #28a745;
  font-weight: 500;
}

.experience-list li {
  color: #007bff;
  font-weight: 500;
}
