* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gilroy", "sans-serif";
  color: #ffffff;
}

html,
body {
  height: 100%;
  width: 100%;
}

/* MOBILE FIRST - Base styles for mobile */

.container {
  background-image: radial-gradient(
    131.93% 131.93% at 50% 123.12%,
    rgba(39, 39, 39, 0.989) 7.29%,
    #000000 44.45%
  );
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/*  nav bar  */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  /* Smaller padding for mobile */
  height: 60px;
  position: relative;
}

nav img {
  width: 3rem;
  height: 4rem;
}

nav ul {
  background-color: rgba(27, 27, 27, 0.964);
  backdrop-filter: blur(14px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  list-style: none;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%) scale(0.95);
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 100;
}

nav ul.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

nav ul li {
  margin: 2rem 0;
}

nav ul li a {
  text-decoration: none;
  color: aliceblue;
  font-size: 1.2rem;
  display: inline;
  position: relative;
}
nav ul li a::after{
  position: absolute;
  content: '';
  left: 0;
  bottom: -5px;
  height: 2px;
  background-color: #79b5e4;
  width:0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav .menubar {
  cursor: pointer;
  margin: 1.2rem 0;
}

nav .menubar i {
  color: white;
  font-size: 1.2rem;
}
/* main section */
#main {
  overflow: hidden;
  width: 100%;
  min-height: calc(100vh - 4rem);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "left-top"
    "right"
    "left-down";
}

/* left-top */
.left-top {
  grid-area: left-top;
  text-align: left;
  padding-top: 2rem;
  padding-left: 1.8rem;
}

.left-top h1 {
  font-size: clamp(4.5rem, 10vw, 20rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.5rem;
}

.left-top h3 {
  color: #d9d6d6;
  font-size: clamp(0.7rem, 2.5vw, 2.5rem);
  margin-top: clamp(0.4rem, 3vw, 1rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 5px;
}

/* right */
.right {
  /* background-color: aquamarine; */
  grid-area: right;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.shoe-wrapper {
  /* background-color: red; */
  position: relative;
  display: inline-block;
  width: clamp(360px, 40vw, 730px);
}

.shoe-wrapper img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: rotate(-21deg);
  z-index: 10;
}

.shadow {
  position: absolute;
  width: 70%;
  height: 30px;
  bottom: -30px;
  left: 20%;
  background: rgba(65, 63, 63, 0.44);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}

.same {
  position: absolute;
  border: 2px solid rgba(248, 250, 253, 0.088);
  background: rgba(157, 150, 150, 0.15);
  /* background-color:yellow; */
  backdrop-filter: blur(6px);
  border-radius: 50%;
  transition: transform 0.5s ease;
}

/* responsive circles with % positioning */
#cir-1 {
  /* top-circle  */
  width: clamp(5.6rem, 12vw, 12rem);
  height: clamp(5.6rem, 12vw, 12rem);
  top: 5%;
  left: 40%;
}
.shoe-wrapper:hover #cir-1 {
  transform: translateY(-18px) scale(1.1);
}

#cir-2 {
  /* bottom-circle  */
  width: clamp(3.8rem, 10vw, 7rem);
  height: clamp(3.8rem, 10vw, 7rem);
  bottom: 3%;
  left: 40%;
  z-index: 11;
}
.shoe-wrapper:hover #cir-2 {
  transform: translateY(20px) scale(1.2); /* niche move */
}

#cir-3 {
  /* right-circle  */
  width: clamp(3.8rem, 10vw, 7rem);
  height: clamp(3.8rem, 10vw, 7rem);
  top: 32%;
  left: 90%;
  z-index: 11;
}
.shoe-wrapper:hover #cir-3 {
  transform: translateY(20px) scale(1.2); /* niche move */
}

/* left-down */
.left-down {
  grid-area: left-down;
  padding: 1rem 1rem;
}

.left-down h2 {
  /* background-color: yellow; */
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 400;
  margin-bottom: clamp(1rem, 6vw, 2rem);
}

.left-down p {
  /* background-color: red; */
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.6rem;
  opacity: 0.7;
  /* margin-top: 1rem; */
  margin-bottom: clamp(1rem, 4vw, 1.5rem);
}

button {
  border: none;
  background-color: #79b5e4;
  padding: 0.8rem 1.5rem;
  font-size: clamp(0.7rem, 2vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 10px;
  margin-top: 1.2rem;
  color: #111111;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all linear 0.5s;
}
button::after {
  content: "";
  background-color: #ffff;
  position: absolute;
  width: 6rem;
  height: 5rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  z-index: -1;
  transition: all linear 0.5s;
}
button:hover::after {
  transform: translate(-50%, -50%) scale(3);
}

@media (min-width: 600px) and (max-width: 1150px) {
  .left-top h1 {
    /* background-color: rgb(162, 0, 255); */
    font-size: clamp(4rem, 15vw, 18rem);
  }

  .left-top h3 {
    font-size: clamp(0.9rem, 3vw, 4rem);

    /* letter-spacing: 5px; */
  }

  .shadow {
    /* background-color: red; */
    position: absolute;
    width: 82%;
    left: 20%;
  }

  .shoe-wrapper {
    /* background-color: red; */
    width: clamp(460px, 30vw, 1000px);
  }

  #cir-1 {
    top: 7%;
    left: 42%;
  }

  .left-down p {
    /* background-color: red; */
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8rem;
    letter-spacing: 0.2rem;
    opacity: 0.6;
  }
}

@media (min-width: 900px) {
  nav {
    padding: 0 3rem;
    /* Larger padding for desktop */
  }

  nav ul {
    pointer-events: auto;
    transform: none;
    opacity: 1;
    background-color: transparent;
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    font-size: 1rem;
    text-align: left;
    max-height: none;
    overflow: visible;
    transition: none;
  }

  nav ul li {
    margin: 0;
  }

  nav ul li a {
    font-size: 1rem;
    /* display: inline; */
      display: block;
  }

  /* Hide menu button on desktop */
  nav .menubar {
    display: none;
  }
}

/* desktop */
@media (min-width: 1151px) {
  #main {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "left-top right"
      "left-down right";
  }

  .left-top h1 {
    letter-spacing: 1rem;
    /* font-size: 10rem; */
  }
}
