/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #BC002D;   /* Japan flag red */
  --red-dark:  #8B0021;
  --red-light: #E8314F;
  --blue:      #1A3C8E;   /* deep blue */
  --blue-mid:  #2757C9;
  --blue-light:#EEF3FF;
  --dark:      #1a1a1a;
  --gray:      #555;
  --gray-light:#888;
  --border:    #e5e7eb;
  --bg:        #ffffff;
  --bg-soft:   #f9fafb;
  --font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif:     Georgia, 'Times New Roman', serif;
  --max-w:     1100px;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--dark);
  background: var(--bg);
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--red-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ── Divider accent ── */
.section-rule {
  border: none;
  border-top: 2px solid var(--red);
  width: 60px;
  margin: 0 auto 1.5rem;
  opacity: .7;
}

/* ── Header ── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.3px;
}
.site-logo span { color: var(--red); }
.site-logo:hover { text-decoration: none; }

nav a {
  color: var(--gray);
  font-size: .85rem;
  margin-left: 1.6rem;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-weight: 600;
}
nav a:hover { color: var(--blue); text-decoration: none; }

/* ── Hero (article image) ── */
.hero {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}
.hero-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}

/* ── Page wrapper ── */
.page-wrap {
  max-width: var(--max-w);
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}
.page-wrap.full { grid-template-columns: 1fr; }

/* ── Article header ── */
.article-header { margin-bottom: 2rem; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.badge {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 20px;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-season  { background: #FFF0F3; color: var(--red); border: 1px solid #FFCCD5; }
.badge-dest    { background: var(--blue-light); color: var(--blue); border: 1px solid #C4D4F7; }
.badge-food    { background: #FFF5E6; color: #B45309; border: 1px solid #FDDBA8; }
.badge-itin    { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }

h1.article-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: .5rem;
}
.article-date { color: var(--gray-light); font-size: .88rem; }

/* ── Article body ── */
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--border);
  color: var(--dark);
}
.article-body h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.3em;
  background: var(--red);
  margin-right: .5rem;
  vertical-align: middle;
  border-radius: 2px;
}
.article-body h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 .5rem;
  color: var(--blue);
}
.article-body p  { margin-bottom: 1.2rem; }
.article-body ul,
.article-body ol { margin: 0 0 1.2rem 1.5rem; }
.article-body li { margin-bottom: .4rem; }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .93rem;
}
.article-body th {
  background: var(--blue);
  color: var(--bg);
  padding: .6rem .9rem;
  text-align: left;
}
.article-body td {
  padding: .55rem .9rem;
  border-bottom: 1px solid var(--border);
}
.article-body tr:nth-child(even) td { background: var(--bg-soft); }

blockquote {
  border-left: 4px solid var(--blue);
  padding: .8rem 1.2rem;
  margin: 1.5rem 0;
  background: var(--blue-light);
  color: var(--gray);
  font-style: italic;
  border-radius: 0 6px 6px 0;
}

/* ── CTA boxes ── */
.cta-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}
.cta-box h4 {
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--dark);
}
.cta-btn {
  display: inline-block;
  background: var(--red);
  color: var(--bg) !important;
  padding: .6rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .9rem;
  margin-top: .5rem;
  transition: background .2s, transform .1s;
  letter-spacing: .2px;
}
.cta-btn:hover {
  background: var(--red-dark);
  text-decoration: none !important;
  transform: translateY(-1px);
}
.cta-btn.blue {
  background: var(--blue);
}
.cta-btn.blue:hover {
  background: #112C6E;
}

/* ── Season banner ── */
.season-banner {
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  border: 1px solid #FED7AA;
}
.season-banner h4 { color: #C2410C; margin-bottom: .4rem; }

/* ── Sidebar ── */
.sidebar-widget {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 1rem;
  color: var(--blue);
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue-light);
}

/* ── Card grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  background: var(--bg);
}
.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
  transform: translateY(-3px);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}
.card-body { padding: 1rem 1.2rem; }
.card-body h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: .4rem; }
.card-body p  { font-size: .88rem; color: var(--gray-light); margin: 0; }

/* ── Homepage hero (photo background) ── */
.home-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
  background: #111;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/hero-bg.jpg') center / cover no-repeat;
  filter: brightness(.55);
  z-index: 0;
}
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.5) 100%);
  z-index: 1;
}
.home-hero h1,
.home-hero p,
.home-hero a { position: relative; z-index: 2; }
.home-hero h1 {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.home-hero h1 span { color: #FFB3BF; }
.home-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.9);
  max-width: 580px;
  margin: 0 auto 2.2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* ── Section headings ── */
.season-grid {
  max-width: var(--max-w);
  margin: 3.5rem auto;
  padding: 0 1.5rem;
}
.season-grid h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  margin-bottom: .5rem;
  text-align: center;
  color: var(--dark);
}
.season-grid h2 + hr {
  border: none;
  border-top: 3px solid var(--red);
  width: 48px;
  margin: .6rem auto 2rem;
}

/* ── Season cards ── */
.season-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.season-card {
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 1.8rem 1rem;
  color: var(--bg);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: opacity .18s, transform .18s;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.season-card:hover { opacity: .9; text-decoration: none; transform: translateY(-2px); }
.season-card.spring { background: linear-gradient(135deg, #F472B6, #BE185D); }
.season-card.summer { background: linear-gradient(135deg, var(--blue-mid), var(--blue)); }
.season-card.autumn { background: linear-gradient(135deg, #FB923C, #B45309); }
.season-card.winter { background: linear-gradient(135deg, #60A5FA, #1D4ED8); }
.season-card .icon { font-size: 2.5rem; display: block; margin-bottom: .5rem; }

/* ── Footer ── */
.site-footer {
  background: #F3F4F6;
  border-top: 3px solid var(--red);
  color: var(--gray-light);
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
  text-align: center;
  font-size: .85rem;
}
.site-footer a { color: var(--blue); }
.site-footer a:hover { color: var(--blue-mid); }
.affiliate-disclosure {
  max-width: 700px;
  margin: 0 auto 1rem;
  font-size: .8rem;
  color: #9CA3AF;
  line-height: 1.5;
}

/* ── Page title ── */
.page-title {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}
.page-title h1 {
  font-family: var(--serif);
  font-size: 2rem;
}
.page-title p  { color: var(--gray-light); margin-top: .5rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-wrap { grid-template-columns: 1fr; }
  .sidebar   { display: none; }
  h1.article-title { font-size: 1.7rem; }
  .home-hero h1    { font-size: 2rem; }
  .season-cards    { grid-template-columns: repeat(2, 1fr); }
  nav { display: none; }
  .home-hero { min-height: 380px; padding: 3.5rem 1.2rem 3rem; }
}
