:root {
  --primary: #2D4263;
  --secondary: #FFF5E1;
  --accent: #B87333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  direction: rtl;
}

body {
  background-color: var(--secondary);
  font-family: 'Hind', sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Roboto Condensed', sans-serif;
}

h4, h5, h6, nav {
  font-family: 'Lato', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
header {
  background-color: var(--primary);
  color: var(--secondary);
  padding: 1rem 0;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-image {
  position: relative;
  width: 50px;
  height: 50px;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a:hover {
  color: var(--accent);
  transition: color 0.3s;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent);
  color: white;
  font-size: 0.75rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-button {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  color: var(--secondary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 66, 99, 0.7);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--secondary);
}

.btn-secondary:hover {
  opacity: 0.9;
}

/* Featured Products */
.featured-products {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

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

.product-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 200px;
  width: 100%;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  padding: 1rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.product-description {
  color: #666;
  margin-bottom: 1rem;
}

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

.product-price {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.product-link {
  color: var(--primary);
}

.product-link:hover {
  text-decoration: underline;
}

/* 3D Viewer Section */
.viewer-3d {
  background-color: var(--primary);
  padding: 4rem 0;
  color: var(--secondary);
}

.viewer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.viewer-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.viewer-content p {
  margin-bottom: 2rem;
}

/* Delivery Section */
.delivery-section {
  padding: 4rem 0;
  background-color: var(--secondary);
}

.delivery-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.delivery-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.delivery-list {
  list-style: none;
}

.delivery-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.store-info p {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--secondary);
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo-image {
  width: 60px;
  height: 60px;
}

.footer-logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-about p {
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--accent);
  transition: color 0.3s;
}

.contact-list {
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link:hover {
  color: var(--accent);
  transition: color 0.3s;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-button {
    display: block;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .viewer-container {
    grid-template-columns: 1fr;
  }
  
  .delivery-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background-color: var(--primary);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem;
  border-radius: 0.375rem;
}

.mobile-menu a:hover {
  background-color: var(--accent);
}
