/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Layout Wrappers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background-color: #101820;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  background-color: #101820;
  padding: 15px 0;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  transition: background 0.3s, color 0.3s;
  border-radius: 4px;
}

nav a:hover {
  background-color: #fff;
  color: #101820;
}

/* Hero / Banner */
.models-banner {
  width: 100%;
  height: auto;
  display: block;
}

/* Icons over banner */
.icon-container {
  position: absolute;
  top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  z-index: 10;
}

.icon-container img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
  cursor: pointer;
}

.icon-container img:hover {
  transform: scale(1.2);
}

.tooltip {
  position: absolute;
  background-color: #101820;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
  transform: translate(-50%, -130%);
  white-space: nowrap;
  z-index: 999;
}

/* Product Section */
.product-background {
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
}

.product-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/honda-banner.png') center/cover no-repeat;
  filter: blur(10px);
  opacity: 0.25;
  z-index: 0;
}

.products {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Product Card */
.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #666;
}

.quantity-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}

.quantity-controls button {
  font-size: 1.2rem;
  padding: 5px 12px;
  border: none;
  border-radius: 5px;
  background-color: #101820;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.quantity-controls button:hover {
  background-color: #333;
}

.card button.buy {
  padding: 10px 20px;
  background-color: #101820;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.card button.buy:hover {
  background-color: #333;
}

/* Footer */
footer {
  background-color: #101820;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  font-size: 0.95rem;
}

/* Popup / Enquiry */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-box {
  background-color: #101820;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-box input,
.popup-box textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
}

.popup-box button {
  padding: 10px;
  background-color: #fff;
  color: #101820;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.popup-box button:hover {
  background-color: #ddd;
}

/* Media Queries */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .card {
    padding: 15px;
  }
}
