/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

/* UTILITIES */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* HEADER */
.header {
  padding: 10px 0;
  background-color: #033870;
  color: #fff;
  font-size: 14px;
}

/* NAVBAR */
.navbar {
  background-color: #ffffff;
  padding: 10px 0;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.navbar .nav-link {
  color: #033870;
  font-weight: 500;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #d62323;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

/* PAGE HEADER */
.page-header {
  background-color: #033870;
  color: white;
  padding: 60px 0;
  text-align: left;
}

.page-header .header-icon i {
  font-size: 60px;
  color: #ffcc00;
}

/* PRODUCT GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* PRODUCT CARD */
.product-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 220px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}
a {
  text-decoration: none !important;
  color: inherit;
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #033870;
}

.product-category,
.product-brand {
  font-size: 0.9rem;
  color: #777;
}

.product-link {
  display: inline-block;
  margin-top: 10px;
  color: #d62323;
  font-weight: bold;
  transition: color 0.3s;
}

.product-link:hover {
  color: #a10000;
  text-decoration: underline;
}

/* FOOTER */
.footer {
  background-color: #222;
  color: #ccc;
  padding: 50px 20px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 220px;
}

.footer-section h3,
.footer-section h4 {
  color: #fff;
  margin-bottom: 12px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 6px;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a:hover {
  color: #fff;
}

.social-link {
  margin-right: 10px;
  color: #ccc;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ffcc00;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 8px;
  border-radius: 4px;
  border: none;
}

.newsletter-form button {
  padding: 8px 16px;
  background-color: #d62323;
  color: white;
  border: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background-color: #a10000;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .page-header {
    text-align: center;
  }

  .navbar .nav-link {
    display: block;
    margin: 10px 0;
  }

  .header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}
