/*
Theme Name: 무레집 (Murejip)
Theme URI: http://pohnag2.agentjjunworld.com
Author: Murejip
Description: 포항 영일대해수욕장 물회 전문점 무레집 전용 원페이지 테마. 대표메뉴 물회·회덮밥과 사이드 메뉴, 매장 안내를 담은 반응형 홈페이지입니다.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: murejip
*/

/* ===== 기본 변수 ===== */
:root {
  --navy: #0a3a47;
  --deep: #0d4d5c;
  --sea: #0e8a99;
  --sea-light: #18b6c6;
  --cream: #fdfaf2;
  --sand: #f4ece0;
  --ink: #1c2b30;
  --muted: #5c6e74;
  --coral: #ff5b3c;
  --coral-dark: #e8492c;
  --line: rgba(13, 77, 92, 0.12);
  --shadow: 0 18px 50px -22px rgba(10, 58, 71, 0.45);
  --radius: 18px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--alt { background: var(--sand); }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--sea);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
}

.center { text-align: center; }
.center .section-desc { margin-left: auto; margin-right: auto; }

/* ===== 헤더 / 네비 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 242, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-logo { height: 46px; width: auto; display: block; border-radius: 8px; }
.brand-text { display: flex; align-items: baseline; gap: 8px; }
.brand small { font-size: 0.72rem; font-weight: 600; color: var(--sea); letter-spacing: 0.12em; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; color: var(--ink); font-size: 0.98rem; transition: color .2s; }
.nav-links a:hover { color: var(--sea); }
.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px -8px var(--coral);
  transition: transform .15s, background .2s;
}
.nav-cta:hover { background: var(--coral-dark); transform: translateY(-2px); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ===== 히어로 ===== */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(24,182,198,0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--deep) 55%, var(--sea) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(10,58,71,0.78) 0%, rgba(13,77,92,0.62) 50%, rgba(14,138,153,0.55) 100%),
    radial-gradient(120% 90% at 80% 0%, rgba(24,182,198,0.25), transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 150px;
  max-width: 760px;
}
.hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--sea-light); }
.hero p.lead {
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  color: rgba(255,255,255,0.9);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 14px 30px -12px var(--coral); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-meta div { font-size: 0.95rem; }
.hero-meta strong { display: block; font-size: 1.05rem; color: var(--sea-light); margin-bottom: 2px; }

/* 물결 */
.wave {
  position: absolute;
  bottom: -1px; left: 0; width: 100%;
  line-height: 0;
  z-index: 1;
}
.wave svg { width: 100%; height: 90px; display: block; }

/* ===== 메뉴 ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.menu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .2s;
}
.menu-card:hover { transform: translateY(-4px); }
.menu-card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  background: linear-gradient(135deg, var(--sea), var(--sea-light));
  margin-bottom: 18px;
}
.menu-card h3 { font-size: 1.55rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.menu-card p { color: var(--muted); margin-bottom: 20px; min-height: 48px; }
.menu-card .price {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 1.9rem; font-weight: 900; color: var(--coral);
}
.menu-card .price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.menu-card .badge {
  position: absolute; top: 22px; right: 22px;
  background: var(--sand); color: var(--sea);
  font-size: 0.78rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}

/* ===== 사이드 ===== */
.side-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.side-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: transform .18s, border-color .2s;
}
.side-item:hover { transform: translateY(-3px); border-color: var(--sea-light); }
.side-item .emoji { font-size: 2rem; display: block; margin-bottom: 10px; }
.side-item h4 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.side-item small { color: var(--muted); font-size: 0.85rem; }
.side-note { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }

/* ===== 소개 ===== */
.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 54px;
  align-items: center;
}
.story-visual {
  border-radius: var(--radius);
  min-height: 360px;
  background:
    radial-gradient(100% 80% at 30% 20%, rgba(24,182,198,0.5), transparent 60%),
    linear-gradient(150deg, var(--deep), var(--navy));
  display: grid; place-items: center;
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 30px;
  box-shadow: var(--shadow);
}
.story-visual .big { font-size: 3.4rem; font-weight: 900; letter-spacing: -0.03em; color: #fff; }
.story-visual .sub { letter-spacing: 0.2em; font-size: 0.85rem; margin-top: 8px; }
.story ul { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.story li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.story li b { color: var(--ink); }
.story li .dot { color: var(--coral); font-weight: 900; flex-shrink: 0; }

/* ===== 매장 안내 ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.info-card .ico { font-size: 1.8rem; margin-bottom: 14px; }
.info-card h4 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; font-weight: 800; }
.info-card p { color: var(--muted); }
.info-card .hl { color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.notice {
  margin-top: 24px;
  background: #fff;
  border: 1px dashed var(--sea-light);
  border-radius: 14px;
  padding: 18px 22px;
  color: var(--sea);
  font-weight: 600;
  display: flex; gap: 10px; align-items: center;
}

/* ===== 푸터 ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 54px 0 40px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer p { font-size: 0.92rem; line-height: 1.9; }
.site-footer .copy { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== 반응형 ===== */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr; }
  .side-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story-visual { min-height: 240px; order: -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 80px 0 120px; }
}
