@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Julius+Sans+One&family=Quicksand:wght@300..700&family=Signika:wght@300..700&display=swap");

:root {
  --olive: #5f6f52;
  --cornsilk: #fefae0;
  --russet: #783d19;
  --laurelgreen: #a9b388;
  --camel: #b99470;
  --lemon: #f9ebc7;
  --light-beige: #fffdf0;
  --ash: #99A48E;
  --ivory: #FEFEEC;
  --smoky: #1A140F;
  --russett: #B47604;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
  overflow-x: hidden;
  width: 100vw;
  background-color: var(--ivory);
}

/*Navbar Styling*/
.navbar {
  background: linear-gradient(var(--olive), var(--olive));
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-img {
  margin-left: 0px;
  margin-right: 750px;
}

.navbar ul {
  display: flex;
  gap: 40px;
  margin-left: auto;
}

.navbar li {
  list-style: none;
  font-family: 'Montserrat';
  letter-spacing: 0.6px; 
}

.navbar a {
  text-decoration: none;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
  position: relative;
  font-size: medium;
  color: #77b254; /*this changes the color of sub menu items*/
}

.navbar-items {
  text-decoration: none;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 4px;
  color: #fffdf0;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background: var(--light-beige);
  border-radius: 40px;
  transform: scaleX(0);
  transition: transform 0.4s;
}

.navbar a:hover {
  color: var(--light-beige);
}

.navbar a:hover::after {
  transform: scaleX(1);
}

.navbar-brand img{
  width: 75px;
  height: 65px;
}

/*  Style for dropdown menus */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color:rgb(56, 57, 55); /*This changes the color of drop down box*/
  min-width: 180px;
  box-shadow: 5px 8px 16px 0px rgba(211, 207, 207, 0.2);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display:block;
}

/* END - Style for drop down menus */
/*  Navbar  End */

/*============= MEDIA QUERIES =============*/

/* Devices under 1199px (xl) */
@media (max-width: 1199.98px) {
}

/* Devices under 992px (xl) */
@media (max-width: 991.98px) {
}

/* Devices under 768px (md) */
@media (max-width: 767.98px) {
  footer {
    padding: 60;
  }
}
/*============= MEDIA QUERIES END =============*/

/*Build Your Own Meal*/
select, button {
  width: 80%;
  padding: 10px;
  margin: 10 px;
  border: 1px solid #1A140F;
  border-radius: 5px;
}


.checkbox-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.checkbox-group label {
  margin: 5px;
}

/*End of Build Your Own Meal Functionality*/

footer {
  background: linear-gradient(var(--olive),var(--olive));
}
footer.mt-4 {
  margin-top: 0 !important;
  padding: 10px;
} 

footer a,
footer p,
.socket a,
.socket p {
  color: white;
  font-size: 0.9rem;
  font-weight: 300;
}

footer a:hover,
.socket a:hover {
  color: white;
}

ul.social {
  list-style-type: none;
  display: flex;
  max-width: 18rem;
  padding: 0;
  margin: 0 auto;
}

ul.social li {
  margin: 0 auto;
}

ul.social .svg-inline--fa {
  font-size: 2.2rem;
}
ul.social .svg-inline--fa:hover {
  color: #d1d1d1;
}
/*=== SOCKET ===*/
.socket {
  background-image: linear-gradient(90deg, #0ed41cef, #176f06);
  text-align: center;
  padding: 1rem;
  border-top: 0.05rem solid white;
}


/* General Styling */
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero {
  height: 70vh;
  background: url('../images/peter-wendt--r5KSMkyoSc-unsplash.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-blend-mode: darken;
  background-color: rgba(0, 0, 0, 0.2);
  margin-bottom: none;
}

.hero-content {
  background-color: var(--ivory);
  padding: 20px;
  border-radius: 10px;
  color: black;
  opacity: 80%;
}

.hero h1 {
  font-size: 3rem;
  margin: 0;
}

.hero p {
  font-size: 1.5rem;
}

/* Layout */

.container {
  display: flex;
  gap: 20px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--ivory);
}

html, body {
  height: 100%; 
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: var(--ivory);
}
.menu {
  flex: 1; /* Menu takes remaining space */
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 0px; /* Distance from the top before sticking */
  align-self: flex-start; /* Ensures the sidebar stays aligned */
  width: 200px;
  height: 100vh; /* Sidebar width */
  padding: 20px;
  border-radius: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  z-index: 1;
}


.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 10px 0;
  margin-top: 20px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  font-weight: normal;
  letter-spacing: 0.6px; 
}

.sidebar ul li a:hover {
  color: var(--olive);
}

.sidebar a.active {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .sidebar {
    width: 150px; /* Adjust sidebar width on smaller screens */
  }

  .sidebar ul li a {
    font-size: 1rem; /* Make text smaller on smaller screens */
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 100%; /* Make sidebar full width on very small screens */
    height: auto; /* Allow sidebar to grow based on content on very small screens */
  }

  .sidebar ul li a {
    font-size: 0.9rem; /* Further reduce text size */
  }
}

/* Menu Sections */
.menu {
  flex: 1;
  padding-left: 20px;
}

.menu section {
  margin-bottom: 50px;
}

.menu h2 {
  font-size: 2rem;
  color: var(--smoky);
  margin-bottom: 15px;
  margin-top: 10px;
  letter-spacing: 0.6px; 
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.menu-item {
  background: var(--ivory);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.menu-item img {
  width: 100%;
  height: 250px;
  width: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.menu-item h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  display: flex;
  font-family: "Montserrat", sans-serif;
  justify-content:space-between;
  align-items: center;
}

.price {
  font-weight: normal;
  color: #555;
}

.menu-item p {
  font-size: 1rem;
  color: #666;
  text-align: left;
  font-family: "Montserrat", sans-serif;
}

.full-order {
  display: none;
}

.see-order {
  width: 200px;
  display: flex;
}

/* Build Your Own Meal Styling */
#custom-meal {
  background-color: #a9b388;
  color: #f5f5f3;
  padding: 30px;
  border-radius: 15px;
  margin: 30px auto;
  text-align: center;
  max-width: 600px;
  box-shadow: 0px 4px 10px #a9b388;
}

/* Form Styling */
.meal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
}

h3 {
  font-size: 18px;
  margin: 15px 0 5px;
}

/* Select & Checkbox Styling */
select, label {
  font-family: "Arial", sans-serif;
  background: #f5f5f3;
  color: #3a5a40;
  padding: 8px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  margin: 5px 0;
  width: 80%;
  text-align: center;
}

label {
  display: block;
  margin: 5px 0;
}

/* Total Price */
#total-price {
  font-weight: bold;
  font-size: 20px;
  color: #5f6f52;
  font-family: "Montserrat", sans-serif;

}

button {
  background-color: rgb(42, 97, 17);
  color: white;
  border-color: rgb(42,97,17);
  border-radius: 20px;
  padding: 20px;
  margin-top: 10px;
  font-family: "Montserrat", sans-serif;
  
}

#placeOrder {
  padding: 5px;
  margin: 10px;
  width: 150px;
  display: flex;
  font-family: "Montserrat", sans-serif;
}
.removeButton {
  background-color: rgb(89, 95, 86);
  color: white;
  border-color: rgb(89, 95, 86);
  border-radius: 20px;
  width: 150px;
  margin-top: 10px;
  padding: 0px;
  margin-left: 5px;
  font-family: "Montserrat", sans-serif;
}

.full-order {
  background-color: rgb(207, 231, 149);
  font-family: "Montserrat", sans-serif;
  padding: 5px;
  margin-top: 5px;
}