
/* home.css */
.hero{
  height:100vh;
  background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
  url('../images/hero/hero-home.webp') center/cover no-repeat;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}


.hero-content{
  color:#fff;
  max-width:700px;
}

/* Lower hero text slightly on desktop to reveal background details */
@media(min-width:901px){
  .hero-content{
    transform:translateY(60px);
    max-width:980px;
  }

  .hero h1{
    font-size:clamp(36px, 4.2vw, 54px);
    white-space:nowrap;
  }
}

.hero h1{
  color:#fff;
  font-size:48px;
}

.image-box{
  height:350px;
  border-radius:20px;
  background:url('../images/stock/about.webp') center/cover no-repeat;
}

/* ABOUT */
.about .container.grid{
  align-items:center;
  gap:56px;
}

.about-content{
  max-width:640px;
}

.about-content h2{
  font-size:36px;
  line-height:1.15;
  margin-bottom:12px;
  display:inline-block;
  position:relative;
}

.about-content h2::after{
  content:"";
  display:block;
  width:56px;
  height:3px;
  background:linear-gradient(90deg,#5a6b1e,#cfe06b);
  border-radius:999px;
  margin-top:10px;
}

.about-content p{
  font-size:17px;
  line-height:1.8;
  color:#2b2b2b;
  margin-bottom:18px;
}

.about .link{
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 20px;
  border-radius:999px;
  border:1px solid rgba(90,107,30,0.35);
  background:rgba(90,107,30,0.08);
  color:#33400f;
  text-decoration:none;
  font-weight:600;
  letter-spacing:0.2px;
  transition:transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about .link::after{
  content:"";
  position:absolute;
  top:-120%;
  left:-30%;
  width:40%;
  height:300%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform:skewX(-20deg);
  opacity:0;
  transition:opacity 0.2s ease, transform 0.6s ease;
  pointer-events:none;
}

.about .link:hover,
.about .link:focus-visible{
  background:#5a6b1e;
  color:#fff;
  border-color:#5a6b1e;
  transform:translateY(-2px);
  box-shadow:0 12px 20px rgba(0,0,0,0.18);
}

.about .link:hover::after,
.about .link:focus-visible::after{
  opacity:0.9;
  transform:translateX(220%) skewX(-20deg);
}

@media (max-width:900px){
  .about-content h2{
    font-size:30px;
  }

  .about-content p{
    font-size:16px;
  }
}

/* PRODUCTS */
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:40px;
}

/* Subtle separators between the three main products (desktop only) */
.product-grid .product-card{
  position:relative;
}

.product-grid .product-card::before{
  content:"";
  position:absolute;
  left:-15px;
  top:18px;
  bottom:18px;
  width:1px;
  background:linear-gradient(to bottom, transparent, rgba(0,0,0,0.12), transparent);
}

.product-grid .product-card:first-child::before{
  display:none;
}

.product-img{
  height:220px;
  border-radius:18px;
  margin-bottom:22px;
  background-size:cover;
  background-position:center;
  transition:transform .4s ease;
}

.hero-card:hover .product-img{
  transform:scale(1.05);
}


.product-img{
  background:center/cover no-repeat;
}

/* WHY */
.why{
  background:#f3f2ed;
}

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

.why-card{
  background:#fff;
  padding:30px;
  border-radius:20px;
  text-align:center;
  transition:.3s;
}

.why-card:hover{
  transform:translateY(-8px);
}

.why h2{
  margin-bottom:10px; /* زوّد المسافة تحت العنوان */
}


/* LOCATION */
.location{
  background:#ffffff;
}

.location-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:60px;
}

.location-label{
  color:#c0392b;
  font-size:14px;
  letter-spacing:2px;
  font-weight:600;
}

.location-text h2{
  font-size:42px;
  margin:15px 0 20px;
}

.location-text p{
  max-width:420px;
  line-height:1.7;
  color:#444;
}

.location-map img{
  width:100%;
  max-width:500px;
}


.why-icon{
  font-size:48px;
  margin-bottom:22px;
  transition:transform .4s ease;
}

.hero-card:hover .why-icon{
  transform:scale(1.1);
}

.products h2,
.why h2{
  margin-bottom:60px;
}

