﻿/* ===================================================
   LANDING DOOR SERIE STYLESHEET (landing.css)
   =================================================== */

/* Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 1. 100vh Hero Banner */
.hero-banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #12151c;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 主容器 */
.landing-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 90px 30px 120px 30px;
}

/* 头部标题与居中分割线 */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 300;
  color: #2b2b2b;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

/* 居中渐变分割线 */
.center-gradient-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #eaedf1;
  margin: 0 auto;
}

.center-gradient-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.5px;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c81e3a 0%, #5b1a7d 50%, #1b2685 100%);
}

/* ===================================================
   ITEM 网格 (一行 6 个，无边框设计)
   =================================================== */
.landing-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 36px 20px;
  width: 100%;
}

/* 单个 Item：无边框 */
.door-item {
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease;
}

.door-item:hover {
  transform: translateY(-4px);
}

/* 厅门图片容器 */
.door-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4.4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background-color: #f7f7f7;
  border-radius: 4px;
}

.door-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 标号与左侧圆点 */
.door-code {
  font-size: 0.86rem;
  font-weight: 400;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.2px;
}

.door-code::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===================================================
   每行 6 列从左至右渐变色圆点 (红 -> 紫 -> 蓝)
   =================================================== */
.door-item:nth-child(6n + 1) .door-code::before { background-color: #c81e3a; } /* 第1列：红 */
.door-item:nth-child(6n + 2) .door-code::before { background-color: #a61955; } /* 第2列：红紫 */
.door-item:nth-child(6n + 3) .door-code::before { background-color: #7b196f; } /* 第3列：紫红 */
.door-item:nth-child(6n + 4) .door-code::before { background-color: #551b82; } /* 第4列：紫 */
.door-item:nth-child(6n + 5) .door-code::before { background-color: #332085; } /* 第5列：蓝紫 */
.door-item:nth-child(6n + 6) .door-code::before { background-color: #1b2685; } /* 第6列：蓝 */

/* ===================================================
   RESPONSIVE DESIGN (响应式适配)
   =================================================== */
@media (max-width: 1200px) {
  .landing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 16px;
  }
}

@media (max-width: 850px) {
  .landing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 14px;
  }

  .section-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 600px) {
  .hero-banner {
    height: 70vh;
  }

  .landing-container {
    padding: 50px 16px 80px 16px;
  }

  .landing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .door-code {
    font-size: 0.78rem;
  }
}