/* ============================================================
   Flying Club - 仿站演示样式
   设计规格（源自目标站分析）：
   - 主色蓝 #005EB8 / 辅助黄 #FFCE47
   - 深青绿 #033537 / 悬停青绿 #10CCAE
   - 正文 #333333 / 浅灰背景 #EAEAEA / 页脚 #F3F3F3
   - 标题 Roboto / 正文系统字体栈
   ============================================================ */

:root {
  --blue: #005EB8;
  --yellow: #FFCE47;
  --teal-dark: #033537;
  --teal-hover: #10CCAE;
  --text: #333333;
  --bg-light: #EAEAEA;
  --footer-bg: #F3F3F3;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", Arial, sans-serif;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.25;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: all 0.25s ease;
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-radius: 3px;
  padding: 12px 24px;
  font-weight: 500;
}

.btn-blue:hover {
  background: #004c96;
  color: var(--white);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--teal-dark);
  border-radius: 0;
  padding: 15px 30px;
  font-weight: 400;
}

.btn-yellow:hover {
  background: var(--white);
  color: var(--teal-hover);
}

/* ---------- 吸顶导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar .logo img {
  height: 60px;
  width: auto;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: #222;
}

.main-menu > li > a:hover,
.main-menu > li:hover > a {
  color: var(--blue);
}

/* 下拉菜单 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}

.main-menu li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  color: var(--blue);
  background: #f7faff;
  padding-left: 24px;
}

/* 汉堡按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--blue);
  cursor: pointer;
}

/* ---------- 首屏 Hero ---------- */
.hero {
  display: flex;
  min-height: 560px;
}

.hero-left {
  flex: 1 1 45%;
  background: var(--blue);
  display: flex;
  align-items: center;
  padding: 80px 60px;
}

.hero-left h1 {
  color: var(--white);
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-left p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-right {
  flex: 1 1 55%;
  background-size: cover;
  background-position: center;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 40px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: #555;
  max-width: 720px;
  margin: 0 auto 48px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* ---------- About 区块 ---------- */
.about-grid {
  display: flex;
  gap: 48px;
  align-items: center;
}

.about-text {
  flex: 1 1 55%;
}

.about-text p {
  margin-bottom: 20px;
  color: #444;
}

.about-img {
  flex: 1 1 45%;
}

.about-img img {
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ---------- Our Solutions 区块 ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 18px 20px;
  transition: all 0.25s ease;
}

.solution-item:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 94, 184, 0.12);
}

.solution-item i {
  font-size: 26px;
  color: var(--blue);
  width: 34px;
  text-align: center;
  flex-shrink: 0;
}

.solution-item h4 {
  font-size: 17px;
  color: #222;
  font-weight: 600;
  margin-bottom: 4px;
}

.solution-item p {
  font-size: 14px;
  color: #666;
}

.solutions-img img {
  border-radius: 6px;
}

/* ---------- Our Fleet 区块 ---------- */
.fleet-block {
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Objectives 区块 ---------- */
.objectives {
  background: var(--bg-light);
}

.objectives-block {
  max-width: 860px;
  margin: 0 auto;
}

.objectives-icon {
  text-align: center;
  font-size: 48px;
  color: var(--blue);
  margin-bottom: 8px;
}

.objectives-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.objectives-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  color: #333;
}

.objectives-list i {
  color: var(--blue);
  font-size: 18px;
  margin-top: 5px;
}

/* ---------- Gallery / News 网格 ---------- */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.thumb-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.thumb-grid img:hover {
  transform: scale(1.03);
}

/* ---------- Placements 区块 ---------- */
.placements-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.placement-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 18px 24px;
  text-align: left;
}

.placement-item .rank {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

.placement-item .name {
  font-weight: 600;
  color: #222;
  font-size: 16px;
}

.placement-item .role {
  font-size: 14px;
  color: #666;
}

/* ---------- 页脚 CTA ---------- */
.footer-cta {
  background: var(--blue);
  padding: 56px 0;
  text-align: center;
}

.footer-cta h2 {
  color: var(--white);
  font-size: 34px;
  margin-bottom: 28px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--footer-bg);
}

.footer-links {
  display: flex;
  gap: 48px;
  padding: 64px 0 40px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1 1 260px;
}

.footer-brand img {
  height: 64px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: #555;
}

.footer-col {
  flex: 1 1 160px;
}

.footer-col h4 {
  font-size: 16px;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--teal-dark);
}

.footer-col ul li a:hover {
  color: var(--blue);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: background 0.25s ease;
}

.social-icons a:hover {
  background: var(--teal-hover);
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* ---------- 子页面横幅 ---------- */
.page-banner {
  background: var(--blue);
  padding: 70px 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: 40px;
  font-weight: 600;
}

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 88%;
  max-height: 88%;
  border-radius: 4px;
}

.lightbox .close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 42px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 32px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox .prev { left: 24px; }
.lightbox .next { right: 24px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;
  }
  .hero-left {
    padding: 56px 24px;
  }
  .hero-left h1 {
    font-size: 38px;
  }
  .hero-right {
    min-height: 320px;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .solutions-img {
    order: -1;
  }
  .thumb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    flex-direction: column;
  }
  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .main-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    display: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }
  .main-menu.open {
    display: flex;
  }
  .main-menu > li > a {
    border-bottom: 1px solid #f0f0f0;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 16px;
  }
  .main-menu li.open > .dropdown-menu {
    display: block;
  }
  .thumb-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
}
