@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #ff0000;
    --decent-color: #e66262;
    --accent-color: #fff;
    --secondary-color: rgb(255, 0, 0);
    --font-family: 'Poppins', sans-serif;
    --text-color: gray;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background: #fff;
    padding: 0 9%;
}

/* Header Section */
.header {
    padding: 1rem 0;
}

.header--menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.burger--icon i {
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 5px;
    cursor: pointer;
}

.search--box {
    background: var(--decent-color);
    border-radius: 20px;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.search--box i {
    color: var(--primary-color);
}

.search--box input {
    background: transparent;
    padding: 10px;
    width: 80%;
    border: none;
}

.menu--icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu--icons i {
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    background: var(--decent-color);
}

.fa-cart-shopping {
    background: transparent !important;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
}

.cart-icon span {
    background: var(--secondary-color);
    color: var(--accent-color);
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: absolute;
    right: -5px;
    top: -5px;
}

/* Cover Section */
.cover {
    background-image: url('dominos\ background.png');
    background-size: cover;
    height: 25vh;
    background-position: center;
    border-radius: 10px;
    margin-top: 10px;
}

.cover--overlay h1 {
    font-size: 3rem; /* Adjust as needed */
    position: relative;
    z-index: 2; /* Ensure it appears above the overlay */
    display: flex;
    align-items: center;
    gap: 10px; /* Space between image and text */
}

.h1-image {
    width: 200px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 0; /* Optional: Makes the image circular */
    display: inline-block; /* Ensures proper alignment with text */
    background: none; /* Ensures no background color */
    box-shadow: none; /* Removes any shadow if present */
}


.cover--overlay {
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
}

/* Section Heading */
.section-heading {
    font-size: 18px;
    text-transform: uppercase;
    margin: 1rem 0 10px 0;
    color: var(--text-color);
}

/* Menu List */
.menu--list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.menu--item {
    width: 114px;
    display: flex;
    align-items: center;
    flex-direction: column;
    border: 2px solid var(--decent-color);
    padding: 10px 13px;
    border-radius: 10px;
    color: var(--text-color);
}

.menu--item img {
    width: 100%;
}

/* Card List */
.card--list {
    display: flex;
    gap: 10px; /* Fixed spacing */
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.card {
    width: 190px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 10px 1rem;
    border-radius: 10px;
    background: var(--accent-color);
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-color);
}

.card img {
    width: 100%;
}

.card--price {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.card--price .price {
    color: var(--primary-color);
    font-weight: 600;
}

.add-to-cart {
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    color: var(--accent-color);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3), 0px 0px 0px 3px rgba(231, 236, 236, 1);
}

/* Cart Menu Sidebar */
.sidebar {
    width: 300px;
    height: 100%;
    position: fixed;
    top: 0;
    right: -300px; /* Fixed initial position */
    background-color: var(--accent-color);
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    padding: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.sidebar.open {
    right: 0; /* Fixed position for open state */
}

.sidebar-close {
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
}

.individual-cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 5px;
    border-radius: 5px;
    color: var(--text-color);
    border: 1px solid var(--decent-color);
}

.card-item-price {
    color: var(--primary-color);
}

.sidebar--footer {
    position: absolute;
    bottom: 10px;
    width: 88%;
}

.total--amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid var(--decent-color);
    border-radius: 5px;
    padding: 15px 10px;
}

.cart-total {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
}

.checkout-btn {
    width: 100%;
    margin-top: 2rem;
    background: var(--secondary-color);
    color: var(--accent-color);
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
}
/* Styling for the remove button in the cart */
.remove-item {
    background-color: #f44336; /* Red color */
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    border-radius: 5px;
}


.quantity-control button {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: none;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.quantity-control span {
    font-weight: 600;
    font-size: 16px;
}
/* Add this in your yarab2.css file */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 120px;  /* Adjust size as needed */
    height: auto;
    margin-right: 15px;  /* Adjust spacing if needed */
}

.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.payment-modal-content {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    position: relative;
    text-align: center;
}

.payment-modal-close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

.payment-options button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.payment-options button:hover {
    background: #0056b3;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-around;
}

.modal-confirm,
.modal-cancel {
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-confirm {
    background-color: #28a745;
    color: white;
}

.modal-cancel {
    background-color: #dc3545;
    color: white;
}

.hidden {
    display: none;
}

.category-filter {
    display: flex;
    gap: 10px;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.category-filter button {
    background-color: var(--decent-color);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.category-filter button:hover {
    background-color: var(--secondary-color);
}
.container {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .nav, .header, .section {
    flex-direction: column;
    text-align: center;
  }
}
.hidden {
  display: none;
}

.card--list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  gap: 20px;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.card--title {
  margin: 10px 0 5px;
  font-size: 18px;
  color: #333;
}

.card--price {
  font-size: 16px;
  font-weight: bold;
  color: #e60000;
}

.add-to-cart {
  font-size: 20px;
  margin-top: 10px;
  cursor: pointer;
  color: #333;
}

/* Optional: adjust for tiny screens */
@media (max-width: 400px) {
  .card--list {
    grid-template-columns: 1fr 1fr; /* still 2 columns */
    gap: 12px;
  }
}

