:root {
  --primary: #e41e26;
  --primary-light: #ff6b6b;
  --primary-dark: #c41016;
  --secondary: #ffa500;
  --text-dark: #333;
  --text-light: #777;
  --white: #fff;
  --light-bg: #f9f9f9;
  --gray-bg: #f1f1f1;
  --border-color: #ddd;
  --shadow: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn, .btn-primary, .btn-secondary, .btn-large {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-large {
  padding: 12px 30px;
  font-size: 1.1rem;
}

.btn:hover, .btn-link:hover {
  background-color: var(--primary-light);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-view {
  color: var(--primary);
  font-weight: 600;
}

.btn-add {
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add:hover {
  background-color: var(--primary-dark);
}

/* Header */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 5px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.logo img {
  max-height: 60px;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
}

.cart-icon {
  position: relative;
  margin-right: 20px;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary);
  color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.user-menu {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 5px 10px var(--shadow);
  border-radius: 4px;
  width: 200px;
  z-index: 10;
  display: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.user-menu:hover .dropdown-menu {
  display: block;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Sections */
section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

/* Order Options */
.order-options {
  background-color: var(--light-bg);
}

.options-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.option-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.option-card:hover {
  transform: translateY(-10px);
}

.option-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.option-card h3 {
  margin-bottom: 15px;
}

.option-card p {
  margin-bottom: 25px;
  color: var(--text-light);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-details {
  padding: 20px;
}

.product-category {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.product-actions {
  padding: 0 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-all {
  text-align: center;
  margin-top: 40px;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  position: relative;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
}

.category-image {
  height: 100%;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--white);
  margin: 0;
  text-align: center;
}

/* About Preview */
.about-preview {
  background-color: var(--light-bg);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
}

/* Testimonials */
.testimonials-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.testimonials-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.testimonial-item {
  min-width: 300px;
  flex: 0 0 calc(33.333% - 20px);
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  padding: 30px;
  margin-right: 20px;
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
}

.author-name {
  font-weight: 600;
}

.author-rating {
  color: var(--secondary);
  margin-top: 5px;
}

/* Footer */
.site-footer {
  background-color: #222;
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-logo img {
  max-height: 60px;
  margin-bottom: 20px;
}

.footer-links h3, .footer-contact h3, .app-download h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  margin-bottom: 15px;
  color: #aaa;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary);
}

.btn-install {
  background-color: var(--white);
  color: var(--text-dark);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-install:hover {
  background-color: var(--primary);
  color: var(--white);
}

.copyright {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  color: #aaa;
}

/* Install Prompt */
.install-prompt {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -5px 15px var(--shadow);
  padding: 20px;
  transition: bottom 0.5s ease;
  z-index: 1000;
}

.install-prompt.show {
  bottom: 0;
}

.prompt-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.prompt-buttons {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.btn-primary, .btn-secondary {
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

/* Notifications */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 4px;
  box-shadow: 0 5px 10px var(--shadow);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 15px var(--shadow);
  transition: right 0.3s ease;
  z-index: 200;
  overflow-y: auto;
}

.mobile-menu ul {
  list-style: none;
  padding: 20px 0;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu a {
  display: block;
  padding: 15px 20px;
  color: var(--text-dark);
}

.mobile-menu a:hover {
  background-color: var(--light-bg);
}

body.menu-open .mobile-menu {
  right: 0;
}

body.menu-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
}

/* Responsive */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .testimonial-item {
    flex: 0 0 calc(50% - 20px);
  }
  
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .testimonial-item {
    flex: 0 0 calc(100% - 20px);
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}