/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa, #e6ecf5);
  color: #333;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  z-index: 1000;
}

.logo img {
  transition: 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

/* Hover underline */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ff6600;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #ff6600;
}

/* CART */
.cart-icon {
  font-weight: 500;
  background: #ff6600;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.cart-icon:hover {
  background: #e65c00;
}

/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero img {
  width: 250px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: 0.4s;
}

.hero img:hover {
  transform: scale(1.05) rotate(1deg);
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero p {
  color: #666;
  font-size: 16px;
}

/* MAIN CONTAINER */
.container {
  padding: 40px 60px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* PRODUCT CARD */
.product-card {
  background: white;
  padding: 15px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* PRODUCT IMAGE */
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 10px;
}

/* PRODUCT TEXT */
.product-card h3 {
  font-size: 18px;
  margin: 10px 0;
}

.price {
  color: #ff6600;
  font-weight: 600;
  margin-bottom: 10px;
}

/* BUTTON */
.add-to-cart {
  padding: 10px 15px;
  border: none;
  background: linear-gradient(135deg, #ff6600, #ff8533);
  color: white;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.add-to-cart:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255,102,0,0.4);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background: #222;
  color: #ccc;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .nav-links {
    display: none;
  }

  .container {
    padding: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }
}