/* Global Reset */
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'Josefin Sans', sans-serif;
}
html::-webkit-scrollbar-track{
    background: transparent;
}
html::-webkit-scrollbar-thumb{
    background: #b80000;
    border-radius: 10px;
}
html::-webkit-scrollbar{
    width: 10px;
}

/* =========================
   NAVBAR
   ======================== */
#navbar{
    background: transparent;
    padding: 0px 9% 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#logo img{
    width: 100px;
    margin-top: 3px;
}

/* Cart Button */
.cart-btn {
  position: relative;
  cursor: pointer;
  font-size: 22px;
  color: #b80000;
  margin-left: 15px;
  display: inline-flex;
  align-items: center;
}
.cart-btn #cartCount {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #b80000;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
}

/* =========================
   CART DRAWER
   ======================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: -3px 0 10px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cart-drawer.open {
  right: 0;
}
.cart-header, .cart-footer {
  padding: 15px;
  border-bottom: 1px solid #ddd;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#closeCart {
  cursor: pointer;
  font-size: 22px;
  color: #b80000;
}
.cart-items {
  padding: 15px;
  flex-grow: 1;
  overflow-y: auto;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cart-footer h5 {
  margin-bottom: 10px;
}
.checkout-btn {
  width: 100%;
  padding: 10px;
  background: #b80000;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
.bank-details p {
  margin: 5px 0;
}
.copy-btn {
  border: none;
  background: none;
  cursor: pointer;
  color: #b80000;
}

/* Payment Popup (overlay) */
.payment-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.popup-content {
  background: #fff;
  padding: 20px;
  width: 350px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}
#closePopup {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
  color: #b80000;
}

/* =========================
   HOME
   ======================== */
.home{
    width: 100%;
    height: 100vh;
    padding: 5px 11% 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 0;
}
.home .img{
    flex: 1 1 100px;
}
.home .img img{
    width: 100%;
    margin-left: 60px;
}
.home-content{
    flex: 1 1 400px;
    margin-top: 30px;
}
.home-content h3{
    font-size: 40px;
    font-weight: 700;
}
.home-content h3 span{
    color: #b80000;
}
#home-btn{
    padding: 10px;
    text-decoration: none;
    background: #b80000;
    color: white;
    border-radius: 5px;
}
@media screen and (max-width:873px){
    .home .img img{
        margin-left: 0px;
    }
}

/* =========================
   TOP SECTION
   ======================== */
.top-section{
    padding: 10px 11% 100px;
}
.top-section h5{
    color: #b80000;
    text-align: center;
}
.top-section h3{
    color: black;
    text-align: center;
    font-weight: 600;
}
.top-section .row{
    margin-top: 30px;
    align-items: center;
}
.top-section .row .card{
    border: none;
}
.top-section .row .card img{
    width: 200px;
    margin: auto;
}
.top-section .card-body{
    text-align: center;
}
.top-section .card-body h1{
    font-size: 25px;
    font-weight: 600;
}

/* =========================
   MENU SECTION
   ======================== */
.menu {
  padding: 100px 11% 100px;
}
.menu h3 {
  text-align: center;
  color: #b80000;
}
.menu h2 {
  text-align: center;
  color: black;
  font-weight: 600;
}
.menu h2 i {
  color: #b80000;
}

/* Switch Tabs */
.menu-switch {
  text-align: center;
  margin: 20px 0;
}
.switch-btn {
  padding: 10px 20px;
  margin: 0 5px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 20px;
  font-weight: 600;
}
.switch-btn.active {
  background: #b80000;
  color: #fff;
}
.hidden {
  display: none;
}

