:root {
  --primary: #015697;
  --primary-dark: #014785;
  --secondary: #e76f51;
  --accent: #f4a261;
  --dark: #333;
  --light: #fff;
  --gray: #6c757d;
  --success: #52b788;
  --danger: #dc3545;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --radius: 4px;
  --background-color: #ffffff;
  --text-color: #333333;
  --text-color-muted: #666666;
  --border-color: #e0e0e0;
  --accent-color: #4a90e2;
  --accent-color-rgb: 74, 144, 226;
  --card-background: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --background-color-hover: #f5f5f5;
  --accent-color-hover: #357abd;
  --light-text-primary: #000000;
  --light-text-secondary: #333333;
  --light-background: #ffffff;
  --light-card-bg: #f8f9fa;
  --light-border: #dee2e6;
  --dark-text-primary: #ffffff;
  --dark-text-secondary: #e0e0e0;
  --dark-background: #1a1a1a;
  --dark-card-bg: #2a2a2a;
  --dark-border: #404040;
  --primary-color: #007bff;
  --primary-hover: #0056b3;
  --dark-bg: #121212;
  --dark-shadow: rgba(0, 0, 0, 0.3);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--light-bg);
  color: var(--light-text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--light-card-bg);
  border-bottom: 1px solid var(--light-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-center {
  flex-grow: 1;
  max-width: 600px;
  margin: 0 2rem;
}

.search-container {
  width: 100%;
  padding: 10px 20px;
  background: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  box-sizing: border-box;
}

.search-bar {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 16px;
  background: var(--background-color);
  color: var(--text-color);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 5px rgba(var(--accent-color-rgb), 0.3);
}

.search-bar input::placeholder {
  color: var(--text-color-muted);
}

.search-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
}

.search-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-btn, .location-btn, .cart-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-btn, .language-btn, .cart-btn, #toggle-dark {
  color: var(--light-text);
}

.menu-btn:hover, .language-btn:hover, .cart-btn:hover, #toggle-dark:hover {
  color: var(--primary-color);
}

.cart-count {
  background: var(--danger);
  color: white;
  padding: 0.1rem 0.4rem;
  border-radius: 50%;
  font-size: 0.8rem;
  position: relative;
  top: -8px;
}

.hero {
  background: #f8f9fa;
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.hero-content h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin: 0;
}

.hero-content p {
  margin: 0.5rem 0;
  color: var(--dark);
}

.shipping-info {
  color: var(--gray);
  font-size: 0.9rem;
}

.sort-section {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-count {
  color: var(--gray);
  font-size: 0.9rem;
}

.sort-select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.book-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1400px;
  margin: 20px auto;
}

.book-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.book-item img {
  width: 100%;
  max-width: 160px;
  height: 240px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.book-name {
  font-size: 0.9rem;
  color: var(--primary);
  margin: 0.5rem 0;
  font-weight: normal;
  text-decoration: none;
  line-height: 1.4;
}

.book-author {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.book-name:hover {
  text-decoration: underline;
}

.book-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin: 0.5rem 0;
}

.original-price {
  text-decoration: line-through;
  color: var(--gray);
  font-size: 0.9rem;
}

.discounted-price {
  color: var(--dark);
  font-weight: bold;
  font-size: 1rem;
}

.add-to-cart-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  width: 100%;
  margin-top: 0.5rem;
}

.add-to-cart-btn:hover {
  background: var(--primary-dark);
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: var(--light-card-bg);
  z-index: 1001;
  transition: left 0.3s ease;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  border-right: 1px solid var(--light-border);
}

.side-menu.visible {
  left: 0;
}

