@import url('https://fonts.googleapis.com/css2?family=Edu+SA+Hand:wght@400..700&family=Michroma&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    box-sizing: border-box;
    margin: 0%;
    padding: 0%;
    transition: all 0.5s linear;
    color: #fff;
    text-transform: capitalize;
}
body{
    font-family: "Roboto", sans-serif;
}

body.light {
    background: #f5f5f5;
    color: #000;
  }

  body.dark {
    background: #121212;
    color: #fff;
}


header{
    position: relative;
    padding: 2em 0;
    background: linear-gradient(rgba(0, 0, 0, 0.763), rgba(0, 0, 0, 0.597)), url(img/fish.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 60vh;
}
.logo{
    font-size: 1.5em;
    font-weight: 600;
    flex: 1;
    color: #fff;
    display: flex;
    align-items: center;
}
.logo img{
    width: 70px;
    margin-right: 1%;
    border-radius: 50%;
    width: 70px;
    height: 70px;
}
.navbar{
    width: 100%;
    padding: 1rem 3rem;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    /* z-index: 1; */
    top: 0;
    position: fixed;
}
.navbar.scrolled{
    background-color: #000; /* Or any solid color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.nav_items{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}
.item{
    display: flex;
    justify-content: center;
}
.nav_items li{
    list-style: none;
    padding: 1em;
}
.nav_items li a{
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}
.nav_items li::before{
    content: '';
    width: 0;
    height: 2px;
    background: orangered;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav_items li:hover::before{
    width: 100%;
}
.btn{
    padding: 9px 15px;
    font-size: 18px;
    letter-spacing: 2px;
    cursor: pointer;
    background-color: orangered;
    border: 2px solid orangered;
    transition: all 0.5s ease-out;
}

.btn a{
    text-decoration: none;
}


.nav_menu{
    display: none;
}
.main{
    width: 80%;
    left: 50%;
    top: 55%;
    transform: translate(-50%,-50%);
    position: absolute;
    color: #fff;
}
.heading_1{
    font-size: 2.5em;
}
.heading{
    font-size: 1.5em;
    padding: 1.5% 0;
    font-family: "Edu SA Hand", cursive;
    color: #cdcdcd;
}
.main_btn{
    display: flex;
}
.btn1:hover{
    background-color: transparent;
}
.btn2{
    background-color: transparent;
    margin-left: 1%;
    align-items: center;
    display: flex;
}
.btn2 i{
    font-size: 2em;
    margin-right: 6px;
    color: orangered;
}
.btn2:hover{
    background-color: orangered;
}
.btn2:hover i{
    color: #fff;
}


/* NEW MENU  */

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .filter-buttons, .theme-toggle, .search-bar {
    text-align: center;
    margin-bottom: 20px;
  }

  .filter-buttons button, .theme-toggle button {
    margin: 5px;
    padding: 10px 15px;
    cursor: pointer;
    background-color: #333;
    color: white;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 4px;
    transition: background 0.3s;
  }

  .filter-buttons button:hover, .theme-toggle button:hover {
    background-color: #555;
  }

  .search-bar input {
    padding: 10px;
    width: 80%;
    max-width: 400px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }


  .menu-section h2 {
    font-family: "Michroma", sans-serif;
    font-size: 34px;
    text-transform: uppercase;
    text-align: center;
    margin: 80px 0 10px;
    color: #000;
    font-weight: bold;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
  }

  .menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .menu-item {
    background: rgb(182, 130, 130);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    cursor: pointer;
  }

  .menu-item:hover{
      transform: scale(1.05);
      background: rgb(0, 0, 0);
  }

  body.dark .menu-item {
    background: #1e1e1e;
  }

  .menu-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
  }

  .menu-item-details {
    text-align: center;
    margin-top: 10px;
    font-size: 1.3rem;
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 900;
  }

  .menu-item-details span{
    text-align: center;
    margin-top: 10px;
    font-size: 1.3rem;
    color: #fff000;
    padding: 6px 10px;
    font-weight: 600;
  }

  .quantity-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
  }

  .quantity-controls input {
    text-align: center;
    width: 40px;
    color: #000;
  }

  .quantity-controls button {
    padding: 5px 10px;
    background-color: hsl(0, 82%, 47%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .quantity-controls button:hover {
    background-color: #218838;
  }

  #cart{
    height: auto;
  }

  .cart-btn-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }

  .cart-btn-container button {
    padding: 10px 15px;
    font-size: 18px;
    background: #333;
    color: white;
    border: none;
    border-radius: 50px;
    position: relative;
 }

  #cart-items{
    margin-top: 10px;
  }

  .cart-container h3{
    font-family: Michroma, "sans-serif";
    font-size: 2rem;
    text-transform: capitalize;
    font-weight: bold;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px; 
  }

  body.dark, .cart-container h3{
    background: #1e1e1e;
  }

  #cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cart-container {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 29px;
    background: rgb(188, 143, 143);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    width: 400px;
    height: 400px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.55);
    z-index: 999;
    animation: slide-up 0.3s ease;
  }

  body.dark .cart-container {
    background: #1e1e1e;
    color: rgb(255, 0, 0);
  }


  @keyframes slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }

  #cart span{
    font-weight: 900;
  }

  .cart-container h3{
    font-size: 2rem;
    text-transform: capitalize;
  }

  .cart-container p {
    font-size: 1.2rem;
    font-weight: 900;
    margin: 20px 0 20px;
  }

  #cart-count{
    font-size: 1rem;
  }

  .cart-actions button {
    margin-top: 10px;
    margin-right: 5px;
    padding: 8px 10px;
    border: none;
    background: #dd0000;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 800;
  }

  .cart-actions button:hover {
    background: #000000;
  }

  .remove-btncart{
    padding: 3px 5px;
    background-color: #ff0000;
    border: none;
    border-radius: 50%;
  }
