/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Reset */
* {
  margin: 0; padding: 0; box-sizing: border-box;
}

/* Body and fonts */
body {
  font-family: 'Roboto', sans-serif;
  background: #fff8f0;
  color: #1a1a1a;
  line-height: 1.6;
  padding: 0 1rem 2rem;
}

/* Header */
header {
  background-color: #005f99; /* deep blue */
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 2px;
  user-select: none;
}

nav#mainNav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  transition: max-height 0.4s ease;
}

nav#mainNav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

nav#mainNav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ff6f00; /* bright orange underline */
  transition: width 0.3s ease;
}

nav#mainNav ul li a:hover,
nav#mainNav ul li a.active {
  background-color: #ff6f00;
  color: #004080;
}

nav#mainNav ul li a:hover::after,
nav#mainNav ul li a.active::after {
  width: 100%;
}

/* Hamburger Menu Button */
#menuToggle {
  display: none;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* Main */
main {
  max-width: 900px;
  margin: 2rem auto;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive menu */
@media (max-width: 768px) {
  nav#mainNav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #005f99;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
  }
  nav#mainNav.open {
    max-height: 400px;
  }
  nav#mainNav ul {
    flex-direction: column;
    gap: 0;
  }
  nav#mainNav ul li a {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  #menuToggle {
    display: block;
  }
}

/* Product cards */
.product-card {
  background: #fff3e0; /* light orange */
  border: 1px solid #ffa726; /* orange */
  border-radius: 6px;
  width: 220px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(255, 111, 0, 0.25);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(255, 111, 0, 0.5);
}

.product-card img {
  max-width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

.product-card h3 {
  margin: 0.6rem 0 0.3rem 0;
  font-size: 1.2rem;
  color: #004080;
}

.product-card p {
  font-size: 0.95rem;
  color: #333;
}

/* Featured Products container */
#featuredProducts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* Video and audio responsiveness */
video, audio {
  max-width: 100%;
  margin-top: 1rem;
}

/* Forms styling */
form label {
  display: block;
  margin: 0.8rem 0 0.3rem;
  font-weight: 600;
  color: #004080;
}

form input[type="text"],
form input[type="file"],
form select,
form textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem;
  border: 2px solid #ffa726;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="file"]:focus,
form select:focus,
form textarea:focus {
  border-color: #005f99;
  outline: none;
}

form textarea {
  min-height: 100px;
  resize: vertical;
}

form button {
  margin-top: 1rem;
  background-color: #ff6f00;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #e65c00;
}
