/* General style */
:root{
  --main-color:#d3ad7f;
  --black: #13131a;
  --bg:#010103;
  --border: 1rem solid rgb(255, 255, 255, .2);
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins",sans-serif;
    outline: none;
    border: none;
    text-decoration: none;
   
    transition: .2s linear;
}
body{
 background-color: #13131a;
  
}
 /* Navigation Bar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color:#010103;
  color:#d3ad7f;
  padding: 1.5rem;
  border-bottom: .3rem solid var(--main-color);
}

.navbar h1 {
  margin: 0;
}

.nav-links {
  list-style-type: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  margin: 0 1rem;
  font-size: 1.6rem;
  color: #d3ad7f;

}

.cart-icon-container button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

#cart-count {
  background: red;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 14px;
  color: white;
}
  
/*-------Home ------------*/
.home{
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(coffeeBeans.png);
  background-size: cover;
  background-position: center;
  text-align: center;
}
.home .content{
  margin-left: 2rem;
  max-width: 60rem;
  text-align: left;
}
.home .content h3{
  
  font-size: 2rem;
  text-transform: uppercase;
  color:#d3ad7f;
  
}
.home .content p{
 
  color:#d3ad7f;
  line-height: 1.8rem;
  padding: 1rem 0;
  width: 400px;
 }

 .about-btn {
  background-color: #d3ad7f;
  color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3 ease;
 }
  .about-btn:hover{
    background-color: #E8DEF8;
  }
 
/*-------about Section ------------*/

.heading{
  color: var(--main-color);
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 3.5rem;
  font-size: 4rem;
}
.about .row{
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background-color:var(--bg);
 
  
}
.about .row .image{
  flex:1 1 35rem;
  

}
.about .row .image img{
  width: 100%;
  height: 100%;
}
.about .row .content{
  flex: 1 1 45rem;
  padding: 2rem;
  color: aliceblue;
  background-color:var(--black);
 
  
}
.about .row .content h3 {
  font-size: 3rem;
  color:#d3ad7f;
 
}
.about .row .content p{
  color:#d3ad7f;
  line-height: 1.8rem;
  padding: 1rem 0;
  font-size: 1rem;
 

  line-height: 1.8rem;
}
.about .row .content {
  font-size:1.6rem ;
  color:#fff ;
}
.button {
  background-color: #d3ad7f;
  color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3 ease;
}
.button:hover{
  background-color: #E8DEF8;
}

/*-------Products ------------*/

.product-grid {
  display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
gap: 20px; 
width: 90%; 
max-width: 1200px; 
margin: 20px auto; 
padding: 20px;

}
.product-grid h1{
  color: var(--main-color);

text-transform: uppercase;
padding-bottom: 3.5rem;
font-size: 4rem;
}



.product-card {
  background-color: blanchedalmond;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;

 
}
.product-card img{
  width: 100%; 
  height: auto; 
  border-radius: 8px 8px 0 0; 
}

.product-card button {
  background-color: #d3ad7f;
  color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
}

/* Cart Window */
.cart{
  width: 300px;
  background-color: #d3ad7f;
  color: #13131a;
  position: fixed;
top: 0;
right: 0;
bottom: 0;
inset: 0 0 0 auto;
display: grid;
grid-template-rows: 70px 1fr 70px;
}
.cart h2{
  padding: 20px;
  margin: 0;
  font-weight: 300;
}
.hidden {
  display: none;
}
#close-cart {
  background:rgba(37, 28, 28, 0.2);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}





/*------footer ------------*/


.footer{
  background:var(--black);
  text-align: center;
}

.footer .share{
  padding:1rem 0;
}

.footer .share a{
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  color:#fff;
  border:var(--border);
  margin:.3rem;
  border-radius: 50%;
}

.footer .share a:hover{
  background-color: var(--main-color);
}

.footer .links{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding:2rem 0;
  gap:1rem;
}

.footer .links a{
  padding:.7rem 2rem;
  color:#fff;
  border:var(--border);
  font-size: 2rem;
}

.footer .links a:hover{
  background:var(--main-color);
}

.footer .credit{
  font-size: 2rem;
  color:#fff;
  font-weight: lighter;
  padding:1.5rem;
}

.footer .credit span{
  color:var(--main-color);
}


@media (max-width:768px){

  #menu-btn{
      display: inline-block;
  }

  .header .navbar{
      position: absolute;
      top:100%; right: -100%;
      background: #fff;
      width: 30rem;
      height: calc(100vh - 9.5rem);
  }

  .header .navbar.active{
      right:0;
  }

  .header .navbar a{
      color:var(--black);
      display: block;
      margin:1.5rem;
      padding:.5rem;
      font-size: 2rem;
  }

  .header .search-form{
      width: 90%;
      right: 2rem;
  }

  .home{
      background-position: left;
      justify-content: center;
      text-align: center;
  }

  .home .content h3{
      font-size: 4.5rem;
  }

  .home .content p{
      font-size: 1.5rem;
  }

}
/***** footer section ****/


.footer-top {
  display: flex;
  flex-direction: row;
  flex: 1;
  width: 1,440px;
  height: 320px;
  gap: 50px;
  opacity: 0px;
  justify-content: space-between;
  align-items:flex-start;
  padding-top: 40px;
  background: --main-color#d3ad7f;
  margin: 50px;
  color:#E8DEF8;
  }





.footer {
  margin: auto;

max-width:1,600px;
width: 100%;
height: 420px;
padding: 50px 30px 50px 30px;

opacity: 0px;
background-color: #d3ad7f;
}
.column {
  line-height: 28px;
  color: #13131a;;
}
.column-h3 {
  color:#13131a;;

}
.map {
  width: 250px;
height: 250px;
gap: 0px;
opacity: 0px;
}






  

















  




