/* styles.css */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Site Header */
.site-header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}
.site-header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}
.header-right a {
  margin-left: 1rem;
  color: #333;
  text-decoration: none;
}

/* Navigation */
.site-nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
}
.site-nav .nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.site-nav .nav-menu a {
  color: #555;
  text-decoration: none;
  padding: 0.75rem 0;
  display: inline-block;
}
.site-nav .nav-menu a:hover {
  color: #000;
}
.search-form {
  margin-left: auto;
  display: flex;
}
.search-form input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-right: none;
}
.search-form button {
  padding: 0 1rem;
  background: #333;
  color: #fff;
  border: 1px solid #333;
  cursor: pointer;
}
.search-form button:hover {
  background: #555;
}

/* Hero */
.hero {
  background: url('../images/hero.jpg') center/cover no-repeat;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-content {
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.btn-primary {
  padding: 0.75rem 1.5rem;
  background: #007bff;
  color: #fff;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}
.btn-primary:hover {
  background: #0056b3;
}

/* Grids */
.grid {
  display: grid;
  gap: 1.5rem;
}
.categories-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 2rem 0;
}

/* Category Cards */
.category-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.category-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.category-card h3 {
  padding: 0.5rem;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Product Cards */
.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.product-info {
  padding: 0.75rem;
  flex-grow: 1;
}
.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.product-info .price {
  color: #007bff;
  font-weight: bold;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-add-cart {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}
.btn-add-cart:hover {
  background: #218838;
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background: #fff;
}
.about-section .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
.about-image img {
  width: 100%;
  border-radius: 6px;
}

/* Call To Action */
.cta {
  background: #007bff;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  margin: 2rem 0;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.btn-secondary {
  padding: 0.75rem 1.5rem;
  background: #ffc107;
  color: #333;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #e0a800;
}

/* Forms */
.form {
  background: #fff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form input,
.form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.form button {
  align-self: start;
}

/* Footer */
.site-footer {
  background: #333;
  color: #ccc;
  padding: 2rem 0;
  margin-top: 3rem;
}
.site-footer p {
  text-align: center;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .site-nav .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
}
.site-footer {
  background: #222;
  color: #ccc;
  padding: 3rem 0 1rem;
  font-size: 0.95rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-col h3, .footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  color: #999;
}
hr {
  border: 0;
  border-top: 1px solid #444;
  margin: 2rem 0;
}
/* Coupon Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.4s ease-in-out;
}

.modal-box h2 {
  margin-bottom: 1rem;
  color: #007bff;
}

.modal-box p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.modal-box button {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

.modal-box button:hover {
  background: #218838;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.sponsored-section {
  margin: 4rem 0;
  text-align: center;
}

.sponsored-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.sponsor-logos img {
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.sponsor-logos img:hover {
  filter: grayscale(0%);
}
.testimonials-section {
  margin: 4rem auto;
  text-align: center;
  max-width: 1100px;
}

.testimonials-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.testimonial-card {
  background: #f4f4f8;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 6px solid #007bff;
  text-align: left;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card p {
  font-style: italic;
  color: #333;
  margin-bottom: 1rem;
}

.testimonial-card h4 {
  font-weight: bold;
  color: #007bff;
  margin: 0;
}
body {
  background: #fefefe; /* fallback solid color */
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}
.store-intro.bg-welcome {
  background: url('../images/bg-furniture-light.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  border-radius: 12px;
  padding: 4rem 2rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.bg-welcome {
  background: url('../images/bg-furniture-light.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 5rem 1rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  box-shadow: inset 0 0 2000px rgba(0,0,0,0.2);
  border-radius: 10px;
}

.bg-welcome .btn-primary {
  background-color: #ffffff;
  color: #333;
  font-weight: bold;
  border: none;
}

.bg-welcome .btn-primary:hover {
  background-color: #f0f0f0;
}
.category-section {
  background: url('../images/bg-category.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 5rem 1rem;
  border-radius: 12px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
/* Product grid layout */
.products-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.landscape-features {
  margin: 3rem auto;
  background: #f8f9fa;
  padding: 2rem 1rem;
  border-radius: 10px;
}

.feature-row {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
}

.feature-item {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
}

.feature-item img {
  width: 50px;
  flex-shrink: 0;
}

.feature-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: #007bff;
}

.feature-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}
.hero {
  padding: 5rem 1.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.15rem;
  color: #f0f0f0;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.hero .btn-primary {
  background-color: #ffffff;
  color: #333;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero .btn-primary:hover {
  background-color: #f1f1f1;
}

/* Responsive Tweaks */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero {
    padding: 3rem 1rem;
  }
}
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-right .icon-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.header-right .icon-btn:hover {
  transform: scale(1.1);
}

.lang-switcher {
  padding: 0.4rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

/* User Dropdown */
.user-dropdown {
  position: relative;
  cursor: pointer;
}

.user-dropdown .user-name {
  font-weight: bold;
  font-size: 0.95rem;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 140%;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 0.75rem 1rem;
  display: none;
  border-radius: 6px;
  min-width: 150px;
  z-index: 100;
}

.user-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.3rem 0;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  color: #007bff;
}

/* Dark Mode */
body.dark-mode {
  background: #111;
  color: #f5f5f5;
}

body.dark-mode a {
  color: #90cdf4;
}

body.dark-mode .dropdown-menu,
body.dark-mode .lang-switcher {
  background: #222;
  border-color: #444;
  color: #eee;
}
.header-utility {
  display: flex;
  gap: 1.2rem;
  padding: 0.5rem 2rem;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.95rem;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.lang-switch {
  padding: 0.25rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.notify-icon {
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
}

.notify-icon:hover {
  color: #007bff;
}

#darkToggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.user-dropdown {
  position: relative;
  cursor: pointer;
}

.user-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: none;
  min-width: 140px;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
}
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.logo a {
  font-size: 1.6rem;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.lang-switch {
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 0.9rem;
  max-width: 160px;
}

.notify-icon {
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
}

.notify-icon:hover {
  color: #007bff;
}

#darkToggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.user-dropdown {
  position: relative;
  cursor: pointer;
}

.user-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  padding: 0.5rem 1rem;
  display: block;
  text-decoration: none;
  color: #333;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
}
.header-subbar {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 2rem;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.header-sub-links {
  display: flex;
  gap: 1.2rem;
}

.header-sub-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.header-sub-links a:hover {
  color: #007bff;
}
.dark-mode {
  background: #121212;
  color: #f5f5f5;
}

.dark-mode header,
.dark-mode .header-bar,
.dark-mode .header-subbar {
  background: #1e1e1e;
  border-color: #444;
}

.dark-mode a {
  color: #84caff;
}

.dark-mode .dropdown-menu {
  background: #2a2a2a;
  color: #f1f1f1;
}
.notifications-list {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
  color: #444;
}

.notifications-list li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}
.site-footer {
  background-color: #333;
  color: #fff;
  padding: 2rem 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 30%;
  min-width: 220px;
}

.footer-col h4 {
  color: #ffcc00;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.footer-col p {
  margin: 0;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  color: #bbb;
  font-size: 0.9rem;
}

hr {
  border: none;
  border-top: 1px solid #444;
  margin: 1.5rem auto;
  max-width: 1000px;
}
.site-footer {
  background-color: #1d1d1d;
  color: #fff;
  padding: 2rem 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.footer-col {
  flex: 1 1 100%;
  min-width: 280px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #ffcc00;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-divider {
  border: 0;
  height: 1px;
  background: #444;
  margin: 1.5rem 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}
.site-footer {
  background-color: #1d1d1d;
  color: #fff;
  padding: 2rem 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.footer-col {
  flex: 1 1 30%;
  min-width: 250px;
  margin-bottom: 1rem;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 0.75rem;
  color: #ffcc00;
}

.footer-col p {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: #444;
  margin: 1.5rem 0;
}

.footer-bottom {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}
.trusted-brands {
  text-align: center;
  margin: 3rem 0;
}

.trusted-brands h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #333;
}

.brands-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.brands-grid img {
  max-height: 60px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.brands-grid img:hover {
  opacity: 1;
}
.trusted-brands {
  text-align: center;
  margin: 3rem auto;
  padding: 1rem;
}

.trusted-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
  font-weight: 600;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.brands-grid img {
  max-height: 60px;
  width: auto;
  opacity: 0.8;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.brands-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.welcome-section {
  background-image: url('../images/bg-furniture-light.jpg');
  background-size: 100%;
background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll; /* ✅ mobile safe */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-align: center;
}

.welcome-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* optional dark overlay */
  z-index: 1;
}

.welcome-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.welcome-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.welcome-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .welcome-content h1 {
    font-size: 1.8rem;
  }
  .welcome-content p {
    font-size: 1rem;
  }
}
.welcome-section {
  background-image: url('../images/bg-furniture-light.jpg');
  background-size: 100%;
background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll; /* ✅ mobile-safe, can re-enable fixed for desktop */
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: #fff;
}

/* Desktop parallax-style */
@media (min-width: 769px) {
  .welcome-section {
    background-attachment: fixed;
  }
}

.welcome-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* keeps text visible */
  z-index: 1;
}

.welcome-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.welcome-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.welcome-content p {
  font-size: 1.4rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .welcome-content h1 {
    font-size: 2rem;
  }

  .welcome-content p {
    font-size: 1.1rem;
  }

  .welcome-section {
    background-position: top center;
  }
}
.welcome-section {
  background-image: url('../images/bg-furniture-light.jpg');
  background-size: 100%;
background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;        /* ✅ vertically center */
  justify-content: center;    /* ✅ horizontally center */
  position: relative;
  text-align: center;
  color: #fff;
}

@media (min-width: 769px) {
  .welcome-section {
    background-attachment: fixed;
  }
}

.welcome-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* overlay for contrast */
  z-index: 1;
}

.welcome-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
}

.welcome-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.welcome-content p {
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .welcome-content h1 {
    font-size: 2rem;
  }

  .welcome-content p {
    font-size: 1.1rem;
  }
}
/* ✅ Desktop Background Adjustments */
.welcome-section {
  background-size: 100%;
  background-position: center top;
}

/* ✅ Mobile-Responsive Welcome Section */
@media (max-width: 768px) {
  .welcome-section {
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    padding: 2rem 1rem;
    height: auto;
    min-height: 100vh;
  }

  .welcome-content {
    padding: 2rem 1rem;
  }

  .welcome-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .welcome-content p {
    font-size: 1rem;
    line-height: 1.5;
  }
}
/* === Products Page Layout === */
.products-page {
  padding: 2rem 1rem;
}

.products-page h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.products-page h3 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

/* === Product Grid === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

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

.product-info {
  padding: 1rem;
  text-align: center;
}

.product-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.product-info .price {
  font-weight: bold;
  color: #00796b;
  font-size: 1.1rem;
}

.btn-add-cart {
  background: #00796b;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  margin: 1rem auto;
  display: block;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-add-cart:hover {
  background: #004d40;
}

@media (max-width: 768px) {
  .product-card img {
    height: 160px;
  }

  .product-info h4 {
    font-size: 1rem;
  }

  .product-info .price {
    font-size: 1rem;
  }
}
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 2rem;
}

.container.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo a {
  font-size: 1.6rem;
  font-weight: bold;
  color: #00796b;
  text-decoration: none;
}

.header-right {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.auth-links a {
  margin-right: 1rem;
  font-size: 0.95rem;
  text-decoration: none;
  color: #444;
}

.lang-switch {
  padding: 0.3rem;
  font-size: 0.9rem;
}

.notify-icon {
  font-size: 1.2rem;
  margin-left: 0.5rem;
}

.user-dropdown {
  position: relative;
}

.user-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 1.8rem;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  list-style: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li {
  margin: 0.5rem 0;
}

.dropdown-menu li a {
  text-decoration: none;
  color: #333;
}

.dropdown-menu li a:hover {
  color: #00796b;
}
.popup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-modal {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.4s ease;
  max-width: 300px;
}

.popup-modal h3 {
  margin-top: 0;
  color: #4CAF50;
}

.popup-modal p {
  margin: 1rem 0;
}

.btn-close-modal {
  background: #4CAF50;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown span {
  cursor: pointer;
  padding: 6px 12px;
  background: #f5f5f5;
  border-radius: 4px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 150px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.dropdown-menu li {
  list-style: none;
  border-bottom: 1px solid #eee;
}

.dropdown-menu li a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
}
.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 6px;
  overflow: hidden;
}

.order-table th, .order-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-size: 0.95rem;
}

.order-table th {
  background-color: #f4f4f4;
  font-weight: bold;
  color: #333;
}

.order-table tr:nth-child(even) {
  background-color: #fafafa;
}

.order-table tr:hover {
  background-color: #f0f0f0;
  cursor: pointer;
}
.floating-products-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #00796b;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-size: 0.95rem;
  z-index: 999;
  animation: glowPulse 2s infinite;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.floating-products-banner a {
  color: #ffeb3b;
  font-weight: bold;
  text-decoration: none;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 8px rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
  100% { box-shadow: 0 0 8px rgba(255, 255, 255, 0.2); }
}
.nav-menu li a {
  color: #fff !important;
}

.nav-menu li a:hover {
  color: #ffd700 !important;
}
.footer-modern {
  background-color: #111;
  color: #ddd;
  padding: 2.5rem 1rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand h2 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    margin-top: 1.5rem;
  }
}
.trending-slider {
  margin: 4rem auto;
  text-align: center;
}

.slider-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
}

.slider-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.slide {
  min-width: 180px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.slide img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.slide p {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem;
  background: #f4f4f4;
  margin: 0;
}

.slide:hover {
  transform: scale(1.05);
}
.quiz-cta {
  background: #f1f8f7;
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 4rem auto 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.quiz-cta h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #004d40;
}

.quiz-cta p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.quiz-cta .btn-primary {
  background-color: #00796b;
  color: #fff;
  padding: 0.75rem 1.6rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.quiz-cta .btn-primary:hover {
  background-color: #004d40;
}
.quiz-section { padding: 3rem 1rem; max-width: 600px; margin: auto; text-align: left; }
.quiz-question { margin-bottom: 1.8rem; }
.quiz-question h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.quiz-question label { font-size: 1rem; cursor: pointer; display: block; margin: .3rem 0; }
.quiz-section .btn-primary { display: block; margin-top: 1rem; }
.quiz-result { margin-top: 2rem; text-align: center; }
.result-card { background: #fff; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-radius: 8px; }
.result-card img { width: 100%; max-width: 300px; border-radius: 6px; margin: auto; display: block; }
.result-card h2 { margin: 1rem 0 .5rem; color: #004d40; }
.quiz-header {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.quiz-header-title h1 {
  font-size: 1.5rem;
  color: #333;
  margin: 0;
  text-align: center;
}

.quiz-header-links a {
  margin-left: 1rem;
  color: #00796b;
  text-decoration: none;
  font-weight: bold;
}

.quiz-header-links a:hover {
  text-decoration: underline;
}
.floating-products-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  font-weight: 500;
}

.floating-products-banner a {
  color: #00e5ff;
  text-decoration: underline;
  margin-left: 5px;
}

.floating-products-banner a:hover {
  text-decoration: none;
}
.contact-form {
  max-width: 500px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn-primary {
  background: #00796b;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.alert {
  padding: 0.75rem;
  margin: 0.75rem auto;
  max-width: 500px;
  border-radius: 4px;
  text-align: center;
}

.alert-success { background: #e0f2f1; color: #004d40; }
.alert-error   { background: #ffebee; color: #b71c1c; }

.floating-products-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  font-weight: 500;
}

.floating-products-banner a {
  color: #00e5ff;
  text-decoration: underline;
  margin-left: 5px;
}

.floating-products-banner a:hover {
  text-decoration: none;
}
.footer-modern {
  background-color: #111;
  color: #f1f1f1;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-brand,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-brand h2 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 0.6rem;
  border: 1px solid #333;
  background: #222;
  color: #fff;
  border-radius: 4px;
  font-size: 0.95rem;
}

.footer-contact-form button {
  background-color: #00796b;
  border: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.footer-contact-form button:hover {
  background-color: #005f55;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
}

/* Footer Mobile Optimization */
@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-row > div {
    width: 100%;
  }

  .footer-contact form input,
  .footer-contact form textarea {
    width: 100%;
  }

  .footer-links p,
  .footer-contact ul li {
    font-size: 0.9rem;
  }
}
/* === Compact Mobile Footer === */
@media (max-width: 768px) {
  .footer-modern .footer-container {
    display: block;
    text-align: center;
    padding: 2rem 1rem;
  }

  .footer-modern .footer-row {
    display: block;
  }

  .footer-modern .footer-row > div {
    margin-bottom: 1.5rem;
  }

  .footer-modern .footer-links,
  .footer-modern .footer-contact {
    display: block;
    margin-top: 1rem;
  }

  .footer-modern .footer-links h4,
  .footer-modern .footer-contact h4 {
    margin-bottom: 0.5rem;
  }

  .footer-modern .footer-links p,
  .footer-modern .footer-contact ul {
    margin: 0;
    line-height: 1.4;
  }

  .footer-modern .footer-contact-form input,
  .footer-modern .footer-contact-form textarea {
    width: 90%;
    margin: 0.5rem auto;
  }
}
.order-history {
  margin: 2.5rem 0;
  background: #f4f4f4;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.order-history h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.order-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.95rem;
}
.order-history {
  margin: 2rem auto;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 1.5rem;
}

.order-heading {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
}

.order-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #ddd;
  font-size: 0.95rem;
}

.order-item span {
  flex: 1;
  min-width: 90px;
}

.order-id {
  font-weight: bold;
  color: #444;
}

.order-product {
  text-align: left;
}

.order-total {
  color: #00796b;
  font-weight: 600;
  text-align: right;
}

.order-date {
  color: #777;
  font-size: 0.85rem;
  text-align: right;
}
.order-history { margin-bottom: 2rem; }
.order-status { font-style: italic; color: #00796b; margin-left: 0.5rem; }

/* Shorter hero section to reveal more content above the fold */
.welcome-section {
  min-height: 50vh; /* Reduce from full viewport height */
  display: flex;
  align-items: center;
}
.welcome-section {
  min-height: 40vh; /* You can change to 30vh if you want it even shorter */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
/* === Dark Mode Support === */
body.dark-mode {
  background: #121212;
  color: #f0f0f0;
}

body.dark-mode a {
  color: #bb86fc;
}

body.dark-mode .site-header,
body.dark-mode .site-nav,
body.dark-mode .site-footer,
body.dark-mode .product-card,
body.dark-mode .cart-table,
body.dark-mode .order-table,
body.dark-mode .footer-modern {
  background: #1e1e1e;
  color: #e0e0e0;
}

body.dark-mode .btn-primary,
body.dark-mode .btn-secondary {
  background: #333;
  color: #fff;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background: #2a2a2a;
  color: #e0e0e0;
  border: 1px solid #444;
}

/* Smooth theme transitions */
body,
header,
footer,
.product-card,
.cart-table,
.order-table {
  transition: background 0.3s, color 0.3s;
}
/* 🌙 DARK MODE STYLES */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

.dark-mode header,
.dark-mode footer,
.dark-mode .container,
.dark-mode .product-card,
.dark-mode .site-nav,
.dark-mode .welcome-section,
.dark-mode .checkout-wrapper {
  background-color: #1e1e1e !important;
  color: #e0e0e0 !important;
}

.dark-mode a {
  color: #80cbc4;
}

.dark-mode .btn-primary,
.dark-mode .btn-secondary {
  background-color: #333 !important;
  color: #fff !important;
  border: 1px solid #555;
}