/* General Styling */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}


.index-page body {
  background-color: #2c180d;
  color: white;
}

#background-video {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the entire area without distortion */
  z-index: -1; /* Ensure the video stays in the background */
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}


/* Custom Header */
.header-custom {
  display: flex;
  justify-content: space-between; /* Ensure logo is on the left and name is on the right */
  align-items: center; /* Aligns logo and name vertically */
  padding: 10px 20px;
  width: 100%;
  max-width: 500px;
  background-color: transparent;
  margin: 0 auto;
}

.logo-container {
  flex: 0 0 auto; /* Prevents the logo container from growing */
  text-align: left; /* Aligns logo to the left */
}

.site-name {
  flex: 1;
  text-align: right; /* Aligns name to the right */
}

.logo-custom {
  width: 80px; /* Increase logo size */
  height: auto;
}

.offer-banner {
    text-align: center;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 20px;
    border-top-left: 5px solid #fff; /* White border top left */
    border-bottom-right: 5px solid #fff; /* White border bottom right */
}

/* Menu Container */
.index-page .menu-container {
  max-width: 400px;
  margin: 0 auto;
  padding-bottom: 70px;
}

/* Menu Item Styling */
.index-page .menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two-column layout */
  gap: 20px;
  padding: 20px;
}

/* استهداف العناصر الفردية */
.index-page .menu-items a:nth-child(odd) .menu-item {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 0px 60px 0px 60px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 150px;
}

/* استهداف العناصر الزوجية */
.index-page .menu-items a:nth-child(even) .menu-item {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 60px 0px 60px 0px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 150px;
}

/* Hover effect */
.index-page .menu-item:hover {
  transform: scale(1.05); /* Slight scale up on hover */
}

/* Menu Item Image Styling */
.index-page .menu-item img {
    min-width: 70px;
    min-height: 70px;
    margin-bottom: 10px;
    max-width: 70px;
    max-height: 70px;
}

.index-page .menu-item h3 {
  color: #ffd700; /* Text color for menu items */
  font-size: 16px;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Adjusting the header layout for smaller screens */
  .header-custom {
    padding: 10px;
    flex-direction: row; /* Make sure logo and name remain in one row */
    max-width: 100%;
    width: 100%;
  }

  .logo-custom {
    width: 90px; /* Increase the logo size slightly on mobile */
  }

  .index-page .menu-items {
    grid-template-columns: repeat(2, 1fr); /* Keep two columns in mobile */
  }

  .index-page .menu-item {
    padding: 15px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
  }
}

@media (max-width: 480px) {
    
    
  /* For very small mobile screens */
  .header-custom {
    flex-direction: row; /* Keep the logo and name on the same row */
    justify-content: space-between; /* Space them evenly */
    align-items: center; /* Ensure vertical alignment */
    padding: 10px;
  }

  .logo-custom {
    width: 70px; /* Smaller logo for small screens */
  }

  .site-name {
    text-align: right; /* Keep name aligned to the right */
  }

  .index-page .menu-items {
    grid-template-columns: repeat(2, 1fr); /* Keep two columns even on small screens */
    gap: 15px; /* Adjust gap for smaller screens */
  }

  .index-page .menu-item {
    padding: 10px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}


/* Banner Container - Full width and height for images with border-radius */
.banner-container {
  display: flex;
  overflow: hidden; /* Ensures content that overflows will be hidden */
  width: 88%;
  margin: 20px auto;
  position: relative;
  justify-content: center;
  height: 170px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Smooth sliding animation */
  width: 100%;
}

.banner-item {
  min-width: 100%; /* Each banner takes up the full width of the container */
  flex: 0 0 100%; /* Ensures all banners take up equal width */
  box-sizing: border-box;
  margin: 0; /* Remove all margin */
  border-radius: 20px; /* Apply border-radius to the container */
  overflow: hidden; /* Ensure the image doesn't overflow the border radius */
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire container without distortion */
  padding: 0;
  margin: 0;
  border-radius: 20px; /* Apply the same border-radius to the image */
}


/* Control buttons (Optional) */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0 10px;
}

