body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #2b3e51;
    color: #222;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
header ul li a{
  color: black;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header {
    background: #fff;
    color: #222;
    padding: 20px 0;
    position: relative;
  
}
header h1 {
    margin: 0;
    padding: 0;
    font-size: 2rem;
    letter-spacing: 2px;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0; /* removed big top margin so nav isn't pushed out of header on mobile */
  display: flex;
  gap: 20px;
}
nav a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;

    
}
nav a:hover {
    color: #ffd700;
}
.hero {
    background: #e9ecef;
    padding: 40px 0;
    text-align: center;
}
.why-choose {
    background: #fff;
    padding: 30px 0;
    text-align: center;
}
.why-choose ul {
    display: inline-block;
    text-align: left;
    margin: 0;
    padding: 0;
}
.why-choose li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.featured-products {
    padding: 40px 0;
    background: #5681c1;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin: 32px 0;
}
.featured-products, .featured-collection {
  background: #2b3e51;
  padding: 40px 0 20px 0;
  margin-bottom: 0;
}
.featured-products h2, .featured-collection h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-left: 20px;
  margin-bottom: 0;
}
.product {
  background: #7290ae;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.product img {
  max-width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 10px;
}
.product h3 {
  margin: 10px 0 5px 0;
  font-size: 1.1rem;
}
.product p {
  margin: 0 0 10px 0;
  font-size: 1rem;
}
.btn {
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  margin-top: auto;
}
.btn:hover {
  background: #ffd700;
  color: #222;
}
.testimonial {
    background: #fff;
    padding: 30px 0;
    text-align: center;
}
.testimonial blockquote {
    margin: 0 auto;
    max-width: 400px;
    font-style: italic;
    color: #444;
}
.testimonial img {
    margin-bottom: 10px;
}
.contact {
    background: #f1f3f6;
    padding: 30px 0;
    text-align: center;
}
.contact form {
    display: inline-block;
    text-align: left;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.contact input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.contact button {
    background: #222;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.contact button:hover {
    background: #ffd700;
    color: #222;
}
footer {
  background: #222;
  color: #fff;
  padding: 30px 0 10px 0;
  text-align: center;
}
footer .payment-icons {
  margin-top: 10px;
}
footer img {
    margin: 0 8px;
    vertical-align: middle;
}
footer a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 5px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 14px;
  z-index: 1100;
  align-items: center;
  justify-content: center;
}
/* Hamburger bar visuals */
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.95);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* refined visible square for the hamburger to match the screenshot */
.menu-toggle.box {
  width: 44px;
  height: 44px;
  background: rgb(85, 85, 180); /* very dark blue/black */
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
}

.menu-toggle.box:focus {
  outline: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6), 0 0 0 3px rgba(255,255,255,0.03) inset;
}

/* active state (optional) - transform lines into X when active */
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
#main-nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
#main-nav ul.show {
  flex-direction: column;
  background: #222;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    z-index: 1200; /* bring menu above header/logo */
}

/* Ensure links inside opened menu are readable on dark background */
#main-nav ul.show li a {
  color: #fff;
}
@media (max-width: 800px) {
    .menu-toggle {
        display: block;
    }
    #main-nav ul {
        display: none;
    }
  #main-nav ul.show {
    display: flex;
  }
    header h1 {
        font-size: 1.3rem;
    }
    .product-list {
        flex-direction: column;
        align-items: center;
    }
    .container {
        padding: 0 10px;
    }
    .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.checkout-btn {
  background: linear-gradient(120deg, #111, #444);
  color: #fff;
}

.checkout-btn:hover {
  background: linear-gradient(120deg, #ffd700, #ffdd57);
  color: #111;
}
.cart-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}

.cart-content {
  background: #fff;
  width: 400px;
  max-width: 90%;
  margin: 50px auto;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.cart-content h2 {
  margin-top: 0;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 2000;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
