/* ===== ASLIFE — 美属萨摩亚旅游站 · 设计系统 ===== */
:root {
  /* 主色：南太平洋 · 深海与珊瑚 */
  --color-ocean: #0d3b4c;
  --color-ocean-light: #1a5566;
  --color-coral: #c45c4a;
  --color-coral-soft: #e08b7a;
  --color-sand: #f5efe6;
  --color-cream: #faf8f5;
  --color-white: #ffffff;
  --color-rainforest: #1e4d3a;
  --color-text: #2c2c2c;
  --color-text-muted: #5c5c5c;

  /* 排版 */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  /* 间距与节奏 */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --container: min(90vw, 1120px);

  /* 动效 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 0.4s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----- 布局 ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* ----- 站头 ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(13, 59, 76, 0.95);
  backdrop-filter: blur(12px);
  color: var(--color-white);
}

.site-header {
  color: var(--color-white);
}

.site-header .logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-header .nav {
  display: flex;
  gap: var(--space-lg);
}

.site-header .nav a {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity var(--duration);
}

.site-header .nav a:hover {
  opacity: 1;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--duration);
}

@media (max-width: 768px) {
  .site-header .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--color-ocean);
    transform: translateX(100%);
    transition: transform var(--duration) var(--ease-out);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  }
  .site-header .nav.is-open {
    transform: translateX(0);
  }
  .site-header .nav a {
    font-size: 1.1rem;
    color: var(--color-white);
  }
  .menu-btn {
    display: flex;
    color: var(--color-white);
  }
  .site-header.scrolled .menu-btn {
    color: var(--color-white);
  }
  .menu-btn.is-active span:first-child {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-btn.is-active span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn.is-active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }
  body.menu-open {
    overflow: hidden;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 59, 76, 0.4) 0%,
    rgba(13, 59, 76, 0.6) 50%,
    rgba(13, 59, 76, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-lg);
  max-width: 720px;
}

.hero-label {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.95;
  margin-bottom: var(--space-sm);
  animation: fadeUp 0.8s var(--ease-out) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 var(--space-md);
  letter-spacing: 0.02em;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  opacity: 0.95;
  margin: 0 0 var(--space-xl);
  line-height: 1.6;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero .btn {
  animation: fadeUp 0.8s var(--ease-out) 0.35s both;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  animation: fadeUp 0.8s var(--ease-out) 0.5s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ----- 按钮 ----- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-coral);
  color: var(--color-white);
  border-radius: 4px;
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(196, 92, 74, 0.35);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-ocean);
  border-radius: 4px;
}

.btn-light:hover {
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.25);
}

/* ----- 通用区块 ----- */
.section {
  padding: var(--space-2xl) 0;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-ocean);
  margin: 0 0 var(--space-xl);
  line-height: 1.2;
}

/* ----- Intro ----- */
.intro {
  background: var(--color-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.intro-text .lead {
  font-size: 1.15rem;
  color: var(--color-ocean-light);
  margin-bottom: var(--space-md);
}

.intro-text p {
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
}

.intro-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(13, 59, 76, 0.12);
}

.intro-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-visual {
    order: -1;
  }
}

/* ----- 目的地卡片 ----- */
.destinations {
  background: var(--color-cream);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.card-large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.card-large .card-img {
  flex: 1;
  min-height: 280px;
}

.card-large .card-content {
  flex: 0 0 auto;
}

.card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13, 59, 76, 0.06);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(13, 59, 76, 0.12);
}

.card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-ocean);
  color: var(--color-white);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

.card-content {
  padding: var(--space-lg);
}

.card-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-ocean);
  margin: 0 0 var(--space-xs);
}

.card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card-large {
    grid-row: span 1;
  }
}

/* ----- 引用区块 ----- */
.quote-section {
  position: relative;
  padding: var(--space-2xl) 0;
  color: var(--color-white);
  text-align: center;
}

.quote-bg {
  position: absolute;
  inset: 0;
}

.quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 59, 76, 0.75), rgba(196, 92, 74, 0.4));
}

.quote {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.5;
}

.quote p {
  margin: 0;
}

/* ----- 体验列表 ----- */
.experience {
  background: var(--color-white);
}

.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.experience-list li {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-cream);
  border-radius: 12px;
  transition: background var(--duration), transform var(--duration);
}

.experience-list li:hover {
  background: var(--color-sand);
  transform: translateX(4px);
}

.exp-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.experience-list strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-ocean);
  margin-bottom: var(--space-xs);
}

.experience-list p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .experience-list {
    grid-template-columns: 1fr;
  }
}

/* ----- 出行指南 ----- */
.travel-info {
  background: var(--color-cream);
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.travel-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(13, 59, 76, 0.06);
}

.travel-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ocean);
  margin: 0 0 var(--space-sm);
}

.travel-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .travel-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- CTA ----- */
.cta {
  position: relative;
  padding: var(--space-2xl) 0;
  color: var(--color-white);
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 59, 76, 0.8), rgba(30, 77, 58, 0.7));
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin: 0 0 var(--space-sm);
}

.cta-text {
  margin: 0 0 var(--space-xl);
  font-size: 1.1rem;
  opacity: 0.95;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--color-ocean);
  color: var(--color-white);
  padding: var(--space-xl) 0;
}

.footer-inner {
  text-align: center;
}

.footer-inner .logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0 0 var(--space-sm);
}

.footer-legal {
  font-size: 0.8rem;
  opacity: 0.65;
  margin: 0;
}