.control-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
}





/* Menu Page Specific Styles */
body.menu-page {
  background-color: #f5f5f5;
  color: #333;
  text-align: left;
  margin: 0;
  padding: 0;
}

/* Category Bar Styling */
.menu-page .category-bar {
  display: flex;
  overflow-x: auto;
  background-color: #fff;
  padding: 10px 0;
  white-space: nowrap;
  border-bottom: 1px solid #ddd;
}

.menu-page .category-item {
  flex: 0 0 25%;
  text-align: center;
  padding: 10px;
  margin-right: 10px;
  background-color: #fff;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}

.menu-page .category-item.active {
  background-color: #fffce7;
  border-color: #ffcc00; /* Highlight border for active category */
}

.menu-page .category-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.menu-page .category-item p {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
}

/* Menu Items List */
.menu-page .menu-list {
  padding: 15px;
  background-color: #f5f5f5;
}

/* Menu Item Styling */
.menu-page .menu-item {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow for menu items */
  justify-content: space-between; /* Ensure the space between the image and content */
}

/* Image on the left */
.menu-page .menu-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 15px; /* Adds some space between the image and the content */
}

/* Menu Info and Add Button */
.menu-page .menu-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column; /* Stack the text and button vertically */
  align-items: flex-end; /* Align everything to the right */
  text-align: right; /* Make sure the text aligns to the right */
}

.menu-page .menu-info h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}

.menu-page .menu-info .price {
  font-size: 18px;
  color: #28a745;
  font-weight: bold;
}

.menu-page .add-btn {
  background-color: #ff0000;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-top: 10px; /* Adds space between price and button */
}



/* Scrollbar customization for category bar */
.menu-page .category-bar::-webkit-scrollbar {
  height: 8px;
}

.menu-page .category-bar::-webkit-scrollbar-thumb {
  background-color: #ffcc00; /* Custom scrollbar for the category bar */
  border-radius: 4px;
}

/* Bottom Bar Styling */
.bottom-bar {
  position: fixed;
  bottom: 0;
  width: 100vw;
  background-color: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 0;
  z-index: 1000;
  height: 80px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); /* Shadow for a lifted effect */
  border-radius: 40px 40px 0px 0px;
}


.bottom-bar {
  position: fixed;
  bottom: 0;
  width: 100vw;
  background-color: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 0;
  z-index: 1000;
  height: 80px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); /* Shadow for a lifted effect */
  border-radius: 40px 40px 0px 0px;
  border-top-style: solid;
    border-color: #272931;
    border-width: 4px;
}



/* Icon Styling */
.bottom-icon a {
  color: white; /* Default icon color is white */
  font-size: 28px;
  transition: color 0.3s ease; /* Smooth transition for color change */
  position: relative;
}

.bottom-icon a:hover, .bottom-icon a:focus {
  color: yellow; /* Change to yellow on hover or focus */
}

/* Active state when clicked (optional if you want a persistent state) */
.bottom-icon a.active {
  color: yellow;
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 5px;
  font-size: 12px;
}

/* Additional Styling for Better Design */
.bottom-bar {
 
  background-color: #222; /* Slightly lighter black for contrast */
  padding: 15px 0; /* Adjust padding for a sleeker look */
  height: 70px; /* Reduce height for a modern look */
}

.bottom-icon a {
  font-size: 28px;
  color: white; /* White color initially */
}

.bottom-icon a:hover {
  color: yellow; /* Yellow on hover */
}

.bottom-bar i {
  transition: transform 0.2s ease-in-out;
}

.bottom-icon a:hover i {
  transform: scale(1.2); /* Scale icon on hover for a nice effect */
}
/* Modal Styling */
.modal {
    position: fixed;
    bottom: -100%; /* Hidden below the screen initially */
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 2000;
    transition: bottom 0.5s ease; /* Smooth slide-up effect */
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 20px 20px 0 0;
    max-height: 90vh; /* Prevent modal from exceeding 90% of the viewport height */
    overflow-y: auto; /* Enable vertical scrolling inside the modal */
}

