/* 기본 설정 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
.header-title {
  font-size: 100px;        /* 글자 크기 */
  font-weight: 700;        /* 굵게 */
  text-align: center;      /* 가운데 정렬 */
  padding: 25px 0;         /* 위아래 여백 */
  color: #f1e8b6;          /* 글자 색 */
  letter-spacing: 1px;     /* 자간(선택) */
  font-family: 'Pretendard', sans-serif;
}

body {
  margin: 0;
  font-family: "Gowon Dudum", sans-serif, system-ui, sans-serif;
  background: #fef5e5;
  color: #18181b;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* 공통 레이아웃 */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 네비게이션 */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 245, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e4e4e7;
  padding-bottom: 25px;   /* ⭐ 선(보더) 자체를 아래로 내리는 부분 */
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-top: 60px; 
}

/* (텍스트 로고 쓸 때용 – 지금은 이미지라 거의 영향 없음) */
.logo {
  .logo {
    font-family: "Pretendard", sans-serif;
    font-weight: 800;
    font-size: 200px;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #2F2B28;
  }
}

/* 실제 로고 이미지 */
.logo-img {
  height: 90px;    /* 크기 유지 원하면 그대로 두고, 줄이고 싶으면 80, 70 등으로 변경 */
  width: auto;
  object-fit: contain;
  display: block;
  padding-bottom: 20px; 
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding-bottom: 28px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #18181b;
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  padding: 80px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  margin: 0 0 16px;
}

.hero-text p {
  margin: 0 0 24px;
  color: #52525b;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid #d4d4d8;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease,
    box-shadow 0.15s ease;
}

.btn.primary {
  background: #18181b;
  color: #fafafa;
  border-color: #18181b;
}

.btn.primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.25);
}

.btn.ghost {
  background: transparent;
}

.btn.ghost:hover {
  background: #e5e7eb;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 20px;
  border: 1px solid #e4e4e7;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  max-width: 320px;
}

.hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a1a1aa;
  margin: 0 0 6px;
}

.hero-title {
  font-size: 18px;
  margin: 0 0 8px;
}

.hero-meta {
  font-size: 13px;
  color: #71717a;
}

/* 섹션 공통 */
.section {
  padding: 72px 0;
  background: #f5f5f7;
}

.section.muted {
  background: #f9fafb;
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-header h2 {
  font-size: 22px;
  margin: 0 0 6px;
}

.section-header p {
  margin: 0;
  color: #71717a;
  font-size: 14px;
}

.section-body {
  font-size: 15px;
  color: #3f3f46;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 18px;
  border: 1px solid #e4e4e7;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: #52525b;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: 14px;
  border: 1px dashed #e4e4e7;
  background: #ffffff;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #a1a1aa;
}

.gallery-note {
  margin-top: 12px;
  font-size: 13px;
  color: #a1a1aa;
}

/* Footer */
.footer {
  border-top: 1px solid #e4e4e7;
  background: #f9fafb;
}

.footer-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #a1a1aa;
}

.footer-meta {
  opacity: 0.8;
}

/* 반응형 (태블릿/모바일) */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .two-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .features-grid,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-inner {
    gap: 16px;
  }

  .nav-links {
    font-size: 13px;
    gap: 14px;
  }
}

/* 메뉴 리스트 기본 */
.menu-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.menu-item {
  width: 220px;
  text-align: center;
}

.menu-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.menu-item h3 {
  margin-top: 10px;
  font-size: 18px;
}

.price {
  margin-top: 5px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* 메뉴 페이지 공통 */
.menu-hero {
  padding: 80px 0 40px;
  background: #fff7ea;
  border-bottom: 1px solid #f4e4c7;
}

.menu-hero-inner h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.menu-hero-inner p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
}

.menu-section {
  padding: 48px 0;
}

.menu-section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* 카드형 메뉴 리스트 */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.menu-card {
  background: #141313;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.menu-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.menu-card-body {
  padding: 14px 16px 16px;
}

.menu-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.menu-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
  min-height: 36px;
}

.menu-price {
  font-size: 15px;
  font-weight: 700;
  color: #141413;
}

/* 메뉴 전체 영역 여백 */
.menu-section {
  padding: 40px 20px;
}

/* 카드들을 정렬하는 그리드 */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
}

/* 카드 기본 스타일 */
.menu-card {
  background: #f8f4eb;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* 호버 효과 */
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

/* 카드 안의 이미지 (크기 통일) */
.menu-card .menu-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* 텍스트 영역 */
.menu-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 제목(메뉴 이름) */
.menu-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/* 설명 */
.menu-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* 가격 */
.menu-price {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
}

/* Hero 오른쪽 이미지 (다른 버전) */
.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-image img {
  width: 400px;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* 전체 텍스트 기본 폰트 */
body {
  font-family: 'Pretendard', sans-serif;
}

/* 제목 스타일 고급화 */
h1, h2, h3 {
  font-family: 'Pretendard', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ============================
   가맹 진행 절차 (카드 스타일)
============================ */

.franchise-steps {
  padding: 80px 0;
  background: #fffdf7;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #2F2B28;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.step-card {
  background: #f8f4eb;
  padding: 26px 24px;
  border-radius: 22px;
  border: 1px solid #eee4d1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
  transition: 0.25s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.step-number {
  font-size: 32px;
  font-weight: 800;
  color: #c7b28a;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #2F2B28;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* 반응형 */
@media (max-width: 600px) {
  .section-title {
    text-align: center;
  }
  
  .step-card {
    text-align: center;
  }
}

body {
  margin: 0;
  background: #fffdf7;
  font-family: "Pretendard", sans-serif;
}

/* 가로 전체 레이아웃 */
.franchise-wrap {
  display: flex;
  width: 100%;
  min-height: 100vh;
  padding: 60px;
  box-sizing: border-box;
  gap: 60px;
}

/* 왼쪽 */
.left-box {
  flex: 1;
}

.title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 50px;
}

.reason-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.reason-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  white-space: pre-line;
}

/* 오른쪽 */
.right-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.process-box {
  background: #fff8ec;
  border-radius: 20px;
  padding: 40px 30px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.process-box h2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 700;
}

.step {
  font-size: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #e0d3c2;
}

.step:last-child {
  border-bottom: none;
}

/* =========================
   모바일 최적화 (가로 768px 이하)
========================= */
@media (max-width: 768px) {

  body {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .logo {
    font-size: 20px;
    line-height: 1.3;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
  }

  .hero-inner {
    flex-direction: column;
    gap: 24px;
  }

  .hero-text {
    text-align: left;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .section-body.two-columns {
    flex-direction: column;
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* 아주 작은 화면 (가로 480px 이하) */
@media (max-width: 480px) {

  .hero-text h1 {
    font-size: 22px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
