
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
}

html {
  scroll-behavior: smooth;
}


:target::before {
  content: "";
  display: block;
  height: 80px; 
  margin-top: -80px;
}


body {
  font-family: 'Helvetica', sans-serif;
  background-color: #f2f6f3;
  color: #111;
}

/* Container */
.container {
  width: 100%;
  padding: 0;
  margin: 0;
}

.header {
  background-color: #e0e4dc;
  padding: 20px 40px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}


.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  border: 2px solid #333;
  border-radius: 6px;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.hamburger:hover {
  background-color: #eee;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
  }

  nav.show {
    display: block;
    margin-top: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  nav ul li a {
    padding: 10px 0;
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
  }

  nav ul li a:hover {
    background-color: #f0f0f0;
    border-radius: 10px;
    font-weight: 500;
  }
}

.navbar .logo {
    font-family: 'Times New Roman', Times, serif;
  font-size: 36px;
  font-weight: bold;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar nav ul li a {
  text-decoration: none;
  color: #111;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 400;
  font-size: 20px;
  transition: color 0.3s;
}

.navbar nav ul li a:hover {
    font-weight: 800;
  color: #555;
}

.icons input[type="search"] {
  padding: 5px 10px;
  margin-right: 10px;
}

.icons span {
  font-size: 20px;
  margin-left: 10px;
  cursor: pointer;
}

/* Hero Section */


.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e0e4dc;
  padding: 60px 40px;
  position: relative;
  overflow: hidden; 
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-start; 
  margin-left: 180px; 
}

.hero-image img {
  width: 460px;  
  max-width: none;
  z-index: 1;
  transform: scale(1.1); 
}


.hero-text {
  max-width: 50%;
  font-family: 'Times New Roman', Times, serif;
  
}

.hero-text .subheading {
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-family: 'Times New Roman', Times, serif;
}

.hero-text .price {
  font-size: 24px;
  margin-bottom: 20px;
  font-family: 'Times New Roman', Times, serif;
}

.hero-text button {
  padding: 10px 20px;
  border: 1px solid #111;
  background-color: transparent;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
}

.hero-text button:hover {
  padding: 10px 20px;
  border: 1px solid #f5ecec;
  color: white;
  background-color: black;
  cursor: pointer;
  font-weight: bold;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    justify-content: center;
    margin-left: 0;
  }

  .hero-image img {
    width: 90%;
    transform: none;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 20px;
  }
}


/* .categories*/

.categories {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.categories h1 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Times New Roman', Times, serif;
}

.categories p {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.categories nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
}

.categories nav ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  color: #333;
  transition: transform 0.2s ease-in-out;
}

.categories nav ul li:hover {
  transform: scale(1.05);
}

.categories nav ul li img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .categories nav ul {
    flex-direction: column;
    align-items: center;
  }
}

.slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  max-width: 100%;
  margin-top: 30px;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scrollSlider 30s linear infinite;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.slider-track li {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  font-size: 14px;
  color: #333;
  transition: transform 0.3s ease;
}

.slider-track li:hover {
  transform: scale(1.05);
}

.slider-track li img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* @media (max-width: 768px) {
  .slider-track {
    animation: none;
    flex-direction: column;
    align-items: center;
    width: 350px;
    justify-content: center;
  }
} */

@media (max-width: 768px) {
  .slider-track:hover {
    /* animation: none;
    flex-direction: column;
    align-items: center;
    width: 300px;
    justify-content: center; */
    transform: scale(1.05);
  }
}






/* description */

 .description {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
  line-height: 1.6;
}

.description h1 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.description p {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: justify;
}

.description button {
  padding: 10px 25px;
  background-color: transparent;
  border: 1px solid #111;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.description button:hover {
  background-color: #111;
  color: #fff;
}

/* items */

.items {
  text-align: center;
  padding: 60px 20px;
}

.items h1 {
  font-size: 28px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.items p {
  color: #555;
  font-size: 14px;
  margin-bottom: 20px;
}

.items-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.items .right {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3x3 grid */
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 1200px;
}

.items .right li {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.items .right li:hover {
  border: 2px solid #00aaff;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 170, 255, 0.15);
}


.items .right img {
  width: 100%;
  max-width: 250px;
  height: 250px;            
  object-fit: cover;        
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.items .right .item-title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.items .right .price {
  color: goldenrod;
  font-size: 16px;
  font-weight: 500;
  margin-top: 5px;
}


@media (max-width: 992px) {
  .items .right {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 600px) {
  .items .right {
    grid-template-columns: 1fr; 
  }
}

/*menu */

.menu {
  padding: 60px 40px;
  background-color: #fff;
}

.menu-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f6f7f4;
  border-radius: 10px;
  overflow: hidden;
}

.menu .left {
  width: 50%;
  padding: 40px;
  background-color: #eaece5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.menu .left h1 {
  font-size: 24px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.menu .left p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.menu .left button {
  padding: 10px 20px;
  background-color: #f4c542;
  border: none;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menu .left button:hover {
  background-color: #e2b832;
}

.items .right li:hover {
  border: 2px solid #00aaff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 170, 255, 0.3);
  transform: scale(1.03);
  transition: all 0.3s ease;
}


.menu .right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.menu .right img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .menu-content {
    flex-direction: column;
  }

  .menu .left,
  .menu .right {
    width: 100%;
    text-align: center;
  }

  .menu .left {
    padding: 30px 20px;
  }
}

/*footer*/
.footer {
  background-color: #f7f7f7;
  padding: 60px 40px;
  font-family: 'Helvetica', sans-serif;
  color: #222;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-left h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-left p {
  font-size: 14px;
  margin: 5px 0;
  color: #555;
}

.footer-right {
  flex: 2;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 150px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #00aaff;
}
