*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    font-family:'Montserrat', sans-serif;
}
.navbar{
    width:100%;
    background-color: white;
    display:flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    align-items:center;
}
.shoppingbag{
  display: flex;
  gap: 1rem;
  height: 24px;
}
.hamburger{
  display: none;
}
.logo{
    display: flex;
    text-align: center;
    gap:1rem;
    margin-right: 50px;
}
.navitems{
  display:flex;
  justify-content: space-evenly;
  gap: 2rem;
  margin-right: 2px;
  align-items: center;
  text-decoration: none;
}
.card1 {
  position: relative;
  overflow: hidden;
  width:100%;
  display:flex;
  flex-direction: column;
  align-items: center;
}

.card1 img {
  width:100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: blur(2px);
}

.text-overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  color: white; 
  text-align: left;
}

.text-overlay h1 {
  font-size: 3.5rem;
  margin-bottom: 5;
}

.text-overlay p {
  font-size: 1.75rem;
  margin: 0;
  width:75%;
}
.buy-line {
    border-radius: 8px;
    background: #EDE2D6;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    color: #66422E;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 36px;
    padding: 14px 16px;
    margin-top:12px;
    text-align: center;
    display: inline-block;
    margin-bottom: 12px;
    position:absolute;
    bottom: 0;
    left: 51%;
    transform: translateX(-49%);
    text-decoration: none;
}
.buy-line:hover{
  background-color: #9b8b79;
  cursor:pointer;
  transition: 0.3s;
  color:white;
}
.card2{
  text-align:center;
}
.card2 h2{
    margin-top:12px;
    margin-left:20px;
    justify-content: space-between;
    padding:10px;
    left:10px;
    color: #66422E;
    font-weight: bold;
    font-size: 28px;
}
.card2 img{
    margin-bottom:15px;
    margin-left:20px;
    color: #66422E;
}
.product-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap:40px;
    margin:15px;
    align-items:center;
}
.product-grid div{
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.product-grid div:hover{
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  transition: 0.3s;
}
.product-grid img{
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.product-grid h3{
  margin-bottom: 6px;
  font-size: 1.75rem;
}

.product-grid p{
  display:none;
}
.shop-more{
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    color: rgb(0, 0, 0);
    font-size: 1.5rem;
    line-height: 32px;
    padding: 0.8rem;
    margin-top:12px;
    border-radius:6px;
    text-align: center;
    display: inline-block;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    border: 2px solid black;
    text-decoration: none;
}
.shop-more:hover{
  background-color: #4b1d0d;
  color:#fff;
  cursor:pointer;
  transition: 0.3s;
}
.card3 img{
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-top: 20px;
}
.card3{
  align-items:center;
}
.card3{
  position: relative;
  text-align: center;
  margin-top: 40px;
}
.card3header{
  padding: 20px;
}
.newsletter-header{
  display: inline-block;
  text-align: left;
  margin-bottom: 20px;
}
.newsletter-header h2{
  font-size: 28px;
  margin: 0;
  color: #66422E;
  font-weight: bold;
}
.newsletter-header .underline{
  width: 100%;
  height: 2px;
  background-color: #66422E;
  margin-top: 4px;
}
.content{
  text-align: left;
}
.join-the-newsletter{
    border-radius: 8px;
    background: #EDE2D6;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    color: #66422E;
    font-size: 1.5rem;
    line-height: 32px;
    padding: 0.8rem;
    margin-top:25px;
    border-radius:6px;
    text-align: center;
    display: inline-block;
}
.join-the-newsletter:hover{
  background-color: #9b8b79;
  cursor:pointer;
  transition: 0.3s;
  color:white;
}
@media (max-width: 480px) {
  .navitems {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .card1 .text-overlay h1 {
    font-size: 1.75rem;
  }

  .card1 .text-overlay p {
    font-size: 1rem;
  }

  .buy-line {
    font-size: 22px;
  }

  .product-grid div {
    padding: 20px;
  }

  .product-grid h3 {
    font-size: 20px;
  }
}

@media (min-width: 481px) {
  .navitems {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
}

.navitems a,
.navitems div {
  text-decoration: none;
  color: inherit;
}

.navlink p {
  margin: 0;
}

.navlink:hover p {
  text-decoration: underline;
  cursor: pointer;
}

  .hamburger {
    display: none;
  }
  .product-grid p{
    display: flex;
    text-align: left;
  }
}
@media (max-width: 600px) {
  .logo h1 {
    font-size: 1.5rem;
  }
  .text-overlay h1 {
  font-size: 2rem;
  margin-bottom: 5;
  }
  .text-overlay p {
  font-size: 1.3rem;
  margin: 0;
  width:75%;
}
}
.cart-footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #eee;
  color: #777;
  font-size: 0.9rem;
}