/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f5;
  color: #333;
  line-height: 1.6;
  
}

/* Header */
header {
  background-color: white;
  padding: 20px 0;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1000;
}

.header-container.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.logo {
  height: 100px; /* bigger logo */
  width: auto;
  margin-bottom: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
}

nav a:hover {
  color: #8fb996;
  text-decoration: underline;
}



header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}



/* Hero Section */
.hero {
  background-image: url('images/banner.jpg');
  background-size: cover;
  background-position: center;
  min-height: 90vh; /* full screen height */
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
}

/* Sections */
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  color: #5c7f67;
  font-size: 2rem;
  margin-bottom: 20px;
}

section p {
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: #eee;
  text-align: center;
  padding: 20px;
  color: #555;
  font-size: 0.9rem;
}



/* Product Section */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 280px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.product-card select {
  margin: 10px 0;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}
.product-card label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}

.product-card h3 {
  margin: 10px 0 5px;
  color: #5c7f67;
}

.product-card p {
  font-size: 0.95rem;
  color: #666;
}

.product-card .price {
  display: block;
  margin: 10px 0;
  font-weight: bold;
  color: #333;
}

.product-card button {
  padding: 10px 20px;
  background-color: #8fb996;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.product-card button:hover {
  background-color: #5c7f67;
}
/* Reviews Section */
#reviews {
  background-color: #f4f8f5;
  padding: 60px 20px;
  text-align: center;
}

#reviews h2 {
  font-size: 2rem;
  color: #5c7f67;
  margin-bottom: 40px;
}

.review-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.review {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 300px;
  text-align: left;
}

.review p {
  font-style: italic;
  margin-bottom: 15px;
}

.review h4 {
  text-align: right;
  font-weight: normal;
  color: #666;

}

.review img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}
/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px #fff;
  cursor: pointer;
}
/* Contact Section */
#contact {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  color: #5c7f67;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}

.contact-form button {
  background-color: #8fb996;
  color: white;
  border: none;
  padding: 12px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #5c7f67;
}

.social-links a {
  display: inline-block;
  margin: 10px 15px;
  color: #5c7f67;
  text-decoration: none;
  font-size: 1.1rem;
}

.social-links a:hover {
  text-decoration: underline;
}
.cart-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

.cart-icon img {
  width: 24px;
  height: 24px;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 300px;
  height: 100vh;
  background: #fff;
  border-left: 1px solid #ccc;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.cart-panel.open {
  right: 0;
}

.cart-items .cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.cart-items img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.cart-total {
  font-weight: bold;
  margin-top: 10px;
}

.cart-message {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #4caf50;
  color: white;
  padding: 10px;
  border-radius: 4px;
  display: none;
  z-index: 2000;
}
.checkout-btn {
  margin-top: 10px;
  background-color: #5c7f67;
  color: white;
  padding: 10px 15px;
  border: none;
  width: 100%;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}
.review-tab {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left;
  background-color: #5c7f67;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  z-index: 1000;
}
.review-tab:hover {
  background-color: #3e5d48;
}
.product-card input {
  width: 100%;
  padding: 8px;
  margin: 5px 0 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
}
