* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: poppins, sans-serif;
}

a {
  -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
    color: white;
}

#nav {
    background-color: #121618;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    position: relative;
}

#logoimg {
    height: 60px;
    margin: 3px;
    border-radius: 50%;
}

#menu-always{
  position: relative;
  right: 6%;
}  

#menu-always a {
    color: white;
}
#menu-always a:hover {
    color: #b19b6c;
}

#pages {
    display: flex;
    gap: 20px;
    align-items: center;
}

#pages div a:hover {
    color: #b19b6c;
}

#user{
   border: 1px solid #333232;
    background-color: transparent;
    color: #b19b6c;
    font-size: 13.33px;
    font-weight: 300;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

#pages button {
    border: 2px solid #333232;
    background-color: transparent;
    color: #b19b6c;
    font-weight: 300;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

#pages button:hover {
    background-color: #808080;
}

/* Hamburger icon styling */
#menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    margin-left: auto;
}

 #head{
      color: white;
    }

.herosection {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: auto;
  overflow: hidden;
  background-color: #773d0bc0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Track */
.heroseclist {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* Slides */
.heroimage {
  min-width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.heroimage:first-child { opacity: 1; }
.heroimage.active { opacity: 1; }

.heroimage img {
  width: 100%;
  height: auto;             /* let image keep aspect ratio */
  max-height: 90vh;         /* never exceed screen height */
  display: block;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* Arrow buttons */
#slidebtn {
  position: absolute;
  top: 50%;
  inset-inline: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
  z-index: 10;
}

#slidebtn button {
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.25s ease;
}
#slidebtn button:hover { background: rgba(0,0,0,0.8); }

/* CTA button */
#herobtn {
  text-align: center;
  margin-top: 12px;
  position: absolute;
  top: 70%;
  left: 10%;
  z-index: 5;
}
#herobtn button {
  background: #ff6600;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}
#herobtn button:hover { background: #e05500; }
#herobtn button:active { transform: scale(0.98); }

/* Responsive */
@media (max-width: 768px) {
  .heroimage img {
    max-height: 70vh;  /* reduce height on tablets */
  }
  #herobtn {
    top: 65%;
    left: 8%;
  }
  #herobtn button {
    padding: 10px 20px;
    font-size: 14px;
  }
  #slidebtn button {
    font-size: 16px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .heroimage img {
    max-height: 60vh;  /* smaller phones */
  }
  #slidebtn { display: none; } /* hide arrows on very small screens (use swipe) */
  #herobtn {
    top: 60%;
    left: 5%;
  }
  #herobtn button {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  .heroseclist,
  .heroimage { transition: none !important; }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup content box */
.popup-content {
  position: relative;
  background: white;
  padding: 4px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 80%;
  animation: popupFadeIn 0.4s ease;
}

.popup-content img {
  max-width: 100%;
  height: 400px;
  display: block;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.popup-close:hover { color: red; }

/* Fade animation */
@keyframes popupFadeIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

#services{
    background-color: #e6a14e9d;
    background-size: cover;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#serdata{
  width: 90%;
  height: 400px;
}

.data{
  height: 350px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

#data{
  width: 200px;
}

#aboutus{
    height: 500px;
    background-color: #121618;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about{
  width: 90%;
  height: 400px;
}

#aboutdata{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#aboutdata>img{
  width: 40%;
}

#footer{
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    width: 100%;
    flex-wrap: wrap;
    background-color: #201f1f;
}

#footerdata{
  height: 200px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

#menupage{  
    display: flex;
    justify-content: center;
   margin: 0;
   padding: 0;
}

#categories{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    overflow: auto;
    position: static;
}

#options{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    width: 160px;
    font-size: 15px;
    color: white;
    border: 2.2px solid rgb(0, 0, 0);
    margin-top: 20px;
    padding: 5px;
    border-radius: 30px;
}

#options.active {
   background: #68676781;
   color: white;
   border-radius: 30px;
   font-weight: bold;
}

#itembox{
  width: 600px;
  height: 800px;
  align-items: center;
}

#items{
    height: auto;
    width: 90%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    background-color: rgba(13, 8, 8, 0.323);
    border-radius: 20px; 
    margin: 20px 10px;
    border: 2px solid black;
}

#body{
    background-image: url('/images/menubg.jpg');
    background-size: cover;
    
}

#itemphoto img{
    border-radius: 30px;
    height: 150px;
    width: 150px;
}

#n{
  font-weight: 500; color: white; font-size: 20px; width: 300px; height: 60px;
}