.modal-content {
    padding: 20px;
    text-align: center;
    position: relative; /* Needed for close button positioning */
    max-height: 85vh; /* Ensure modal content doesn’t exceed the modal height */
    overflow-y: auto; /* Allow scrolling if content overflows */
}

.modal-image {
    width: 150px;
    margin-bottom: 10px;
}

.modal h2 {
    font-size: 20px;
    color: #ff6600;
    margin-bottom: 10px;
}

.modal p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.modal h3 {
    font-size: 22px;
    color: #28a745;
    margin-bottom: 20px;
}

.add-to-cart {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

/* Modal Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 20px; /* Move close button to the right */
    font-size: 24px;
    cursor: pointer;
}

/* Show modal (this class will be added by JavaScript) */
.modal.show {
    bottom: 0; /* Slide modal up to be visible */
}

/* Modal Price and Quantity Container */
.modal-price-quantity {
    display: flex;
    justify-content: space-between; /* Space between price and quantity */
    align-items: center;
    margin-bottom: 20px;
    width: 100%; /* Ensure full width */
    max-width: 300px; /* Limit max width */
    margin-left: auto; /* Center it horizontally */
    margin-right: auto; /* Center it horizontally */
}


/* Quantity Selector Styling */
.quantity-selector {
    display: flex;
    align-items: center;
}

.quantity-btn {
    background-color: #ff6600;
    color: white;
    border: none;
    font-size: 20px;
    padding: 5px 15px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
}

.quantity-btn:active {
    background-color: #e65c00; /* Darker color when button is pressed */
}

#quantity {
    font-size: 18px;
    font-weight: bold;
}

/* Modal Price Styling */
.modal h3 {
    font-size: 22px;
    color: #28a745;
    margin-bottom: 0; /* Remove extra margin */
    margin-right: 20px; /* Space between price and quantity */
}


/* Cart.html */
/* Cart Page Specific Styles */
body.cart-page {
  background-color: #f5f5f5;
  color: #333;
  margin: 0;
 
  font-family: 'Arial', sans-serif;
}

/* Cart Container */
.cart-container {
  max-width: 500px;
  padding: 20px; /* Padding adds internal spacing */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  
  /* To center horizontally without affecting the footer */
  margin-right: auto; /* Keep auto for right */
  margin-left: auto; /* Set left margin to 0 to avoid affecting footer */
}



/* Cart Heading */
.cart-container h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #ff6600;
}

/* Cart Items */
.cart-items {
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.cart-item img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  margin-right: 15px;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-info h3 {
  margin: 0;
  font-size: 18px;
}

.cart-item-info .quantity-selector {
  margin-top: 10px;
}

/* Order Type Section */
.order-type {
  margin-bottom: 20px;
}

.order-type h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.order-type label {
  display: block;
  margin-bottom: 10px;
}

/* Delivery Fields */
#delivery-fields {
  margin-bottom: 20px;
}

#delivery-fields label {
  display: block;
  margin-bottom: 10px;
}

#delivery-fields input, 
#delivery-fields select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* name-phone-fields */
#name-phone-fields {
  margin-bottom: 20px;
}

#name-phone-fields label {
  display: block;
  margin-bottom: 10px;
}

#name-phone-fields input, 
#name-phone-fields select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* table-number-field */
#table-number-field 
{
    margin-bottom: 20px;
}

#table-number-field label {
    display: block; margin-bottom: 10px; 
} 

#table-number-field input, #table-number-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px; 
    
}

/* Note-field */
#note-field 
{
    margin-bottom: 20px;
}

#note-field label {
    display: block; margin-bottom: 10px; 
} 

#note-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px; 
    
}
 

/* Payment Type Section */
.payment-type {
  margin-bottom: 20px;
}

