/* =========================
   AVOCADO WELLNESS
   STYLE.CSS
========================= */

:root{
  --green:#0b6b3a;
  --dark-green:#07502b;
  --gold:#f3b22d;
  --light:#ffffff;
  --text:#1b1b1b;
  --gray:#f5f5f5;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:#fff;
  overflow-x:hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--green);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 6%;
}

.logo{
  color:#fff;
  font-family:'Cormorant Garamond',serif;
  font-size:2rem;
  font-weight:700;
  letter-spacing:1px;
}

.navbar nav a{
  text-decoration:none;
  color:#fff;
  font-weight:600;
}

.nav-right{
  display:flex;
  align-items:center;
  gap:20px;
}

.nav-right a{
  color:#fff;
  text-decoration:none;
}

.nav-right button{
  background:var(--gold);
  border:none;
  padding:12px 22px;
  border-radius:6px;
  cursor:pointer;
  font-weight:700;
  transition:.3s;
}

.nav-right button:hover{
  transform:translateY(-2px);
}

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

.hero{
  padding:80px 6%;
  background:#fff;
}

.hero-text{
  text-align:center;
  max-width:900px;
  margin:auto;
}

.hero-text h1{
  font-family:'Cormorant Garamond',serif;
  font-size:5rem;
  line-height:0.95;
  margin-bottom:25px;
  font-weight:700;
}

.hero-text p{
  max-width:650px;
  margin:auto;
  color:#666;
  line-height:1.8;
}

.btn{
  display:inline-block;
  margin-top:30px;
  background:var(--gold);
  color:#111;
  text-decoration:none;
  padding:14px 30px;
  border-radius:6px;
  font-weight:700;
  transition:.3s;
}

.btn:hover{
  transform:translateY(-3px);
}

/* =========================
   PRODUCT ROW
========================= */

.hero-products{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.product-card{
  background:#fafafa;
  border-radius:18px;
  padding:25px;
  text-align:center;
  transition:.35s;
}

.product-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.product-card img{
  width:100%;
  height:250px;
  object-fit:cover;
  border-radius:15px;
}

.product-card h4{
  margin-top:20px;
  margin-bottom:10px;
}

.product-card span{
  color:var(--green);
  font-weight:700;
  font-size:1.2rem;
}

/* =========================
   DAILY WELLNESS
========================= */

.daily-section{
  background:var(--green);
  color:#fff;
  padding:80px 6%;
}

.daily-content{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:center;
  gap:40px;
}

.daily-left h2,
.daily-right h2{
  font-family:'Cormorant Garamond',serif;
  font-size:7rem;
  line-height:.9;
}

.daily-center{
  text-align:center;
}

.daily-center img{
  width:100%;
  max-width:450px;
  border-radius:20px;
  transform:rotate(-8deg);
  box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.daily-right p{
  margin-top:20px;
  line-height:1.8;
  color:#e9e9e9;
}

/* =========================
   NUTRIENTS
========================= */

.nutrients{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  padding:100px 6%;
  background:var(--dark-green);
  color:#fff;
}

.nutrients h2{
  font-family:'Cormorant Garamond',serif;
  font-size:4rem;
  line-height:1;
  margin-bottom:30px;
}

.nutrients h2 span{
  color:var(--gold);
}

.nutrients-left img{
  width:100%;
  max-width:400px;
  border-radius:18px;
  margin-top:30px;
}

.nutrients-right ul{
  list-style:none;
}

.nutrients-right li{
  padding:18px 0;
  font-size:1.3rem;
  border-bottom:1px solid rgba(255,255,255,.15);
}

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

.products{
  padding:100px 6%;
  background:#fff;
}

.section-title{
  text-align:center;
  font-family:'Cormorant Garamond',serif;
  font-size:4rem;
  margin-bottom:50px;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.shop-card{
  text-align:center;
  background:#fafafa;
  padding:25px;
  border-radius:18px;
  transition:.35s;
}

.shop-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.shop-card img{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:15px;
}

.shop-card h4{
  margin-top:20px;
}

.shop-card p{
  margin-top:10px;
  color:var(--green);
  font-weight:700;
  font-size:1.6rem;
}

.shop-card button{
  margin-top:18px;
  border:none;
  background:var(--gold);
  padding:12px 24px;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
  transition:.3s;
}

.shop-card button:hover{
  transform:translateY(-2px);
}

/* =========================
   WHY SECTION
========================= */

.why{
  padding:100px 6%;
  background:#fff;
}

.why h2{
  text-align:center;
  font-family:'Cormorant Garamond',serif;
  font-size:4.5rem;
  line-height:1;
  margin-bottom:60px;
}

.why h2 span{
  color:var(--green);
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:25px;
}

.why-card{
  border:1px solid #ececec;
  border-radius:18px;
  padding:35px;
  transition:.35s;
}

.why-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}

.why-card h3{
  margin-bottom:15px;
  color:var(--green);
}

.why-card p{
  color:#666;
  line-height:1.8;
}

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

footer{
  background:var(--green);
  color:#fff;
  text-align:center;
  padding:60px 20px;
}

.footer-logo{
  font-family:'Cormorant Garamond',serif;
  font-size:3rem;
  margin-bottom:10px;
}

/* =========================
   ANIMATIONS
========================= */

.product-card,
.shop-card,
.why-card{
  animation:fadeUp .8s ease forwards;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

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

@media(max-width:992px){

  .hero-text h1{
    font-size:4rem;
  }

  .daily-content{
    grid-template-columns:1fr;
    text-align:center;
  }

  .daily-left h2,
  .daily-right h2{
    font-size:5rem;
  }

  .nutrients{
    grid-template-columns:1fr;
  }

  .product-grid{
    grid-template-columns:1fr 1fr;
  }

  .hero-products{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:768px){

  .navbar{
    flex-direction:column;
    gap:15px;
  }

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

  .section-title{
    font-size:3rem;
  }

  .why h2{
    font-size:3rem;
  }

  .hero-products,
  .product-grid,
  .why-grid{
    grid-template-columns:1fr;
  }

  .daily-left h2,
  .daily-right h2{
    font-size:4rem;
  }

  .nutrients h2{
    font-size:3rem;
  }
}
