/* ========== PRODUCTS PAGE - NAVY + GOLD ========== */
.products-section{
  padding: 60px 20px;
  background: #0B1120; /* Navy Blue Dark */
  color: #fff;
  min-height: 500px;
}

.products-section .container{
  max-width: 1200px;
  margin: 0 auto;
}

.products-section h1{
  color: #FFD700; /* Golden */
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 12 CARDS GRID */
.products-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.product-cat{
  background: #1A2238; /* Navy Light */
  border: 2px solid #FFD700; /* Golden Border */
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
}

.product-cat:hover{
  border-color: #FFA500; /* Dark Golden on hover */
  transform: translateY(-5px);
}

.product-cat a{
  text-decoration: none;
  color: #fff;
  display: block;
}

.product-cat img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-cat h3{
  color: #FFD700; /* Golden Text */
  padding: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

/* ========== HEADER DROPDOWN - NAVY + GOLD ========== */
.navbar ul li.dropdown{
  position: relative;
}

.dropdown-menu{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1A2238; /* Navy */
  min-width: 240px;
  border: 1px solid #FFD700; /* Golden Border */
  border-radius: 0 0 5px 5px;
  z-index: 9999;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown:hover .dropdown-menu{
  display: block;
}

.dropdown-menu li a{
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #2a3447;
  font-size: 14px;
  transition: 0.2s;
}

.dropdown-menu li:last-child a{
  border-bottom: none;
}

.dropdown-menu li a:hover{
  background: #FFD700; /* Golden Hover */
  color: #0B1120; /* Navy Text */
  padding-left: 25px;
}

/* ========== RESPONSIVE ========== */
@media(max-width: 768px){
  .products-grid{
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .dropdown-menu{
    position: static;
    border: none;
    width: 100%;
  }
  .dropdown-menu li a{
    padding: 14px 15px;
  }
}

/* Extra small devices - 1 column */
@media(max-width: 480px){
  .products-section{ padding: 40px 15px; }
  .products-section h1{ font-size: 24px; margin-bottom: 25px; }
  .products-grid{ grid-template-columns: 1fr; gap: 18px; }
  .product-cat img{ height: 180px; }
  .product-cat h3{ font-size: 15px; padding: 12px; }
}

/* Touch devices - hover effect remove */
@media (hover: none) {
  .product-cat:hover{ transform: none; }
}

/* Global fix */
img{ max-width: 100%; height: auto; }