@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Allison&display=swap");

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Poppins", system-ui;
}
html {
  --dark-blue: #0a1d3c;
  --light-grey: #e5e5e5;
  --white: #fff;
  --light-peach: #f9e3bc;
  --dark-grey: #3e3f43;
  --light-black: #1d1d1d;
}

html {
  scroll-behavior: smooth;
}
/* ---section one---- */

.section {
  min-height: 100vh;
  width: 100%;
  /* background-color:red ; */
}

nav {
  width: 80%;
  height: 13vh;
  /* background:yellow ; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
}

.navlinks {
  display: flex;
}

header {
  width: 80%;
  height: calc(100vh - 13vh);
  /* background: blue; */
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: auto;
}

.header-image {
  width: 40rem;
}

.logo {
  font-size: 3.3rem;
  color: var(--dark-blue);
  font-family: "Allison", cursive;
}

.navlinks li {
  list-style: none;
}

.navlinks li a {
  text-decoration: none;
  margin-left: 2.5rem;
  color: var(--dark-grey);
  font-size: 1rem;
  letter-spacing: 0.03rem;
  position: relative;
}

.header-heading {
  font-size: 5rem;
  position: relative;
}
.header-heading::before {
  content: "New";
  position: absolute;
  top: -60px;
  color: var(--dark-blue);
  font-family: "Allison", cursive;
  /* font-size: 5rem; */
}

.product-name {
  font-size: 1.7rem;
}

