/* =========================
   RESET
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, sans-serif;
  background:#ffffff;
  color:#111111;
  line-height:1.6;
  overflow-x:hidden;
  width:100%;
}

/* =========================
   IMAGES
========================= */

img{
  width:100%;
  display:block;
  border-radius:10px;
}

/* =========================
   HEADER
========================= */

header{
  width:100%;
  height:80px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 clamp(15px, 5vw, 60px);

  background:#000000;

  z-index:1000;
}

/* LOGO */

.logo{
  display:flex;
  align-items:center;
}

.logo h1{
  color:#ffffff;
  font-size:28px;
}

/* =========================
   NAVIGATION
========================= */

.nav{
  flex:1;

  display:flex;
  justify-content:center;
  align-items:center;
}

.nav ul{
  display:flex;
  align-items:center;
  justify-content:center;

  list-style:none;
  gap:30px;
}

.nav ul li a{
  text-decoration:none;
  color:#ffffff;
  font-size:16px;
  transition:0.3s;
}

.nav ul li a:hover{
  color:#f5b400;
}

/* =========================
   MENU MOBILE
========================= */

.menu-toggle{
  display:none;

  background:none;
  border:none;

  color:#ffffff;
  font-size:28px;

  cursor:pointer;
}

/* =========================
   HEADER ICONS
========================= */

.header-icons{
  display:flex;
  align-items:center;
  justify-content:flex-end;

  gap:15px;
}

.search-box{
  display:flex;
}

.search-box input{
  padding:10px;

  border:none;
  border-radius:5px;
  outline:none;

  width:180px;
}

.cart-icon,
.user-icon{
  background:#f5b400;

  border:none;
  border-radius:5px;

  padding:10px 12px;

  cursor:pointer;

  font-size:18px;

  transition:0.3s;
}

.cart-icon:hover,
.user-icon:hover{
  background:#ffffff;
}

/* =========================
   HERO
========================= */

.hero{
  width:100%;
  min-height:75vh;

  display:grid;
  grid-template-columns:1fr 1fr;

  align-items:center;

  gap:50px;

  padding:60px clamp(15px, 5vw, 60px);
}
.categories-section{
  margin-top:-20px;
}

.hero-text h2{
  font-size:55px;
  margin-bottom:20px;
}

.hero-text p{
  font-size:18px;
  color:#555555;

  margin-bottom:30px;
}

.hero-buttons{
  display:flex;
  gap:15px;
}

.hero-buttons button{
  padding:14px 25px;

  border:none;
  border-radius:5px;

  cursor:pointer;

  font-size:16px;

  transition:0.3s;
}

.hero-buttons button:first-child{
  background:#f5b400;
  color:#000000;
}

.hero-buttons button:last-child{
  background:#000000;
  color:#ffffff;
}

.hero-buttons button:hover{
  opacity:0.8;
}

/* =========================
   SECTIONS
========================= */

section{
  padding:50px clamp(15px, 5vw, 60px);
  scroll-margin-top:140px;
}

section h2{
  font-size:40px;
  text-align:center;

  margin-bottom:40px;
}

/* =========================
   CATEGORIES
========================= */

.categories{
  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:25px;
}

.category-card{
  background:#ffffff;

  border-radius:10px;
  overflow:hidden;

  box-shadow:0 5px 15px rgba(0,0,0,0.1);

  transition:0.3s;
}

.category-card:hover{
  transform:translateY(-10px);
}

.category-card h3{
  padding:15px 15px 5px;
}

.category-card p{
  padding:0 15px 20px;
  color:#666666;
}

/* =========================
   PRODUCTS
========================= */

.products,
.new-products{
  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:25px;
}

.product-card{
  background:#ffffff;

  border-radius:10px;
  overflow:hidden;

  box-shadow:0 5px 15px rgba(0,0,0,0.1);

  transition:0.3s;
}

.product-card:hover{
  transform:translateY(-10px);
}

.product-card h3{
  padding:15px 15px 5px;
}

.product-card p{
  padding:0 15px 15px;
  color:#666666;
}

