@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes comeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes left {
  0% {
    transform: translateX(-500px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes right {
  0% {
    transform: translateX(500px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: Roboto;
  background: #533A52;
  background: linear-gradient(180deg, rgba(83, 58, 82, 1) 0%, rgba(226, 42, 90, 1) 100%);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

h1 {
  margin-bottom: 20px;
  font-family: "Roboto";
  font-size: 46px;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  font-family: Roboto;
  font-size: 28px;
  color: #fff;
}

.container {
  padding: 20px;
  margin: 0 auto;
  max-width: 1300px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  color: #000;
}

.navbar .menu {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.navbar li a {
  text-decoration: none;
  list-style: none;
  font-family: Roboto;
}

.navbar li a:hover {
  color: #f1c40f;
  border-bottom: 3px solid #f1c40f;
}

.navbar img {
  height: 52px;
  display: block
}

.navbar .btn {
  background-color: #000;
  color: #fff;
  padding: 10px 30px;
  border-radius: 50px;
}

.navbar .btn:hover {
  background-color: #f1c40f;
  color: #000;
  cursor: pointer;
}

.navbar .hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}



#intro {
  display: flex;
  gap: 30px;
  padding: 50px 30px;
  min-height: 600px;
  align-items: center;
  justify-content: space-between;
  background-image: url(../img/banner.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #000;
}

.intro {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro .btn-row {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-top: 20px;
}

.btn-row .btn {
  background-color: #000;
  color: #fff;
  padding: 10px 30px;
  border-radius: 50px;
  cursor: pointer;
}

.btn-row .ico {
  display: flex;
  gap: 20px;
  align-items: center;
}

#intro .image-slider {
  flex: 1;
  max-width: 50%;
  height: 400px;
}

#intro .image-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.4));
}




#effect {
  display: flex;
  align-items: center;
  min-height: 300px;
  margin: 30px 0;
  justify-content: space-around;
}


#effect .name,
#effect .lugg {
  opacity: 0; /* hidden before scroll */
}

#effect .name.animate {
  animation: left 1s ease forwards;
}

#effect .lugg.animate {
  animation: right 1s ease forwards;
}


#effect .name {
  width: 300px;
  height: auto;

}

#effect .lugg {
  width: 600px;
  height: auto;
}




#cards {
  margin: 40px 0;

}



.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Always 3 columns */
  gap: 25px;
  justify-items: center;
  /* Center the cards */
  border-radius: 15px;
  font-family: 'Roboto';

}



.card {
  border: 1px solid #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 450px;
  height: 300px;
  gap: 30px;
  padding: 20px;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;

}

.card i {
  font-size: 48px;
  /* icon size */
  color: #ffffff;
  width: 100px;
  /* fixed circle width */
  height: 100px;
  /* fixed circle height */
  border: 3px solid #ffffff;
  border-radius: 50%;
  /* makes it round */
  display: flex;
  align-items: center;
  justify-content: center;
  /* centers the icon */
  box-sizing: border-box;
  /* includes border in size */
}




.cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.card h3 {
  font-family: Roboto;
  font-size: 18px;
}

.card p {
  font-family: Roboto;
  font-size: 14px;
}

#boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-items: center;
  border-radius: 15px;
  gap: 10px;
  margin: 100px 0;
}

/* Initial hidden state */
#boxes .box {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 15px;
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Active (when in view) */
#boxes .box.show {
  transform: translateY(0);
  opacity: 1;
}

#boxes .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#benefits {
  min-height: 600px;
  margin: 100px 0;
}

.vid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;

}

.vid .content {
  width: 40%;
}

.vid h3 {
  text-align: center;
  margin-bottom: 30px;
  font-family: Roboto;
  font-size: 24px;
  color: #fff;
}

.vid p {
  font-size: 14px;
}

video {
  width: 600px;
  height: auto;
  border-radius: 15px;
  margin-right: 40px;
}



#products {
  margin: 50px 0;
  text-align: center;
}

#products h2 {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 30px;
}



.products-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  min-width: 150px;
  font-family: 'Roboto';
  font-weight: bold;
  font-size: 16px;
  border-radius: 10px;
  margin: 0;
}

.items-section {
  padding: 40px;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* 5 items per row */
  gap: 20px;
  margin-top: 30px;
}

.items-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.items-grid img:hover {
  transform: scale(1.05);
}

#products .image-slider {
  max-width: 50%;
  height: 400px;
}

#products .image-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#products .items {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 30px; 
}

#products .box img{
  width: 150px;
  height: 150px;
  border: 3px solid #f1c40f;
  border-radius: 50%;
  box-sizing: border-box;
  }

#products .box img:hover {
  transform: scale(1.05);
}


.contact {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  padding: 30px;
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  border: solid 1px #fff;
  gap: 30px;
  font-family: Roboto;
}


.contact i {
  margin-left: 10px;
}

.contact p {
  font-size: 14px;
  width: 60%;
  text-align: center;
}




#footer {
  display: flex;
  color: #fff;
  flex-direction: column;
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid #ddd;
  padding: 15px 0;
}

#footer i {
  font-size: 24px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

#footer p {
  margin-top: 10px;
  font-size: 12px !important;
}

#footer i:hover {
  transform: scale(1.1);
  color: #f1c40f;

}

.products-slider {
    width: 100%;
}


@media (max-width: 768px) {

  .container {
    padding: 15px;    /* reduce padding */
    max-width: 100%;  /* fit mobile screen */
  }

/* Navbar base layout */
  .navbar {
    display: flex;
    justify-content: space-between; /* logo left, hamburger right */
    align-items: center;
    flex-wrap: wrap;
    padding: 15px;
  }

  /* Hamburger always visible */
  .navbar .hamburger {
    display: block;
    font-size: 26px;
    cursor: pointer;
  }

  /* Menu hidden initially */
  .navbar .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }

  /* Menu active → column and centered */
  .navbar .menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Button default (before menu open) */
  .navbar .btn {
    display: none;
  }

  /* Button when navbar active → center under menu */
  .navbar.active-logo .btn {
    display: block;
    margin: 15px auto 0;
  }

  /* Make logo centered when menu opens */
  .navbar.active-logo img {
    margin: 0 auto;
  }

  /* Intro */
  #intro {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    min-height: auto;
    text-align: center;
  }

  .intro {
    max-width: 100%;
  }

  #intro .image-slider {
    max-width: 100%;
    height: auto;
  }

  #effect {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  #effect .name, #effect .lugg {
    transform: translateX(0);
    width: 100%;
    max-width: 300px;
  }

  /* Cards */
  .cards {
    grid-template-columns: 1fr;
  }

  /* Boxes */
  #boxes {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  /* Video section */
  .vid {
    flex-direction: column;
    gap: 20px;
  }

  .vid .content {
    width: 100%;
  }

  video {
    width: 100%;
    margin-right: 0;
  }

    #products .image-slider {
    max-width: 100%;
    height: auto;
  }

  #products .items {
  gap: 10px;
}

  #products .box img{
  width: 60px;
  height: 60px;
  border: 3px solid #f1c40f;
  border-radius: 50%;
  box-sizing: border-box;
  }

  /* Items grid */
  .items-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact p {
    width: 100%;
  }


}

/* Extra small devices (like iPhone SE 375px) */
@media (max-width: 400px) {
  .container {
    padding: 5px;    /* reduce padding */
    max-width: 100%;  /* fit mobile screen */
  }
  /* Boxes */
  #boxes {
    grid-template-columns: repeat(2, 1fr);
  }
  #boxes .box {
    margin: 10px 0;
  }

}
