*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Roboto',sans-serif;
  background-color:#f9f9f9;
  color:#333;
}

/* HEADER */

header{
  background-color:#fff;
  padding:15px 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 2px 5px rgba(0,0,0,0.1);
  position:sticky;
  top:0;
  z-index:1000;
}

header h1{
  font-size:1.5rem;
  color:#ff6b6b;
}

header .login-btn{
  background-color:#ff6b6b;
  color:white;
  padding:10px 18px;
  border:none;
  border-radius:5px;
  font-weight:500;
  cursor:pointer;
  transition:0.3s;
}

header .login-btn:hover{
  background-color:#ff4c4c;
}

/* HERO */

.hero{
  background:url('https://images.unsplash.com/photo-1600891964599-f61ba0e24092?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  height:60vh;
  display:flex;
  justify-content:center;
  align-items:center;
  color:white;
  font-size:5rem;
  font-weight:700;
  text-shadow:0 2px 6px rgba(0,0,0,0.5);
  animation:fadeIn 2s ease-in-out;
  text-align:center;
  padding:0 20px;
}

@keyframes fadeIn{
  0%{opacity:0;transform:translateY(-20px);}
  100%{opacity:1;transform:translateY(0);}
}

/* DISH GRID */

.dishes{
  max-width:1200px;
  margin:40px auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
  padding:0 20px;
}

.dish-card{
  background:white;
  border-radius:12px;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
  overflow:hidden;
  transition:transform 0.3s,box-shadow 0.3s;
}

.dish-card:hover{
  transform:translateY(-5px);
  box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.dish-card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

/* DISH INFO */

.dish-info{
  padding:15px 20px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}

.dish-info h3{
  width:100%;
  margin-bottom:6px;
  color:#ff6b6b;
}

.dish-info a{
  text-decoration:none;
  cursor:pointer;
  font-size:0.9rem;
}

.dish-info a:hover{
  text-decoration:underline;
}

/* BUTTONS */

.modal-btn{
  color:#007bff;
  padding:8px 10px;
  border-radius:6px;
  text-align:center;
}

.kiosk-order-btn{
  background:#28a745;
  color:#fff !important;
  padding:10px 18px;
  border-radius:5px;
  text-align:center;
  font-weight:500;
  transition:0.3s;
  text-decoration:none !important;
}

.kiosk-order-btn:hover{
  background:#218838;
}

/* FLEX LAYOUT FOR BUTTONS */

.modal-btn,
.kiosk-order-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
}

/* desktop */

.modal-btn{
  flex:1 1 auto;
}

.kiosk-order-btn{
  flex:1 1 auto;
}

/* MOBILE FIX */

@media (max-width:600px){

  header h1{
    font-size:1.2rem;
  }

  .hero{
    font-size:3rem;
    padding:0 10px;
  }

  .modal-btn,
  .kiosk-order-btn{
    flex:1 1 calc(50% - 4px);
  }

}

/* MODAL */

.modal{
  display:none;
  position:fixed;
  z-index:2000;
  left:0;
  top:0;
  width:100%;
  height:100%;
  overflow:auto;
  background-color:rgba(0,0,0,0.5);
}

.modal-content{
  background:#fff;
  margin:10% auto;
  padding:20px;
  border-radius:10px;
  max-width:500px;
  animation:slideIn 0.3s ease-out;
}

@keyframes slideIn{
  0%{transform:translateY(-50px);opacity:0;}
  100%{transform:translateY(0);opacity:1;}
}

.close{
  color:#aaa;
  float:right;
  font-size:24px;
  cursor:pointer;
}

.close:hover{
  color:black;
}

/* SEARCH */

.search-bar{
  max-width:600px;
  margin:40px auto;
  display:flex;
  justify-content:center;
}

.search-bar input{
  flex:1;
  padding:12px 20px;
  border-radius:5px 0 0 5px;
  border:1px solid #ccc;
  font-size:1rem;
}

.search-bar a{
  text-decoration:none;
  background:#ff6b6b;
  color:white;
  padding:12px 20px;
  border-radius:0 5px 5px 0;
  font-weight:500;
}

.search-bar a:hover{
  background:#ff4c4c;
}

/* VIEW ORDER */

#viewOrder{
  padding:12px 20px;
  background:#ff6b6b;
  color:white;
  border:none;
  border-radius:6px;
  font-size:1rem;
  cursor:pointer;
  margin:20px auto;
  display:block;
}

/* FOOTER */

footer{
  background:#fff;
  text-align:center;
  padding:20px;
  margin-top:40px;
  box-shadow:0 -2px 5px rgba(0,0,0,0.05);
  font-size:0.9rem;
  color:#777;
}

footer a{
  margin:0 10px;
  text-decoration:none;
  color:#007bff;
}

footer a:hover{
  text-decoration:underline;
}

/* CUSTOM IMAGE LINK */

.dish-imgLink{
  position:relative;
  display:block;
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
}

.dish-imgLink img{
  display:block;
  width:100%;
  height:170px;
  object-fit:cover;
}

.customize-badge{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:10px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  color:#fff;
  background:rgba(0,0,0,.62);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(6px);
}

.dish-imgLink:hover .customize-badge{
  transform:translateY(-1px);
}

/* DASHBOARD GALLERY */

.below-footer-section{
  max-width:1200px;
  margin:30px auto;
  padding:20px;
  text-align:center;
}

.gallery-title{
  font-size:1.6rem;
  font-weight:700;
  margin-bottom:20px;
}

.below-footer-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:15px;
  padding:20px;
}

.gallery-card img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  transition:transform 0.3s;
}

.gallery-card img:hover{
  transform:scale(1.05);
}

.gallery-card h4{
  margin:10px 0 5px;
  font-size:1.1rem;
  color:#ff6b6b;
}

.gallery-card p{
  font-size:0.9rem;
  color:#555;
}

/* GALLERY MODAL */

.gallery-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.7);
  z-index:3000;
  align-items:center;
  justify-content:center;
}

.gallery-modal-content{
  background:#fff;
  width:90%;
  max-width:900px;
  border-radius:12px;
  padding:20px;
  position:relative;
  animation:fadeUp 0.3s ease;
}

.gallery-close{
  position:absolute;
  right:15px;
  top:10px;
  font-size:26px;
  cursor:pointer;
}

.gallery-modal-content iframe{
  width:100%;
  height:400px;
  border:1px solid #ddd;
  border-radius:10px;
}

.contact-btn{
  display:block;
  margin:20px auto 0;
  padding:12px 24px;
  background:#ff6b6b;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  font-weight:600;
  width:fit-content;
}

@keyframes fadeUp{
  from{transform:translateY(30px);opacity:0;}
  to{transform:translateY(0);opacity:1;}
}

/* FIMITECH FOOTER */

.fimitech-footer{
  background:#f8f8f8;
  color:#555;
  text-align:center;
  padding:15px 20px;
  font-size:0.85rem;
  box-shadow:0 -1px 5px rgba(0,0,0,0.05);
  margin-top:20px;
}