body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  color: #222;
  min-height: 100vh;
}

nav {
  background: #0f172a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5em 1.5em;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.logo img {
  border-radius: 6px;
  background: transparent;
  border: none;
  max-height: 40px;
  width: auto;
}

.company-name {
  color: #fff;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1em;
  padding: 0.3em 0.7em;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

nav ul li a:hover,
nav ul li a:focus,
nav ul li a.active {
  background: #ffffff;
  color: #0f172a;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2em 1.5em 1em 1.5em;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.hero {
  background: url('assets/hero.jpg') center center / cover no-repeat;
  color: #fff;
  border-radius: 0;
  margin: 0 0 2em 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  min-height: 380px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,23,42,0.55) 0%, rgba(2,132,199,0.35) 100%);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5em 1.5em 4em 1.5em;
  position: relative;
  z-index: 1;
  text-align: center;
}

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

.hero h1 {
  font-size: 2.5em;
  margin: 0 0 0.5em 0;
  letter-spacing: 1px;
}

.tagline {
  font-size: 1.3em;
  margin-bottom: 1.2em;
}

.cta-button {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-weight: bold;
  padding: 0.8em 2em;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.2s, color 0.2s;
  margin-top: 0.5em;
}

.cta-button:hover,
.cta-button:focus {
  background: #1e40af;
  color: #fff;
}

.cta-button.secondary {
  background: transparent;
  color: #06b6d4;
  border: 2px solid #06b6d4;
  margin-left: 0.5em;
}

.cta-button.secondary:hover,
.cta-button.secondary:focus {
  background: #06b6d4;
  color: #0f172a;
}

.features {
  margin: 2.5em 0 2em 0;
  text-align: center;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin-top: 1.5em;
}

.feature {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.5em 1.2em;
  width: 220px;
  min-width: 180px;
  text-align: center;
}

.feature img {
  display: block;
  margin: 0 auto 0.7em auto;
  width: 72px;
  height: auto;
}

.feature h3 {
  color: #2563eb;
  margin: 0.5em 0 0.3em 0;
}

.quick-contact {
  background: #eff6ff;
  border-radius: 10px;
  padding: 2em 1.5em;
  margin: 2em 0 0 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.quick-contact h2 {
  margin-top: 0;
}

.factory {
  margin: 2em 0;
}

.factory-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
  margin-top: 1em;
}

.factory-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.factory-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

@media (max-width: 900px) {
  .factory-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .factory-gallery {
    grid-template-columns: 1fr;
  }
  .product-photo { height: 140px; }
}

h1, h2, h3 {
  color: #0f172a;
  margin-top: 0;
}

.products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  padding: 0;
  margin: 2em 0 0 0;
  list-style: none;
}

.products-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.5em 1.2em;
  width: 260px;
  min-width: 180px;
  text-align: center;
  margin-bottom: 1em;
  font-size: 1.1em;
}

.product-icon {
  display: block;
  margin: 0 auto 0.7em auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.product-photo {
  display: block;
  margin: 0 auto 0.8em auto;
  width: 100%;
  height: 160px;
  max-width: 260px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  object-fit: cover;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-link:hover .product-photo {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-title {
  font-weight: bold;
  color: #2563eb;
  margin-bottom: 0.3em;
  font-size: 1.15em;
}

.product-desc {
  font-size: 0.98em;
  color: #444;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  margin-bottom: 1.5em;
  background: #fff;
  padding: 1.5em 1em;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5em;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1em;
}

.contact-form button {
  width: fit-content;
  padding: 0.5em 1.5em;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #1e40af;
}

.map-placeholder {
  width: 100%;
  max-width: 400px;
  height: 180px;
  background: #eee url('https://placehold.co/400x180?text=Map') center center/cover no-repeat;
  border-radius: 8px;
  margin: 1.5em auto 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

footer {
  background: #222;
  color: #fff;
  margin-top: 2em;
  font-size: 0.98em;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.07);
  padding: 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2em 1.5em 1em 1.5em;
  gap: 2em;
}

.footer-content > div {
  min-width: 180px;
}

.footer-bottom {
  text-align: center;
  padding: 1em 0 1em 0;
  background: #181818;
  color: #06b6d4;
  border-radius: 0 0 8px 8px;
  font-size: 0.95em;
}

.social-icons img {
  margin-right: 0.5em;
  vertical-align: middle;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #06b6d4;
}

/* Remove social section from footer */
.footer-content > div:last-child { display: none; }
.social-icons { display: none; }

/* Improve footer link readability on dark background */
footer a {
  color: #e2e8f0;
  text-decoration: none;
}
footer a:hover,
footer a:focus {
  color: #06b6d4;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .features-list, .products-list, .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
  }
  .nav-container {
    flex-direction: column;
    gap: 0.7em;
  }
  main {
    padding: 1em 0.5em 0.5em 0.5em;
  }
}
