@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* RESET */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
  scroll-behavior:smooth;
}

/* BODY */

body{
  background:#0f172a;
  color:#f1f5f9;
  overflow-x:hidden;
}

/* GLOBAL */

img{
  max-width:100%;
  display:block;
}

section{
  padding:46px 6%;
  position:relative;
}

/* SECTION DIVIDER */

section::after{
  content:'';

  position:absolute;
  bottom:0;
  left:50%;

  transform:translateX(-50%);

  width:88%;
  height:1px;

  background:
  linear-gradient(
    to right,
    transparent,
    rgba(255,165,0,0.4),
    transparent
  );
}

/* HEADER */

header{
  position:fixed;
  top:0;
  left:0;

  width:100%;

  background:#020617;

  z-index:1000;

  border-bottom:
  1px solid rgba(255,255,255,0.08);
}

/* NAVBAR */

.navbar{
  max-width:1300px;

  margin:auto;

  padding:12px 6%;

  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo img{
  width:46px;
  height:46px;

  border-radius:50%;
  border:2px solid orange;
  background:white;
  padding:6px;
}

.logo h2{
  font-size:21px;
  color:white;
}

/* NAV */

nav ul{
  display:flex;
  gap:20px;

  list-style:none;
}

nav ul li a{
  color:#e2e8f0;

  text-decoration:none;

  position:relative;

  transition:0.3s;
}

nav ul li a:hover{
  color:orange;
}

nav ul li a::after{
  content:'';

  position:absolute;
  left:0;
  bottom:-5px;

  width:0%;
  height:2px;

  background:orange;

  transition:0.3s;
}

nav ul li a:hover::after{
  width:100%;
}

/* MENU */

.menu-toggle{
  display:none;
  color:white;
  font-size:28px;
  cursor:pointer;
}

/* HERO */

.hero{
  min-height:38vh;

  background:
  linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
  url('https://images.unsplash.com/photo-1514986888952-8cd320577b68?q=80&w=2070&auto=format&fit=crop')
  center/cover no-repeat;

  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;

  padding:70px 6% 20px;
}

.hero-content{
  max-width:700px;
}

.hero-content h1{
  font-size:38px;
  margin-bottom:12px;
}

.hero-content p{
  color:#cbd5e1;
  line-height:1.5;
  margin-bottom:18px;
}

/* BUTTON */

.btn{
  display:inline-block;

  background:orange;
  color:white;

  padding:11px 26px;

  border-radius:6px;

  text-decoration:none;

  transition:0.3s;
}

.btn:hover{
  background:#ea580c;
}

/* TITLES */

.section-title{
  text-align:center;

  font-size:34px;

  margin-bottom:22px;
}

/* ABOUT */

.about{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(280px,1fr));

  gap:24px;

  align-items:center;
}

.about-image img{
  height:330px;
  width:100%;

  object-fit:cover;

  border-radius:14px;
}

.about-text h2{
  margin-bottom:14px;
}

.about-text p{
  color:#cbd5e1;

  line-height:1.5;

  margin-bottom:14px;
}

/* FEATURES */

.about-features{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(170px,1fr));

  gap:14px;
}

.feature-box{
  background:#1e293b;

  padding:15px;

  border-left:4px solid orange;

  border-radius:10px;
}

/* PRODUCTS */

.products-section{
  background:#111827;
}

.products-container{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(240px,1fr));

  gap:18px;
}

/* PRODUCT CARD */

.product-card{
  background:#1e293b;

  border-radius:14px;

  overflow:hidden;

  transition:0.3s;

  display:flex;
  flex-direction:column;
}

.product-card:hover{
  transform:translateY(-5px);
}

.product-card img{
  width:100%;
  height:190px;

  object-fit:cover;
  object-position:center;
}

.product-info{
  padding:14px;

  display:flex;
  flex-direction:column;

  flex:1;
}

.product-info h3{
  margin-bottom:6px;
  font-size:18px;
}

.product-info p{
  color:#cbd5e1;

  line-height:1.4;

  font-size:13px;

  margin-bottom:10px;
}

.price{
  margin-top:auto;

  color:orange;

  font-size:20px;
  font-weight:700;
}

/* BUY BUTTON */

.buy-btn{
  display:inline-block;

  margin-top:12px;

  width:100%;

  text-align:center;

  background:#25D366;
  color:white;

  padding:11px 16px;

  border-radius:8px;

  text-decoration:none;

  font-size:14px;
  font-weight:600;

  transition:0.3s;
}

.buy-btn:hover{
  background:#1ebe5d;
  transform:translateY(-2px);
}

/* CONTACT */

.contact-box{
  max-width:650px;

  margin:auto;

  background:#1e293b;

  padding:30px;

  border-radius:14px;

  text-align:center;
}

.contact-box p{
  color:#cbd5e1;
  line-height:1.5;
}

/* CONTACT ICONS */

.contact-icons{
  display:flex;
  justify-content:center;
  align-items:center;

  gap:18px;

  margin-top:18px;
}

.contact-icon{
  width:50px;
  height:50px;

  display:flex;
  justify-content:center;
  align-items:center;

  background:#0f172a;

  border-radius:50%;

  transition:0.3s;

  cursor:pointer;
}

.contact-icon:hover{
  transform:translateY(-4px);
}

.contact-icon img{
  width:20px;
  height:20px;

  object-fit:contain;

  pointer-events:none;
}

/* FOOTER */

footer{
  background:#020617;
  padding:50px 6% 20px;
}

.footer-container{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(220px,1fr));

  gap:30px;

  margin-bottom:30px;
}

.footer-box h2,
.footer-box h3{
  margin-bottom:14px;
}

.footer-box p,
.footer-box a{
  color:#cbd5e1;

  text-decoration:none;

  display:block;

  margin-bottom:10px;

  line-height:1.5;

  transition:0.3s;
}

.footer-box a:hover{
  color:orange;
}

.footer-bottom{
  text-align:center;

  border-top:
  1px solid rgba(255,255,255,0.08);

  padding-top:18px;
}

.footer-bottom p{
  color:#94a3b8;
  font-size:14px;
}

/* FLOATING BUTTONS */

.floating-buttons{
  position:fixed;

  right:18px;
  bottom:20px;

  display:flex;
  flex-direction:column;

  gap:12px;

  z-index:999;
}

.float-btn{
  width:52px;
  height:52px;

  border-radius:50%;

  display:flex;
  justify-content:center;
  align-items:center;

  transition:0.3s;
}

.float-btn:hover{
  transform:scale(1.08);
}

.float-btn img{
  width:20px;
  height:20px;
}

.whatsapp{
  background:#25D366;
}

.gmail{
  background:white;
}

/* RESPONSIVE */

@media(max-width:768px){

  .menu-toggle{
    display:block;
  }

  nav ul{
    position:absolute;

    top:72px;
    right:-100%;

    width:220px;

    background:#020617;

    flex-direction:column;

    padding:24px;

    transition:0.4s;
  }

  nav ul.active{
    right:0;
  }

  .hero{
    min-height:32vh;
  }

  .hero-content h1{
    font-size:28px;
  }

  .about{
    grid-template-columns:1fr;
  }

  .products-container{
    grid-template-columns:1fr;
  }

}
