:root {
  --primary: #0043A8;
  --primary-dark: #003380;
  --accent: #FF6B35;
  --accent-hover: #E55A2B;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --white: #ffffff;
  --gray: #666666;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Header */
header {
  background: var(--primary);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--white);
}

.logo span {
  color: var(--accent);
}

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--white);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav a:hover, nav a.active {
  background: var(--accent);
}

.language-switcher {
  display: flex;
  gap: 10px;
}

.language-switcher a {
  color: var(--white);
  padding: 5px 10px;
  border: 1px solid var(--white);
  border-radius: 3px;
  font-size: 0.9rem;
}

.language-switcher a.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 1.5rem !important;
  margin-bottom: 10px !important;
}

.hero-description {
  margin-bottom: 30px !important;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}

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

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

.btn-white:hover {
  background: var(--light);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Sections */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 40px;
  text-align: center;
}

/* Features */
.features {
  background: var(--light);
  position: relative;
  z-index: 100;
}

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

.feature-card,
a.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  display: block;
  transition: transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.feature-card:hover,
a.feature-card:hover {
  transform: translateY(-5px);
  text-decoration: none;
}

.features-grid a.feature-card {
  text-decoration: none;
  color: inherit;
}

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

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray);
}

/* Highlight */
.highlight {
  background: var(--white);
}

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

.highlight-text h2 {
  text-align: left;
  margin-bottom: 20px;
}

.highlight-text p {
  color: var(--gray);
  margin-bottom: 20px;
}

.highlight-list {
  margin-bottom: 25px;
}

.highlight-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--gray);
}

.highlight-list li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.highlight-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.highlight-image img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
  background: var(--light);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

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

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

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

.about-text p {
  color: var(--gray);
  margin-bottom: 15px;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat {
  text-align: center;
}

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

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

.about-image {
  background: var(--primary);
  border-radius: 20px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

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

.service-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

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

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.service-content p {
  color: var(--gray);
  margin-bottom: 15px;
}

.service-price {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
}

.service-content .btn {
  margin-top: 15px;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 250px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.product-content {
  padding: 25px;
}

.product-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.product-content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.product-content .btn {
  margin-top: 20px;
}

.product-price {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Contact */
.contact {
  background: var(--light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.contact-details {
  color: var(--gray);
}

.contact-details strong {
  display: block;
  color: var(--dark);
}

.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 25px 0 20px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-col h3 {
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.footer-col p {
  opacity: 0.8;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.copyright {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.6;
  font-size: 0.8rem;
}

/* Product Image Gallery */
.product-gallery {
  max-width: 600px;
  margin: 0 auto 30px;
}

.product-gallery .main-image {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: var(--light);
  display: block;
  max-height: 500px;
  object-fit: contain;
}

.product-gallery .thumbnails {
  display: none;
}

.product-gallery .gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.product-gallery .gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray);
  opacity: 0.4;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-gallery .gallery-dot:hover {
  opacity: 0.7;
}

.product-gallery .gallery-dot.active {
  background: var(--accent);
  opacity: 1;
}

/* Product Detail Page */
.product-detail .product-info p {
  margin-bottom: 25px;
}

.product-detail .product-info h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary);
}

.product-detail .product-info ul {
  margin-bottom: 25px;
}

.product-detail .product-info ul li {
  margin-bottom: 10px;
  color: var(--gray);
}

.product-detail .product-info .price {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 30px;
}

.product-detail .product-info .btn {
  margin-top: 10px;
}

/* Header Image Slider */
.header-slider {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.header-slider .slides {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.header-slider .slide {
  width: 50%;
  height: 100%;
}

.header-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem !important;
  }

  .about-content,
  .contact-wrapper,
  .highlight-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .highlight-text h2 {
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }
}
