/* ---------- General Styles ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  background-color: #111;
  color: #eee;
  line-height: 1.6;
}

/* ---------- Header & Navigation ---------- */
header {
  background-color: #000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8em;
  font-weight: bold;
  letter-spacing: 1px;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #fff;
}

/* ---------- Hero Section ---------- */
.hero {
  background: url('../images/engineered/engineered1.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #ccc;
}

.btn {
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid #444;
  transition: background 0.3s;
}

.btn:hover {
  background: #333;
}

/* ---------- Sections ---------- */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.page-header {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

h1, h2 {
  color: #fff;
  margin-bottom: 20px;
}

/* ---------- Product & Gallery ---------- */
.gallery, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery img, .gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #222;
  transition: transform 0.3s ease;
}

.gallery img:hover, .gallery-grid img:hover {
  transform: scale(1.03);
}

/* ---------- Contact Section ---------- */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 8px;
  font-weight: 500;
}

input, textarea {
  background: #1b1b1b;
  border: 1px solid #333;
  color: #eee;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 3px;
}

button {
  background: #222;
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s;
}

button:hover {
  background: #333;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info iframe {
  width: 100%;
  height: 300px;
  border: 0;
  margin-top: 15px;
  border-radius: 5px;
}

/* ---------- Footer ---------- */
footer {
  background: #000;
  text-align: center;
  padding: 30px 10px;
  border-top: 1px solid #222;
  font-size: 0.9em;
  color: #aaa;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    margin-top: 10px;
  }
  .hero h1 {
    font-size: 2em;
  }
}
