* {
    padding: 0;
    margin: 0;
}

body,
html {
    scroll-behavior: smooth;

}

body {
    font-family: Arial, sans-serif;

}

html {
    background-image: url('images/icons.png');
    background-repeat: repeat;
    background-size: 700px auto;
    background-color: #f9bd11;
}

header {
    background-image: url("images/Header.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90px;
    width: 100%;
    max-width: 425px;
}

.bg-black {
    background-color: black;
}

.container {
    max-width: 425px;
    width: 100%;
    background-color: #f9bd11;
    margin: 0 auto;

}

.icon {
    height: 22px;
    width: 22px;
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 50px;
    background: black;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    white-space: nowrap;
    z-index: 1000;

}

.navbar::-webkit-scrollbar {
    display: none;
}

.nav-icon {
    font-size: 20px;
    font-weight: bold;
    color: #f9bd11;
    opacity: 90%;
    margin-right: 3px;
    padding: 0px 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s ease;
}

.nav-icon.active {
    opacity: 100%;
    color: #ffd000;
    transform: scale(1.1);
}

section {
    border-bottom: 5px solid #000000;
    background-color: #f9bd11;
}

.section-title {
    font-size: 4vh;
    text-align: center;
    padding: 10px 0px;
    font-weight: bolder;
}

.card {
    padding: 0px 0px 32px 0px;
    background-color: black;
    border-radius: 6px;
    background-color: #000000;
    margin: 0px 5px 10px 5px;
    box-shadow: 1px 7px 6px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    max-height: 600px;
    border-radius: 5px;
    object-fit: cover;
}

hr {
    border: none;
    background-color: #ffd000;
    width: 80%;
    margin: 3px auto;
    opacity: 100%;
    height: 4px;
    border-radius: 50px;
}

.card .title {
    font-size: 24px;
    color: #ffd000;
    padding: 10px 0px;
    text-align: center;
}

.add-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9bd11;
    color: white;
    border: none;
    border-radius: 8px;
    margin-bottom: 5px;
    padding: 8px 14px 8px 10px;
    margin-right: 13px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

.add-btn:hover {
    transform: scale(1.03);
}

.add-btn:active {
    transform: scale(0.97);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.food-price {
    text-align: center;
    color: black;
    font-weight: bolder;
    font-size: clamp(12px, 4vw, 18px);
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #f9bd11;
    position: absolute;
    left: -50px;
    top: 48%;
    transform: translateY(-50%);
}

.remove-btn:hover {
    color: #ffd000;
}

.remove-btn:active {
    color: #ffd000;
    transform: translateY(-50%) scale(0.95);
}

/* تنسيق صفحة الطلبات */
.orders-container {
    padding: 20px;
}

.order-card {
    background: #f9bd11;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.order-card h3 {
    color: black;
    margin-bottom: 10px;
}

.order-items {
    margin: 10px 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.order-item:last-child {
    border-bottom: none;
}

.order-total {
    margin-top: 10px;
    font-size: 18px;
    color: black;
}

.back-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #f9bd11;
    color: black;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background: #ffd000;
}

#order-btn {
    position: fixed;
    bottom: 8%;
    display: none;
    left: 7%;
    background-color: #f9bd11;
    color: black;
    border: none;
    border-radius: 8px;
    padding: 5px 15px;
    font-size: 17px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 9999;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#order-btn:hover {
    transform: scale(1.05);
}

#order-btn:active {
    transform: scale(0.97);
}


