/* ============================================================
   ZENSTAR TOURS — Shared Stylesheet
   ============================================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: #0a0a0a;
  color: #e8e4dc;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* VARIABLES */
:root {
  --gold:        #c9a96e;
  --gold-light:  #e8d5a3;
  --gold-dark:   #9a7a45;
  --black:       #0e0c09;
  --black-soft:  #13110d;
  --black-card:  #1a1710;
  --black-alt:   #111109;
  --white:       #ffffff;
  --cream:       #faf7f2;
  --cream-mid:   #f2ece0;
  --cream-dark:  #e8dece;
  --text-main:   #e8e4dc;
  --text-sub:    rgba(232,228,220,0.6);
  --text-muted:  #6a6058;
  --text-dark:   #1e1a14;
  --text-dark-sub: #5a5148;
  --border:      rgba(201,169,110,0.15);
  --border-hover:rgba(201,169,110,0.45);
  --border-light:rgba(160,130,80,0.2);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s ease;
}
#header.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 56px;
  border-bottom: 1px solid var(--border);
}
.logo img { height: 42px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 44px; list-style: none; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.35s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(201,169,110,0.5);
  padding: 9px 22px;
  transition: all 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold); color: var(--black) !important; border-color: var(--gold); }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; gap: 6px;
  cursor: pointer; z-index: 1100; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1px; background: var(--gold); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: rgba(8,8,8,0.99);
  z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-item { text-align: center; }
.mobile-nav-item a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 300; letter-spacing: 0.06em;
  color: var(--text-muted); transition: color 0.3s;
}
.mobile-nav-item a:hover { color: var(--gold-light); }
.mobile-nav-item .sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); opacity: 0.5;
  display: block; margin-top: -24px;
}
.mobile-line-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid rgba(201,169,110,0.4);
  padding: 14px 44px;
  transition: all 0.3s;
  margin-top: 12px;
}
.mobile-line-btn:hover { background: var(--gold); color: var(--black) !important; }

/* ============================================================
   LIGHT SECTIONS (cream/ivory alternating)
   ============================================================ */
.section-light {
  background: var(--cream);
}
.section-light .label { color: var(--gold-dark); }
.section-light .heading { color: var(--text-dark); }
.section-light .heading em { color: var(--gold-dark); }
.section-light .divider { background: linear-gradient(to right, var(--gold-dark), transparent); }
.section-light .body-text { color: var(--text-dark-sub); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 180px 0 100px;
  text-align: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero-img {
  position: absolute; inset: 0;
  background-image: url('https://nsmrsgr.moo.jp/zenstar/wp-content/uploads/2026/02/subkv.jpg');
  background-size: cover; background-position: center;
  opacity: 0.22;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 70%, rgba(201,169,110,0.04) 0%, transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 72px;
  background: linear-gradient(to bottom, rgba(201,169,110,0.5), transparent);
}
.page-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.page-eyebrow::before, .page-eyebrow::after {
  content: ''; width: 36px; height: 1px; background: var(--gold); opacity: 0.5;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 6vw, 68px); font-weight: 300;
  letter-spacing: 0.04em; line-height: 1.25;
  color: var(--white);
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.page-title em { font-style: italic; color: var(--gold-light); }
.page-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px; font-weight: 200; line-height: 2.4;
  color: var(--text-sub);
  max-width: 520px; margin: 0 auto;
  position: relative; z-index: 1;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 56px; }

.label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 300;
  letter-spacing: 0.04em; line-height: 1.3;
  color: var(--white); margin-bottom: 24px;
}
.heading em { font-style: italic; color: var(--gold-light); }
.divider {
  width: 40px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: 36px;
}
.divider.center { margin-left: auto; margin-right: auto; }
.body-text {
  font-size: 13.5px; font-weight: 300; line-height: 2.4;
  color: var(--text-sub);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gold); color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 44px; transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 44px;
  border: 1px solid rgba(201,169,110,0.35);
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

.btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  background: #06C755; color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 18px 52px; transition: all 0.3s;
}
.btn-line:hover { background: #04b34a; transform: translateY(-2px); }
.btn-line svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   CTA SECTION (shared)
   ============================================================ */
.cta-section {
  padding: 120px 0;
  background: var(--black);
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(201,169,110,0.04) 0%, transparent 60%);
}
.cta-block { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.cta-block .label { justify-content: center; display: flex; }
.cta-block .heading { margin-bottom: 0; }
.cta-block .divider { margin: 28px auto 32px; }
.cta-block .body-text { margin-bottom: 44px; }
.cta-note {
  margin-top: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
}
.footer-top {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.footer-brand img { height: 34px; margin-bottom: 20px; opacity: 0.75; }
.footer-brand p {
  font-size: 12px; font-weight: 300; line-height: 2.1;
  color: var(--text-muted);
}
.footer-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-nav-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-nav-col ul { list-style: none; }
.footer-nav-col li { margin-bottom: 12px; }
.footer-nav-col a {
  font-size: 12px; font-weight: 300; color: var(--text-muted);
  transition: color 0.3s;
}
.footer-nav-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; letter-spacing: 0.12em;
  color: var(--text-muted); opacity: 0.4;
}
.footer-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.25);
  padding: 8px 20px; transition: all 0.3s;
}
.footer-line:hover { border-color: var(--gold); background: rgba(201,169,110,0.04); }

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  #header { padding: 16px 24px; }
  #header.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section-inner { padding: 0 24px; }
  .page-hero { padding: 140px 0 80px; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-nav-grid { grid-template-columns: 1fr; }
  .btn-line { padding: 16px 36px; }
}
