/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #333;
  background: #f9f9f9;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
header {
  background: #222;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #f0a500;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* HERO */
.hero {
  background: url('https://images.unsplash.com/photo-1592878904946-b3cd8c8ad8c9?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #f0a500;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #c98400;
}

/* PRODUCTS SECTION */
.products-section {
  padding: 4rem 0;
  text-align: center;
}

.products-section h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-info {
  padding: 1rem;
}

.product-info h3 {
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.price {
  font-weight: bold;
  color: #f0a500;
  margin-bottom: 0.5rem;
}


/* FOOTER */
footer {
  background: #000000;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
}

footer .social-links a {
  margin: 0 0.5rem;
  color: #fff;
  text-decoration: none;
}

footer .social-links a:hover {
  color: #f0a500;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  max-width: 500px;
  text-align: center;
  position: relative;
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
}

.modal-content .close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
}




/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    border-radius: 0 0 0 10px;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 1rem 0;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .hero h2 {
    font-size: 2rem;
  }
}


