* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

.header-main {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.logo-section:hover {
  color: #e94560;
}

.nav-main {
  display: flex;
  gap: 30px;
}

.nav-main a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
  padding: 8px 16px;
  border-radius: 5px;
}

.nav-main a:hover {
  color: #e94560;
  background: rgba(255,255,255,0.1);
}

.hero-banner {
  background: linear-gradient(to right, rgba(26,26,46,0.9), rgba(22,33,62,0.8)), url('/edg202501.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: #e94560;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(233,69,96,0.4);
}

.btn-primary:hover {
  background: #d63851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233,69,96,0.6);
}

.section-wrapper {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  color: #1a1a2e;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #e94560;
  border-radius: 2px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.card-item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.card-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #999;
}

.footer-main {
  background: #1a1a2e;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #e94560;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #e94560;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #999;
}

.about-content {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  line-height: 1.8;
}

.about-content h3 {
  font-size: 28px;
  margin: 30px 0 20px;
  color: #1a1a2e;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-item {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
}

.feature-item:hover {
  background: #e94560;
  color: #fff;
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #1a1a2e;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e94560;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: #e94560;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: #d63851;
  transform: translateY(-2px);
}

.breadcrumb {
  background: #fff;
  padding: 15px 0;
  margin-bottom: 30px;
}

.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  margin-right: 10px;
}

.breadcrumb a:hover {
  color: #e94560;
}

.detail-hero {
  background: linear-gradient(to bottom, rgba(26,26,46,0.9), rgba(22,33,62,0.8)), url('/edg202502.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  color: #fff;
}

.detail-content {
  background: #fff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-top: -50px;
  position: relative;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-image:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  .nav-main {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h2 {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }
}
