* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Segoe UI", Arial, sans-serif; }
html, body { width: 100%; overflow-x: hidden; background: #fff; color: #333; line-height: 1.7; }
a { color: #007bff; text-decoration: none; }
a:hover { color: #0056b3; }
.container { max-width: 1200px; margin: auto; padding: 0 15px; overflow: hidden; }
header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1); position: sticky; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
nav ul { list-style: none; display: flex; gap: 25px; }
nav ul li a { font-weight: 500; }
.lang-switch { display: flex; gap: 10px; align-items: center; }
.lang-option { cursor: pointer; padding: 5px 10px; border-radius: 4px; }
.lang-option.active { background: #25d366; color: #fff; }
.btn { display: inline-block; background: #25d366; color: #fff; padding: 12px 25px; border-radius: 50px; margin-top: 15px; font-weight: 600; }
.btn:hover { background: #1da851; }
.hero { display: flex; flex-wrap: wrap; gap: 30px; margin: 40px 0; align-items: center; }
.hero .gallery, .hero .content { flex: 1; min-width: 300px; }
.hero .gallery img { width: 100%; border-radius: 8px; }
.section { margin: 60px 0; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.card { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.card img { width: 100%; border-radius: 8px; margin-bottom: 15px; }
.cert { text-align: center; margin: 20px 0; padding: 0 10px; overflow: hidden; }
.cert img { width: 100%; max-width: 600px; height: auto; border: 1px solid #ddd; border-radius: 8px; }
.whatsapp-float { position: fixed; bottom: 30px; right: 20px; z-index: 9999; }
.whatsapp-float img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,.3); transition: transform .3s; }
.whatsapp-float img:hover { transform: scale(1.1); }
footer { background: #1a1a1a; color: #ddd; padding: 40px 0; text-align: center; font-size: 14px; }
footer a { color: #fff; }

/* 轮播 */
.image-carousel { position: relative; max-width: 100%; margin: 30px 0; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.carousel-container { display: flex; transition: transform 0.5s ease; width: 100%; overflow: hidden; touch-action: pan-y; }
.carousel-slide { min-width: 100%; flex-shrink: 0; position: relative; }
.carousel-slide img { width: 100%; height: auto; max-height: 400px; object-fit: cover; display: block; }
.slide-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.7); color: white; padding: 15px; font-size: 1.1rem; text-align: center; backdrop-filter: blur(4px); }
.carousel-prev, .carousel-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; z-index: 10; }
.carousel-prev:hover, .carousel-next:hover { background: rgba(37,211,102,0.8); }
.carousel-prev { left: 15px; } .carousel-next { right: 15px; }
.carousel-dots { text-align: center; padding: 15px 0; }
.carousel-dot { display: inline-block; width: 12px; height: 12px; margin: 0 6px; background: #ccc; border-radius: 50%; cursor: pointer; }
.carousel-dot.active { background: #25d366; transform: scale(1.2); }

/* 网格 */
.image-gallery { margin: 40px 0; text-align: center; }
.gallery-title { font-size: 1.8rem; margin-bottom: 25px; color: #2c3e50; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; overflow: hidden; }
.gallery-item { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.gallery-item:hover { transform: translateY(-8px); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; cursor: zoom-in; }
.gallery-caption { padding: 15px; font-size: 0.95rem; color: #555; background: #f8f9fa; }

/* 灯箱 */
.lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.9); z-index: 9999; justify-content: center; align-items: center; cursor: zoom-out; }
.lightbox img { max-width: 90%; max-height: 90vh; border: 5px solid white; border-radius: 8px; }
.lightbox.active { display: flex; }

/* 响应式 */
@media (max-width: 768px) {
  .hamburger { display: block; cursor: pointer; z-index: 1000; }
  .hamburger span { display: block; width: 25px; height: 3px; background: #333; margin: 5px 0; transition: 0.3s; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
  nav ul { position: fixed; top: 0; left: -100%; width: 80%; height: 100vh; background: #fff; flex-direction: column; padding: 80px 20px 20px; transition: left 0.3s ease; box-shadow: 2px 0 10px rgba(0,0,0,.1); z-index: 999; }
  nav ul.active { left: 0; }
  .lang-switch { position: absolute; top: 5px; right: 10px; background: #fff; padding: 5px; border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
  .carousel-prev, .carousel-next { width: 40px; height: 40px; font-size: 1.2rem; }
  .slide-caption { font-size: 0.9rem; padding: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .gallery-item img { height: 160px; }
}
@media (min-width: 769px) {
  .hamburger { display: none; }
  nav ul { position: static; flex-direction: row; padding: 0; box-shadow: none; }
}