:root {
  --primary: #F58546;
  --secondary: #F58546;
  --accent: #FFC636;
  --background: #FFFBF7;
  --text: #333333;
}

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

body {
  /* font-family: 'Alfa Slab One', 'Lato', sans-serif; */
  background-color: var(--background);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
}

.nav-logo {
  height: 6rem;
  border-radius: .5rem;
}

.quantity-control-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quantity-control {
  display: flex;
  flex-direction: row; 
  align-items: center;
  gap: .5rem; 
}

.quantity-btn {
  padding: .3rem .6rem;
  font-size: 1rem;
  margin: 0;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 4px;
}

.quantity-btn:hover {
  background-color: #e0e0e0;
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity {
  font-size: 1rem;
  margin: 0.2rem 0;
}

.quantity-change {
  animation: quantityChange 1s;
}

.remove-item {
  display: block;
  margin-top: .5rem;
  height: 2rem;
  width: 6rem;
  font-size: .9rem;
  background-color: #ff4d4f;
  color: white;
  border: none;
  border-radius: .5rem;
  cursor: pointer;
  transition: 1s;
}

.remove-item:hover {
  background-color: #e60000;
}

@keyframes quantityChange {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); color: #f44336; }
  100% { transform: scale(1); }
}

.menu-category-title {
  margin-top: 5rem;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: black;
  text-align: center;
}

.menu-categories {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-btn {
  background: none;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  padding: .5rem 1rem;
  border-radius: .5rem;
  transition: 1s;
}

.category-btn.active {
  background-color: #F58546;
  color: white;
}

.category-btn:hover:not(.active) {
  color: wheat;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.item-title {
  margin-top: -2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.item-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ff6b35;
}

.item-image {
  position: relative; 
}

.sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #e53935; 
  color: white;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 4px;
  z-index: 1; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sale-badge.new {
  background-color: #4CAF50; 
}

.sale-badge.hot {
  background-color: #FF9800;
}

.sale-badge.limited {
  background-color: #9C27B0; 
}

@media (max-width: 768px) {
  .cart-container {
      width: 100%;
  }
  .products {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}


/* Hero Section */

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/bg3.jpg') no-repeat center center/cover;
  height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: wheat;
  padding: 0 1rem;
}

.hero h1 {
  font-family: 'Alfa Slab One';
  letter-spacing: 1rem;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.4rem;
  max-width: 600px;
  color: beige;
  margin-bottom: 2rem;
}

.btn {
  background-color: #F58546;
  color: white;
  padding: .8rem 2rem;
  border: none;
  border-radius: .5rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: 1s;
  text-decoration: none;
}

.btn:hover {
  background-color: #e25a2a;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-left: 4rem;
    margin-right: 4rem;
    position: relative;
    margin-bottom: -5rem;
}

h1 {
    font-size: 2rem;
}

.header-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1.4rem;
    font-weight: 500;
    transition: 1s;
}

.nav-links a:hover {
    color: #F58546;;
}

.nav-menu-btn {
    display: none;
}

.cart-icon {
  cursor: pointer;
  font-size: 2rem;
  position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform 0.2s;
}

.cart-container {
    position: fixed;
    top: 0;
    right: -500px; 
    width: 350px;
    max-width: 100%;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: 1s;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-container.open {
    right: 0; 
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

#closeCart {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.cart-items {
  padding: 20px;
}

.empty-cart-message {
  text-align: center;
  padding: 20px;
  color: #777;
}

.cart-summary {
  padding: 20px;
  border-top: 1px solid #eee;
}

.cart-total {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}


/* Hero Section */

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/specials.jpg') no-repeat center center/cover;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  margin-top: 80px;
}

.hero h1 {
  font-family: 'Alfa Slab One';
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.4rem;
  max-width: 600px;
  margin-bottom: 30px;
}


.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-left: 5rem;
    margin-right: 5rem;
  }
  
  .product-card {
      border: 1px solid #eee;
      border-radius: .5rem;
      padding: 1.5rem;
      transition: 1s;
  }
  
  .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .product-image {
      width: 100%;
      height: 350px;
      object-fit: contain;
      border-radius: .5rem;
      margin-bottom: 1rem;
  }
  
  .product-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: .5rem;
  }
  
  .product-price {
    font-size: 16px;
    color: #4CAF50;
    margin-bottom: 15px;
  }
  
  .product-description {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  @media (max-width:768px) {
    .products {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
      margin-left: .8rem;
   
    }
    .product-card {
        border: 1px solid #eee;
        border-radius: .5rem;
        padding: 1.5rem;
        transition: 1s;
        
    }
  }

  .section-title {
    margin-top: 3rem;
    letter-spacing: .2rem;
    font-family: 'Alfa Slab One', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
  }

  .prev-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 10px;
  }

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

  .price {
    font-family: 'Pridi', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #ff6b35;
  }
  
  .add-to-cart {
    background-color: #ff6b35;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    margin-left: 5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .add-to-cart:hover {
    background-color: #e55a29;
  }

  .special-description {
    color: black;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
  }

  .section-title {
    font-family: 'Alfa Slab One', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
  }
  
  .limited-time {
    margin-top: 3.5rem;
    background-color: #f2f2f2;
    padding: 80px 0;
  }

