:root {
  --primary: #1a365d;
  --primary-dark: #0f1f38;
  --secondary: #c9a227;
  --accent: #e63946;
  --light: #f8f9fa;
  --dark: #1a1a1a;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: #fff;
}

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

/* Header */
header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo h1 {
  font-size: 1.4rem;
  font-weight: 700;
}

.logo span {
  font-size: 0.85rem;
  color: var(--secondary);
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--secondary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-switch a {
  color: white;
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.lang-switch a:hover,
.lang-switch a.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary-dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%),
              url('../images/hero-bg.jpg') center/cover;
  color: white;
  padding: 150px 0 100px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary);
  color: var(--primary-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #b8941f;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  margin-left: 15px;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  color: #555;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Products/Services Grid */
.services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--light);
  padding: 40px;
  border-radius: 10px;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: var(--secondary);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Certifications */
.certifications {
  background: var(--light);
}

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

.cert-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border-left: 4px solid var(--secondary);
}

.cert-item h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

.cert-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* News Section */
.news {
  background: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--light);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.news-image {
  height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 25px;
}

.news-date {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.news-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary);
}

/* News Detail Page */
.news-detail {
  padding: 120px 0 80px;
  background: var(--light);
}

.news-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.news-header h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.news-meta {
  color: var(--gray);
  margin-bottom: 30px;
}

.news-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.news-gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-body {
  background: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: 0 auto;
}

.news-body h2 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 1.4rem;
}

.news-body h3 {
  color: var(--primary);
  margin: 25px 0 12px;
  font-size: 1.2rem;
}

.news-body p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #444;
}

.news-body ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

.news-body li {
  margin-bottom: 10px;
  color: #444;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
}

.highlight-box h3 {
  color: var(--secondary);
  margin-top: 0;
}

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

.spec-item {
  background: var(--light);
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid var(--secondary);
}

.spec-label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 5px;
}

.spec-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

/* Customers */
.customers {
  background: var(--light);
}

.customers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.customer-item {
  background: white;
  padding: 30px 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  min-width: 180px;
  text-align: center;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--secondary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  line-height: 2;
}

.footer-section a:hover {
  color: var(--secondary);
}

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 968px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary);
    transition: var(--transition);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 40px;
    gap: 20px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h2 {
    font-size: 1.6rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    display: block;
    margin: 10px 0;
    text-align: center;
  }
  
  .btn-outline {
    margin-left: 0;
  }
}

/* Product Images */
.product-image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-image-container:hover img {
  transform: scale(1.05);
}

.product-image-large {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.product-gallery-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-gallery-item .caption {
  padding: 20px;
  text-align: center;
  color: var(--primary);
  font-weight: 600;
}

.hero-with-image {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-with-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 54, 93, 0.85);
}

.about-image {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
