/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
body { color: #333; }

/* NAVBAR */
.navbar {
  background-color: #003366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 45px;
  width: auto;
}

.company-title {
  font-size: 18px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background-color: #00264d;
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
}

.main-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

.main-menu li { position: relative; }

.main-menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  display: block;
  border-radius: 4px;
}

.main-menu a:hover {
  background-color: #0059b3;
}

/* SUBMENU */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #004080;
  list-style: none;
  border-radius: 4px;
  min-width: 200px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  overflow: hidden;
  z-index: 999;
}

.submenu a {
  padding: 10px 15px;
  color: #fff;
  white-space: nowrap;
}

.submenu a:hover {
  background-color: #0066cc;
}

/* Hover submenu for desktop */
@media (min-width: 769px) {
  .has-submenu:hover > .submenu { display: block; }
}

/* MOBILE MENU */
@media (max-width: 768px) {
  .menu-toggle { display: block; width: 100%; margin-top: 10px; }

  .main-menu {
    flex-direction: column;
    width: 100%;
    background-color: #003366;
    display: none;
  }

  .main-menu.active { display: flex; }

  .main-menu a { width: 100%; padding-left: 20px; }

  .submenu {
    position: static;
    background-color: #002b5c;
    box-shadow: none;
  }

  .submenu a { padding-left: 40px; }
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 75px;
}

.slides { position: absolute; width: 100%; height: 100%; }

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active { opacity: 1; }

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 12px;
}

.hero h1 { font-size: 2.8rem; margin-bottom: 15px; }
.hero p { font-size: 1.1rem; margin-bottom: 25px; }

.btn {
  background: #0077b6;
  color: white;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover { background: #00b4d8; }

/* PRODUCTS */
.products {
  padding: 100px 20px;
  background: #f9f9f9;
  text-align: center;
}

.products h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.card h3 { margin: 15px 0 8px; }
.card p { font-size: 0.9rem; padding: 0 15px; color: #555; }

/* CONTACT */
.contact {
  padding: 100px 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact form { display: flex; flex-direction: column; gap: 15px; }

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact button {
  background: #0077b6;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover { background: #00b4d8; }

#formStatus { margin-top: 15px; font-weight: 500; }

/* FOOTER */
footer {
  background: #00264d;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}