* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #0e5945;
  --dark-green: #073d30;
  --sage: #dfe9dc;
  --cream: #f6f4eb;
  --light: #fbfaf5;
  --text: #17211d;
  --muted: #69736d;
  --border: #dfe2d9;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--light);
  color: var(--text);
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font: inherit;
}


/* ================= NAVBAR ================= */

.navbar {
  height: 78px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251,250,245,.94);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  margin-left: 50px;
}

.desktop-nav a {
  font-size: 13px;
  transition: .3s;
}

.desktop-nav a:hover {
  color: var(--green);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  width: 210px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: white;
}

.search-box span {
  font-size: 22px;
  margin-right: 7px;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

#cartCount {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 17px;
  height: 17px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  display: grid;
  place-items: center;
}

.menu-btn {
  display: none;
  border: none;
  background: none;
  font-size: 25px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}


/* ================= HERO ================= */

.hero {
  min-height: 680px;
  margin: 25px 5%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;

  background:
    linear-gradient(
      90deg,
      rgba(0,30,22,.88),
      rgba(0,30,22,.45),
      rgba(0,0,0,.05)
    ),
    url("https://images.unsplash.com/photo-1556912173-46c336c7fd55?auto=format&fit=crop&w=1800&q=90");

  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  padding: 70px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-text {
  max-width: 620px;
  color: white;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: clamp(45px, 6vw, 76px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -3px;
}

.hero h1 em,
h2 em {
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.hero p {
  max-width: 450px;
  margin: 25px 0;
  line-height: 1.7;
  font-size: 14px;
  color: #e9eee9;
}

.primary-btn,
.dark-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 14px 22px;
  border-radius: 30px;
  background: white;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: .3s;
}

.primary-btn:hover {
  transform: translateY(-3px);
}

.eco-card {
  width: 175px;
  padding: 22px;
  border-radius: 14px;
  background: rgba(17,72,57,.72);
  backdrop-filter: blur(10px);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eco-card span {
  font-size: 11px;
}

.eco-card strong {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin-top: 25px;
}

.eco-card small {
  font-size: 10px;
  opacity: .8;
}


/* ================= GENERAL SECTIONS ================= */

.section {
  padding: 90px 5%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
}

.section-heading h2 {
  font-size: 42px;
  line-height: 1;
  font-weight: 500;
}

.text-link {
  font-size: 12px;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}


/* ================= PRODUCTS ================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: .35s;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(20,50,40,.1);
}

.product-image {
  height: 390px;
  position: relative;
  background: #e9e7dd;
  overflow: hidden;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.tag {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  border: 1px solid white;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(5px);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 11px;
}

.product-info {
  padding: 17px;
}

.dots {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b7cbb9;
}

.dots span:nth-child(2) {
  background: #d3c4a4;
}

.dots span:nth-child(3) {
  background: #777d71;
}

.product-info h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.product-info p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  min-height: 38px;
}

.product-bottom {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-bottom strong {
  font-size: 14px;
}

.add-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 9px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 11px;
  transition: .3s;
}

.add-btn:hover {
  background: var(--dark-green);
}


/* ================= SPLIT ================= */

.split-section {
  margin: 20px 5% 90px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 500px;
  background: var(--sage);
  border-radius: 14px;
  overflow: hidden;
}

.split-image img {
  height: 100%;
  object-fit: cover;
}

.split-content {
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content h2 {
  font-size: 55px;
  line-height: .95;
  font-weight: 500;
  margin-bottom: 25px;
}

.split-content p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  max-width: 400px;
  margin-bottom: 30px;
}

.split-content .primary-btn {
  background: var(--green);
  color: white;
  width: fit-content;
}


/* ================= ARRIVAL ================= */

.arrival {
  margin: 0 5% 90px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: #ece9dd;
  border-radius: 14px;
  overflow: hidden;
}

.arrival-text {
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arrival-text h2 {
  font-size: 55px;
  line-height: .95;
  font-weight: 500;
}

.arrival-text p {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  margin: 25px 0;
}

.dark-btn {
  width: fit-content;
  background: var(--green);
  color: white;
}

.arrival-image img {
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}


/* ================= GALLERY ================= */

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255,255,255,.88);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 11px;
}


/* ================= REVIEWS ================= */

.reviews {
  background: #f0f2e8;
  padding: 90px 5%;
  text-align: center;
}

.review-header h2 {
  font-size: 42px;
  font-weight: 500;
}

.rating {
  margin-top: 15px;
  color: #c49434;
  letter-spacing: 3px;
}

.rating span {
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 10px;
  font-size: 13px;
}

.review-grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: rgba(255,255,255,.65);
  padding: 35px;
  text-align: left;
  border: 1px solid #e1e4d8;
}

.review-card > div {
  color: #bd8e31;
  margin-bottom: 18px;
}

.review-card p {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 25px;
}

.review-card strong,
.review-card small {
  display: block;
}

.review-card strong {
  font-size: 13px;
}

.review-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}


/* ================= SUSTAINABILITY ================= */

.sustainability {
  margin: 90px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  background: var(--dark-green);
  color: white;
}

.sustainability-image img {
  height: 100%;
  object-fit: cover;
}

.sustainability-content {
  padding: 70px;
}

.sustainability-content h2 {
  font-size: 50px;
  line-height: 1;
  font-weight: 500;
}

.sustainability-content p {
  color: #c6d6cf;
  line-height: 1.7;
  font-size: 14px;
  max-width: 430px;
  margin-top: 25px;
}

.stats {
  display: flex;
  gap: 35px;
  margin-top: 40px;
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font-family: "Playfair Display", serif;
  font-size: 30px;
}

.stats span {
  color: #b9c9c2;
  font-size: 10px;
  margin-top: 5px;
}


/* ================= FOOTER ================= */

footer {
  background: #09251d;
  color: white;
  padding: 70px 5% 25px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand p {
  color: #9db1a8;
  max-width: 280px;
  line-height: 1.7;
  font-size: 13px;
  margin-top: 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h4 {
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-column a {
  color: #9db1a8;
  font-size: 12px;
  transition: .3s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  color: #82988e;
  font-size: 10px;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .desktop-nav,
  .nav-right {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    background: var(--light);
    border-bottom: 1px solid var(--border);
    z-index: 99;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-menu.active {
    display: flex;
  }

  .hero {
    margin: 15px 3%;
    min-height: 650px;
  }

  .hero-content {
    padding: 35px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 30px;
  }

  .eco-card {
    width: 150px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-image {
    height: 300px;
  }

  .split-section,
  .arrival,
  .sustainability {
    grid-template-columns: 1fr;
  }

  .split-image {
    height: 400px;
  }

  .arrival-image {
    order: -1;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px;
  }

  .gallery-item.large {
    grid-row: span 2;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .sustainability-image {
    height: 400px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}


@media (max-width: 600px) {

  .navbar {
    padding: 0 20px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding: 25px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .section {
    padding: 60px 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 380px;
  }

  .split-section,
  .arrival,
  .sustainability {
    margin-left: 20px;
    margin-right: 20px;
  }

  .split-content,
  .arrival-text,
  .sustainability-content {
    padding: 45px 25px;
  }

  .split-content h2,
  .arrival-text h2,
  .sustainability-content h2 {
    font-size: 40px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 250px);
  }

  .gallery-item.large {
    grid-row: auto;
  }

  .reviews {
    padding: 60px 20px;
  }

  .review-header h2 {
    font-size: 34px;
  }

  .stats {
    gap: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

}