/* Shared stylesheet for City Tour GitHub Pages. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #f2ede6;
  --surface:     #faf8f5;
  --card:        #ffffff;
  --border:      #e4ddd4;
  --text:        #1a1a1a;
  --muted:       #6b6b6b;
  --accent:      #3a8c8c;
  --accent-bg:   rgba(58,140,140,0.1);
  --shadow:      0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.11);
  --radius:      16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); }

nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 16px 40px;
  background: rgba(242,237,230,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  font-size: 1.1rem; font-weight: 800; color: var(--text); text-decoration: none; white-space: nowrap;
}

.nav-logo img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.nav-logo span { color: var(--accent); }
.nav-title { display: inline-flex; align-items: baseline; gap: 4px; }
.nav-links { display: flex; gap: 20px; align-items: center; justify-content: flex-end; min-width: 0; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.9rem; color: var(--muted); text-decoration: none; transition: color .2s; white-space: nowrap;
}
.nav-link:hover { color: var(--text); }

.breadcrumb {
  position: static;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0; }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 80px 24px 56px; }
.hero-badge { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 28px; }
.hero-badge img { width: 80px; height: 80px; border-radius: 20px; display: block; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.hero-badge span { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; max-width: 680px; margin-bottom: 20px; }
h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--muted); max-width: 500px; margin-bottom: 36px; }

.cta-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(58,140,140,0.32); }
.btn-primary:hover { box-shadow: 0 6px 28px rgba(58,140,140,0.44); }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); }
.appstore-badge { display: inline-block; transition: transform .15s, opacity .15s; }
.appstore-badge:hover { transform: translateY(-2px); opacity: 0.88; }
.appstore-badge img { height: 54px; width: auto; display: block; }

.android-soon {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--muted); font-weight: 500;
  margin-top: 14px; padding: 6px 14px;
  background: rgba(0,0,0,0.04); border-radius: 20px;
}

.screens { display: flex; justify-content: center; align-items: flex-end; gap: 20px; padding: 48px 24px 64px; overflow: hidden; }
.screen-wrap { flex-shrink: 0; border-radius: 36px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); transition: transform .3s; }
.screen-wrap:hover { transform: translateY(-6px); }
.screen-wrap img { display: block; width: auto; height: 420px; object-fit: cover; object-position: top; }

.divider { border: none; border-top: 1px solid var(--border); }
.section { padding: 72px 24px; max-width: 1000px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 40px; }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 20px; }
.section p { color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.section p:last-child { margin-bottom: 0; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.feature-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); background: linear-gradient(135deg, #fff 0%, var(--accent-bg) 100%);
  border: 1px solid rgba(58,140,140,0.22); box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}
.feature-icon svg { width: 21px; height: 21px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.25; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

.tours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tour-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tour-cover { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--surface); }
.tour-cover-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, var(--accent-bg) 0%, var(--surface) 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.tour-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tour-type { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.tour-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.tour-card p { font-size: 0.85rem; color: var(--muted); flex: 1; line-height: 1.6; }
.tour-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border); }

.steps { display: flex; flex-direction: column; max-width: 580px; }
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-bg); border: 1.5px solid rgba(58,140,140,0.25);
  color: var(--accent); font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.step p { font-size: 0.88rem; color: var(--muted); }

.cta-band { text-align: center; padding: 72px 24px; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 28px; }

.hub-hero { padding: 64px 24px 48px; max-width: 860px; margin: 0 auto; }
.hub-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.hub-hero h1 em { font-style: normal; color: var(--accent); }
.hub-hero p { font-size: clamp(1rem, 2.2vw, 1.1rem); color: var(--muted); max-width: 600px; margin-bottom: 0; line-height: 1.7; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; padding: 0 24px 80px; }
.hub-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; text-decoration: none; color: inherit; }
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hub-card-cover { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--surface); }
.hub-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hub-card-type { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hub-card h2 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.hub-card p { font-size: 0.85rem; color: var(--muted); flex: 1; line-height: 1.6; margin-bottom: 0; }
.hub-card-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; max-width: 960px; margin: 0 auto; padding: 0 24px 32px; }
.filter-chip { font-size: 0.82rem; font-weight: 600; padding: 8px 16px; border-radius: 100px; border: 1.5px solid var(--border); color: var(--muted); background: var(--card); cursor: pointer; text-decoration: none; transition: border-color .15s, color .15s; }
.filter-chip:hover, .filter-chip.active { border-color: var(--accent); color: var(--accent); }

.doc-shell { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.doc-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.doc-shell h1 { font-size: clamp(2.1rem, 6vw, 3rem); max-width: none; margin-bottom: 6px; }
.doc-shell h2 { font-size: 1.15rem; margin-top: 36px; margin-bottom: 10px; }
.doc-shell p, .doc-shell ul { margin: 12px 0; color: var(--muted); line-height: 1.75; }
.doc-shell ul { padding-left: 22px; }
.doc-shell strong { color: var(--text); }
.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }

footer { text-align: center; padding: 36px 24px; color: var(--muted); font-size: 0.82rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 10px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .screen-wrap:first-child, .screen-wrap:last-child { display: none; }
}

@media (max-width: 640px) {
  nav { padding: 14px 20px; }
  .tour-hero, .hub-hero { padding: 40px 20px 32px; }
  .section { padding: 48px 20px; }
  .breadcrumb { padding: 12px 20px; }
}

@media (max-width: 600px) {
  nav { justify-content: flex-start; gap: 0; padding: 14px 18px; }
  .nav-logo { min-height: 44px; }
  .nav-links { display: none; }
  .screen-wrap:not(:nth-child(2)) { display: none; }
  .screen-wrap img { height: auto; width: 100%; max-width: 280px; }
}
