/* ================= HOME PAGE ONLY ================= */
/* Scoped under .wt-home so this never leaks onto other pages
   (Bootstrap-based store/cart/checkout templates extend the same base.html). */

.wt-home {
  font-size: 10px;
  background-color: #111;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
}

.wt-home * {
  box-sizing: border-box;
}

.wt-home h1,
.wt-home h2,
.wt-home h3 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ================= LANDING ================= */

.wt-home .landing {
  position: relative;
  height: 80vh;
}

.wt-home .swiper {
  width: 100%;
  height: 100%;
}

.wt-home .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wt-home .banner {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;

  display: flex;
  gap: 2em;
}

.wt-home .banner-btn {
  width: 16em;
  height: 5em;
  border: none;
  cursor: pointer;
  font-size: 1.5em;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.3s;
}

.wt-home .primary-btn {
  background-color: #c49b63;
  color: #111;
}

.wt-home .secondary-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.wt-home .primary-btn:hover,
.wt-home .secondary-btn:hover {
  background-color: #fff;
  color: #111;
}

/* ================= POPULAR DESSERTS ================= */

.wt-home .section-2 {
  padding: 5.5em 5%;
  background-color: #222;
}

.wt-home .section-heading {
  text-align: center;
  font-size: 3.2em;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.2em;
}

.wt-home .cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4em;
}

.wt-home .dessert-card {
  width: 32em;
  background-color: #333;
  padding: 0 0 2em;
  border-radius: 1em;
  overflow: hidden;
  text-align: center;
  transition: 0.3s;
}

.wt-home .dessert-card:hover {
  transform: translateY(-10px);
}

.wt-home .dessert-card-img {
  display: block;
  width: 100%;
  height: 25em;
  object-fit: cover;
}

.wt-home .dessert-card-name {
  font-size: 2.4em;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  margin: 2em 0;
  padding: 0 0.8em;
  color: #fff;
}

.wt-home .dessert-card-btn {
  display: block;
  width: calc(100% - 4em);
  height: 4.5em;
  line-height: 4.5em;
  margin: 0 auto;
  border: none;
  background-color: #c49b63;
  color: #111;
  cursor: pointer;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ================= GALLERY ================= */

.wt-home .section-3 {
  padding: 5.5em 5%;
  background-color: #111;
}

.wt-home .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2em;
  max-width: 108em;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .wt-home .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wt-home .gallery {
    grid-template-columns: 1fr;
  }
}

.wt-home .food-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 1.8em;
  transition: 0.3s;
}

.wt-home .food-img:hover {
  transform: scale(1.03);
}

.wt-home .gallery-item {
  display: block;
  text-decoration: none;
}

.wt-home .gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1f1f1f;
  border: 1px dashed rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.5);
  font-size: 1.1em;
  letter-spacing: 0.05em;
}

.wt-home .gallery-item-name {
  font-size: 1.6em;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.8em;
  color: #fff;
}

/* ================= COLLECTIONS ================= */

.wt-home .collection {
  height: 50em;

  display: flex;
  justify-content: center;
  align-items: center;

  background-size: cover;
  background-position: center;
}

.wt-home .macarons {
  background-image: url("../../images/home-design/macarons.png");
}

.wt-home .cookies {
  background-image: url("../../images/home-design/cookies.png");
}

.wt-home .overlay-box {
  background-color: rgba(0,0,0,0.28);
  padding: 2.8em 4.2em;
  text-align: center;
}

.wt-home .overlay-box h2 {
  font-size: 3em;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.15em;
  color: #fff;
}

.wt-home .discover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16em;
  height: 3.8em;

  border: none;
  cursor: pointer;

  background-color: #c49b63;
  color: #111;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.wt-home .landing,
.wt-home .section-2,
.wt-home .section-3,
.wt-home .collection {
  margin-bottom: 2em;
}

/* ================= SIGN UP ================= */

.wt-home .signup-section {
  padding: 10em 5%;
  background-color: #151515;
  border-top: 1px solid rgba(255,255,255,0.16);
  text-align: center;
}

.wt-home .signup-heading {
  margin: 0 0 0.55em;
  color: #fff;
  font-size: 5.8em;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.wt-home .signup-subheading {
  margin: 0 0 3.2em;
  color: #aaa;
  font-size: 2.4em;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.wt-home .signup-form {
  display: flex;
  justify-content: center;
  gap: 2em;
  width: min(82em, 100%);
  margin: 0 auto;
}

.wt-home .signup-form input {
  flex: 1;
  min-width: 0;
  height: 4.1em;
  border: none;
  border-radius: 0;
  padding: 0 0.7em;
  background-color: #fff;
  color: #111;
  font-size: 2.4em;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
}

.wt-home .signup-form input::placeholder {
  color: #aaa;
}

.wt-home .signup-form button {
  width: 4.1em;
  height: 4.1em;
  border: none;
  border-radius: 0;
  background-color: #c49b63;
  color: #111;
  cursor: pointer;
  font-size: 2.4em;
  line-height: 1;
  transition: 0.3s;
}

.wt-home .signup-form button:hover,
.wt-home .signup-form button:focus {
  background-color: #fff;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .wt-home .banner {
    flex-direction: column;
  }

  .wt-home .signup-section {
    padding: 7em 5%;
  }

  .wt-home .signup-heading {
    font-size: 4.2em;
  }

  .wt-home .signup-subheading {
    font-size: 1.7em;
  }

  .wt-home .signup-form {
    gap: 1em;
  }

  .wt-home .signup-form input,
  .wt-home .signup-form button {
    height: 3.6em;
    font-size: 1.8em;
  }

  .wt-home .signup-form button {
    width: 3.6em;
    flex: 0 0 3.6em;
  }
}
