*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
}

body{
  height:100vh;
  background-image:url("images/bg-1.jpg");
  background-size:cover;
  background-position:center;
  color:white;
  overflow:auto;
}

/* NAVBAR */
.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 50px;
}

.logo{
  font-weight:bold;
  font-size:70px;
}

nav a{
  margin:0 10px;
  color:white;
  text-decoration:none;
  opacity:0.7;
}

nav .active{
  background:white;
  color:black;
  padding:5px 15px;
  border-radius:20px;
}

/* HERO (IMPORTANT FIX) */
.hero{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items:center;
  height:100vh; /* full screen */
  padding:100px 60px 0; /* push below navbar */
}

/* LEFT */
.left h1{
  font-size:50px;
  margin-bottom:30px;
}

.product-info h2{
  font-size:22px;
}

.product-info span{
  text-decoration:underline;
}

.price{
  margin:20px 0;
  font-size:28px;
}

button{
  padding:10px 20px;
  border:none;
  border-radius:20px;
  cursor:pointer;
}

/* CENTER */
.center{
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:visible; /* ✅ FIXED */
}

/* FLOAT WRAPPER */
.float-wrapper{
  animation: float 3s ease-in-out infinite;
}

/* IMAGE */
.center img{
  width:500px;
  transform: translateX(120%);
}

/* FLOAT ANIMATION */
@keyframes float{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-20px); }
  100%{ transform: translateY(0); }
}

/* NIKE ENTRY */
.enter{
  animation: nikeSlide 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes nikeSlide{
  0%{
    transform: translateX(150%) scale(0.9);
    opacity:0;
  }
  70%{
    transform: translateX(-10px) scale(1.03);
    opacity:1;
  }
  100%{
    transform: translateX(0) scale(1);
  }
}
/* RIGHT SIDE (FIXED) */
.right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:15px;
  font-size:18px;
}

.right span{
  cursor:pointer;
  opacity:0.6;
  transition:0.3s;
}

.right span:hover{
  opacity:1;
  transform:scale(1.2);
}

/* SLIDER */
.slider{
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
}

.slider span{
  width:10px;
  height:10px;
  background:white;
  opacity:0.5;
  border-radius:50%;
  cursor:pointer;
}

.slider span.active{
  opacity:1;
  transform:scale(1.3);
}
.user{
  min-width:40px;
  height:40px;
  padding:0 12px;
  background:rgba(255,255,255,0.1);
  border-radius:20px;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  color:white;
  font-size:14px;
}

.user i{
  color:white;
}

.user:hover{
  background:white;
  color:black;
}

.user:hover i{
  color:black;
}