@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: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root{
    --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%;
    
}

nav{
    width: 80%;
    height: 13vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    

}

header{
    width: 80%;
    height: calc(100vh - 13vh);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: auto;
}

.navlinks{
    display: flex;
}

.header-image{
    width: 40rem;
}

.logo{
    font-size: 3.3rem;
    color: var(--dark-blue);
    font-family: 'Allison', cursive,sans-serif;
}

.navlinks li{
    list-style: none;
}

.navlinks li a{
    text-decoration: none;
    margin-left: 2.5rem;
    color: var(--dark-grey);
    font-size: 1rem;
    letter-spacing: .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;
}

.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 .5s ease-in-out;
}

.btn-container{
    display: flex;
    margin-top: 2rem;
}
.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);
}

.navlinks li a::after, .navlinks li .active::after{
    content: "";
    background: var(--dark-grey);
    position: absolute;
    height: .15rem;
    width: 100%;
    left: 0;
    bottom: -5px;
    transform: scalex(0);
    transition: transform .5s ease;
    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: .2rem;
    margin: .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);
    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-grey);
    font-size: 4rem;

}
.section-two-para{
    font-size: 1rem;
    color: var(--dark-grey);
    line-height: 1.8rem;
    max-width: 80%;
}
.section-two-pricing{
    font-size: 1.6rem;
    color: var(--dark-grey);
    margin: .9rem 0;
}
.section-two-btn{
    padding: .9rem 1.7rem;
    border: .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: 1.2rem;
}
.card-container{
    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-pricing{
    font-size: 1.2rem;
    margin-top: .2rem;
    margin-bottom: 1.2rem;
}

/* ----------------section four---------- */

.section-four{
    display: flex;
    align-items: center;
}
.section-four-container{
    width: 100%;
    height: 70vh;
    background-image: url("Images/rado-2.avif");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
.section-four-offer{
    font-size: 4rem;
    color: var(--light-peach);
    font-family: 'Allison', cursive,sans-serif;
    text-transform: uppercase;

}
.section-four-heading{
    font-size: 4rem;
    color: var(--White);
    margin-bottom: 1rem;
}
.section-four-btn{
    font-size: 1.1rem;
    padding: 1rem 1.7rem;
    background: var(--light-peach);
    border: none;
    transition: transform .5s ease;
}
.section-four-container::before{
    content: "";
    background: rgba(0, 0, 0, 0.544);
    position: absolute;
    inset: 0;
}
.section-four-container .content{
    z-index: 5;
}



/* --------------section five------------ */
.grid-card-container{
    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-2.avif");

}
.grid-card:nth-child(2){
background-image: url("Images/Jacob\ &\ Co\ Astronomia.webp");
}

.grid-card:nth-child(3){
    grid-row: 1/3;
    background-image: url("Images/tissot-t.avif");
}
.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_2.webp");
}
.grid-card:nth-child(6){
background-image: url("Images/police.webp");
}


.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;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
}
.grid-card:hover::after{
    opacity: 1;
    visibility: visible;
}



/* -------------section six footer--------- */
:root {
  --light-black: #222; /* Ensure this is defined */
}

/* Main Footer Wrapper */
.custom-footer {
  background: var(--light-black);
  color: white;
  padding: 3rem 1rem;
  text-align: left;
  font-size: 1rem;
}

/* Layout */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
}

/* Footer Sections */
.footer-about,
.footer-links,
.footer-contact,
.footer-newsletter {
  flex: 1 1 200px;
  max-width: 250px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

/* Links and Text */
.footer-links a,
.footer-policy a,
.footer-social a {
  color: white;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.footer-links a:hover,
.footer-policy a:hover,
.footer-social a:hover {
  color: #ffcc00;
}

/* Contact Text */
.footer-contact p {
  margin: 0.3rem 0;
}

/* Social Icons */
.footer-social {
  margin: 1rem 0;
}

.footer-social a {
  font-size: 1.4rem;
  margin: 0 0.6rem;
}

/* Newsletter */
.footer-newsletter input[type="email"] {
  padding: 0.5rem;
  width: 80%;
  max-width: 200px;
  border: none;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.footer-newsletter button {
  padding: 0.5rem 1rem;
  background-color: #ffcc00;
  border: none;
  color: #222;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.footer-newsletter button:hover {
  background-color: #e6b800;
}

/* Copy and Policies */
.footer-copy {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-policy {
  margin: 0.5rem 0;
}

.footer-policy a {
  margin: 0 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-newsletter {
    max-width: 100%;
  }
}













/* ---media queries */

@media screen and (max-width: 500px){
    
    /* --------section one--------- */
    .header-image{
        display: none;
    }
    .navlinks{
       flex-direction: column;
       position: absolute;
       top: 0;
       background: var(--light-grey);
       width: 100%;
       height: 100%;
       justify-content: center;
       align-items: center;
       right: 100%;
       z-index: 2;
       gap: 2rem;
       transition: .5s ease-in-out;
    }
    .navlinks-active{
        right: 0;
    }
    .navlinks li{
        font-size: 1.3rem;
        margin-left:0 ;
    }
    .hamburger{
        display: block;
        z-index: 5;
    }
    .section .logo {
        z-index: 5;
    }
    .header-heading{
        font-size: 4rem;
    }
    header{
        justify-content: flex-start;
    }


    /* ------------section two---------- */

    .section-two-image{
        display: none;
    }
    .section-two-heading{
        font-size: 2.9rem;
    }
    .section-two-para{
        font-size: .93rem;
        max-width: 100%;
    }
    .section-two-pricing{
        font-size: 1.4rem;
    }
    .section-two-btn{
        font-size: 1rem;
        padding: .7rem 1rem;
    }
    .section-two-container{
        height: 60vh;
    }
    .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-size: 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;
}





}