/* END CSS */



/* __________FOOTER */

.site-footer{
  width: 100%;
  background-color: #000;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  padding: 20px;
}

.footer-column {
  flex: 1 1 270px;
  margin: 20px;
}

.footer-column h2, .footer-column h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
  font-weight: bold;
  font-family: "Michroma", "sans-serif";
}

.footer-column p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.5;
  padding: 5px 0px;
}

.social-icons{
  background-color: #ff0000;
  margin-top: 20px;
  padding: 5px 8px;
}

.social-icons a {
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-form input[type="email"] {
  padding: 10px;
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  color: white;
  margin-bottom: 10px;
  text-decoration: none;
  text-transform: lowercase;
}

.newsletter-form .arrow-btn {
  background: none;
  border: none;
  color: rgb(246, 0, 0);
  font-size: 18px;
  cursor: pointer;
  align-self: flex-end;
  margin-top: -40px;
}

.newsletter-form .policy {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.newsletter-form .policy label {
  margin-left: 5px;
  font-size: 13px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 13px;
}

.footer-column, .fas {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-column{
    flex-direction: column;
    border-bottom: 1px solid #ff0000;
  }

  .footer-column {
    margin: 20px 0;
  }
  .social-icons{
    background-color: #ff000064;
  }
  .footer-column, .fas {
    margin-right: 8px;
  }

  .footer-bottom{
    padding: 20px 0;
  }
  
}
  
 /* END OF FOOTER */


@media only screen and (max-width:1050px){
    .about_heading{
        gap: 0 2em;
    }
    .about_box,.boxes{
        gap: 1em;
    }
    .box1_text .btn{
        padding: 9px;
        font-size: 15px;
    }
    .left_box .heading{
        font-size: 2.5em;
    }
}

@media only screen and (max-width:850px){
.nav_items{
    position: absolute;
    top: -1%;
    left: 0;
    width: 100%;
    padding: 5em 0em 2em 0;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 0.9rem;
    background-color: #000;
    transition: 0.5s;
    z-index: -1;
    transform: translateY(-100%);
}
.nav_items.open{
    transform: translateY(0);
}
.item{
    flex-direction: column;
}
.nav_menu{
    display: block;
    font-size: 2em;
}
.boxes,.about_box{
    grid-template-columns: repeat(2,1fr);
}
.contact_box{
    grid-template-columns: 1fr;
}
.footer_container{
    grid-template-columns: repeat(3,1fr);
}


}
@media only screen and (max-width:660px){

.about_heading{
    grid-template-columns: 1fr;
}
.about .para{
    grid-column: 1;
}
.boxes,.about_box{
    grid-template-columns: repeat(1,1fr);
}
.footer_container{
    grid-template-columns: repeat(2,1fr);
}
.navbar {
    padding: 2rem 2rem;
}
.heading {
    font-size: 0.2em;
}
.heading_1 {
    font-size: 1.8em;
    margin-bottom: 30px;
}
.urban-title{
    font-size: 0.90rem;
    margin-left: 10px;
}

.logo img{
    width: 50px;
    height: 50px;
}

.footer img{
    display: none;
    border-radius: 50%;
    height: 70px;
}

.cart-container {
  width: 300px;
  height: 300px;
}
}


@media only screen and (max-width:480px){
    .footer_container{
        grid-template-columns: repeat(1,1fr);
    }
    .btn {
        margin-top: 20px;
        padding: 9px;
        font-size: 10px;
    }
    .main {
        width: 90%;
    }
    
}