/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8fafc;
  font-weight: 400;
  letter-spacing: -0.2px;
  color: #0f172a;
  line-height: 1.6;
}

h1,
h2,
h3 {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* LOGO */

.logo img {
  height: 60px;
}

/* MENU DESKTOP */

.menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu a {
  text-decoration: none;
  font-weight: 500;
  color: #ff6b2c;
}

/* BURGER */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #ff6b2c;
  display: block;
}

/*SECTION*/
.section {
  padding: 100px 0;
}

.section+.section {
  margin-top: 60px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-sub {
  color: #64748b;
  text-align: center;
  margin-bottom: 40px;
}

/* MENU */
.menu {
  display: flex;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: #ff6b2c;
  font-weight: 500;
}

.menu a:hover {
  color: #ffffff;
}

/* BUTTON */
.btn-primary {
  background: #ff6b2c;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
}

.mobile-btn {
  margin-top: 10px;
}

.btn-primary:hover {
  background: #ff4c00;
}

.btn-outline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border: 2px solid #ff6b2c;
  color: #ff6b2c;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: .3s;
}

.btn-outline:hover {
  background: #ff6b2c;
  color: white;
}

/* HERO */
.hero {
  height: 90vh;
  background-image: url("../img/kech2.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .7), rgba(255, 102, 0, .6));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-sub {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  opacity: .8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 18px;
  opacity: .9;
  margin-bottom: 35px;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-text p {
  color: #64748b;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
}

.hero-info {
  display: flex;
  align-items: self-end;
  gap: 40px;
  font-size: 14px;
}

.hero-info strong {
  display: block;
  font-size: 18px;
}

.hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.hero-img img {
  width: 180%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

.delivery-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  animation: float 5s ease-in-out infinite;
  transition: transform .4s ease;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* SERVICES */
.services {
  padding: 120px 0;
  background: #f8fafc;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  height: 260px;
  min-height: 200px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: .4s;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .2));
}

.service-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 25px;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.service-content p {
  font-size: 14px;
  opacity: .9;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.service-overlay {
  position: absolute;
  z-index: 1;
}

@keyframes float {
  0% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }

  100% {
    transform: translateY(0)
  }
}

.repas {
  background-image: url("../img/repas.jpg");
}

.courses {
  background-image: url("../img/super2.jpg");
}

.pharmacie {
  background-image: url("../img/pharma.jpg");
}

.documents {
  background-image: url("../img/docu.jpg");
}

.colis {
  background-image: url("../img/colis.jpg");
}

.commerces {
  background-image: url("../img/commerces.jpg");
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  transition: .3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

/* ZONES */
.zones {
  background: #f8fafc;
  padding: 150px 0;
}

.zones-section {
  padding: 120px 0;
  background: #f1f5f9;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.zone-card {
  height: 220px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  transition: .4s;
}

.zone-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .25));
}

/* CONTENT */
.zone-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.zone-content h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

/* HOVER */
.zone-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.gueliz {
  background-image: url("../img/geliz.jpg");
}

.hivernage {
  background-image: url("../img/hevernage.jpg");
}

.medina {
  background-image: url("../img/medina.jpg");
}

.sidiY {
  background-image: url("../img/sidiy.jpg");
}

.daoudiat {
  background-image: url("../img/daoudiat.jpg");
}

.mhamid {
  background-image: url("../img/mhamid.jpg");
}

.sidiG {
  background-image: url("../img/sidig.jpg");
}

.Palmeraie {
  background-image: url("../img/palmerie.jpg");
}

.saada {
  background-image: url("../img/saada.jpg");
}

.azli {
  background-image: url("../img/azli.jpg");
}

/*TARIFS*/
/* TARIFS SECTION */
.tarifs-section {
  padding: 120px 0;
  text-align: center;
  background: #f8fafc;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.tarif-card {
  height: 240px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  transition: .4s;
  cursor: pointer;
}

/* OVERLAY */
.tarif-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .2));
}

