/* ================= GLOBAL ================= */

body{
  font-family: Segoe UI, Arial, sans-serif;
  margin: 0;
  background: #f5f7fa;
}

/* ================= HEADER ================= */

.top-header{
  background: #003366;
  color: white;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.top-header .logo{
  max-height: 60px;
  width: auto;
}

/* TITLE */
.top-header h1{
  font-size: 22px;
  margin: 0 20px;
  white-space: nowrap;
}

/* NAVIGATION */
.top-header nav{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.top-header a{
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
}

/* CTA BUTTON */
.top-header a.cta{
  background: #ff9900;
  color: #003366;
  padding: 6px 12px;
  border-radius: 4px;
}

/* ================= HERO ================= */

.hero{
  padding: 80px;
  background: linear-gradient(135deg,#003366,#0059b3);
  color: white;
  text-align: center;
}

/* ================= CARDS ================= */

.cards{
  display: flex;
  gap: 20px;
  padding: 40px;
  flex-wrap: wrap;
}

.card,
.product-card{
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ================= CONTAINER ================= */

.container{
  padding: 40px;
}

/* ================= BUTTONS ================= */

.btn-primary{
  background: #ff9900;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary{
  border: 2px solid white;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

/* ================= PRODUCTS ================= */

.product-card{
  max-width: 350px;
  display: inline-block;
  vertical-align: top;
  margin: 15px;
  text-align: left;
}

.product-media{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* ================= FOOTER ================= */

footer{
  text-align: center;
  padding: 20px;
  background: #eaeaea;
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px){

  .top-header{
    flex-direction: column;
    text-align: center;
  }

  .top-header h1{
    margin: 10px 0;
  }

  .top-header nav{
    justify-content: center;
  }

  .cards{
    justify-content: center;
  }

  .product-card{
    max-width: 100%;
  }
}