.payment-type h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.payment-type label {
  display: block;
  margin-bottom: 10px;
}
.payment-option {
    font-weight: normal; /* Ensure the text is not bold */
    color: #777; /* You can adjust the color to your preference */
    cursor: not-allowed; /* Change the cursor to indicate it's not clickable */
}

.soon-text {
    font-style: italic; /* Italic styling for 'Soon' text */
    color: #999; /* A lighter color to differentiate it */
}



/* Invoice Section */
.invoice {
  margin-bottom: 20px;
  text-align: right;
}

.invoice h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.invoice p {
  font-size: 16px;
  margin-bottom: 5px;
}

/* Place Order Button */
.place-order-btn {
  background-color: #28a745;
  color: white;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
}

.place-order-btn:hover {
  background-color: #218838;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
}

.quantity-btn {
  background-color: #ff6600;
  color: white;
  border: none;
  font-size: 20px;
  padding: 5px 15px;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 10px;
}

.quantity-btn:active {
  background-color: #e65c00;
}

#quantity {
  font-size: 18px;
  font-weight: bold;
}




/* General Styles for the About Page */
body.about-page {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}

/* About Container Styling */
.about-container {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-container h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.about-container p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin: 0 auto;
    padding: 0 20px;
}

/* Location Section */
.location-section {
    padding-top: 30px;
}

.location-info {
    margin-bottom: 20px;
}

.location-info h2 {
    font-size: 28px;
    color: #007bff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-info p {
    font-size: 16px;
    color: #555;
}

.location-link {
    font-size: 18px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.location-link:hover {
    text-decoration: underline;
}

/* Social Media Section */
.social-container {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.social-container h4 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    transition: background-color 0.3s ease;
}

.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.instagram {
    background-color: #e4405f;
}

.social-icon:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-container h2 {
        font-size: 28px;
    }

    .about-container p {
        font-size: 16px;
    }

    .social-container h4 {
        font-size: 20px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .about-container h2 {
        font-size: 24px;
    }

    .about-container p {
        font-size: 14px;
    }

    .social-container h4 {
        font-size: 18px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}



/* Language Dropdown Styling */
.language-dropdown {
    position: fixed;
    top: 40%;
    left: 0px;
    background-color: #000000;
    border: 1px solid #ddd;
    list-style-type: none;
    padding: 10px 0;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-right: 4px solid #ffffff;
  border-top: 4px solid #ffffff;
  border-bottom: 4px solid #ffffff;
  border-radius: 0px 30px 30px 0px;
    z-index: 1000;
    opacity: 0;
  transform: translateY(-20px);
  animation: fadeIn 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.language-dropdown li {
  padding: 10px 20px;
  cursor: pointer;
}

.language-dropdown li a {
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
}



.info-popup {
  position: fixed;
  top: 33%;
  right: 0px;
  background: #000000;
  border-left: 4px solid #ffffff;
  border-top: 4px solid #ffffff;
  border-bottom: 4px solid #ffffff;
  border-radius: 30px 0px 0px 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 90px;
  z-index: 1000;
  display: none; 
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeIn 0.3s ease-in-out forwards;
}

.info-popup ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right; 
}

.info-popup li {
    display: block;
    align-items: center;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
}

.info-popup li i {
  color: #ffffff;
  font-size: 25px;
}


.info-popup li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}


.bottom-icon.cartmain {
    background-color: #272930;
    padding: 20px 28px;
    border-radius: 50%;
    z-index: 9999;
    border-top-style: solid;
    border-color: #ffffff;
    border-width: 2px;
}

.site-sections-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding: 20px 10px 30px 10px;
}

.site-section {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.7); 
  border-radius: 40px 10px 40px 10px;
  padding: 10px;
  color: white;
  width: 100%;
  justify-content: space-around;
  
}

.site-section img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
  margin-left: 10px;
}

.section-name {
  font-size: 18px;
  font-weight: bold;
}

