/* assets/css/style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
header {
  background: #2c3e50;
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo {
  font-size: 1.8rem;
  font-weight: bold;
}
.logo a { 
  color: white; 
  text-decoration: none; 
  display: inline-block;
}
.logo small {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
}
.logo img.logo-img {
  width: 180px; 
  height: auto; 
  vertical-align: middle;
  margin-right: 10px;
}


.logo img.logo-img {
  width: 150px;        
  height: auto;       
  vertical-align: middle;
  margin-right: 12px; 
  border-radius: 4px; 
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.main-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 25px;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.main-nav a:hover {
  color: #3498db;
}

/* News Banner */
.news-banner {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 12px 15px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}
.news-content {
  font-size: 0.95rem;
  color: #0d47a1;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-img {
  height: 160px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info {
  padding: 18px;
}
.product-info h3 {
  color: #2980b9;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.product-info .model {
  color: #e74c3c;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Application Cases */
.application-cases {
  margin-top: 30px;
}
.case {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.case h3 {
  color: #2980b9;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
  transition: background 0.3s;
}
.btn:hover {
  background: #2980b9;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 6px;
}
.lang-btn {
  background: #34495e;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.lang-btn:hover {
  background: #2c3e50;
}
.lang-btn.active {
  background: #3498db;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #ecf0f1;
  text-align: center;
  padding: 25px 0;
  margin-top: 50px;
}
footer p {
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav {
    justify-content: center;
    gap: 10px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
}