/* 基础样式 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
header {
  background: #333;
  color: #fff;
  padding: 10px 0;
}
.navbar {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.nav-links li a.active {
  border-bottom: 2px solid #fff;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 60vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}
.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
  z-index: -1;
}
/* Hero Slider Options - Bottom full width bar */
.slider-options {
  position: absolute;
  bottom: 0;                /* 固定在图片底部 */
  left: 0;
  width: 100%;              /* 和图片一样宽 */
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.slider-options button {
  flex: 1;                  /* 三个按钮平均分布 */
  padding: 15px 0;          /* 高度 */
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-options button:hover {
  background: rgba(0,0,0,0.7);
}

.slider-options button.active {
  background: rgba(255,215,0,0.9); /* 金色高亮 */
  color: #000;
}


/* 箭头 */
.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  transform: translateY(-50%);
}
.slider-arrows button {
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 2em;
  cursor: pointer;
  border-radius: 5px;
  padding: 5px 15px;
}

/* Hero 文本 */
.hero-text h1 { font-size: 2.5em; margin: 0; }
.hero-text p { font-size: 1.2em; margin-top: 10px; }

/* Section 通用 */
section { padding: 40px 20px; width: 80%; margin: auto; }
section h1, section h2 { color: #333; }

/* Intro */
.intro { text-align: center; }
.intro .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* Contact */
.contact-info, .business-hours, .contact-form, .map {
  margin-bottom: 30px;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form input, .contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  padding: 10px;
  background: #333;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* Projects */
.project-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.project-card {
  flex: 1 1 calc(50% - 20px);
  background: #f4f4f4;
  padding: 15px;
  border-radius: 8px;
}
.project-card img {
  width: 100%;
  border-radius: 8px;
}
.project-card h3 {
  margin: 10px 0 5px;
}

/* Footer */
footer { background: #333; color: white; text-align: center; padding: 15px 0; margin-top: 40px; }
