:root {
  --primary-color: #c41e3a;
  --secondary-color: #e74c3c;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --gold-color: #f39c12;
  --text-dark: #333;
  --text-light: #666;
  --border-color: #ddd;
  --success-color: #27ae60;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

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

header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo svg {
  width: 40px;
  height: 40px;
}

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

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

nav a:hover,
nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.cart-icon {
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.cart-icon:hover {
  transform: scale(1.1);
}

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

.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('attached_assets/stock_images/turkish_restaurant_e_bb3fffa5.jpg') center/cover;
  color: white;
  padding: 8rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background-color: #e67e22;
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--gold-color));
  border-radius: 2px;
}

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

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.product-info {
  padding: 1.5rem;
}

.product-category {
  color: var(--text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-name {
  font-size: 1.3rem;
  margin: 0.5rem 0;
  color: var(--dark-color);
}

.product-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

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

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

.add-to-cart-btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
}

.features {
  background-color: var(--light-color);
}

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

.feature-item {
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.feature-item h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-item p {
  color: var(--text-light);
}

.search-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 250px;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
}

.filter-select {
  padding: 0.8rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.thumbnail-images {
  display: flex;
  gap: 1rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary-color);
}

.product-details-info h1 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  color: var(--gold-color);
}

.product-details-info .product-price {
  font-size: 2rem;
  margin: 1.5rem 0;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.quantity-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.quantity-input {
  width: 60px;
  text-align: center;
  padding: 0.5rem;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1.1rem;
}

.cart-container {
  max-width: 1000px;
  margin: 2rem auto;
}

.cart-items {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

.cart-item-info h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.cart-item-price {
  text-align: right;
}

.item-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  display: block;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--secondary-color);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.remove-btn:hover {
  color: var(--primary-color);
}

.cart-summary {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  border-bottom: none;
  padding-top: 1.5rem;
}

.checkout-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-cart svg {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.empty-cart h2 {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.thank-you-container {
  max-width: 600px;
  margin: 4rem auto;
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  color: var(--success-color);
}

.thank-you-container h1 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.order-details {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  text-align: left;
}

.order-details p {
  margin: 0.5rem 0;
  color: var(--text-dark);
}

footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--gold-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--light-color);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  margin: 0.5rem 0;
}

.footer-section a:hover {
  color: var(--gold-color);
}

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

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--light-color);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
  }
  
  .main-image {
    height: 300px;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  nav a {
    padding: 0.3rem 0.7rem;
    font-size: 0.9rem;
  }
  
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }
  
  .cart-item-price {
    grid-column: 2;
    text-align: left;
    margin-top: 1rem;
  }
  
  .search-filter {
    flex-direction: column;
  }
  
  .search-box {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
  
  .header-content {
    justify-content: center;
  }
  
  nav ul {
    width: 100%;
    justify-content: center;
  }
}