#itemdetails{
    color: white;
    display: flex;
    justify-content: space-evenly;
    font-size: 20px;
    text-align: center;
    align-items: center;
    width: 300px;
}

  .dropdown {
      position: relative;
      display: inline-block;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      background-color: #d36e15;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 999;
    }

    .dropdown-content a {
      color: rgb(2, 33, 209);
      padding: 12px 16px;
      text-decoration: none;
      display: block;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }

    .dropdown-content a:hover {
      background-color: #a82b2b;
    }

    .size {
        background-color: rgba(13, 8, 8, 0.323);
        border: 1px solid white;
        border-radius: 5px;
        margin-left: 10px;
        color: white;
    }

     .size option{
        background-color: rgba(114, 52, 11, 0.301);
        color: rgb(255, 255, 255);
    }

    #sizeoption{
      width: 200px;
    }

    .itemprice{
        color: white;
        font-size: large;
        width: 120px;
    }

    #addbtn{
        border: none;
        background-color: #d36e15;
        color: white;
        padding: 5px;
        width: 80px;
        height: 40px;
        border-radius: 10px;
    }

/* Footer container */
#cartfooter {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 150px;
    background-color: #2c2c2c;
    color: #fff;
    position: static;
}

/* Order details container */
#orderdetails {
    display: flex;
    align-items: center;
    gap: 20px;
}

#description {
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
  margin-top: 5px;
  margin-bottom: 5px;
  word-wrap: break-word;
  white-space: normal;
  width: 250px;
}

/* Order button */
#orderbtn {
    margin: 15px;
    padding: 15px 25px;
    border-radius: 12px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #d36e15;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#orderbtn:hover {
    background-color: #b85f13;
    transform: scale(1.05);
}

#orderbtn:active {
    transform: scale(0.98);
}

/* Order box wrapper */
#orderbox {
    height: 100%;
    background-color: rgba(87, 78, 78, 0.45);
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

/* Orders section */
#orders {
    width: 60%;
    height: 200px;
    margin-top: 50px;
    background-color: #333232;
    border-radius: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

#orders:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* ------------------------------
   🔥 ADVANCED ANIMATIONS
-------------------------------*/

/* 2. Hero section (zoom-in image + fade text) */
.heroimage img {
  animation: zoomFade 1.2s ease-in-out forwards;
}
@keyframes zoomFade {
  0% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

#herobtn button {
  opacity: 0;
  transform: translateY(30px);
  animation: btnFadeUp 1s ease forwards 0.8s; /* delayed */
}
@keyframes btnFadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 3. Section scroll reveal (multiple directions) */
.reveal { opacity: 0; }
.reveal.active { animation: fadeUp 1s ease forwards; }

.reveal-left.active { animation: fadeLeft 1s ease forwards; }
.reveal-right.active { animation: fadeRight 1s ease forwards; }
.reveal-scale.active { animation: scaleUp 0.8s ease forwards; }

/* Scroll reveal keyframes */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  0% { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes scaleUp {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* 5. Popup (bounce in) */
.popup-content {
  animation: popupBounce 0.6s ease;
}
@keyframes popupBounce {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}

/* 6. Footer links (fade-in staggered) */
#footerdata a {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
#footerdata a:nth-child(1) { animation-delay: 0.2s; }
#footerdata a:nth-child(2) { animation-delay: 0.4s; }
#footerdata a:nth-child(3) { animation-delay: 0.6s; }
#footerdata a:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------
   🌟 Animation + Box Shadow on Images
-------------------------------*/

/* Initial hidden state */
#data img {
  transform: translateY(40px);
  opacity: 0;
  box-shadow: none; /* no shadow initially */
  transition: box-shadow 0.3s ease;
}

/* Reveal animation */
#data img.active {
  animation: imgFadeUp 0.8s ease forwards;
}

@keyframes imgFadeUp {
  0% { opacity: 0; transform: translateY(40px) scale(0.9); box-shadow: none; }
  60% { opacity: 1; transform: translateY(-5px) scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.35); }
  100% { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 5px 15px rgba(0,0,0,0.25); }
}

/* Optional: hover effect */
#data img:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transform: scale(1.05);
}






@media (max-width: 893px) {
    #menu-toggle {
        display: block;
    }

    #menu-always{
        position: absolute;
        right: 14%;
    }  

    #head{
      scale: 0.8;
      color: white;
    }

    .data{
      scale: 0.8;
    }

    #data{
  width: 100px;
   }

    #pages {
        display: none;
        flex-direction: column;
        background-color: #121618;
        position: absolute;
        top: 50px;
        right: 0;
        width: 200px;
        padding: 15px 0;
        z-index: 999;
    }

    #pages button {
    width: 150px;
}