.limited-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.limited-content {
  display: flex;
  align-items: center;
}

.limited-image {
  flex: 1;
  min-height: 500px;
  background: url('images/buffalowings.png') no-repeat center center/cover;
}

.limited-details {
  flex: 1;
  padding: 40px;
}

.limited-tag {
  display: inline-block;
  background-color: #ff6b35;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.limited-title {
  font-family: 'Alfa Slab One', cursive;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

.limited-description {
  color: #666;
  margin-bottom: 20px;
}

.limited-timer {
  display: flex;
  margin-bottom: 20px;
}

.timer-item {
  text-align: center;
  margin-right: 15px;
}

.timer-number {
  background-color: #333;
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.timer-label {
  font-size: 0.8rem;
  color: #666;
}

.get-it-btn {
  background-color: #ff6b35;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.get-it-btn:hover {
  background-color: #e55a29;
} 


@media (max-width:768px) {
  .limited-container {
   margin-left: .5rem;
   margin-right: .5rem;

  }
}
  
/* Footer */

.footer {
  position: relative;
  background-image: url("images/footer.png");
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
  padding-top: 5rem;
  margin-top: 4rem;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); 
  z-index: 0;
}

.footer-container {
  margin-left: 4rem;
  position: relative;
  z-index: 1;
}

.footer-content-grid {
  display: grid;
  padding-bottom: 3rem;
  grid-template-columns: 1fr 2fr;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-img {
  border-radius: .5rem;
  height: 6rem;
  margin-bottom: 1rem;
}

.footer-description {
  width: 100%;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.4;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  background: rgba(255, 255, 255, 0.1);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: 1s;
}

.footer-socials a:hover {
  background: #F58546;
  transform: translateY(-3px);
}

.footer-links-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-links-column-1 {
  margin-left: 6rem;
}

.footer-links-column-2 {
  margin-left: 10.5rem;
  width: 100%;
}

.footer-links-column-1 h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-column-2 h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-column-1 h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40px;
  background-color: #F58546;
}

.footer-links-column-2 h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40px;
  background-color: #F58546;
}

.footer-links-container .footer-connect {
  font-size: 1.5rem;
}

.footer-menu, .footer-contact {
  list-style: none;
  line-height: 1.5;
  width: 120%;
  padding: 0;
  margin: 0;
}

.footer-links-column-2 .footer-newsletter {
  font-size: 1.7rem;
}

.footer-links-column-2 .newsletter-tagline {
  font-size: 1.4rem;
}

.footer-menu li, .footer-contact li {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.footer-menu a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  transition: 1s;
}

.footer-menu a:hover {
  opacity: 1;
  color: #F58546;
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: center;
}

.footer-contact span {
  margin-right: 10px;
  width: 20px;
  display: inline-flex;
  justify-content: center;
  color: #F58546;
}

.footer-subscribe {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-subscribe input {
  padding: 12px;
  border-radius: 4px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-subscribe button {
  padding: 12px;
  border: none;
  background: #F58546;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: 1s;
}

.footer-subscribe button:hover {
  background: #F58546;
}

.footer-bar {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 0;
}

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

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: white;
  opacity: 0.7;
  text-decoration: none;
  transition: 1s;
}

.footer-legal a:hover {
  opacity: 1;
}


/* Media Queries */

@media (max-width:768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
}

@media (max-width:480px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .limited-content {
    flex-direction: column;
  }

  .limited-image {
    width: 100%;
    height: 250px;
  }
}


@media (max-width: 768px) {
  /* header {
    overflow-x: hidden;
  } */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: #F58546;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transform: translateX(100%);
    transition: 1s;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

    .nav-menu-btn {
      display: block;
      position: absolute;
      right: 4rem;
      z-index: 1001;
      font-size: 2.5rem;
      display: block;
      cursor: pointer;
    }
  
    .nav-links {
      z-index: 999;
  }

  .nav-links li {
    margin: 1rem 0;
    padding-right: 25rem;
  }

  .cart-container {
    width: 100%; 
    right: -100%; 
    z-index: 1001;
    position: absolute;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-content-grid,
  .footer-links-container {
    grid-template-columns: 1fr;
  }

  .footer-links-container {
    margin-left: -8rem;
    margin-top: 2rem;
  }

  .footer-brand {
    max-width: 100%;
    margin-left: -2rem;
    margin-bottom: .5rem;
  }

  .footer-links-column-2 .footer-newsletter {
    margin-left: -4.5rem;
    margin-top: 2rem;
  }

  .footer-links-column-2 .newsletter-tagline {
    margin-left: -4.5rem;
    width: 60%;
  }
  
  .footer-subscribe {
    margin-left: -4.5rem;
    width: 60%;
  }

  .footer-bar-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    margin-top: 10px;
  }

  .footer-legal a {
    margin: 0 10px;
  }
}
