/* ============================================================
   css/style.css — 所有页面共用样式
   
   文件结构说明：
   travel-blog/
   ├── index.html          首页
   ├── destinations.html   目的地列表
   ├── destination.html    目的地详情（京都示例）
   ├── about.html          关于我
   ├── contact.html        联系页
   ├── css/
   │   └── style.css       ← 此文件：全站共用样式
   └── js/
       └── main.js         全站共用脚本
   ============================================================ */

/* ── Google Fonts：Playfair Display（标题）+ DM Sans（正文） ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS 变量
   ============================================================ */
:root {
  --teal:        #2c7da0;
  --teal-dark:   #1a5f7a;
  --teal-deeper: #0f3d52;
  --teal-light:  #a8dadc;
  --teal-pale:   #e8f4f8;
  --warm:        #f4f1de;
  --warm-dark:   #e8e3c8;
  --coral:       #e07a5f;
  --coral-dark:  #c4614a;
  --coral-light: #f2c4b8;
  --text:        #1e2a32;
  --text-muted:  #6b7a85;
  --text-light:  #9aa5ad;
  --white:       #ffffff;
  --off-white:   #fafaf8;
  --border:      #e5dfc8;
  --border-light:#f0ece0;
  --shadow-xs:   0 1px 4px rgba(44,125,160,.08);
  --shadow-sm:   0 4px 16px rgba(44,125,160,.10);
  --shadow-md:   0 12px 40px rgba(44,125,160,.14);
  --shadow-lg:   0 24px 64px rgba(44,125,160,.18);
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --nav-h:       72px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --spring:      cubic-bezier(.34,1.56,.64,1);
  --t:           .3s;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  opacity: 0;
  animation: pageReveal .65s var(--ease) forwards;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ── Page fade-in ── */
@keyframes pageReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll-reveal helper (JS adds .revealed) ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229,223,200,.5);
  transition: background var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: -.01em;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .95rem;
  box-shadow: 0 4px 12px rgba(44,125,160,.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  position: relative;
  padding: 8px 15px;
  border-radius: 9px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .01em;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--t) var(--spring);
}
.nav-links a:hover { color: var(--teal-dark); background: var(--teal-pale); }
.nav-links a:hover::after { width: 20px; }
.nav-links a.active {
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-weight: 600;
}
.nav-links a.active::after { width: 20px; }

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 32px; height: 32px;
  border-radius: 8px;
  padding: 0 2px;
  transition: background var(--t);
}
.nav-toggle:hover { background: var(--teal-pale); }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t), width var(--t);
}
.nav-toggle span:nth-child(3) { width: 65%; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { width: 100%; transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px 18px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 12px; border-radius: 8px; font-size: .95rem; }
  .nav-links a::after { display: none; }
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.page-body     { padding-top: var(--nav-h); }
.container     { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-sm  { max-width: 820px;  margin: 0 auto; padding: 0 28px; }
.section       { padding: 96px 0; }
.section-sm    { padding: 64px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--teal-deeper);
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}
.accent-line {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--teal-light));
  border-radius: 3px;
  margin: 20px auto 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform var(--t) var(--spring),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease);
}
.btn:active { transform: scale(.96) !important; }
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(44,125,160,.32);
}
.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 8px 28px rgba(44,125,160,.42);
  transform: translateY(-3px);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--teal-dark);
  transform: translateY(-3px);
}
.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(224,122,95,.32);
}
.btn-coral:hover {
  background: var(--coral-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(224,122,95,.42);
}
.btn-ghost {
  color: var(--teal);
  padding: 10px 20px;
}
.btn-ghost:hover { background: var(--teal-pale); transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--teal-deeper);
  color: rgba(255,255,255,.75);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 18px; }
.footer-brand .nav-logo-icon {
  background: rgba(255,255,255,.12);
  box-shadow: none;
}
.footer-brand p { font-size: .9rem; line-height: 1.85; max-width: 320px; }
.footer h4 {
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links li + li { margin-top: 10px; }
.footer-links a {
  font-size: .9rem;
  transition: color var(--t);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--teal-light); }