.side-menu-header {
  padding: 1rem;
  background: var(--primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-menu-header h3 {
  margin: 0;
  color: var(--light-text);
  font-weight: 600;
}

.close-menu {
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.close-menu:hover {
  color: var(--primary-color);
}

.side-menu-content {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
}

.menu-item {
  padding: 0.8rem 1rem;
  color: var(--light-text);
  text-decoration: none;
  border-bottom: 1px solid var(--light-border);
  transition: all 0.2s ease;
}

.menu-item:hover, .menu-item.active {
  background: var(--primary-color);
  color: white;
}

/* Cart Styles */
.cart {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100%;
  background: white;
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart.visible {
  right: 0;
}

.cart-header {
  padding: 1rem;
  background: var(--primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  margin: 0;
}

.close-cart {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.cart-item-price {
  margin-bottom: 0.5rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.quantity-btn:hover {
  background: #e9ecef;
}

.remove-item {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.3rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.remove-item:hover {
  opacity: 1;
}

.cart-total {
  padding: 1rem;
  border-top: 1px solid #eee;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  background: #f8f9fa;
}

.cart-actions {
  padding: 1rem;
  background: white;
}

.checkout-btn {
  background: var(--success);
  color: white;
  border: none;
  padding: 1rem;
  width: 100%;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

.checkout-btn:hover {
  background: #449d76;
}

/* Mobile Search */
.mobile-search {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 998;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-search.visible {
  transform: translateY(0);
}

.mobile-search-bar {
  display: flex;
  gap: 0.5rem;
}

.mobile-search-bar input {
  flex-grow: 1;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.9rem;
  outline: none;
}

.mobile-search-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .nav-center {
    display: none;
  }

  .search-toggle {
    display: block;
  }

  .mobile-search {
    display: block;
  }

  .book-shelf {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
  }

  .book-item {
    padding: 0.5rem;
  }

  .book-item img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin-bottom: 1rem;
  }

  .book-name {
    font-size: 14px;
    margin: 8px 0;
  }

  .book-author {
    font-size: 12px;
    margin: 4px 0;
  }

  .sort-section {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .results-count {
    font-size: 14px;
  }

  .price {
    font-size: 14px;
  }

  .add-to-cart {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .book-item img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .add-to-cart-btn {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

body.dark .book-item {
  background: #2d3436;
  color: var(--light);
}

body.dark .book-item img {
  background: #2d3436;
}

body.dark .cart {
  background: #2d3436;
  color: var(--light);
}

body.dark .cart-item {
  border-color: #404040;
}

body.dark .cart-total {
  border-color: #404040;
}

[data-theme="dark"] {
  --background-color: var(--dark-bg);
  --text-color: var(--dark-text);
  --text-color-muted: var(--dark-text-secondary);
  --border-color: var(--dark-border);
  --accent-color: var(--primary-color);
  --accent-color-hover: var(--primary-hover);
  --accent-color-rgb: var(--primary-color-rgb);
  --card-background: var(--dark-card-bg);
  --shadow-color: var(--dark-shadow);
  --background-color-hover: var(--dark-background);
  --primary: var(--primary-color);
  --primary-dark: var(--primary-hover);
  --gray: var(--dark-text-secondary);
}

/* Book Card Styles */
.book-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.book-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--background-color);
  display: block;
}

.book-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.book-info h3 {
  color: var(--text-color);
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.book-author {
  color: var(--text-color-muted);
  font-size: 0.9rem;
  margin: 0;
}

.price {
  font-weight: bold;
  color: var(--accent-color);
  font-size: 1.2rem;
  margin: 8px 0;
}

.add-to-cart {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
  font-weight: 500;
}

.add-to-cart:hover {
  background: var(--accent-color-hover);
}

/* Language Selector */
.language-selector {
  position: relative;
  margin-right: 15px;
}

.language-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.language-btn:hover {
  background: var(--background-color-hover);
}

.language-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: 6px;
  padding: 5px 0;
  margin-top: 5px;
  box-shadow: 0 2px 8px var(--light-shadow);
  display: none;
  z-index: 1000;
}

.language-options.show {
  display: block;
}

.language-option {
  padding: 8px 15px;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text-color);
}

.language-option:hover {
  background: var(--primary-color);
  color: white;
}

/* Logo Styles */
.navbar h1 {
  color: var(--light-text);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .book-card {
    padding: 10px;
    margin: 0;
  }

  .book-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 8px;
  }

  .book-info {
    padding: 0 5px;
  }

  .book-info h3 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 4px;
  }
}

/* Category Header Styles */
.category-header {
  text-align: center;
  padding: 30px 20px;
  background: var(--background-color);
  border-bottom: 1px solid var(--border-color);
}

.category-header h2 {
  color: var(--text-color);
  font-size: 2rem;
  margin: 0 0 10px;
}

.category-header p {
  color: var(--text-color-muted);
  font-size: 1.1rem;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Styles */
.filters {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  justify-content: center;
}

.filter-select {
  padding: 8px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--card-background);
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  min-width: 150px;
}

.filter-select:hover {
  border-color: var(--accent-color);
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(var(--accent-color-rgb), 0.2);
}

/* Active Menu Item */
.menu-item.active {
  background: var(--accent-color);
  color: white;
}

.menu-item.active:hover {
  background: var(--accent-color-hover);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .category-header {
    padding: 20px 15px;
  }

  .category-header h2 {
    font-size: 1.5rem;
  }

  .category-header p {
    font-size: 0.9rem;
  }

  .filters {
    flex-direction: column;
    padding: 15px;
    gap: 10px;
  }

  .filter-select {
    width: 100%;
    padding: 10px;
  }

  .book-shelf {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .book-card {
    margin: 0;
  }
}

/* Logo and Text Styles */
.navbar h1 {
  color: var(--light-text);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

/* Book Card Improvements */
.book-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.book-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.book-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.book-info h3 {
  color: var(--text-color);
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.book-author {
  color: var(--text-color-muted);
  font-size: 0.9rem;
  margin: 0;
}

.price {
  font-weight: bold;
  color: var(--accent-color);
  font-size: 1.2rem;
  margin: 8px 0;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--success);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transform: translateX(120%);
  transition: transform 0.3s ease-in-out;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification.show {
  transform: translateX(0);
}

.notification .check-icon {
  font-size: 20px;
}

/* Navigation Styles */
.nav-menu {
  display: flex;
  gap: 2rem;
  margin: 0 2rem;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background-color: var(--background-color-hover);
}

.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Order Page Styles */
.order-page {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.order-page h1 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.step {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.step h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-info {
  text-align: center;
  margin-top: 4rem;
}

.contact-info h2 {
  color: var(--text-color);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-method:hover {
  background: var(--primary-hover);
}

.contact-method i {
  font-size: 1.5rem;
}

/* Contact Page Styles */
.contact-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.contact-container h2 {
  color: #000000 !important;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-container > p {
  color: #000000 !important;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-link {
  text-decoration: none;
  color: inherit;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: var(--light-background);
  padding: 0.8rem;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
}

.contact-method:hover i {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: var(--primary-color);
  color: white;
}

.contact-info h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #000000 !important;
  font-weight: 600;
}

.contact-info p {
  margin: 0.3rem 0 0 0;
  color: #000000 !important;
  font-size: 0.95rem;
  opacity: 0.8;
}

.business-hours {
  background: var(--light-card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid var(--light-border);
}

.business-hours h3 {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  color: #000000 !important;
  font-weight: 600;
}

.business-hours p {
  margin: 0.5rem 0;
  color: #000000 !important;
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Dark Theme Colors */
:root {
    /* Dark Theme Base Colors */
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --dark-surface-hover: #2a2a2a;
    --dark-border: #333333;
    --dark-border-hover: #404040;
    
    /* Dark Theme Text Colors */
    --dark-text: #ffffff;
    --dark-text-secondary: #cccccc;
    --dark-text-muted: #999999;
    
    /* Dark Theme Accent Colors */
    --dark-primary: #4dabff;
    --dark-primary-hover: #66b5ff;
    
    /* Dark Theme Shadows */
    --dark-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --dark-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.5);
    --dark-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.6);
}

/* Dark Theme Base Styles */
[data-theme="dark"] {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* Dark Theme Navigation */
[data-theme="dark"] .navbar {
    background-color: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
    box-shadow: var(--dark-shadow-sm);
}

[data-theme="dark"] .navbar h1 {
    color: var(--dark-text);
}

[data-theme="dark"] .menu-btn,
[data-theme="dark"] .language-btn,
[data-theme="dark"] .cart-btn,
[data-theme="dark"] #toggle-dark {
    color: var(--dark-text);
}

[data-theme="dark"] .menu-btn:hover,
[data-theme="dark"] .language-btn:hover,
[data-theme="dark"] .cart-btn:hover,
[data-theme="dark"] #toggle-dark:hover {
    color: var(--dark-primary);
}

/* Dark Theme Side Menu */
[data-theme="dark"] .side-menu {
    background-color: var(--dark-surface);
    border-right: 1px solid var(--dark-border);
    box-shadow: var(--dark-shadow-md);
}

[data-theme="dark"] .side-menu-header {
    border-bottom: 1px solid var(--dark-border);
}

[data-theme="dark"] .side-menu-header h3 {
    color: var(--dark-text);
}

[data-theme="dark"] .close-menu {
    color: var(--dark-text);
}

[data-theme="dark"] .close-menu:hover {
    color: var(--dark-primary);
}

[data-theme="dark"] .menu-item {
    color: var(--dark-text);
    border-bottom: 1px solid var(--dark-border);
}

[data-theme="dark"] .menu-item:hover,
[data-theme="dark"] .menu-item.active {
    background-color: var(--dark-primary);
    color: var(--dark-text);
}

/* Dark Theme Contact Page */
[data-theme="dark"] .contact-container h2,
[data-theme="dark"] .contact-container > p,
[data-theme="dark"] .contact-info h3,
[data-theme="dark"] .contact-info p,
[data-theme="dark"] .business-hours h3,
[data-theme="dark"] .business-hours p {
    color: #000000 !important;
}

/* Dark Theme Language Selector */
[data-theme="dark"] .language-options {
    background-color: var(--dark-surface);
    border: 1px solid var(--dark-border);
    box-shadow: var(--dark-shadow-md);
}

[data-theme="dark"] .language-option {
    color: var(--dark-text);
}

[data-theme="dark"] .language-option:hover {
    background-color: var(--dark-primary);
    color: var(--dark-text);
}

/* Dark Theme Search Bar */
[data-theme="dark"] .search-container {
    background-color: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
}

[data-theme="dark"] .search-bar input {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
}

[data-theme="dark"] .search-bar input:focus {
    border-color: var(--dark-primary);
    box-shadow: 0 0 0 2px rgba(77, 171, 255, 0.2);
}

/* Dark Theme Hero Section */
[data-theme="dark"] .hero {
    background-color: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
}

[data-theme="dark"] .hero-content h2 {
    color: var(--dark-text);
}

[data-theme="dark"] .hero-content p {
    color: var(--dark-text-secondary);
}

/* Dark Theme Transitions */
[data-theme="dark"] * {
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}
