/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
}

/* NAVBAR */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  border-bottom: 1px solid #eee;
  background: white;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #c9a96e;
}

/* MOBILE MENU */

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* HERO SECTION */

.hero {
  height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
              url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content {
  max-width: 500px;
  margin-left: 80px;
}

.hero h2 {
  font-size: 56px;
  font-weight: 300;
}

.hero p {
  margin-top: 20px;
  font-size: 18px;
}

/* BUTTON */

button {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 40px;
  background: #111;
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #111;
  transition: all 0.35s ease;
}

/* Hover animation */

.btn:hover {
  background: transparent;
  color: #111;
}

/* Hover effect */

.btn:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
}

.btn:hover {
  background: #c9a96e;
  transform: translateY(-2px);
}

/* SECTIONS */

section {
  padding: 80px 60px;
  text-align: center;
}

/* COLLECTION GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #f5f5f5;
  padding: 60px;
}

/* WHY SECTION */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.why-item h3 {
  margin-bottom: 10px;
}

.why-item p {
  font-size: 14px;
  color: #666;
}

/* PRODUCTS */

.product {
  background: white;
  border: 1px solid #eee;
  padding: 20px;
  transition: transform 0.3s ease;
}

.product:hover {
  transform: scale(1.03);
}

.product img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product h3 {
  margin-top: 10px;
}

.product p {
  margin: 8px 0;
}

/* SHOP PAGE */

.shop-page {
  padding: 80px 60px;
}

.shop-page h1 {
  font-size: 42px;
  margin-bottom: 50px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* EMAIL SECTION */

.email input {
  padding: 12px;
  width: 250px;
  margin-top: 20px;
}

/* CTA */

.cta {
  background: #111;
  color: white;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 30px;
  background: #f5f5f5;
}

/* CART */

.cart {
  position: fixed;
  right: -300px;
  top: 0;
  width: 300px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  padding: 20px;
  transition: right 0.3s;
}

.cart.show {
  right: 0;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
  }

  nav a {
    margin: 10px 0;
  }

  .hero-content {
    margin: 0 20px;
  }

  .hero h2 {
    font-size: 34px;
  }

  section {
    padding: 40px 20px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

}

.product button {
  margin-top: 10px;
  padding: 10px 24px;
  border: 1px solid black;
  background: black;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product button:hover {
  background: white;
  color: black;
}