/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

/* Header - white background, black text */
header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 1rem 2rem;
  color: #000000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

/* Group the two logos side by side */
.logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-group img {
  height: 50px;
}

header nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #ff0000;
}

/* Hero Section with background image */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 70vh;
  background: url('hero.png') no-repeat center center/cover;
  position: relative;
  color: #ffffff;
  padding: 0 1rem;
}

/* Dark overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* Text above overlay */
.hero-overlay {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero button {
  background-color: #ff0000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero button:hover {
  background-color: #cc0000;
  transform: scale(1.05);
}

/* Products Grid */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.product-card {
  background: #fff;
  border: 1px solid #000;
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-card h2 {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.product-card p {
  font-weight: 400;
}

/* Product Page Video */
video {
  width: 100%;
  border-radius: 10px;
  margin: 1rem 0;
  border: 1px solid #000;
}

/* Product Description and Download Button */
.description, .download {
  margin: 1rem 0;
}

.download a {
  display: inline-block;
  background: #ff0000;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.download a:hover {
  background: #cc0000;
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

footer a {
  color: #ff0000;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 500;
}

footer a:hover {
  color: #cc0000;
}

/* Responsive Text */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero {
    height: 50vh;
  }
}

/* Badge in the card corner */
.badge-corner {
  position: absolute;
  top: 0;
  right: 0;
  background: #888;
  color: #fff;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: bold;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 8px;
  transition: background 0.3s ease;
}

.product-card:hover .badge-corner {
  background: #ff0000;
}