*{
    margin: 0;
    padding: 0;
    font-family: 'poppins',sans-serif;
}

body{
  background-color:#fff8e1;
   
}



  
 

header {
  position: fixed;  
  top: 0;
  left: 0;
  width: 100%;
  height: auto;      
  z-index: 1000; 
 
}
 
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #4b2e05;
  /* padding: 10px 20px; */
}


.header-top img#logo {

    background: transparent;
    color: blanchedalmond;
    height:50px;
    width: auto;
      font-size: 150px;
}



.search-bar {
  display: flex;
  align-items: center;

gap: 5px;
}

.search-bar input {
  padding: 7px 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.search-bar button {
  padding: 7px 12px;
  border: none;
  background: #FFC857;
  color: black;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-weight: 600;

}

/* CENTER TEXT - Swad Ka Tadka + tagline */
.header-top h1 {
  flex: 1;
  text-align: center;
  color: blanchedalmond;
  font-size: 28px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  margin: 0;
    letter-spacing: normal;
    /* margin-right: 50px; */
}

.plate {
  display: block;
  text-align: center;
  color: #f4e1b6;
  font-size: 15px;
  font-style: italic;
  margin-top: 4px;
}

/* NAVBAR STRIP */
#navbar {
  width: 100%;
  background-color: #FFC857;
  height: 40px;
  position: relative;
  z-index: 9999;
}

#navbar ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  padding: 10px;
  margin: 0;
}

#navbar li {
  font-weight: bold;
}

nav ul li a {
  text-decoration: none;
  color: #5C3A21;
  font-size: 16px;
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: #B25012;
}



 .main-content {
  /* margin-bottom:20px; */
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 60px 8%;
   /* background: linear-gradient(to right, #fff5e6, #ffe0cc);  */
   background-color: #fff8e1;
   min-height: 80vh;
}


.main-content .left {
   flex: 1;
   max-width: 50%;
}

.main-content .left h1 {
   font-size: 45px;
   color: #2B2B2B;
   margin-bottom: 20px;
}

.main-content .left p {
   font-size: 20px;
   color: #333;
   margin-bottom: 30px;
}

.typewritter {
  overflow: hidden;
  white-space: nowrap;

  font-size: 1rem;
  animation:
    typing 3s steps(40, end) infinite,
    blink-caret .7s step-end infinite;

  transition: transform 0.3s ease;   
}

.typewritter:hover {
  
}




/* Buttons */
 .btns {
   display: flex;
   gap: 15px;
}

.btn {
    position: relative;
  z-index: 10;
   padding: 12px 25px;
   border: none;
   border-radius: 25px;
   font-size: 16px;
   cursor: pointer;
   transition: 0.2s;
}

.btn.order {
   background-color: #F4A261;
   color: #fff;
}

.btn.order:hover {
   background-color: #D35400 !important;
}

.btn.learn {
   border: 2px solid #ff5722;
   background: transparent;
   color: #ff5722;
}

.btn.learn:hover {
   background-color: #D35400 !important;
   color: #fff;
} 

/* Right image */
 .main-content .right {
   flex: 1;
   text-align: center;
}

.main-content .right img {
    margin-top: 60px;
    height: 450px;
   width: 100%;
   border-radius: 20px;
   box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.main-content 
.right img:hover {
   box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}  


.main-heading {
    text-align: center;
    font-size: 36px;   
    color: #D35400;    
    font-family: 'Times New Roman', serif;
    font-weight: 700;
    margin: 30px 0;
    letter-spacing: 1px;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
      /* transition: h2 0.3s ease-in  0.2s ; */
       transition: all 1.5s ease; 
}
.main-heading::after {
    content: "";
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #ff914d, #ffcf33);
    display: block;
    margin: 8px auto 0;
    border-radius: 5px;
}

.featured-foods{
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding: 40px 20px;
  background: #fff8e1;
}

.food-card{
  width: 200px;
  margin: 10px;
  text-align: center;
}

.food-card img{
  width: 100%;
  height: 200px;
  border-radius: 10px;

  transition: 0.3s;
}

.food-card img:hover{
  transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.food-card h3{
  margin-top: 10px;
  font-family: 'Times New Roman', Times, serif;
  color: #333;
}


footer {
  background: #2B2B2B;
  /* background-color: #5C4033; */
  
  color: white;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-container div {
  flex: 1 1 200px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #FFC857;
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  border-top: 1px solid #444;
  padding-top: 15px;
}

/* media query */
@media (max-width: 992px) {

  .header-top h1 {
    font-size: 22px;
  }

  .search-bar input {
    width: 120px;
  }

  .main-content {
    padding: 40px 5%;
  }

  .main-content .left h1 {
    font-size: 35px;
  }

  .main-content .right img {
    height: 350px;
  }

  #navbar ul {
    gap: 20px;
  }
}



@media (max-width: 768px) {

  /* Header top stacked */
  .header-top {
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  #logo {
    height: 42px;
  }

  .search-bar input {
    width: 150px;
  }

  .header-top h1 {
    font-size: 20px;
  }

  .plate {
    font-size: 14px;
  }

  /* NAVBAR */
  #navbar ul {
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
  }

  nav ul li a {
    font-size: 15px;
  }


  .main-content {
    flex-direction: column;
    text-align: center;
    padding-top: 120px; /* because header fixed */
  }

  .main-content .left {
    max-width: 100%;
  }

  .main-content .left h1 {
    font-size: 32px;
  }

  .main-content .left p {
    font-size: 18px;
  }

  .btns {
    justify-content: center;
  }

  .main-content .right img {
    width: 80%;
    height: auto;
    margin-top: 20px;
  }

  /* Foods */
  .food-card {
    width: 45%;
  }
}


@media (max-width: 480px) {

  .header-top h1 {
    font-size: 18px;
  }

  .search-bar input {
    width: 120px;
  }

  nav ul li a {
    font-size: 14px;
  }

  .main-content .left h1 {
    font-size: 28px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .food-card {
    width: 90%;
  }

  .main-heading {
    font-size: 26px;
  }
}






