/* ===== Global Styles ===== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfdfd;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

a {
  text-decoration: none;
  color: #333;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* ===== Header ===== */
/* ===== Header ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364); /* Professional dark blue gradient */
  padding: 15px 25px;
  color: #fff;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-style: italic;
  color: #f8d42f; /* Brighter logo text */
  font-weight: 600;
  letter-spacing: 1px;
}

nav a {
  margin-left: 20px;
  font-weight: bold;
  color: #ffffff;
}

nav a:hover {
  color: #f8d42f;
}


/* ===== Home Page Section ===== */
section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

h1, h2 {
  text-align: center;
  font-weight: 600;
}

/* ===== Featured Products ===== */
.featured-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.product {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product:hover {
  transform: translateY(-5px);
}

.product img {
  height: 160px;
  object-fit: cover;
  margin-bottom: 10px;
}

.product h3 {
  margin: 0;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.product p {
  font-size: 0.95rem;
  color: #444;
}

/* ===== Cart Styles ===== */
.cart-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.cart-item img {
  width: 80px;
  border-radius: 8px;
  margin-right: 10px;
}

.cart-item-details {
  flex: 1;
}

.remove-btn {
  background: red;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.remove-btn:hover {
  background: darkred;
}

/* ===== Footer ===== */
footer {
  margin-top: 60px;
  background: #2c3e50;
  color: white;
  padding: 30px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
}

.footer-section {
  margin-bottom: 20px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #f8d42f; /* Match with other pages */
}

.footer-section a {
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  color: #ecf0f1;
  text-decoration: none;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.5rem;
  color: #f8d42f;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-section {
    max-width: 100%;
  }
}

/* ===== Button Styles ===== */
button {
  background-color: #222;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #444;
}

/* ===== Dark Mode ===== */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode header,
body.dark-mode footer {
  background-color: #1e1e1e;
}

body.dark-mode .product,
body.dark-mode .cart-container {
  background-color: #222;
  color: #e0e0e0;
}

/* ===== Toggle Button ===== */
.dark-toggle {
  position: fixed;
  top: 15px;
  right: 20px;
  background-color: #555;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  z-index: 999;
}

.dark-toggle:hover {
  background-color: #333;
}


@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ===== Responsive Fixes ===== */
@media (max-width: 768px) {
  .featured-products {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  nav {
    margin-top: 10px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item img {
    margin-bottom: 10px;
  }
}
/* Make product grid responsive and clean */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
  padding: 0 20px;
}

/* Style for each product card */
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  padding: 16px;
  transition: transform 0.3s ease;
  text-align: center;
}

.product-card:hover {
  transform: scale(1.02);
}

/* Fix image layout */
.product-images {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* Standard size for all images */
.product-images img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: transform 0.3s ease;
}

.product-images img:hover {
  transform: scale(1.1);
}

/* Button style */
.product-card button {
  background-color: #222;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.product-card button:hover {
  background-color: #444;
}
/* Make category cards clean and responsive */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.category-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 16px;
  width: 250px;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: scale(1.03);
}

.category-card img {
  width: 100%;
  height: 180px;  /* 👈 You can adjust this height as needed */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* Responsive fix for smaller screens */
@media (max-width: 768px) {
  .category-card {
    width: 90%;
  }

  .category-card img {
    height: 160px;
  }
}
/* Zoom Modal Styling */
.zoom-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.zoomed-image {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
.cart-main {
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(to right, #f1f6fb, #e3f2fd);
  min-height: 80vh;
}

.cart-summary {
  margin-top: 30px;
}

.checkout-btn {
  background: linear-gradient(to right, #0052d4, #6fb1fc); /* Clean blue gradient */
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 82, 212, 0.3); /* Slightly tinted shadow */
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.checkout-btn:hover {
  background: linear-gradient(to right, #4364f7, #0052d4); /* Reverse gradient on hover */
  transform: translateY(-2px);
}
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  padding: 20px 15px;
  color: #fff;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 600;
  color: #f8d42f;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-align: center;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

nav a {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

nav a:hover {
  color: #f8d42f;
}
/* ===== Unified Header (Same as Home) ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364); /* Professional dark gradient */
  padding: 15px 25px;
  color: #fff;
  flex-wrap: wrap;
}

/* Brand Logo Style */
.logo {
  font-family: 'Satisfy', cursive;
  font-size: 3.2rem;
  color: #f8d42f;
  text-align: center;
}

/* Navigation Links */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

nav a {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f8d42f;
}

/* Responsive Fix for Header */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }
}
footer {
  background: #2c3e50;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-style: normal;  /* make sure it's not italic */
  font-weight: normal; /* make sure it's not bold */
  font-size: 15px;
  line-height: 1.6;
}

.footer-section {
  margin-bottom: 20px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #f8d42f;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #ecf0f1;
  text-decoration: none;
  font-style: normal;
  font-weight: normal;
}

.footer-section a:hover {
  color: #f1c40f;
}

@media (max-width: 600px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.reviews-section {
  padding: 60px 20px;
  background: #f9fafb;
  text-align: center;
}

.reviews-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 40px;
  color: #203a43;
}

.reviews-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.review-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 25px 20px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.review-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1e3c72;
}

.review-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  font-style: italic;
}

.stars {
  font-size: 18px;
  color: #f8d42f;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
    align-items: center;
  }
}
footer {
  background: #1f2937;
  color: #ccc;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
  font-weight: normal;
}

.footer-section a:hover {
  color: #f8d42f;
}
.footer-section p {
  color: #ccc !important;
}
.hero-banner {
  background: url('img/hero-bg.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: #fff;
  position: relative;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 400;
  color: #f8f9fa;
}

.explore-btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.explore-btn:hover {
  background: linear-gradient(to right, #0f2027, #203a43);
  transform: translateY(-2px);
}
.category-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.category-card {
  position: relative;
  width: 250px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  background: #fff;
}

.category-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.category-card h3 {
  margin: 15px 0;
  font-size: 1.2rem;
  color: #333;
}

.category-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.category-card {
  background: #fff;
  width: 250px;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

.category-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.category-card h3 {
  font-size: 1.2rem;
  margin: 15px 0 10px;
  color: #333;
}

.view-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.view-btn:hover {
  background: linear-gradient(to right, #203a43, #0f2027);
}
html {
  scroll-behavior: smooth;
}
.brand-bio {
  margin-top: 20px;
  font-size: 17px;
  color: #444;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.5rem;
  color: #f8d42f;
  letter-spacing: 1px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.5rem;
  color: #f8d42f;
  letter-spacing: 1px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 40px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
/* ===== Image Zoom Modal ===== */
/* ===== Fullscreen Image Modal ===== */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.img-modal img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.img-modal.show {
  display: flex;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
.img-modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
}

.img-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px #000;
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}
.img-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.img-modal img {
  max-width: 90%;
  max-height: 90%;
  border: 5px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}
.hero-banner {
  background: linear-gradient(rgba(255, 255, 255, 0.267), rgba(255, 255, 255, 0.336)), 
              url('img/hero-bg.jpg') center center / cover no-repeat;
  padding: 100px 20px;
  color: #000000;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.288); /* dark overlay so text is readable */
  padding: 40px;
  border-radius: 16px;
}
