/* ===== 도아네일 - 공통 스타일 ===== */
:root {
  --color-bg: #fffaf8;
  --color-bg-soft: #fdf1ee;
  --color-primary: #d98c8c;
  --color-primary-dark: #b96b6b;
  --color-accent: #e8b4a0;
  --color-text: #3a2e2c;
  --color-text-soft: #8a7773;
  --color-border: #f0ddd6;
  --color-white: #ffffff;
  --shadow-soft: 0 8px 24px rgba(185, 107, 107, 0.12);
  --radius-lg: 20px;
  --radius-md: 12px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 248, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary-dark);
}
.logo span { color: var(--color-text); font-weight: 400; font-size: 0.9rem; margin-left: 6px; }

.nav-menu {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
}
.nav-menu a { transition: color 0.2s; }
.nav-menu a:hover { color: var(--color-primary-dark); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(185,107,107,0.22); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary-dark);
}
.btn-outline:hover { background: var(--color-bg-soft); }
.btn-block { width: 100%; text-align: center; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.nav-menu .nav-cta.btn { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary-dark);
}

/* ===== Hero ===== */
.hero {
  padding: 96px 0 80px;
  background: radial-gradient(circle at 80% 20%, #fdeae3 0%, transparent 55%),
              radial-gradient(circle at 10% 90%, #fbe4dd 0%, transparent 45%);
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 em { color: var(--color-primary-dark); font-style: normal; }
.hero p {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Section headings ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--color-bg-soft); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-tag { color: var(--color-primary-dark); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.section-head h2 { font-size: 2rem; margin: 10px 0 12px; font-weight: 800; }
.section-head p { color: var(--color-text-soft); }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f6d9cf 0%, #e8b4a0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
}
.about-text h3 { font-size: 1.5rem; margin-bottom: 16px; }
.about-text p { color: var(--color-text-soft); margin-bottom: 14px; }
.about-list { margin-top: 24px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--color-text); }
.about-list li::before { content: "✓"; color: var(--color-primary-dark); font-weight: 700; }

/* ===== Menu / Pricing ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.menu-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.menu-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.menu-card .menu-desc { color: var(--color-text-soft); font-size: 0.9rem; margin-bottom: 16px; min-height: 40px; }
.menu-price { font-weight: 700; color: var(--color-primary-dark); font-size: 1.05rem; }
.menu-note { display: block; font-size: 0.78rem; color: var(--color-text-soft); font-weight: 400; margin-top: 4px; }
.menu-footnote { text-align: center; color: var(--color-text-soft); font-size: 0.88rem; margin-top: 32px; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #fbe4dd, #f6d9cf);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(120, 80, 70, 0.55);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== Location ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.info-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.info-row:last-child { border-bottom: none; }
.info-row .info-label { width: 88px; flex-shrink: 0; font-weight: 700; color: var(--color-primary-dark); }
.info-row .info-value { color: var(--color-text); }
.info-row .info-value small { display: block; color: var(--color-text-soft); margin-top: 2px; }
.map-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.map-visual iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-fallback {
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  color: var(--color-text-soft);
  text-align: center;
  padding: 24px;
}

/* ===== Footer ===== */
.site-footer {
  background: #3a2e2c;
  color: #f2e6e2;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.footer-grid p, .footer-grid li { color: #c9b8b3; font-size: 0.9rem; }
.footer-grid li { margin-bottom: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social span {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: #f2e6e2;
  cursor: default;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.8rem;
  color: #a8938d;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Sub-page hero / home quick links ===== */
.nav-menu a[aria-current="page"] { color: var(--color-primary-dark); font-weight: 700; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.quick-card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.quick-card h3 { font-size: 1.15rem; margin: 8px 0; }
.quick-card p { color: var(--color-text-soft); font-size: 0.9rem; margin: 0 0 16px; }
.quick-more { color: var(--color-primary-dark); font-weight: 700; font-size: 0.9rem; }

.cta-band { text-align: center; }
.cta-band h2 { font-size: 1.6rem; margin: 0 0 8px; font-weight: 800; }
.cta-band p { color: var(--color-text-soft); margin: 0 0 24px; }

/* ===== Reservation page ===== */
.reserve-hero, .page-hero { padding: 56px 0 32px; text-align: center; }
.reserve-hero h1, .page-hero h1 { font-size: 2rem; margin: 8px 0; }
.reserve-hero p, .page-hero p { color: var(--color-text-soft); }
.page-hero { background: radial-gradient(circle at 80% 20%, #fdeae3 0%, transparent 60%); padding-bottom: 48px; }
.page-hero + .section { padding-top: 56px; }

.booking-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: flex-start;
  padding-bottom: 96px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.calendar-head h3 { margin: 0; font-size: 1.1rem; }
.calendar-nav-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.calendar-nav-btn:hover { background: var(--color-bg-soft); }

.weekday-row, .day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.weekday-row { margin-bottom: 8px; }
.weekday-row span { text-align: center; font-size: 0.78rem; color: var(--color-text-soft); font-weight: 600; }

.day-cell {
  aspect-ratio: 1/1;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.1;
  color: var(--color-text);
  transition: background 0.15s;
}
.day-cell small { font-size: 0.62rem; font-weight: 600; }
.day-cell.is-empty { visibility: hidden; }
.day-cell.is-closed { color: #d8c8c4; cursor: not-allowed; }
.day-cell.is-holiday { background: #fff4e0; color: #8a5a15; }
.day-cell.is-past { color: #e3d5d1; cursor: not-allowed; }
.day-cell.is-available:hover { background: var(--color-bg-soft); cursor: pointer; }
.day-cell.is-selected { background: var(--color-primary); color: #fff; font-weight: 700; }
.day-cell.is-today { border: 1.5px solid var(--color-primary); }

.legend { display: flex; gap: 16px; margin-top: 16px; font-size: 0.78rem; color: var(--color-text-soft); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend .dot-available { background: var(--color-primary); }
.legend .dot-closed { background: #e3d5d1; }
.legend .dot-holiday { background: #f0d9a6; }
.legend .dot-busy { background: #f3cfcf; }
.legend .dot-taken { background: #e3d5d1; }

.cal-status { font-size: 0.8rem; color: var(--color-text-soft); text-align: right; margin-bottom: 12px; }
.holiday-note { font-size: 0.82rem; color: #8a5a15; background: #fff4e0; border-radius: var(--radius-md); padding: 10px 14px; margin-top: 14px; }

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.time-slot {
  padding: 12px 8px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
}
.time-slot small { display: block; font-size: 0.7rem; font-weight: 400; color: var(--color-text-soft); }
.time-slot.is-blocked { color: #cbb9b4; background: #f7efec; cursor: not-allowed; }
.time-slot.is-busy { color: var(--color-primary-dark); background: var(--color-bg-soft); border-color: transparent; cursor: not-allowed; }
.time-slot.is-busy small { color: var(--color-primary-dark); }
.time-slot.is-taken { color: #cbb9b4; text-decoration: line-through; cursor: not-allowed; background: #f7efec; }
.time-slot.is-open:hover { border-color: var(--color-primary); }
.time-slot.is-selected { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.time-slot.is-selected small { color: #fff; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.92rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--color-bg);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.selected-summary {
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--color-text);
}
.selected-summary strong { color: var(--color-primary-dark); }

.form-msg { margin-top: 14px; font-size: 0.88rem; text-align: center; min-height: 20px; }
.form-msg.error { color: #c0392b; }
.form-msg.success { color: #1c7c4f; }

.setup-banner {
  background: #fff4e0;
  border: 1px solid #f0d9a6;
  color: #6b5215;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.setup-banner code { background: rgba(0,0,0,0.06); padding: 2px 6px; border-radius: 4px; }

/* ===== Modal (booking success) ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(58,46,44,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}
.modal-box .modal-icon { font-size: 2.4rem; margin-bottom: 12px; }
.modal-box h3 { margin: 0 0 10px; }
.modal-box p { color: var(--color-text-soft); font-size: 0.92rem; margin-bottom: 24px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid, .location-grid, .booking-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-menu, .header-actions { display: none; }
  .nav-toggle { display: block; }
  .site-header.is-menu-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--color-bg);
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    gap: 18px;
  }
  .nav-menu .nav-cta.btn {
    display: inline-block;
    text-align: center;
    margin-top: 4px;
  }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
}

/* 스팸 방지용 숨김 입력칸 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
