@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: 'Montserrat', sans-serif; 
  line-height: 1.6; 
  color: #333; 
}

.container { width: 90%; max-width: 1200px; margin: auto; }

/* 顶部信息条 */
.top-bar {
  background: #111;
  color: #fff;
  font-size: 0.9rem;
  padding: 5px 0;
}
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #fff; margin-right: 10px; text-decoration: none; }

/* Logo + 导航 */
.main-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo { font-size: 1.5rem; color: #333; }
nav ul { list-style: none; display: flex; gap: 20px; }
nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 12px;
  transition: 0.3s;
}
nav ul li a:hover { background: #e67e22; color: #fff; border-radius: 4px; }

/* Hero */
.hero {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.hero-content h4 {
  font-size: clamp(1.8rem, 5vw, 2.5rem); 
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-content h2 { 
  font-size: 1.2rem;  
  margin-bottom: 10px; 
  font-weight: 400;    
}
.hero-content p { margin-bottom: 20px; }
.btn {
  background: #e67e22;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.btn:hover { background: #cf6d17; }

/* 服务卡片 */
.services {
  display: flex;
  justify-content: space-between;
  margin: 50px auto;
  gap: 20px;
}
.service-card {
  flex: 1;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); }
.service-card .icon { font-size: 2rem; margin-bottom: 15px; }

/* Footer */
footer {
  background: #111;
  color: #fff;
  padding: 40px 20px 20px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-contact h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.footer-contact p {
  margin: 5px 0;
  font-size: 0.95rem;
}
.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 10px;
  font-size: 0.9rem;
  color: #bbb;
}

/* 页面头部 Banner */
.page-hero {
  height: 40vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.page-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.page-hero-content p {
  font-size: 0.9rem;
  color: #ddd;
}

/* 导航高亮 */
nav ul li a.active {
  background: #e67e22;
  color: #fff !important;
  border-radius: 4px;
}

/* 产品行布局 */
.product-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-row img {
  max-width: 250px;
  border-radius: 8px;
  opacity: 1 !important;      /* 保持正常亮度 */
  filter: none !important;    /* 去掉亮度变化 */
  transition: none !important;
}
.product-info {
  flex: 1;
}
.product-info p {
  line-height: 1.5;     
  margin-bottom: 6px;    
}
.product-info h3 {
  margin-bottom: 10px;
}

/* 联系卡片 */
.contact-cards {
  display: flex;
  gap: 20px;
  margin: 50px auto;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contact-card {
  flex: 1;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 280px;

  display: flex;              /* 让每个卡片内部变成 flex */
  flex-direction: column;     /* 垂直方向 */
  justify-content: space-between; /* 按钮会推到底 */
}
.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
/* Contact card buttons */
.contact-card .btn {
  display: inline-block;
  width: 240px;         /* 统一按钮宽度 */
  text-align: center;
  background: #e67e22;
  color: #fff;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  margin: 0 auto;       /* 居中 */
}

.contact-card .btn:hover {
  background: #cf6d17;
}

/* 保证 email 和其他卡片的文字样式一致 */
.contact-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;   /* 和按钮间隔一致 */
  text-align: center;
}


/* 小屏幕时上下排列 */
@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
}
/* 水体验区 */
.water-experience {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 80px auto;
}

.water-experience .text {
  flex: 1;
}

.water-experience .text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.water-experience .text p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.water-experience .btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #000;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.water-experience .btn-outline:hover {
  background: #000;
  color: #fff;
}

.water-experience .images {
  flex: 1;
  position: relative;  /* 子元素相对定位的参考 */
  height: 500px;       /* 容器高度要足够大，能包住两张图 */
  
}

/* 上图 */
.water-experience .images .top-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;    /* 固定宽度，避免被撑满导致消失 */
  border-radius: 8px;
}

/* 下图 */
.water-experience .images .bottom-img {
  position: absolute;
  top: 160px;      /* 往下移，控制上下间距 */
  left: 230px;     /* 往右移，控制水平间距 */
  width: 250px;    /* 固定宽度 */
  border-radius: 8px;
}

}

.water-experience .images img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
/* 水体验区图片布局 */
.image-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  position: relative;
}

.image-block {
  position: absolute;
  width: 250px;
  border-radius: 8px;
  overflow: hidden;
}

.image-block img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* 上图靠右 */
.image-block.top {
  top: 0;
  right: 0;
}

/* 下图靠左并往下 */
.image-block.bottom {
  top: 150px;
  left: 0;
}

/* 鱼盐区 */
.fish-salt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 4rem auto;
}

.fish-salt .image {
  flex: 1;
}

.fish-salt .image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.fish-salt .text {
  flex: 1;
}

.fish-salt .text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.fish-salt .btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #000;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.fish-salt .btn-outline:hover {
  background: #000;
  color: #fff;
}