.product-card button{
  margin:0 15px 20px;

  padding:12px 20px;

  border:none;
  border-radius:5px;

  background:#f5b400;

  cursor:pointer;

  transition:0.3s;
}

.product-card button:hover{
  background:#000000;
  color:#ffffff;
}

/* =========================
   ABOUT
========================= */

.about-section{
  background:#f8f8f8;
  text-align:center;
}

.about-text{
  max-width:700px;
  margin:auto;
}

.about-text p{
  font-size:18px;
  color:#555555;
}

/* =========================
   FOOTER
========================= */

footer{
  background:#000000;
  color:#ffffff;

  padding-top:60px;
}

.footer-content{
  display:grid;
  grid-template-columns:repeat(3,1fr);

  gap:40px;

  padding:0 clamp(15px, 5vw, 60px) 40px;
}

.footer-content h3{
  margin-bottom:20px;
}

.footer-content p,
.footer-content li{
  color:#cccccc;
  list-style:none;

  margin-bottom:10px;
}

.footer-content a{
  text-decoration:none;
  color:#cccccc;
}

.footer-content a:hover{
  color:#f5b400;
}

/* COPYRIGHT */

.copyright{
  text-align:center;

  padding:20px;

  border-top:1px solid rgba(255,255,255,0.1);
}

/* =========================
   SCROLL TOP
========================= */

#scrollTop{
  position:fixed;

  right:20px;
  bottom:20px;

  width:45px;
  height:45px;

  border:none;
  border-radius:50%;

  background:#f5b400;
  color:#000000;

  font-size:20px;

  cursor:pointer;

  transition:0.3s;

  display:none;

  z-index:99999;
}

#scrollTop:hover{
  background:#000000;
  color:#ffffff;
}

/* =========================
   TABLET
========================= */

@media(max-width:992px){

  .hero{
    grid-template-columns:1fr;
    text-align:center;
  }

  .categories,
  .products,
  .new-products{
    grid-template-columns:repeat(2,1fr);
  }

  .footer-content{
    grid-template-columns:repeat(2,1fr);
  }
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  body{
    padding-top:90px;
  }

  header{
    position:fixed;

    top:0;
    left:0;

    width:100%;

    background:#000000;

    z-index:99999;

    height:auto;

    padding:15px 20px;

    display:flex;
    flex-wrap:wrap;

    align-items:center;
    justify-content:space-between;
  }

  .logo{
    width:100%;

    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  .logo h1{
    font-size:24px;
  }

  .menu-toggle{
    display:block;
  }

  .nav{
    display:none;

    width:100%;

    background:#000000;

    margin-top:15px;

    border-top:1px solid rgba(255,255,255,0.1);
  }

  .nav.active{
    display:block;
  }

  .nav ul{
    display:flex;
    flex-direction:column;

    align-items:center;

    gap:20px;

    padding:20px 0;
  }

  .nav ul li a{
    font-size:18px;
  }

  .header-icons{
    width:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    flex-wrap:wrap;

    gap:10px;

    margin-top:15px;
  }

  .search-box{
    width:100%;

    display:flex;
    justify-content:center;
  }

  .search-box input{
    width:100%;
    max-width:300px;
  }

  .hero{
    grid-template-columns:1fr;

    text-align:center;

    gap:40px;

    padding:50px 20px;
  }

  .hero-text h2{
    font-size:38px;
  }

  section{
    padding:70px 20px;
  }

  section h2{
    font-size:32px;
  }

  .categories,
  .products,
  .new-products,
  .footer-content{
    grid-template-columns:1fr;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:center;
  }

  .hero-buttons button{
    width:100%;
    max-width:250px;
  }
}

/* =========================
   PETITS MOBILES
========================= */

@media(max-width:480px){

  .logo h1{
    font-size:22px;
  }

  .hero-text h2{
    font-size:30px;
  }

  section h2{
    font-size:28px;
  }

  #scrollTop{
    width:40px;
    height:40px;
    font-size:18px;
  }
}