/*      announcement.style.display = 'block';*/
#announcement {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f8d775;
  color: #222;
  font-size: 1rem;
  padding: 1em 1.5em;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  z-index: 9999;
  display: none;
  transition: opacity 1s ease;
}

/* === Base (desktop-first) === */
body {
  font-size: 16px;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.25rem;
}

.product-card {
  width: 30%;
  margin: 1rem;
}

/* === Medium Screens (Tablets & small laptops) === */
@media screen and (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .product-card {
    width: 45%;
  }
}

/* === Small Screens (Phones & smaller tablets) === */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    text-align: center;
  }

  .hero p {
    font-size: 1rem;
    text-align: center;
  }

  .product-card {
    width: 90%;
    font-size: 0.95rem;
  }

  nav {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

/* === Extra Small Screens (like tiny phones) === */
@media screen and (max-width: 480px), screen and (max-height: 500px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .product-card {
    font-size: 0.9rem;
  }

  nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.5rem;
  }
}

/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #121212;
  color: #fff;
  line-height: 1.6;
  padding-top: 70px;
}

/* Header */
header {
  background-color: #1f1f1f;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}
nav a:hover {
  color: #ffb347;
}

/* Hero Section */
.hero {
  padding: 100px 40px;
  text-align: center;
  background: linear-gradient(135deg, #ff5e62, #ff9966);
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.btn {
  background-color: #fff;
  color: #333;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #ffe0b2;
}

/* Featured Section */
.featured {
  padding: 60px 40px;
}
.featured h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.item {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.25);
}

/* Footer */
footer {
  background-color: #1f1f1f;
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
  font-size: 0.9rem;
}
