/* KoreaWander — site styles */
:root {
  --green:   #2D6A4F;
  --terra:   #E07A5F;
  --cream:   #F8F5F0;
  --txt:     #1A1A2E;
  --txt-sub: #6B7280;
  --link:    #1B4F72;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--txt);
  background: #fff;
  padding-bottom: 64px; /* bottom nav 높이 */
}

h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; }

a { color: var(--link); }
a:hover { color: var(--green); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  height: 56px;
  display: flex;
  align-items: center;
}
.site-header nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--txt);
}
.site-header nav a:hover { color: var(--green); }
.brand-logo img { height: 36px; }

/* ── Hero ── */
.hero-wrap {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  background: var(--cream);
}
.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.hero-placeholder {
  height: 280px;
  background: linear-gradient(135deg, var(--green) 0%, #52b788 100%);
}

/* ── Quick Info Box ── */
.quick-info-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  background: var(--cream);
  border-radius: 12px;
  padding: 16px;
}
.quick-info-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
}
.qi-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Google Maps Facade ── */
.map-facade {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.map-facade__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.15);
}
.map-facade iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── AdSense Slots (CLS 방지) ── */
.ad-slot--rectangle { min-height: 280px; }
.ad-slot--leaderboard { min-height: 90px; }
.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad-slot:has(.adsbygoogle[data-ad-status="unfilled"]) { min-height: 0 !important; }

/* ── Cards ── */
.card { border: 1px solid #e5e7eb; border-radius: 10px; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.card-img-top { border-radius: 10px 10px 0 0; object-fit: cover; }

/* ── Bottom Nav (모바일) ── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  z-index: 999;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  text-decoration: none;
  color: var(--txt-sub);
  gap: 2px;
}
.bottom-nav__item .icon { font-size: 1.3rem; }
.bottom-nav__item:hover { color: var(--green); }

/* ── CTA Button ── */
.btn-cta {
  background: var(--terra);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
}
.btn-cta:hover { background: #c96a4f; color: #fff; }

/* ── Site Footer ── */
.site-footer { background: var(--cream); }
.site-footer a { color: var(--txt-sub); text-decoration: none; }
.site-footer a:hover { color: var(--green); }

/* ── Responsive ── */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .hero-img { height: 480px; }
}