.header-pricing {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.primary-btn,
.secondary-btn  {
  font-size: 1.1rem;
  border: none;
  padding: 1rem 1.7rem;
  transition: transform 0.5s ease-in-out;
}

.primary-btn {
  background: var(--light-grey);
}

.secondary-btn {
  background: var(--dark-blue);
  color: var(--white);
  transform: scale(1.1);
}

.primary-btn:hover,
.section-two-btn:hover,.section-four-btn:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.secondary-btn:hover {
  transform: scale(1);
}
.btn-container {
  display: flex;
  margin-top: 2rem;
}

.navlinks li a::after,
.navlinks li .active::after {
  content: "";
  background: var(--dark-grey);
  position: absolute;
  height: 0.15rem;
  width: 100%;

  left: 0;
  bottom: -5px;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
  transform-origin: right;
}

.navlinks li a:hover::after,
.navlinks li .active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.line {
  background: var(--dark-grey);
  width: 2.5rem;
  height: 0.2rem;
  margin: 0.38rem;
}

.hamburger {
  cursor: pointer;
  display: none;
}

/* ----section two--- */

.section-two {
  display: flex;
  align-items: center;
}

.section-two-container {
  background: var(--light-peach);
  width: 100%;
  height: 50vh;
  transform: skewy(-6deg);
}

.section-two-image {
  width: 28rem;
}
.section-two-inner-container {
  transform: skewY(6deg);
  /* background-color: red; */
  width: 80%;
  margin: auto;
}

.section-two-container,
.section-two-inner-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-two-heading {
  color: var(--dark-blue);
  font-size: 4rem;
}

.section-two-para {
  font-size: 1rem;
  color: var(--dark-grey);
  line-height: 1.8rem;
  max-width: 80%;
}

.section-two-price {
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin: 0.9rem;
}

.section-two-btn {
  padding: 0.9rem 1.7rem;
  border: 0.1rem solid var(--light-black);
  font-size: 1.1rem;
  background: transparent;
  transition: transform .5s ease;
}


/* -----section-three--- */

.section-heading {

  font-size:2.5rem ;
  text-align: center;
  margin-bottom: 4rem;
}


.card-container {

  /* background: tomato; */
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items:center ;
text-align: center;
gap: 3rem;

}


.card-image {


  width:20rem ;
}

.card {
  background:var(--light-grey) ;
  padding: 2rem;
}

.card-price {


  font-size:1.2rem ;
  /* color: red; */
  margin-top:0.2rem ;
  margin-bottom:1.2rem ;
}


/* ----section-four--- */


.section-four {

  display: flex;
  align-items: center;
}
.section-four-container {

  /* background: red; */
  background-image: url("images/watch.jpg");
  background-size:cover ;
  background-position: center;
  background-repeat: no-repeat;
width: 100%;
height: 70vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
position: relative;
background-attachment: fixed;
}



.section-four-offer {

font-size: 4rem;
color: var(--light-peach);
font-family: "Allison", cursive;
text-transform:uppercase ;
}

.section-four-heading {

margin-bottom: 1rem;
  font-size: 4rem;
  color:var(--white) ;
}

.section-four-btn {

font-size: 1.1rem;
padding:1rem  1.7rem ;
background: var(--light-peach);
border: none;
transition:transform 0.5s ease ;
}

.section-four-container::before {

  content:"" ;
  background:rgba(0,0,0,0.544) ;
  position: absolute;
  inset: 0px;

}
.section-four-container .content {

  z-index:5 ;
}
 

/* ---section-five--- */

.grid-card-container {

/* background: red; */
width: 60%;
height: 80vh;
margin: auto;
  display:grid;
  grid-template-columns: repeat(3 ,1fr);
  grid-template-rows:repeat(2 ,1fr);
  gap: 1.2rem;
  grid-auto-rows: 15rem;
}

.grid-card{

  background: var(--light-grey)
  ;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


.grid-card:nth-child(1) {

  grid-row: 1/4;
  background-image:url("images/rado\ watch.jpg") ;

}


.grid-card:nth-child(2) {
  background-image:url("images/geneve\ watch.jpg") ;
  
}



.grid-card:nth-child(3) {

  grid-row: 1/3;
  background-image:url("images/tissot\ watch.jpg") ;

}

.grid-card:nth-child(4) {

  grid-row: 3/4;
  background-image:url("images/cartier\ watch.jpg") ;

}


.grid-card:nth-child(5) {

  background-image:url("images/omega\ watch.jpg") ;
}

.grid-card:nth-child(6) {
  background-image:url("images/fitron\ watch.jpg") ;

}
.grid-card::before {


  content:"" ;
  position: absolute;
  background: rgba(0,0,0,0.544);
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition:transform 1s ease-in-out ;
}

.grid-card:hover::before {
transform: scaleX(1);
transform-origin: left;

}
.grid-card::after {

  content: attr(collection);
  position: absolute;
  text-transform: uppercase;
  background: var(--light-peach);
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%) ;
  padding: 1rem  1.7rem;
  font-size: 1.1rem;
  cursor: pointer;
  opacity:0 ;
  visibility:hidden ;
  transition: opacity 1s ease-in-out ;
}

.grid-card:hover::after {

  opacity: 1;
  visibility: visible;
}

/* ----footer--- */
footer {

  background: var(--dark-blue);
  height: 20vh;
  width: 100%;
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-txt {

  color: wheat;
  font-size: 1.5rem;
  /* text-align: center; */
  /* font-family: cursive; */
  font-family:  cursive;
}


/* ---Media Queries--- */

@media screen and (max-width: 500px) {


  /* ---section-one-- */
  .header-image {
    display: none;
  }
  .navlinks {
    flex-direction: column;
    position: absolute;
    top: 0px;
    background: var(--light-grey);
    width: 100%;
    height: 100%;
    align-items: center;
    right: 100%;
    z-index: 2;
    gap: 2rem;
    transition: 0.5s ease-out;
  }

  .navlinks-active {
    right: 0;
  }

  .navlinks li a {
    font-size: 1.3rem;
    color: var(--dark-grey);
    margin: 0;
  }
  .hamburger {
    display: block;
    z-index: 5;
  }
  .header-heading {
    font-size: 4rem;
  }

  .logo {
    z-index: 5;
  }


header {
  /* background: red; */
  justify-content: flex-start;
}

/* ----section-two--- */

.section-two-image {

  display: none;
}

.section-two-heading {


  font-size:2.9rem ;
}
section-two-para {

font-size: 0.93rem;
max-width:100% ;
}

.section-two-price {

  font-size: 1.4rem;
}


.section-two-btn {
  

  font-size: 1rem;
}
.section-two-container {

  height: 65vh;
}

.section-two-inner-container
{

  width: 90%;
}

/* ---section-three-- */

.card-image {

width: 17rem;

} 


/* ----section-four-- */

.section-four-heading {

font-size: 2.8rem;

}
.section-four-offer {


  font-size: 3.3rem;
}

.section-four-btn {

font-family: 1rem;

}

/* ---section--five  */

.grid-card-container {

  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 90%;
}

.grid-card:nth-child(1),.grid-card:nth-child(3) {


  grid-row:1/2 ;

}


}