.footer-links a i { width: 14px; font-size: .8rem; opacity: .6; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: all var(--t) var(--ease);
}
.footer-social a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--t); }
.footer-bottom a:hover { color: var(--teal-light); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,20,28,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  transform: scale(.92);
  transition: transform .35s var(--spring);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), transform var(--t) var(--spring);
  cursor: pointer;
}
.lightbox-close:hover { background: var(--coral); transform: rotate(90deg); }
.lightbox-caption {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), transform var(--t) var(--spring);
  cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ============================================================
   PAGE HERO (destinations / about / contact)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 100px 0 72px;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--teal-deeper) 0%, var(--teal) 55%, var(--teal-light) 100%);
}
.page-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(224,122,95,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168,218,220,.15) 0%, transparent 50%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.page-hero-content .section-label { color: var(--coral-light); }
.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}
.page-hero-content p {
  font-size: 1.1rem;
  opacity: .8;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   INDEX — HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?w=1800&q=85');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.06);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(15,61,82,.78) 0%,
    rgba(26,95,122,.55) 45%,
    rgba(44,125,160,.25) 75%,
    rgba(224,122,95,.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  color: var(--white);
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroSlide .7s var(--ease) .3s forwards;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroSlide .7s var(--ease) .5s forwards;
}
.hero h1 em { color: var(--teal-light); font-style: italic; }
.hero-quote {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 460px;
  border-left: 3px solid var(--coral);
  padding-left: 18px;
  line-height: 1.7;
  margin-bottom: 44px;
  font-style: italic;
  opacity: 0;
  animation: heroSlide .7s var(--ease) .7s forwards;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroSlide .7s var(--ease) .9s forwards;
}
@keyframes heroSlide {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--teal-darker, var(--teal-dark));
  background: linear-gradient(90deg, var(--teal-deeper), var(--teal-dark));
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.55); font-weight: 500; letter-spacing: .04em; }
@media (max-width: 640px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* ── Featured Gallery Mosaic ── */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 220px;
  gap: 10px;
}
.gm-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  background: var(--teal-pale);
}
.gm-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.gm-item:hover img { transform: scale(1.08); }
.gm-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,61,82,.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--white);
  font-weight: 600;
  font-size: .88rem;
}
.gm-item:hover .gm-overlay { opacity: 1; }
.gm-1 { grid-column: 1 / 6;  grid-row: 1; }
.gm-2 { grid-column: 6 / 9;  grid-row: 1; }
.gm-3 { grid-column: 9 / 13; grid-row: 1; }
.gm-4 { grid-column: 1 / 4;  grid-row: 2; }
.gm-5 { grid-column: 4 / 8;  grid-row: 2; }
.gm-6 { grid-column: 8 / 13; grid-row: 2; }
@media (max-width: 860px) {
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 180px;
    height: auto;
  }
  .gm-1 { grid-column: 1 / 3; grid-row: 1; }
  .gm-2 { grid-column: 1;     grid-row: 2; }
  .gm-3 { grid-column: 2;     grid-row: 2; }
  .gm-4 { grid-column: 1;     grid-row: 3; }
  .gm-5 { grid-column: 2;     grid-row: 3; }
  .gm-6 { display: none; }
}

/* ── Index Quote Banner ── */
.quote-section {
  background: var(--warm);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--teal), var(--teal-light));
}
.quote-decor {
  font-family: 'Playfair Display', serif;
  font-size: 14rem;
  line-height: 1;
  color: rgba(44,125,160,.06);
  position: absolute;
  top: -20px; left: 20px;
  pointer-events: none;
  user-select: none;
}
.quote-main {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}
.quote-main blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-style: italic;
  color: var(--teal-deeper);
  line-height: 1.45;
  margin-bottom: 24px;
}
.quote-main cite {
  font-size: .88rem;
  color: var(--text-muted);
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.quote-main cite::before,
.quote-main cite::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--coral);
}

/* ── Index Destination Preview ── */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .preview-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .preview-grid { grid-template-columns: 1fr; } }

/* ============================================================
   DESTINATION CARD (shared index + destinations page)
   ============================================================ */
.dest-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: transform .4s var(--spring), box-shadow .4s var(--ease);
}
.dest-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  position: relative;
  height: 230px;
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.dest-card:hover .card-img img { transform: scale(1.09); }
.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-coral   { background: var(--coral);   color: var(--white); }
.badge-teal    { background: var(--teal);    color: var(--white); }
.badge-warm    { background: var(--warm-dark); color: var(--teal-dark); }
.card-body     { padding: 24px 26px 26px; }
.card-region {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--teal-deeper);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  background: var(--teal-pale);
  color: var(--teal-dark);
  border-radius: 50px;
  font-size: .73rem;
  font-weight: 500;
  padding: 4px 11px;
}
.card-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: .85rem;
  font-weight: 600;
  transition: gap var(--t) var(--spring), color var(--t);
}
.dest-card:hover .card-cta { gap: 10px; color: var(--coral); }

/* ============================================================
   DESTINATIONS LIST PAGE
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: .86rem;
  font-weight: 500;
  background: var(--white);
  color: var(--text-muted);
  border: 2px solid var(--border);
  transition: all var(--t) var(--ease);
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.filter-btn.active { background: var(--teal); color: var(--white); border-color: var(--teal); }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 980px)  { .dest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .dest-grid { grid-template-columns: 1fr; } }

.dest-card.hidden { display: none; }

/* ============================================================
   DESTINATION DETAIL PAGE
   ============================================================ */
.detail-hero {
  position: relative;
  height: 75vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,61,82,.88) 0%,
    rgba(26,95,122,.4) 40%,
    transparent 70%
  );
}
.detail-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 56px;
  color: var(--white);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  padding: 8px 14px 8px 10px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  margin-bottom: 28px;
  transition: all var(--t);
}
.back-link:hover { color: var(--white); background: rgba(255,255,255,.18); }
.detail-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: .88rem;
  color: rgba(255,255,255,.75);
}
.detail-meta-item { display: flex; align-items: center; gap: 7px; }
.detail-meta-item i { color: var(--teal-light); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  padding: 72px 0;
  align-items: start;
}
@media (max-width: 920px) { .detail-layout { grid-template-columns: 1fr; } }

