/* =====================
   RESET & BASE
===================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #fafafa;
  color: #222;
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

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

.header {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 999;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #7b3fe4;
}

.brand img {
  width: 40px;
}

/* Navigation */

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #7b3fe4;
  left: 0;
  bottom: -4px;
  transition: 0.3s;
}

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

/* Hamburger */

.hamburger {
  display: none;
  font-size: 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
}

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

.hero {
  background: linear-gradient(135deg, #7b3fe4, #c89bff);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.hero p {
  max-width: 600px;
  margin: auto;
  opacity: 0.9;
}

/* Buttons */

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 24px;
  background: white;
  color: #7b3fe4;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.btn-outline {
  background: #7b3fe4;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #5f2fc2;
}

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

.products-preview {
  padding: 60px 0;
}

.products-preview h2 {
  text-align: center;
  margin-bottom: 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.product-card {
  background: white;
  padding: 15px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card h3 {
  margin: 10px 0;
}

.product-card p {
  font-weight: bold;
  color: #7b3fe4;
}

/* =====================
   REVIEWS
===================== */

.reviews-preview {
  background: #f4efff;
  padding: 60px 0;
}

.reviews-preview h2 {
  text-align: center;
  margin-bottom: 30px;
}

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

.review-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.review-card i {
  color: #7b3fe4;
  margin-bottom: 10px;
}

.review-card footer {
  margin-top: 10px;
  font-weight: bold;
}

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

.footer {
  background: #111;
  color: white;
  padding: 30px 0;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons a {
  margin-left: 15px;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #c89bff;
}

/* =====================
   MOBILE NAVIGATION
===================== */

@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .nav {
    position: absolute;
    background: white;
    width: 100%;
    left: 0;
    top: 70px;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
  }

  .nav.active {
    max-height: 300px;
  }

  .nav ul {
    flex-direction: column;
    padding: 15px;
  }

  .nav li {
    padding: 10px 0;
  }

  .footer-flex {
    text-align: center;
    gap: 10px;

}

