/* ---------- Global ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    transition: background-image 1s ease-in-out;
    font-family: 'Poppins', sans-serif;
}



/* ---------- Container ---------- */


.main-content {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 0 5px;
}



/* ---------- HEADER ---------- */
.site-header {
  background: url('images/bg_banner.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 5px 5px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-size: 1rem;
  position: relative;
  transition: 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #fff;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #222;
}

.btn {
  background: #fff;
  color: #2b0900 !important;
  padding: 7px 15px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 20px;
}

.btn:hover {
  background: #222;
  color: #fff !important;
}

#btn-showall {
  
    top: 75px;       /* distance from bottom */
    left: 20px;        /* distance from right */
    z-index: 1100;      /* above sidebar */
    padding: 12px 18px;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
}



/* ---------- FOOTER ---------- */
.site-footer {
  background: #06ada5;
  color: #000;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.95rem;
}

.site-footer a {
  color: #feb47b;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---------- Layout ---------- */
.layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
}

/* ---------- Sidebar ---------- */

.logo img {
  width: 170px;
  height: 250px;
  margin-bottom: 40px;
  margin-left: 10px;


}
.banner img {
  width: 240px;
  height: 90px;
  margin-left: 30px;
  margin-top: 0px;

}


/* Video container */
.video-container {
  flex: 100%;
  max-width: 700px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.video-container video {
  width: 100%;
  height: auto;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Responsive for mobile */
@media (max-width: 668px) {
  

.video-container {
  flex: 100%;
  max-width: 500px;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

 .video-container video {
  width: 100%;
  height: auto;
  border-radius: 0px;
  display: block;
}
}


.sidebar {
  width: 280px;
  background: transparent;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.btn-showall {
  background: #ff9800;
  color: #fff;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-showall:hover {
  background: #ff6b00;
}

/* ---------- Categories ---------- */
.category {
  margin-bottom: 5px;
  margin-top: 5px;
}

.category-title {
  cursor: pointer;
  font-weight: bold;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  border-radius: 8px;
  transition: background 0.2s;
}

.category-title:hover {
  background: #f0f0f0;
}

.category-title.active {
  background: #ffecd8;
  color: #ff6b00;
  border-left: 4px solid #ff6b00;
}

.subcategory {
  list-style: none;
  padding-left: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.category.open .subcategory {
  max-height: 500px;
  margin-top: 5px;
}

.subcategory li a {
  text-decoration: none;
  color: #444;
  display: block;
  padding: 4px 0;
}

.subcategory li a:hover {
  text-decoration: underline;
}

/* ---------- Filter Toggle Button ---------- */
#filterToggle {
  display: none;
  padding: 10px 28px;
  background: #ff9800;
  color: #fff;
  border: none;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 0px;
  margin-left: 10px;

}

.menu-header h2 {
  color: #ff7e5f;
}

.map-section h2 {
  color: #ff7e5f;
}

/* ---------- Menu Grid ---------- */
.menu-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 10px 0;
  width: 100%;
}




.card.show {
    opacity: 1;
    transform: translateY(0);
}

    
.card {
  background: rgb(243, 214, 175);
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.card h3 {
  margin: 12px 15px 5px;
  font-size: 1rem;
  color: #ff7e5f;
}

.card p {
  margin: 0 15px 10px;
  font-size: 0.9rem;
  color: #555;
}

.price {
  margin-top: auto;
  background: teal;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 0;
}



/* ---------- Responsive Grid Columns ---------- */
@media (min-width: 992px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1600px) {
  .menu-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ---------- Mobile Styles ---------- */
@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  #filterToggle {
    display: inline-block;
  }

  .sidebar {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 70px);
    z-index: 1000;
    opacity: 0;
    transition: left 0.3s ease, opacity 0.3s ease;
  }

  .sidebar.open {
    left: 0;
    opacity: 1;
  }

  /* Mobile: 2 items per row */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .card img {
    height: 120px;
  }

  .banner img {
  width: 210px;
  height: 80px;
  margin-left: 20px;
  margin-top: 0px;

}

  #btn-showall {
    top: 75px;       /* distance from bottom */
    right: 20px;        /* distance from right */
    z-index: 1100;      /* above sidebar */
    padding: 12px 18px;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
}
}


/* ---------- 3D Infinite Slider (Final Fix) ---------- */



.slider-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 5px auto;
  width: 100%;
  max-width: 1400px;
}

.slider3d-container {
  width: 100%;
  height: 260px;
  perspective: 1000px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  overflow: hidden;

  position: relative;
  align-items: center;
  justify-content: space-between;
}

.slider3d-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: spin 30s linear infinite;
}

.slider3d-item {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 140px;
  height: 180px;
  transform-style: preserve-3d;
  text-align: center;
}

.slider3d-item img {
  width: 100px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  background: #fff;
  display: block;
  margin: 0 auto;
}

.slider3d-name {
  margin-top: 5px;
  font-size: 0.7rem;
  color: #ff6b00;
  font-weight: bold;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Smooth rotation */
@keyframes spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .slider3d-container {
    height: 240px;
  }
  .slider3d-item {
    width: 120px;
    height: 180px;
  }
  .slider3d-item img {
    width: 100px;
    height: 80px;
  }
  .slider3d-name {
    font-size: 0.6rem;
  }
}





@media (max-width: 768px) {
  .slider-container {
    flex-direction: column;
  }
  


.logo img {
  width: 50px;
  height: 65px;
  margin-bottom: 5px;
}


}


/* 🌐 Partners Section */
.partners-section {
  text-align: center;
  padding: 0px 5px;
  background: linear-gradient(180deg, #ffffff, black);
}

.partners-section h2 {
  font-size: 1.0rem;
  margin-bottom: 20px;
  color: black;
  position: relative;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.partner {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
  margin-top: 5px;
  
}

.partner p {
  margin-top: 5px;
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
}

.partner:hover img {
  transform: scale(1.1);
}

.partner:hover {
  transform: translateY(-5px);
}




/* 📱 Responsive */
@media (max-width: 768px) {
  .partners-logos {
    gap: 5px;
  }
  

.partner img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
  margin-top: 0px;
  
}

.partners-section h2 {
  font-size: 0.6rem;
  margin-bottom: 0px;
  color: #ff6b35;
  position: relative;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
  flex-wrap: wrap;
}
}