@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Pacifico&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.featured-item button {
  width: 150px;
  height: 35px;
  text-align: center;
  background-color: #d32f2f;
  color: white;
  border: none;
  border-radius: 12px;
}

.cart-icon svg {
  width: 24px;
  height: 24px;
  fill: #000;
  margin-left: 5px;
  cursor: pointer;
}

.cart-icon svg:hover {
  fill: #f88e04;
}

.nav-toggle {
  display: none;
}

.burger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #940000;
}

.logo-icon {
  display: inline-block;
  margin-right: 10px;
}

.logo-svg {
  width: 32px;
  height: 32px;
}

.reservation-btn {
  background-color: #922121;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.cart {
  margin-left: 20px;
  display: flex;
  align-items: center;
}

.cart-icon {
  font-size: 24px;
}

.cart-count {
  background-color: #d32f2f;
  color: #fff;
  border-radius: 50%;
  padding: 2px 8px;
  margin-left: 5px;
  font-size: 14px;
}

/* Hero Section */
.hero {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  background: #786d6d;
  padding: 2rem !important;
  box-sizing: border-box !important;
  position: relative;
  text-align: center;
  padding: 120px 50px 50px;
  background: url('view-delicious-burgers-with-buns-cheese.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero .welcome-content {
  position: relative;
  z-index: 2;
}

.hero .welcome-heading {
  font-size: 3rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

.hero .welcome-paragraph {
  font-size: 1.2rem;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  margin-bottom: 30px;
}

.hero .welcome-btn {
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #ff4400;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero .welcome-btn:hover {
  background-color: #e04d00;
}

.welcome-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 10px;
}

.welcome-heading {
  font-size: 58px;
  font-weight: bold;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #ffffff;
  animation: slideIn 1.5s ease-in-out forwards;
  opacity: 0;
}

.cedarville-cursive-regular {
  font-family: "Cedarville Cursive", cursive;
  font-weight: 400;
  font-style: normal;
}

.pacifico-regular {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

.welcome-cursive span {
  font-family: "Pacifico", cursive;
  font-size: 60px;
  text-shadow: rgb(117, 0, 0) 4px 4px 10px;
  color: #ff3700;
}

.welcome-cursive {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 48px;
  font-weight: bold;
  color: #ffff00;
  margin: 0;
  animation: slideIn 1.5s ease-in-out forwards 0.15s;
  opacity: 0;
}

.welcome-paragraph {
  font-size: 18px;
  margin: 10px auto 20px;
  max-width: 600px;
  animation: slideIn 1.5s ease-in-out forwards 0.3s;
  opacity: 0;
}

@media (max-width: 768px) {
  .featured-item:nth-child(1) {
    width: 80% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .featured-item:nth-child(1) img {
    width: 120px !important;
    height: auto !important;
  }

  .featured-item:nth-child(1) h3 {
    font-size: 1rem !important;
    margin-top: 0.5rem !important;
  }

  .featured-item:nth-child(1) p {
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
  }

  .featured-item:nth-child(2) {
    width: 80% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .featured-item:nth-child(2) img {
    width: 120px !important;
    height: auto !important;
  }

  .featured-item:nth-child(2) h3 {
    font-size: 1rem !important;
    margin-top: 0.5rem !important;
  }

  .featured-item:nth-child(2) p {
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
  }

  .featured-item:nth-child(3) {
    width: 80% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .featured-item:nth-child(3) img {
    width: 120px !important;
    height: auto !important;
  }

  .featured-item:nth-child(3) h3 {
    font-size: 1rem !important;
    margin-top: 0.5rem !important;
  }

  .featured-item:nth-child(3) p {
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
  }
}

.welcome-btn {
  background-color: #d32f2f;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  animation: slideIn 1.5s ease-in-out forwards 0.6s;
  opacity: 0;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.special {
  background-color: #6c0500;
}

.todays-menu {
  text-align: center !important;
  font-family: "Pacifico", cursive !important;
  font-size: 40px !important;
  top: 0;
  left: 40%;
  text-shadow: 
    rgb(141, 0, 0) 5px 5px 20px,
    rgb(13, 107, 3) 3px 3px 15px,
    rgb(11, 91, 2) 2px 2px 10px !important;
  color: #fff700 !important;
}

/* Updated Today's Menu (Featured) */
.featured {
  display: flex;
  justify-content: space-around;
  padding: 50px;
  background-color: #6c0500;
}

.featured-item {
  text-align: center;
  max-width: 300px;
}

.featured-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.featured-item p {
  color: white !important;
  margin-bottom: 10px;
}

.featured-item h3 {
  color: #de8900;
  margin-bottom: 5px;
}

.featured-item h1 {
  color: #ebfc00;
}

.choose-enjoy {
  text-align: center;
  padding: 50px;
  background-color: #fffbad;
}

.choose-enjoy h2 {
  color: rgb(25, 25, 25);
  font-family: "Pacifico", cursive !important;
  font-size: 36px;
  margin-bottom: 20px;
}

.categories {
  display: flex;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.categories div {
  flex: 0 0 auto;
  text-align: center;
}

.categories img {
  width: 70px;
  height: auto;
}

@media (max-width: 768px) {
  .categories {
    justify-content: center;
  }

  /* Updated Today's Menu (Featured) */
.featured {
  display: flex;

  justify-content: space-around;
  padding: 50px;
  background-color: #6c0500!important;
}
  /* Featured Grid for Mobile */
  .featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;

    background-color: transparent;
  }

  .featured-item {
    max-width: 100%;
  }

  .featured-item img {
    width: 100px;
      margin-top:20px;
  }
}

.categories div {
  font-size: 24px;
}

/* Updated Menu Items */
.menu-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; /* Reduced gap for closer items on desktop */
  padding: 20px;
  background-color: #f9f9f9;
  justify-items: center;
}

.menu-item {
  text-align: center;
  max-width: 300px;
  background-color: yellow;
  border: 4px solid #d32f2f;
  border-radius: 20px;
  padding: 15px;
}

.menu-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  cursor: pointer; /* Indicate image is clickable */
}

.menu-item h3 {
  margin-bottom: 10px;
}

.order-btn {
  background-color: #d32f2f;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.high-z-index-image {
  position: absolute;
  width: 170px;
  height: auto;
  z-index: 1000;
  top: 300px;
  left: 90px;
}

.hhigh-z-index-image {
  position: absolute;
  width: 300px;
  height: auto;
  z-index: 1000;
  top: 300px;
  left: 1000px;
}

@media (max-width: 768px) {
  .featured-item img {
    width: 50%;
  }

  .categories img {
    width: 50px;
    margin: 10px;
  }

  .menu-item img {
    width: 100px;
  }

  .bottom-burger {
    width: 20%;
    height: 45%;
    background-image: url('front-view-tasty-meat-burger-with-cheese-salad-dark-background-removebg-preview.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .fries-image {
    width: 30%;
    height: 90%;
    background-image: url('huge-burger-with-fried-meat-vegetables.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero .welcome-heading {
    font-size: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 20px;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    margin-bottom: 0;
  }

  .burger-menu {
    display: block;
  }

  .nav-toggle:checked ~ .burger-menu .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle:checked ~ .burger-menu .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .burger-menu .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  nav {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-toggle:checked ~ nav {
    right: 0;
  }

  nav a,
  .reservation-btn,
  .cart {
    margin: 10px 0;
  }

  .hero {
    padding: 100px 20px 20px;
    height: 450px;
  }

  .welcome-heading {
    font-size: 32px;
  }

  .welcome-paragraph {
    font-size: 16px;
    max-width: 100%;
  }

  .welcome-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .featured {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .featured-item {
    margin-bottom: 20px;
    max-width: 100%;
  }

  .choose-enjoy {
    padding: 20px;
  }

  .choose-enjoy h2 {
    font-size: 28px;
  }

  .menu-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .menu-item {
    max-width: 100%;
  }
}

body {
  margin: 0;
  padding: 0;
}

.main-wrapper {
  font-family: 'Montserrat', sans-serif;
  background-color: #F5E5D5;
  color: #fff;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.top-banner {
  background-color: #FF5733;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 300px;
  margin-bottom: 20px;
  overflow: hidden;
}

.burger-image {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.top-burger {
  width: 30%;
  height: 90%;
  background-image: url('meat-burger-wooden-board-french-fries-side-view-removebg-preview\ \(1\).png');
}

.banner-text {
  padding: 20px;
  text-align: right;
  width: 60%;
}

.banner-text h1 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.banner-text h1 span {
  font-size: 2rem;
  display: block;
}

.bottom-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  border-radius: 20px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.left-card {
  background-color: #FFC107;
}

.right-card {
  background-color: #A81C1C;
}

.card-text {
  padding: 20px;
  width: 50%;
}

.card-text h2 {
  font-size: 1.2rem;
  line-height: 1.3;
}

.bottom-burger {
  width: 40%;
  height: 75%;
  background-image: url('front-view-tasty-meat-burger-with-cheese-salad-dark-background-removebg-preview.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.fries-image {
  width: 50%;
  height: 100%;
  background-image: url('huge-burger-with-fried-meat-vegetables.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.crown-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 100px!important;
  height: 100px!important;
  background-image: url('french-fries-svgrepo-com.svg');
  background-size: cover;
  background-repeat: no-repeat;
}

.banner-text h1 span {
  font-family: 'Pacifico', cursive;
  color: #A81C1C;
}
.card-text h2 span {
  font-size: 1.5rem;
  display: block;
  color:#A81C1C;
  font-family: 'Pacifico', cursive;
  margin-top: 10px;
}
/* Updated Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: #000;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.contact p {
  margin: 5px 0;
}

.email-subscription {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-subscription h3 {
  margin-bottom: 10px;
  color: #333;
}

.email-subscription form {
  display: flex;
  gap: 10px;
}

.email-subscription input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.email-subscription button {
  padding: 8px 16px;
  background-color: #d32f2f;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.email-subscription button:hover {
  background-color: #b71c1c;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 30px;
  height: 30px;
}

/* Search and Category Filter */
.menu-filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background-color: #f8f8f8;
}

.search-bar input {
  padding: 10px;
  width: 300px;
  border: 4px solid #ff0000;
  border-radius: 25px;
  font-size: 16px;
}

.category-filter select {
  padding: 10px;
  border: 4px solid #f60c00;
  border-radius: 25px;
  font-size: 16px;
}

/* Cart Tab */
.cart-tab {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.cart-tab.open {
  right: 0;
}

.cart-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #d32f2f;
  color: #fff;
}

.close-cart-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.cart-tab-content {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.remove-item {
  background-color: #d32f2f;
  color: #fff;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.remove-item:hover {
  background-color: #b71c1c;
}

.cart-tab-footer {
  padding: 15px;
  border-top: 1px solid #eee;
}

.cart-tab-footer p {
  margin: 0 0 10px;
  font-weight: bold;
}

.checkout-btn {
  width: 100%;
  padding: 10px;
  background-color: #d32f2f;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.checkout-btn:hover {
  background-color: #b71c1c;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: yellow;
  border: 4px solid #d32f2f;
  border-radius: 20px;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.close-modal-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.modal-add-btn {
  background-color: #d32f2f;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-add-btn:hover {
  background-color: #b71c1c;
}

/* Media Queries for Menu Items, Featured, and Cart Tab */
@media (max-width: 1024px) and (min-width: 768px) {
  .menu-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .menu-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .menu-item {
    max-width: 100%;
  }

  .cart-tab {
    width: 100%;
    right: -100%;
  }

  .search-bar input {
    width: 200px;
  }
}

@media (min-width: 768px) {
  .top-banner {
    height: 400px;
  }

  .banner-text h1 {
    font-size: 3rem;
  }

  .banner-text h1 span {
    font-size: 4rem;
  }

  .bottom-section {
    flex-direction: row;
  }

  .card {
    width: 48%;
    height: 250px;
  }

  .card-text h2 {
    font-size: 1.8rem;
  }

  .top-burger,
  .bottom-burger,
  .fries-image {
    background-size: cover;
  }

  .crown-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 767px) {
  .top-banner {
    height: 250px;
  }

  .top-burger {
    width: 50%;
  }

  .banner-text {
    width: 50%;
  }

  .card {
    height: 180px;
  }


  .todays-menu{
background-color: #6c0500;

  }
  .bottom-burger,
  .fries-image {
    width: 110%;
    background-size: contain;
  }

  .card-text {
    width: 50%;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .fries-image {
    width: 60%;
    height: 40%;
    background-size: contain;
  }

  .bottom-burger {
    width: 70%;
    height: 45%;
    background-image: url('front-view-tasty-meat-burger-with-cheese-salad-dark-background-removebg-preview.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .top-burger {
    width: 40%;
    height: 90%;
    background-image: url('meat-burger-wooden-board-french-fries-side-view-removebg-preview\ \(1\).png');
  }
}

.scooter-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f88e04;
  padding: 50px 0;
  text-align: center;
}
.scooter-banner img{
  width:400px;
  height:auto;
}
.scooter-large {
  width: 80%;
  height: 600px;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.scooter-text h1 {
  font-family: "Gloria Hallelujah", cursive;
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 5px green;
  margin: 0;
}

.featured-item h2{
  color: #ffffff;
  font-family: "Cedarville Cursive", cursive;
  font-size: 24px  !important;
}