/* ==========================================================================
   외포리 꽃게집 공통 디자인 시스템 (wonzo7.com 테마 기반)
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  /* Brand Teal Palette */
  --color-teal-50: #f0fdfa;
  --color-teal-100: #ccfbf1;
  --color-teal-200: #99f6e4;
  --color-teal-500: #14b8a6;
  --color-teal-600: #0d9488;
  --color-teal-700: #0f766e;
  --color-teal-800: #115e59;
  --color-teal-900: #134e4a;
  --color-teal-950: #042f2c;

  /* Fresh Emerald & Lime */
  --color-emerald-500: #10b981;
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-lime-500: #84cc16;

  /* Ocean Sky & Surface */
  --color-sky-50: #f0f9ff;
  --color-sky-100: #e0f2fe;
  --color-sky-200: #bae6fd;
  --color-sky-300: #7dd3fc;

  /* Slate Typography */
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;

  /* Status Colors */
  --color-rose-500: #f43f5e;
  --color-rose-600: #e11d48;
  --color-rose-700: #be123c;
  --color-amber-500: #f59e0b;

  /* Specified Calendar Colors */
  --cal-0: #ffffff;
  --cal-1: #cdff03;
  --cal-2: #05ff86;
  --cal-3: #05cdff;
  --cal-4: #b405ff;
  --cal-5: #ff05c5;

  /* Typography & Spacing */
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows & Glassmorphism */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 25px -5px rgba(15, 118, 110, 0.07), 0 8px 10px -6px rgba(15, 118, 110, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(15, 118, 110, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.94);
  --glass-border: rgba(186, 230, 253, 0.8);
}

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

html {
  font-family: var(--font-sans);
  color: var(--color-slate-800);
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.45) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(204, 251, 241, 0.4) 0%, transparent 45%),
              #f8fafc;
}

/* ==========================================================================
   Header Navigation Bar (wonzo7 style)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-sky-200);
  box-shadow: 0 2px 10px rgba(15, 118, 110, 0.04);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-sky-50);
  border: 1px solid var(--color-sky-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.brand-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-icon-box img {
  transform: scale(1.1) rotate(-3deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-slate-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-teal-700);
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-pill.outline {
  background: var(--color-sky-50);
  color: var(--color-slate-700);
  border-color: var(--color-sky-200);
}

.nav-pill.outline:hover {
  background: var(--color-sky-100);
  color: var(--color-teal-800);
}

.nav-pill.active {
  background: var(--color-teal-700);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.nav-pill.active:hover {
  background: var(--color-teal-600);
}

/* Call Button in Header */
.btn-call-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-teal-700), var(--color-emerald-600));
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
  transition: all 0.2s ease;
}

.btn-call-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.4);
}

.btn-call-header svg {
  width: 16px;
  height: 16px;
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ==========================================================================
   Main Layout Container
   ========================================================================== */
.main-content {
  flex: 1;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1rem 3.5rem;
}

/* ==========================================================================
   Notice Card (영업 시간 및 정기 휴무)
   ========================================================================== */
.notice-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.notice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-teal-700), var(--color-emerald-500), var(--color-teal-900));
}

.notice-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.notice-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notice-title-group svg {
  width: 20px;
  height: 20px;
  color: var(--color-teal-700);
}

.notice-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-slate-900);
}

.badge-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-teal-50);
  color: var(--color-teal-800);
  border: 1px solid var(--color-teal-200);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-emerald-500);
  box-shadow: 0 0 6px var(--color-emerald-500);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.notice-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--color-sky-200);
}

.notice-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  align-items: flex-start;
}

.notice-label {
  font-weight: 700;
  color: var(--color-slate-600);
  flex-shrink: 0;
  min-width: 85px;
}

.notice-value {
  font-weight: 800;
  color: var(--color-slate-900);
  text-align: right;
}

.notice-value.highlight-teal {
  color: var(--color-teal-700);
}

.notice-value.highlight-holiday {
  color: var(--color-rose-600);
  font-size: 0.88rem;
  line-height: 1.35;
}

.notice-value.highlight-holiday .holiday-subtext {
  color: #000000;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: linear-gradient(to bottom, rgba(240, 249, 255, 0.7), rgba(224, 242, 254, 0.85));
  border-top: 1px solid var(--color-sky-200);
  padding: 1.75rem 1rem 2.25rem;
  color: var(--color-slate-600);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  width: fit-content;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-brand-box:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.footer-crab-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-sky-200);
  padding: 3px;
  box-shadow: var(--shadow-subtle);
  object-fit: contain;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
}

.footer-restaurant-name {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-slate-900);
}

.footer-sub-specialties {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-teal-700);
}

.footer-details {
  border-top: 1px solid rgba(186, 230, 253, 0.9);
  padding-top: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--color-slate-600);
}

.footer-details strong {
  color: var(--color-slate-800);
}

.footer-phone-link {
  color: var(--color-teal-700);
  text-decoration: none;
  font-weight: 700;
}

.footer-phone-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Modals & Toast Animations
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  max-width: 480px;
  width: 100%;
  border: 1px solid var(--color-sky-200);
  box-shadow: 0 25px 50px -12px rgba(15, 118, 110, 0.25);
  transform: scale(0.95) translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}
