/* 基础设置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    Arial,
    sans-serif;

  color: #1d1d1b;
  background: #f4f1eb;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 78px;
  padding: 0 6%;

  background: rgba(244, 241, 235, 0.92);
  border-bottom: 1px solid rgba(29, 29, 27, 0.12);
  backdrop-filter: blur(14px);
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 4px;
}

.navigation {
  display: flex;
  gap: 36px;
}

.navigation a {
  position: relative;
  font-size: 14px;
  letter-spacing: 1px;
}

.navigation a::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;

  height: 1px;

  background: #7b2f22;

  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navigation a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 首页大标题 */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 80px 8%;

  background:
    linear-gradient(
      90deg,
      rgba(24, 24, 22, 0.9) 0%,
      rgba(24, 24, 22, 0.66) 48%,
      rgba(24, 24, 22, 0.18) 100%
    ),
    url("images/2.jpg") center / cover no-repeat;
}

.hero-content {
  max-width: 760px;
  color: #ffffff;
}

.hero-label,
.section-label {
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-label {
  color: #d6c6ab;
}

.hero h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: normal;
  line-height: 1.12;
  letter-spacing: 2px;
}

.hero h1 span {
  display: block;
  color: #d6c6ab;
}

.hero-description {
  max-width: 540px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
}

.hero-button {
  display: inline-block;
  margin-top: 42px;
  padding: 15px 30px;

  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);

  font-size: 14px;
  letter-spacing: 2px;

  transition:
    color 0.3s ease,
    background 0.3s ease;
}

.hero-button:hover {
  color: #1d1d1b;
  background: #ffffff;
}

/* 图片区域 */
.gallery-section {
  padding: 120px 6%;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-label {
  color: #8b3e2f;
}

.section-heading h2,
.about-content h2 {
  margin-bottom: 20px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: normal;
}

.section-heading > p:last-child {
  color: #6e6b65;
  font-size: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.image-card {
  overflow: hidden;
  background: #ebe6dc;
}

.image-wrapper {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #d9d4cb;
}

.image-wrapper img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.image-card:hover .image-wrapper img {
  transform: scale(1.05);
}

.card-content {
  position: relative;
  padding: 28px;
}

.card-number {
  margin-bottom: 18px;

  color: #8b3e2f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.card-content h3 {
  margin-bottom: 10px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: normal;
}

.card-content > p:last-child {
  color: #6e6b65;
  font-size: 14px;
}

/* 关于区域 */
.about-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;

  padding: 110px 8%;
  color: #ffffff;
  background: #1d1d1b;
}

.about-number {
  color: rgba(255, 255, 255, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(120px, 18vw, 260px);
  line-height: 0.8;
}

.about-content {
  max-width: 700px;
}

.about-content .section-label {
  color: #d6c6ab;
}

.about-content p:last-child {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

/* 页脚 */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;

  padding: 35px 6%;

  color: #a5a199;
  background: #141412;
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  font-size: 13px;
  letter-spacing: 1px;
}

/* 平板和手机适配 */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-number {
    font-size: 120px;
  }
}

@media (max-width: 650px) {
  .site-header {
    height: auto;
    padding: 20px 5%;
  }

  .navigation {
    gap: 16px;
  }

  .navigation a {
    font-size: 12px;
  }

  .hero {
    min-height: 82vh;
    padding: 80px 6%;
  }

  .hero h1 {
    font-size: 46px;
  }

  .gallery-section {
    padding: 80px 5%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 80px 6%;
  }

  .site-footer {
    flex-direction: column;
    padding: 30px 6%;
  }
}