/* ==========================================================================
   Now加速机场官网 - 地中海夏日假日风 (Mediterranean Resort / Amalfi Style)
   Design System & Global Styles
   ========================================================================== */

:root {
  /* Mediterranean Amalfi Palette */
  --color-azure-deep: #002FA7;       /* 深邃克莱因蓝 */
  --color-azure-vibrant: #0047AB;    /* 蔚蓝海岸蓝 */
  --color-azure-sky: #0ea5e9;        /* 地中海晴空蓝 */
  --color-azure-soft: #e0f2fe;       /* 海风水汽淡蓝 */
  --color-azure-light: #f0f7ff;      /* 极浅海浪蓝 */

  --color-lemon-bright: #ffd200;     /* 亮柠檬黄 */
  --color-lemon-citrus: #ffe033;     /* 阿马尔菲柠檬金 */
  --color-lemon-glow: rgba(255, 210, 0, 0.45);
  --color-lemon-light: #fffbeb;      /* 柠檬果肉暖白 */

  --color-sandstone-base: #faf7f2;   /* 暖白粉砂岩底色 */
  --color-sandstone-light: #ffffff;  /* 纯净意式白 */
  --color-sandstone-warm: #f5efe6;   /* 阳光砂岩暖灰 */
  --color-terracotta: #e07a5f;       /* 陶土粉红点缀 */
  --color-terracotta-soft: #fdf2ed;  /* 陶土暖淡粉 */

  --color-text-main: #0f1e36;        /* 深海岩石黑蓝 */
  --color-text-muted: #475569;       /* 亚麻灰蓝次级字 */
  --color-text-light: #94a3b8;       /* 柔和石板灰 */

  --color-success: #10b981;          /* 翠绿状态 */
  --color-warning: #f59e0b;          /* 橙黄提示 */
  --color-danger: #ef4444;           /* 警告红 */

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(0, 47, 167, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 47, 167, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 47, 167, 0.12);
  --shadow-xl: 0 24px 60px rgba(0, 47, 167, 0.16);
  --shadow-lemon: 0 10px 30px rgba(255, 210, 0, 0.35);
  --shadow-azure: 0 12px 35px rgba(0, 47, 167, 0.28);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-family-display: "Outfit", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--color-sandstone-base);
  color: var(--color-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(255, 210, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(0, 47, 167, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Background Canvas Layer for Dynamic Ocean Waves */
#ocean-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

button, input, select {
  font: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Top Announcement Banner */
.top-promo-bar {
  background: linear-gradient(90deg, #002FA7 0%, #0047AB 50%, #0284c7 100%);
  color: #ffffff;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  z-index: 101;
  border-bottom: 2px solid var(--color-lemon-bright);
}

.top-promo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.promo-badge {
  background: var(--color-lemon-bright);
  color: var(--color-text-main);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.promo-text {
  letter-spacing: 0.2px;
}

.promo-link {
  color: var(--color-lemon-bright);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-fast);
}

.promo-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Header & Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 47, 167, 0.08);
  transition: var(--transition-fast);
}

.header-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-azure-deep);
  letter-spacing: -0.5px;
}

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-azure-deep) 0%, #0056cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-lemon-bright);
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(0, 47, 167, 0.25);
  position: relative;
  overflow: hidden;
}

.logo-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -70%; }
  20% { left: 150%; }
  100% { left: 150%; }
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-azure-deep);
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-terracotta);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  position: relative;
  padding: 8px 2px;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-azure-deep);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-azure-deep), var(--color-lemon-bright));
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link.highlight-tag {
  color: var(--color-azure-deep);
  position: relative;
}

.nav-badge-pill {
  position: absolute;
  top: -6px;
  right: -18px;
  background: var(--color-lemon-bright);
  color: var(--color-azure-deep);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
  border: 1px solid rgba(0, 47, 167, 0.2);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-azure-deep) 0%, #0050d8 100%);
  color: #ffffff;
  box-shadow: var(--shadow-azure);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00227a 0%, #003fa8 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 47, 167, 0.36);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lemon {
  background: linear-gradient(135deg, var(--color-lemon-bright) 0%, #ffc000 100%);
  color: var(--color-azure-deep);
  box-shadow: var(--shadow-lemon);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-lemon:hover {
  background: linear-gradient(135deg, #ffe135 0%, #ffd000 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 210, 0, 0.5);
  color: var(--color-azure-deep);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-azure-deep);
  border: 1.5px solid rgba(0, 47, 167, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: #ffffff;
  border-color: var(--color-azure-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-azure-deep);
  cursor: pointer;
  padding: 6px;
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-azure-soft);
  color: var(--color-azure-deep);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(0, 47, 167, 0.12);
}

.section-tag .lemon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lemon-bright);
  box-shadow: 0 0 8px var(--color-lemon-bright);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-azure-deep);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Mediterranean Resort Card Style */
.resort-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 47, 167, 0.08);
  box-shadow: var(--shadow-md);
  padding: 32px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.resort-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 47, 167, 0.2);
}

.resort-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-azure-deep), var(--color-lemon-bright));
  opacity: 0;
  transition: var(--transition-fast);
}

.resort-card:hover::before {
  opacity: 1;
}

/* Footer */
.footer-resort {
  background: #0f1e36;
  color: #cbd5e1;
  padding-top: 70px;
  padding-bottom: 35px;
  border-top: 3px solid var(--color-lemon-bright);
  position: relative;
  overflow: hidden;
}

.footer-resort::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 47, 167, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 210, 0, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.footer-brand .brand-logo {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 24px;
  max-width: 340px;
}

.footer-resort-quote {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--color-lemon-bright);
  border-left: 2px solid var(--color-lemon-bright);
  padding-left: 12px;
  margin-top: 14px;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-lemon-bright);
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-lemon-bright);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
  position: relative;
  z-index: 1;
}

/* Floating Cruise Action Badge */
.floating-dock {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-azure-deep);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(0, 47, 167, 0.35);
  border: 2px solid var(--color-lemon-bright);
  cursor: pointer;
  transition: var(--transition-normal);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
  background: #00227a;
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  color: var(--color-azure-deep);
  border-color: rgba(0, 47, 167, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .top-promo-bar {
    font-size: 0.8rem;
  }
}