#user{
  width: 150px; 
  text-align: center
}

    #pages div {
        margin: 10px 0;
        text-align: center;
    }

    #pages.active {
        display: flex;
        z-index: 888;
    }

    #footerdata img{
    scale: 0.6;
  }

   #footaddress{
    scale: 0.7;
  }

   #footcontact{
    scale: 0.7;
  }

   #footfollow{
    scale: 0.7;
  }

  #footer{
    height: auto;
    display: flex;
    align-items: center;
  }

  #footerdata{
    height: auto;
  }
}
@media (max-width: 320px) {
  #logo{
    scale: 0.8;
  }

  #menu-toggle {
        display: block;
        position: relative;
        left: 5%;
        scale: 0.7;
    }

    #menu-always  {
      scale: 0.9;
}
}

@media (max-width: 620px) {
  #itembox{
    scale: 0.95;
    margin-top: -25px;
  }
  #items{
    margin: 10px 5px;
    height: auto;
  }
  #itemphoto img{
    scale: 0.85;
  }
  
  #itemdetails{
    scale: 0.8;
    width: 250px;
  }
  #itemprice{
    scale: 0.8;
  }
  #addbtn{
    scale: 0.8;
  }
  #options{
    scale: 0.8;
    margin: 5px;
  }
  #d{
    width: 200px;
  }
  #n{
    font-weight: 400;
    color: white;
    font-size: 15px; 
    width: 150px; 
    height: 40px;
  }
  #sizeoption{
    width: 150px;
  }
  #description{
    scale: 0.8;
    position: relative;
    right: 10%;
  }
}
/* ✅ General mobile fixes */
@media (max-width: 1024px) {
  #services, #aboutus {
    min-height: 400px;
    height: auto;
  }
  #serdata, #about {
    height: auto;
  }
   #options{
    scale: 0.8;
    margin: 5px;
  }
}

/* ✅ Tablet adjustments */
@media (max-width: 620px) {
  #categories {
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    scrollbar-width: none; /* hide scrollbar */
  }
  #categories::-webkit-scrollbar { display: none; }

  #options {
    flex: 0 0 auto;
    min-width: 120px;
  }

  #itembox {
    width: 100%;
    max-width: 500px;
  }
  #myorders{
    scale: 0.8;
  }
}

/* ✅ Mobile phones */
@media (max-width: 480px) {
  #items {
    flex-direction: row;
    height: auto;
    justify-content: space-around;
  }
  #itemphoto img {
    width: 120px;
    height: 120px;
  }
  #itemdetails {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }
  .itemprice {
    font-size: 16px;
    margin-top: 5px;
  }
  #addbtn {
    width: 150%;
    margin-top: 5px;
  }
  #n {
    font-size: 14px;
    text-align: center;
    width: auto;
  }
  #categories a{
    width: 100px;
  }
   #options{
    scale: 0.5;
    margin: 0px;
  }
  #about{
    scale: 0.8;
  }
  #totalitems,#orderdetails{
    scale: 0.8;
  }
}

/* ✅ Very small devices (320px and below) */
@media (max-width: 420px) {
  #logoimg {
    height: 45px;
  }
  #menu-toggle {
    font-size: 20px;
  }
  #items{
    display: flex;
  }
  #itemphoto img {
    width: 100px;
    height: 100px;
  }
  #options {
    min-width: 90px;
    font-size: 12px;
    
  }
  
}
/* ✅ Make hero image look bigger on small screens */
@media (max-width: 768px) {
  .heroimage img {
    max-height: 100vh; /* Make image taller */
  }
}

@media (max-width: 480px) {
  .heroimage img {
    max-height: 100vh; /* Full screen height for hero image */
  }
  #items{
    height: auto;
  }
  #categories>a{
    width: 80px;
  }
  #categories {
    scale: 1.1;
    margin-left: 10px;
    width: 90%;
  }
  #options{
    scale: 0.5;
    margin: 0px;
    position: relative;
    right: 30%;
  }
}

@media (max-width: 290px) {
  .heroimage img {
    max-height: 100vh;
  }
  #totalitems,#orderdetails{
    scale: 0.7;
  }
}
@media (max-width: 660px) {
   #data img{
    scale: 0.9;
  }
  #data{
    scale: 0.8;
  }
  #serdata{
    scale: 0.8;
  }
}

.section-title {
  font-size: 25px;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-item {
  text-align: center;
  max-width: 200px;
}

.service-img {
  border: 2px solid black;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.service-name {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 500;
  color: white;
}

