/* Reset & base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* THIS THE FADER CODE */
#fader {
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:  #ffffff url(/miciskitchen/img/splash.gif) no-repeat center center fixed;
  background-size: cover;
  z-index: 999999;
  opacity: 1;
  transition: opacity 300ms ease-in-out;
}


html {
    scroll-behavior: smooth;
  }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color:  #FFFFFF;          /*#fff8f0;*/
  color: #333;
}

header {
  background-image: url(/miciskitchen/img/indonesian-flag-in-a-brush-on-black-background.webp);
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: auto;
 
  background-color:#333;          /* #FF0000; #DC143C; #e63946;*/
  color: #FFFFFF;
  /* padding: 1rem 2rem; */
  margin: 0;
  padding: 0;
  display: flex;
  /* justify-content:flex-start; */
  /* align-items: center; */
  flex-wrap: wrap;
  min-height: 250px;
}

header h1 {
  font-size: 1.8rem;
} 

header h2 {
  position: absolute;
  top:200px;
  left:0px;
}

#asli {
  position: absolute;
  top: 220px;
  left: 0px;
  width: 50px;
  height: 30px;
/*   max-width: 100%;
  height: auto; */
  cursor: pointer;
  /* z-index: 1000; */
}

#halal {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 50px;
  height: 30px;
/*   max-width: 100%;
  height: auto; */
  cursor: pointer;
  /* z-index: 1000; */

}

#menuToggle {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 250px;
  height: 250px;
/*   max-width: 100%;
  height: auto; */
  cursor: pointer;
  z-index: 1000;
}

/* Slide-out menu */
.slide-menu {
  position: fixed;
  top: 50px;
  left: 150px; /* Leaves room for image */
  width: 80px;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);

  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  animation: pulse 1s ease-in-out;
  z-index: 999;
  pointer-events: none;
}

/* Show the menu */
.slide-menu.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.slide-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide-menu li {
    opacity: 0;
  transform: translateX(20px);
  /* margin: 10px 0; */
}

.slide-menu a {
  text-decoration: none;
  color: #333;
}

/* Animated in */
.slide-menu.show li {
  animation: fadeInSlide 0.4s forwards;
}

/* Keyframes */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Stagger delays */
.slide-menu.show li:nth-child(1) { animation-delay: 0.1s; }
.slide-menu.show li:nth-child(2) { animation-delay: 0.2s; }
.slide-menu.show li:nth-child(3) { animation-delay: 0.3s; }
.slide-menu.show li:nth-child(4) { animation-delay: 0.4s; }
/* Add more as needed */


    /* Responsive styles */
 /*     @media (max-width: 2768px) {   /*768px*/
 /*      .menu {
        display: flex;
        flex-direction: column;
      } 

      .menu.show {
        display: flex;
      } */

  /*     .menu-toggle {
        display: block;
      } */
 

a {
  color: #000;
  text-decoration: none;
}   

#contact{
  text-align: center;
}

  .hero {

  background-image: url('/miciskitchen/img/merahPutih.jpg');
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;

  font-family: Luminari, fantasy;
  /* padding: 4rem 2rem; */
  margin: 0;
  padding: 0;
  color:  #000;
  text-align: center;
  /* background-blend-mode:color-burn; */
  background-color: #DC143C;

  
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}


.grid-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
  background-color:white; /* #fff3e6; */
}

.food-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.food-item:hover {
  transform: scale(1.03);
}

.food-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.food-item h3 {
  padding: 0.8rem 1rem 0 1rem;
  color: #e63946;
}

.food-item p {
  padding: 0 1rem 1rem 1rem;
}

.video-section {
  padding: 2rem;
  background-color:whitesmoke; /*#ffe8cc; */
  text-align: center;
}

.video-section h2 {
  color: #e63946;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

/* Responsive video container */
.video-container {
  position: relative;
  padding-bottom: 56.25%;  /*56.25%; /* 16:9 ratio */
  height: 100%;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


footer {
  padding: 1rem;
  background-image: url('/miciskitchen/img/merahPutih.jpg');
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;

  font-family: Luminari, fantasy;
  font-size: .8rem;
  color:  #000;
  text-align: center;

}

