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

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #003366;
  padding: 15px 30px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo { font-size: 22px; font-weight: bold; }
header .logo span { color: #ffcc00; }

header nav { display: flex; gap: 20px; }
header nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
header nav a:hover { color: #ffcc00; }

.menu-toggle { display: none; cursor: pointer; font-size: 22px; }

/* Hero */
.hero { position: relative; height: 80vh; color: white; }
.hero .swiper-slide {
  display: flex; justify-content: center; align-items: center;
  background-size: cover; background-position: center;
}
.hero-text {
  text-align: center; background: rgba(0,0,0,0.4);
  padding: 20px; border-radius: 8px;
}
.hero h1 { font-size: 40px; margin-bottom: 10px; }
.hero p { font-size: 18px; margin-bottom: 15px; }

.btn {
  background: #ffcc00;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn:hover { background: #ff9900; transform: translateY(-2px); }

/* Products */
.products { padding: 50px 20px; text-align: center; }
.products h2 { font-size: 28px; margin-bottom: 30px; color: #003366; }

.grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 25px;
}

.product {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 250px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product:hover { transform: translateY(-5px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.product img { width: 100%; border-radius: 8px; margin-bottom: 10px; }
.product h3 { font-size: 18px; margin-bottom: 5px; }
.product .price { color: #e60000; font-weight: bold; font-size: 16px; }
.btn-cart {
  margin-top: 10px; background: #003366; color: white;
  border: none; padding: 10px; border-radius: 5px;
  cursor: pointer; transition: background 0.3s;
}
.btn-cart:hover { background: #0055aa; }

/* Contact */
.contact { padding: 50px 20px; background: #003366; color: white; text-align: center; }
.contact h2 { margin-bottom: 20px; }
.contact-form {
  display: flex; flex-direction: column;
  max-width: 400px; margin: 20px auto; gap: 10px;
}
.contact-form input, .contact-form textarea {
  padding: 12px; border: none; border-radius: 6px;
}
.contact-form button { border: none; cursor: pointer; }

/* Footer */
footer { background: #001a33; color: white; text-align: center; padding: 20px; }
.social-links { display: flex; justify-content: center; gap: 15px; margin-top: 10px; }
.social-btn {
  display: inline-block; padding: 8px 20px; border-radius: 20px;
  font-weight: bold; color: white; text-decoration: none;
  transition: 0.3s;
}
.social-btn.facebook { background: #1877f2; }
.social-btn.facebook:hover { background: #0d65d9; }
.social-btn.zalo { background: #06b4ff; }
.social-btn.zalo:hover { background: #0099e6; }

/* Responsive */
@media (max-width: 768px) {
  header nav { display: none; flex-direction: column; background: #003366; position: absolute; top: 60px; right: 0; padding: 15px; }
  header nav.active { display: flex; }
  .menu-toggle { display: block; }
  .grid { flex-direction: column; align-items: center; }
  .hero { height: 60vh; }
}