/* CONTENT */
.tarif-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 25px;
}

.tarif-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.tarif-price {
  font-size: 32px;
  font-weight: 700;
  color: #ff5a1f;
  margin-bottom: 5px;
}

/* HOVER */
.tarif-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.highlight {
  border: 2px solid #ff6b2c;
}

.standard {
  background-image: url("../img/tarifa1.jpg");
}

.express {
  background-image: url("../img/tarifa2.jpg");
}

.commerce {
  background-image: url("../img/tarifa3.jpg");
}

/*about*/
.about-section {
  padding: 120px 0;
  text-align: center;
  background: #f8fafc;
}

.about-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "left right" "photo photo" "features features";
  gap: 40px;
  padding: 0 20px;
}

/* columnas texto */
.about-left,
.about-right {
  background: white;
  padding: 30px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: .4s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

/* borde animado */
.about-left::before,
.about-right::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(45deg, #ff6b2b, #ff9a00, #ff6b2b);
  z-index: -1;
  border-radius: 20px;
  animation: borderMove 6s linear infinite;
}

@keyframes borderMove {
  0% {
    filter: hue-rotate(0deg)
  }

  100% {
    filter: hue-rotate(360deg)
  }
}

.about-left h2,
.about-right h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0f172a;
}

.about-left p,
.about-right p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
}

/* foto */
.about-photo {
  grid-area: photo;
  text-align: center;
}

.about-photo img {
  width: 100%;
  max-width: 700px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
}

/* features */
.about-features {
  grid-area: features;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 18px;
  background: linear-gradient(120deg, #ff6b2b, #ff9a00, #ff6b2b);
  z-index: -1;
  animation: borderMove 5s linear infinite;
}

.feature-box {
  background: white;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  width: 180px;
  position: relative;
  transition: .4s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
}

.feature-box:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .12);
}

/* icon */
.feature-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.feature-box h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 5px;
}

.feature-box p {
  font-size: 13px;
  color: #64748b;
}

/* ===================== ORDER SECTION ===================== */
.order-section {
  padding: 120px 20px;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  display: flex;
  justify-content: center;
}

/* contenedor */
.order-container {
  max-width: 520px;
  width: 100%;
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .08);
  text-align: center;
  transition: .3s;
}

.order-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .12);
}

/* titulo */
.order-container h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* subtitulo */
.order-sub {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 30px;
}

/* form */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* inputs */
.order-form input,
.order-form textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  transition: .3s;
  background: #f9fafb;
}

/* focus */
.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: #ff6b2b;
  box-shadow: 0 0 0 3px rgba(255, 107, 43, .15);
  background: white;
}

/* textarea */
.order-form textarea {
  min-height: 90px;
  resize: none;
}

/* boton */
.order-form button {
  background: #ff6b2b;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}

/* hover */
.order-form button:hover {
  background: #ff5a1f;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 43, .4);
}

/* FOOTER */
.footer {
  padding: 40px 0;
  text-align: center;
  background: white;
  border-top: 1px solid #e2e8f0;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  padding: 14px 22px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

/* MOBILE */
@media(max-width:768px) {
  .menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: white;

    flex-direction: column;
    align-items: center;
    gap: 25px;

    padding: 30px 0;

    transition: 0.3s;
  }

  .menu.active {
    left: 0;
  }

  .burger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .zones-grid {
    grid-template-columns: 1fr 1fr;
  }

  .zone-card {
    height: 180px;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-img img {
    max-width: 450px;
    margin-top: 30px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero {
    height: 80vh;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .tarifs-grid {
    grid-template-columns: 1fr;
  }

  .tarif-card {
    height: 200px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "left" "right" "photo" "features";
    text-align: center;
  }

  .about-features {
    flex-direction: column;
    align-items: center;
  }

  .feature-box {
    width: 100%;
    max-width: 300px;
  }

  .order-container {
    padding: 40px 25px;
  }
}