/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --background: #f3f4f6;
  --white: #ffffff;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.search-container {
  flex: 0 1 500px;
  position: relative;
}

.search-container::before {
  content: '🔍';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

#searchInput {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f9fafb;
}

#searchInput:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #f3f4f6;
  color: var(--primary-color);
}

.nav-links a[aria-current='page'] {
  background-color: #eff6ff;
  color: var(--primary-color);
  font-weight: 600;
}

/* Main Content */
main {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 2rem;
  flex: 1;
}

.deals-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.date-section h2 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.75rem;
  font-weight: 700;
  position: relative;
  padding-left: 1rem;
}

.date-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
  background-color: #f9fafb;
}

.product-card h3 {
  margin: 0.75rem 0;
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.price {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: 0.5rem 0;
}

.product-code {
  color: var(--text-light);
  font-size: 0.875rem;
  background-color: #f3f4f6;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  margin-top: auto;
}

/* About Page */
.about-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.about-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Contact Page */
.contact-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #1f2937;
  color: var(--white);
  padding: 3rem 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-links {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.social-links a {
  color: #e5e7eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.img{
  float: left;
  width:143px;
  height:156px;
  margin-right:30px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  gap: 10px; /* Add spacing between elements */
  font-family: 'Arial', sans-serif;
}

.pagination a {
  text-decoration: none;
  color: white;
  background-color: #007bff; /* Primary blue color */
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination a:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: scale(1.05); /* Slight zoom effect */
}

.pagination a.prev {
  margin-right: auto; /* Align the "Previous" button to the left */
}

.pagination a.next {
  margin-left: auto; /* Align the "Next" button to the right */
}

.pagination span {
  font-size: 14px;
  font-weight: bold;
  color: #333; /* Neutral color for the page indicator */
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f8f9fa;
}

.pagination a.disabled {
  pointer-events: none; /* Disable clicks */
  background-color: #ccc; /* Greyed-out button */
  color: #666;
  cursor: not-allowed;
}

.pagination a.disabled:hover {
  transform: none; /* No hover effect on disabled */
}
.search-container {
  position: relative;
  display: inline-block;
}

#searchInput {
  width: 100%;
 /* Space for the paste button */
  box-sizing: border-box;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f9fafb;
}

.paste-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
}
/* Responsive Design */
@media (max-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .search-container {
    width: 100%;
    max-height: min-content;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-page,
  .contact-page {
    padding: 1rem;
  }

  main {
    padding: 0 1rem;
    margin: 2rem auto;
  }

  .products-grid {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none; /* Hide links by default */
    flex-direction: column;
    align-items: center;
    background-color: #333;
    position: fixed; /* Full overlay */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    z-index: 10;
    padding: 0; /* Remove padding */
  }

  .nav-links.active {
    display: flex; /* Show links when active */
  }

  .nav-links a {
    text-align: center;
    color: white;
    padding: 15px;
    text-decoration: none;
    font-size: 18px;
    width: 100%;
  }

  .hamburger {
    display: flex;
    cursor: pointer;
    padding: 10px;
    position: fixed; /* Ensure it stays fixed */
    top: 15px;
    right: 15px;
    z-index: 11; /* Keep above nav-links */
    background-color: transparent; /* Transparent background */
  }

  /* Replace the three bars with the uploaded PNG icon */
  .hamburger img {
    width: 30px; /* Adjust icon width */
    height: auto; /* Maintain aspect ratio */
  }

  body.nav-active {
    overflow: hidden; /* Prevent scrolling when menu is open */
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
@media (min-width: 481px) {
  .hamburger {
    display: none; /* Hide the hamburger menu for larger screens */
  }

  .nav-links {
    display: flex; /* Ensure nav links are visible for larger screens */
    flex-direction: row;
    gap: 1rem; /* Add spacing between links */
    position: static; /* Reset positioning for desktop view */
    background-color: transparent; /* No background for nav links */
    width: auto;
    height: auto;
    justify-content: flex-end; /* Align links to the right (optional) */
  }
}


