body {
  background-color: #faf7f5;
  font-family: "Playfair Display", serif;
  text-align: center;
  margin: 0;
  padding: 0;
  color: #4a3f35;
}


h1 {
  font-family: "Great Vibes", cursive;
  font-size: 3rem;
  color: #c49b66;
  margin-top: 1rem;
}


h2 {
  font-size: 1.2rem;
  color: #6b5a4a;
  margin: 0.5rem 0;
}


.nav-top {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding-left: 1rem;
  margin-top: 1rem;
  z-index: 4000;
}


.menu-button {
  background-color: #c49b66;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.25s ease;
}


.menu-button:hover {
  background-color: #a88252;
  transform: scale(1.05);
}


.dropdown-menu {
  display: none;
  position: absolute;
  top: 55px;
  left: 0;
  width: 260px;
  background: rgba(27, 22, 22, 0.55);
  backdrop-filter: blur(12px);
  padding: 1.2rem 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: left;
  margin-left: 1rem;
  animation: fadeIn 0.25s ease;
  z-index: 1500; 
}


.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.2rem;
  color: #f5f5f5;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
}


.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}


input[type="text"],
textarea {
  width: 80%;
  max-width: 400px;
  padding: 0.7rem;
  margin: 0.3rem auto;
  border: 1px solid #d8cfc8;
  border-radius: 8px;
  background-color: #fff;
  font-size: 1rem;
  display: block;
  color: #4a3f35;
}


textarea {
  height: 120px;
  resize: vertical;
}


.button-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}


.button-row button {
  background-color: #c49b66;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.25s ease;
}


.button-row button:hover {
  background-color: #a88252;
  transform: scale(1.05);
}


.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55); 
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.28s ease;
}


.overlay.show {
  display: block;
  opacity: 1;
}


.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100%;
  background: white;
  padding-top: 2rem;
  box-shadow: 4px 0 20px rgba(0,0,0,0.2);
  z-index: 3000; 
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}


.side-menu.open {
  transform: translateX(0);
  opacity: 1;
}


.side-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: #4a3f35;
  text-decoration: none;
  font-size: 1.1rem;
}


.side-menu a:hover {
  background: rgba(0,0,0,0.05);
}


.faq-item {
  width: 80%;
  max-width: 600px;
  margin: 1rem auto;
  text-align: left;
}


.faq-question {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid #dbbea8;
  padding: 1rem;
  font-size: 1.1rem;
  font-family: "Playfair Display", serif;
  color: #4a3f35;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease;
}


.faq-question:hover {
  background: rgba(255, 255, 255, 0.85);
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  border-radius: 0 0 8px 8px;
  transition: max-height 0.35s ease;
  padding: 0 1rem;
}


.faq-answer p {
  padding: 1rem 0;
  margin: 0;
  color: #4a3f35;
}


.product-grid {
  width: 90%;
  max-width: 1100px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}


.product-card {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}


.product-card img {
  width: 100%;
  height: 200px;        
  object-fit: cover;    
  border-radius: 10px;
}


.product-card h3 {
  margin: 0.5rem 0 0;
  color: #4a3f35;
}


.product-card p {
  color: #c49b66;
  font-weight: bold;
}


.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 5000;
  justify-content: center;
  align-items: center;
}


.modal-content {
  background: white;
  padding: 2rem;
  width: 90%;
  max-width: 450px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


.close-btn {
  float: right;
  font-size: 2rem;
  cursor: pointer;
  color: #c49b66;
}


.close-btn:hover {
  color: #a88252;
}

.input-container {
  position: relative;
  width: 80%;
  max-width: 400px;
  margin: 0.3rem auto;
}

.error-popup {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #b33a3a;
  color: white;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  z-index: 9999;
}




@media (max-width: 600px) {


  h1 {
    font-size: 2.4rem;
  }


  h2 {
    font-size: 1rem;
    padding: 0 1rem;
  }


  .nav-top {
    padding-left: 0.7rem;
    margin-top: 0.7rem;
  }


  .menu-button {
    font-size: 0.95rem;
    padding: 0.45rem 1rem;
  }


  .side-menu {
    width: 220px;
    padding-top: 1.5rem;
  }


  .side-menu a {
    font-size: 1rem;
    padding: 0.9rem 1.2rem;
  }


  .faq-item {
    width: 95%;
    margin: 0.8rem auto;
  }


  .faq-question {
    font-size: 1rem;
    padding: 0.9rem;
  }


  .faq-answer p {
    font-size: 0.95rem;
    line-height: 1.4rem;
  }


  input[type="text"],
  textarea {
    width: 90%;
  }

  
  .button-row {
    flex-direction: column;
    gap: 0.7rem;
  }


  .button-row button {
    width: 80%;
    max-width: 250px;
  }


  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 450px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
