body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: #121212;
  color: #eee;
  margin: 0;
  padding: 0;
}

.cursor-pointer {
  cursor: pointer;
}

.loading-screen {
  position: fixed;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;  
  background-color: rgba(18, 18, 18, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* ==================  side bar================== */
.side-nav-menu {
  background-color: #1f1f1f;
  height: 100vh;
  position: fixed;
  top: 0;
  /* right: 0;  */
  transition: margin-left 0.3s ease;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.7);
  z-index: 9999;
  overflow-y: auto;
}

.nav-tab {
  width: 250px;
  transition: margin-left 0.3s ease;
}

.side-nav-menu:not(.menu-open) .nav-tab {
  margin-left: -250px;
}

.links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links li {
  padding: 15px 20px;
  border-bottom: 1px solid #333;
  color: #ddd;
  font-weight: 600;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.side-nav-menu.menu-open .links li {
  transform: translateY(0);
  opacity: 1;
  cursor: pointer;
}

.links li:hover {
  background-color: #333;
  color: #fff;
}

.side-nav-menu.menu-open .links li:nth-child(1) {
  transition-delay: 0.1s;
}

.side-nav-menu.menu-open .links li:nth-child(2) {
  transition-delay: 0.2s;
}

.side-nav-menu.menu-open .links li:nth-child(3) {
  transition-delay: 0.3s;
}

.side-nav-menu.menu-open .links li:nth-child(4) {
  transition-delay: 0.4s;
}

.side-nav-menu.menu-open .links li:nth-child(5) {
  transition-delay: 0.5s;
}

.side-nav-menu.menu-closing .links li {
  transform: translateY(-100%);
  opacity: 0;
}

.side-nav-menu.menu-closing .links li:nth-child(1) {
  transition-delay: 0.5s;
}

.side-nav-menu.menu-closing .links li:nth-child(2) {
  transition-delay: 0.4s;
}

.side-nav-menu.menu-closing .links li:nth-child(3) {
  transition-delay: 0.3s;
}

.side-nav-menu.menu-closing .links li:nth-child(4) {
  transition-delay: 0.2s;
}

.side-nav-menu.menu-closing .links li:nth-child(5) {
  transition-delay: 0.1s;
}

/* ================== cards category================== */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background-color: #222;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(174, 171, 171, 0.2);
}

.category-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card .meal-layer {
  padding: 15px;
  color: #fff;
}

/* ============ cards meal=========== */
.meal {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  background-color: #1f1f1f;
}

.meal:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.meal img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.meal-layer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(186, 174, 174, 0.95);
  transition: top 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  border-radius: 0 0 12px 12px;
  text-align: center;
  color: #222;
}

.meal:hover .meal-layer {
  top: 0;
}

.meal-layer h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #828282;
}

.meal-layer p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.3;
}

/* ==================meal-details  ================== */
.meal-details {
  background-color: #222;
  border-radius: 12px;
  padding: 30px;
  max-width: 900px;
  margin: 20px auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  color: #eee;
}

.meal-details h2 {
  margin-bottom: 20px;
  font-weight: 800;
  font-size: 2rem;
  color: #41c1e8;
  text-align: center;
}

.meal-details img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(201, 184, 131, 0.5);
}

.meal-details h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #255b5e;
  font-weight: 700;
  border-bottom: 2px solid #ffca28;
  padding-bottom: 5px;
}

.meal-details p,
.meal-details ul {
  line-height: 1.6;
  font-size: 1rem;
  color: #ddd;
}

.meal-details ul {
  list-style: inside disc;
  padding-left: 0;
}

.meal-details button {
  background-color: #ffca28;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  color: #222;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
}

.meal-details button:hover {
  background-color: #ffc107;
}


/* ==================  inputs =================== */
input.form-control {
  background-color: #333;
  border: none;
  color: #eee;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

input.form-control::placeholder {
  color: #bbb;
}

input.form-control:focus {
  outline: none;
  background-color: #444;
  box-shadow: 0 0 5px #084a36;
  color: #fff;
}

.fa-solid.fa-drumstick-bite,
.fa-solid.fa-house-laptop {
  color: #47370a;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.fa-solid.fa-drumstick-bite:hover,
.fa-solid.fa-house-laptop:hover {
  transform: scale(1.2);
  color: #248cee;
}

.col-md-3 {
  margin-bottom: 30px;
}

#contactSection {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}