/* article prose */
.detail-article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  color: var(--teal-deeper);
  margin: 52px 0 18px;
  line-height: 1.25;
}
.detail-article h2:first-child { margin-top: 0; }
.detail-article h2::before {
  content: '';
  display: block;
  width: 36px; height: 3px;
  background: var(--coral);
  border-radius: 3px;
  margin-bottom: 14px;
}
.detail-article p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 22px;
}
.detail-article .lead {
  font-size: 1.15rem;
  color: var(--teal-dark);
  font-style: italic;
  border-left: 3px solid var(--teal-light);
  padding-left: 20px;
  margin-bottom: 32px;
  line-height: 1.75;
}

/* photo grids within article */
.photo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 36px 0;
}
.photo-full { margin: 36px 0; }
.photo-full img,
.photo-grid-2 img {
  width: 100%; height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.photo-full img { height: 420px; }
.photo-full img:hover,
.photo-grid-2 img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.photo-caption {
  text-align: center;
  font-size: .8rem;
  color: var(--text-light);
  margin-top: 10px;
  font-style: italic;
}

/* sidebar cards */
.detail-sidebar > * + * { margin-top: 24px; }
.sidebar-card {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.sidebar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--teal-deeper);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.sidebar-card h3 i { color: var(--coral); width: 18px; text-align: center; }
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: .88rem;
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row .label { color: var(--text-muted); display: flex; align-items: center; gap: 7px; }
.info-row .label i { width: 14px; text-align: center; color: var(--teal-light); }
.info-row .value { font-weight: 600; color: var(--teal-dark); text-align: right; }
.tip-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: .88rem;
  line-height: 1.6;
}
.tip-item:last-child { border-bottom: none; }
.tip-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.rating-row { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.stars i { color: var(--coral); font-size: .85rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
  padding: 80px 0;
}
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; gap: 48px; } }

.about-photo-stack { position: relative; }
.about-photo-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about-photo-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 55%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about-photo-badge {
  position: absolute;
  top: 24px; left: -16px;
  background: var(--coral);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-photo-badge .big { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; display: block; line-height: 1; }
.about-photo-badge .small { font-size: .72rem; letter-spacing: .06em; opacity: .85; }

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--teal-deeper);
  margin-bottom: 8px;
}
.about-subtitle { color: var(--coral); font-weight: 600; font-size: 1rem; margin-bottom: 28px; }
.about-content p { color: var(--text); line-height: 1.9; margin-bottom: 20px; font-size: 1rem; }

.about-hobbies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}
.hobby-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--teal-dark);
  transition: all var(--t) var(--spring);
}
.hobby-chip:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.hobby-chip i { font-size: .85rem; }

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .86rem;
  font-weight: 600;
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all var(--t) var(--ease);
}
.social-link:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); transform: translateY(-2px); }
.social-link i { font-size: .95rem; }

/* visited map stats */
.travel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.travel-stat-box {
  background: var(--warm);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.travel-stat-box .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}
.travel-stat-box .label {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--teal-light));
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -28px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  transition: background var(--t), transform var(--t) var(--spring);
}
.timeline-item:hover .timeline-dot { background: var(--coral); border-color: var(--coral); transform: scale(1.3); }
.timeline-year {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 4px;
}
.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--teal-deeper);
  margin-bottom: 6px;
}
.timeline-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  padding: 80px 0;
  align-items: start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } }

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--teal-deeper);
  margin-bottom: 16px;
}
.contact-info p { color: var(--text-muted); line-height: 1.85; margin-bottom: 36px; }

.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--t) var(--ease);
}
.contact-card:hover { background: var(--teal-pale); border-color: var(--teal-light); transform: translateX(4px); }
.cc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cc-text .label { font-size: .75rem; color: var(--text-muted); font-weight: 500; letter-spacing: .04em; }
.cc-text .value { font-weight: 600; color: var(--teal-dark); font-size: .95rem; }

/* Contact form */
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
}
@media (max-width: 480px) { .contact-form-wrap { padding: 28px 22px; } }
.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--teal-deeper);
  margin-bottom: 8px;
}
.contact-form-wrap .form-subtitle { color: var(--text-muted); font-size: .9rem; margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal-deeper);
  letter-spacing: .03em;
  margin-bottom: 8px;
}
.form-group label .req { color: var(--coral); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: .93rem;
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(44,125,160,.1);
}
.form-control.error { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(224,122,95,.1); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-error {
  font-size: .78rem;
  color: var(--coral);
  margin-top: 6px;
  display: none;
  align-items: center;
  gap: 5px;
}
.form-error.show { display: flex; }
.form-success {
  background: var(--teal-pale);
  border: 1px solid var(--teal-light);
  border-radius: var(--radius);
  padding: 18px 22px;
  color: var(--teal-dark);
  font-size: .9rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.form-success.show { display: flex; }
.btn-submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 6px 24px rgba(44,125,160,.3);
  transition: transform var(--t) var(--spring), box-shadow var(--t);
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(44,125,160,.4); }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 768px) {
  .section    { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
  .container  { padding: 0 20px; }
}
