/* Reset and base styles */
body {
  margin: 0;
  font-family: Georgia, ebrima;
  background-color: #ffffff;
  color: #000;
}

/* Navigation */
.navbar {
  display: flex;
  background-color: #c00;
  padding: 1rem;
  list-style: none;
  margin: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar li {
  position: relative;
  margin: 0 1rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 0;
  background-color: #f8f8f8;
  padding: 0.5rem;
  list-style: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0.5rem 0;
}

.dropdown-menu a {
  color: #c00;
}

/* Hero Section */
.hero {
  background-image: url('../images/having-fun-with-life-jackets.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #eee;
  width: 100%;
  height: auto;
  min-height: 500px; /* adjust as needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.research-hero-img {
  background-image: url('images/kids-on-dock.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20px;
  height: 400px;
  width: 100%;
  margin-bottom: 1.5rem;
  display: block;
}




/* Content Blocks */
.content {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  background-color: #fff;
  text-align: center;
}

.product-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 4px;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #c00;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Safety Section */
.safety {
  background-color: #f5f5f5;
  padding: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: #fafafa;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li::after {
  content: ">";
  margin-left: 0.5rem;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs a {
  text-decoration: none;
  color: #c00;
}
.breadcrumbs {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background-color: #f1f1f1;
  margin: 0;
  border-bottom: 4px solid #c00; /* move the red border here */
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}

footer .disclosure {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}
/* --- MOBILE RESPONSIVE NAVIGATION --- */
.menu-toggle {
  display: none;
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .navbar ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    background: #c00;
    color: #fff;
    font-weight: bold;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
  }

  .navbar li {
    margin: 0;
    width: 100%;
  }

  .navbar .dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: #e00;
    margin-left: 1rem;
  }

  .navbar .dropdown.open .dropdown-menu {
    display: flex;
  }
}