/* Card Styling */
.menu h6 {
  font-size: 16px;
}
.rating i {
  color: orange;
  font-size: 13px;
}
.menu p {
  margin-top: 5px;
  font-weight: bold;
}
.menu p i {
  float: right;
  color: #b80000;
  cursor: pointer;
}
.cart-controls {
  margin-top: 10px;
  display: flex;
  gap: 5px;
}
.cart-controls input {
  width: 50px;
  text-align: center;
}
.add-cart {
  background: #b80000;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* Hover Effect */
.menu-img {
  transition: transform 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  height: auto;
  display: block;
}
.menu-img:hover {
  transform: scale(1.1);
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 400px;
  text-align: center;
  border-radius: 10px;
}
.modal-content img {
  width: 100%;
  border-radius: 10px;
}
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #b80000;
}

/* =========================
   ORDER SECTION
   ======================== */
.order{
    padding: 100px 11% 100px;
}
.heading{
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}
.heading span{
    color: #b80000;
}
.order textarea{
    resize: none;
}
.order-btn{
    padding: 6px;
    margin-top: 30px;
    background: transparent;
    border: 2px solid #b80000;
    border-radius: 5px;
    color: #b80000;
    transition: 0.5s;
    cursor: pointer;
}
.order-btn:hover{
    background: #b80000;
    color: white;
    border: 2px solid white;
}

/* =========================
   REVIEW SECTION
   ======================== */
.review{
    padding: 100px 11% 100px;
}
.review .card{
    border: 1px solid #b80000;
}
.review h3{
    font-size: 16px;
    color: #b80000;
    font-weight: 550;
}
.review h2{
    font-weight: 600;
}
.review h5{
    margin-top: 35px;
    display: inline-block;
}
.review h5 a{
    margin-left: 10px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}
.review h5 img{
    border-radius: 5px;
}
@media screen and (max-width: 636px){
    .review h3{
        margin-top: 10px;
    }
}

/* =========================
   CONTACT SECTION
   ======================== */
.contact{
    padding: 100px 11% 100px;
}
.contact .col-md-5{
    background: #000000;
    border-radius: 10px;
    color: white;
}
.contact h3{
    margin-top: 30px;
}
.contact i span{
    margin-left: 10px;
    cursor: pointer;
}

/* =========================
   FOOTER
   ======================== */
#footer{
    padding: 15px 11% 15px;
}
#footer .f-content{
    text-align: center;
}
.f-logo img{
    width: 250px;
    cursor: pointer;
}
.f-content i{
    font-size: 18px;
    color: black;
    padding: 10px;
    transition: 0.5s;
    cursor: pointer;
}
.f-content i:hover{
    background: #b80000;
    color: white;
    border-radius: 5px;
}
.c-content{
    text-align: center;
}
.c-content span a{
    text-decoration: none;
    color: #b80000;
}

/* ============= Responsive tweaks ============ */

/* Make menu cards stack nicely on smaller screens */
@media (max-width: 991.98px) {
  .menu .row .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0.5rem;
  }
}

/* Mobile: stack to 1 column */
@media (max-width: 575.98px) {
  .menu .row .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0.4rem;
  }

  /* Cart button styled like floating burger icon */
.cart-btn {
  position: absolute;
  top: 50%;              /* align vertically relative to navbar */
  right: 16px;
  transform: translateY(-50%);  /* centers it vertically */
  background: #b80000;   /* button background (customize color) */
  padding: 10px 12px;
  border-radius: 50%;    /* makes it circular */
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.cart-btn i {
  color: #fff;           /* icon color */
  font-size: 18px;
}

.cart-btn:hover {
  background: #b80000;   /* darker shade on hover */
}

/* Make the cart drawer nearly-fullwidth on phones */
.cart-drawer {
  width: 92%;
  right: -100%;
}
.cart-drawer.open {
  right: 4%;
}


  /* Slight adjustments for modal content on small screens */
  .modal-content {
    width: 90%;
    margin-top: 20%;
  }

  /* Reduce large paddings so content fits better on small screens */
  .menu, .order, .review, .contact {
    padding-left: 6%;
    padding-right: 6%;
  }
}
