:root {
  --maroon: #800000;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

.nav-logo {
  height: 48px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--maroon);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--maroon);
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(128,0,0,.6), rgba(0,0,0,.3)),
    url("bg-hero.jpg") center/cover no-repeat;
  padding: 80px 8%;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-content-card {
  max-width: 500px;
  background: rgba(128, 0, 0, 0.85);
  padding: 30px 25px;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.hero-content-card h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-content-card p {
  font-size: 18px;
  margin-bottom: 25px;
}

.store-buttons img {
  height: 55px;
  margin-right: 15px;
}

.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hero-image img {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: auto;
}

/* ================= FEATURES ================= */
.features {
  padding: 80px 8%;
}

.section-title {
  text-align: center;
  color: var(--maroon);
  margin-bottom: 40px;
  font-size: 34px;
}

.features-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card,
.why-card {
  padding: 25px;
  border-radius: 12px;
  background: #f8f8f8;
  text-align: center;
}

/* ================= WHY ================= */
.why {
  padding: 80px 8%;
}

/* ================= FOOTER ================= */
footer {
  background: var(--maroon);
  color: white;
  text-align: center;
  padding: 18px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

/* ================= ANIMATIONS ================= */
.anim-fade {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: .4s; }
.delay-2 { animation-delay: .8s; }
.delay-3 { animation-delay: 1.2s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    right: 20px;
    background: white;
    flex-direction: column;
    width: 220px;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none;
  }

  .nav-menu.show {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content-card {
    margin: auto;
    width: 90%;
  }

  .hero-content-card h1 {
    font-size: 34px;
  }
}
