@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppings", "sans-serif";
}

:root{
    --white-color: #fff;
    --dark-color: #252525;
    --primary-color: #3b141c;
    --secondary-color: #f3961c;
    --light-pink-color: #faf4f5;
    --medium-gray-color: #ccc;

    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;

    --site-max-width: 1300px;
}
/* ----------------global-------------------*/
ul{
    list-style: none;
}

a{
    text-decoration: none;
}

button{
    cursor: pointer;
    border: none;
    background: none;
}

img{
    width: 100%; 
}

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

header {
    position: relative; 
    width: 100%;
    z-index: 5; 
    background: var(--primary-color); 
}

header .navbar {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
}

.navbar .nav-logo .logo-text{
    filter: brightness(0) invert(1);
    height: 60px;
    width: 60px;
    margin-top: 10px;
}

.navbar .nav-menu {
    display: flex;
    gap: 10px; 
}

.navbar .nav-menu .nav-link{
    padding: 10px 18px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover{
    color: var(--primary-color);
    background: var(--secondary-color);
}
/* ----------------navbar-------------------*/
.navbar #categories-container {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    margin-right: 27px;
    margin-bottom: 20px;
}

#categories-container {
    background: var(--primary-color);
    padding: 0 20px;
    margin-left: auto;
    width: fit-content;
}

#categories-container .nav-menu{
     display: flex;
    gap: 10px; 
}
 
#categories-container .nav-menu .nav-link{
    padding: 10px 18px;
    color: var(--white-color);
    font-size: var(--font-size-s);
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
}

#categories-container .nav-menu .nav-link:hover{
    color: var(--primary-color);
    background: var(--secondary-color);
}
/* ----------------category-navbar-------------------*/
.hero-section {
    background: var(--primary-color);
}

.hero-section .section-content {
    display: flex; 
    align-items: center;
    min-height: 100vh; 
    color: var(--white-color); 
    justify-content: space-between;
}

.hero-section .hero-details .title {
    font-size: var(--font-size-xxl); 
    color: var(--secondary-color); 
    font-family: "Miniver", sans-serif;
}

.hero-section .hero-details .subtitle {
    margin-top: 8px; 
    max-width: 70%; 
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description {
    max-width: 70%; 
    margin: 24px 0 40px;
    font-size: var(--font-size-m); 
}

.hero-section .hero-image-wrapper {
    max-width: 650px; 
    margin-right: 30px;
}
/* ----------------about section-------------------*/
.menu-section {
    color: var(--white-color);
    background: var(--dark-color);
}

section .section-title {
    font-size: var(--font-size-xl); /* Define font size using your variable */
    color: var(--secondary-color); /* Use a color variable that fits your theme */
    text-align: center; /* Center align the title */
    margin-bottom: 20px; /* Space below the title */
    font-weight: var(--font-weight-bold); /* Use a bold weight for emphasis */
    text-transform: uppercase; /* Make text uppercase for a strong impact */
    letter-spacing: 1px; /* Slightly increase letter spacing for readability */
}

.menu-section .menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 110px;
    align-items: center;
    justify-content: space-around;
}

.menu-section .menu-list .menu-item .menu-image {
    max-width: 90%;
    aspect-ratio: 1;
}

.menu-section .menu-list .menu-item a{
    color: #fff;
}

.menu-section .menu-list .menu-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    width: calc(100% / 3 - 110px);
}
/* ----------------products-------------------*/
.footer-section {
    padding: 20px 0; /* Padding on top and bottom */
    background: var(--primary-color); /* Background color */
}

.footer-section .section-content {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
    justify-content: space-around; /* Space items evenly */
}

.footer-section .copyright-text,
.footer-section .social-link{
    color: var(--white-color); /* Set text color to white */
    transition: 0.2s ease;
}

.footer-section .social-link-list {
    display: flex; /* Use flexbox layout */
    gap: 25px; /* Space between social links */
}

.footer-section .social-link-list .social-link {
    font-size: var(--font-size-1); /* Set font size using a CSS variable */
}

.footer-section .social-link-list .social-link:hover {
    color: var(--secondary-color); /* Change color on hover */
}
/* ----------------footer-------------------*/
.admin-actions {
    display: flex; /* Use flexbox for layout */
    gap: 20px; /* Space between actions */
    justify-content: center; /* Center the actions */
    padding: 40px; /* Padding inside the box */
    background: var(--dark-color); 
}

.delete-form {
    margin: 0; /* Remove default margin */
}

.btn {
    padding: 12px 20px; /* Add padding */
    font-size: var(--font-size-m); /* Use defined font size */
    border-radius: var(--border-radius-m); /* Rounded corners */
    border: none; /* Remove default border */
    cursor: pointer; /* Pointer on hover */
    transition: background 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.delete-btn {
    background: var(--secondary-color); /* Background for delete button */
    color: var(--white-color); /* Text color */
}

.delete-btn:hover {
    background: darkred; /* Dark red on hover */
}

.edit-btn {
    background: var(--primary-color); /* Background for edit button */
    color: var(--white-color); /* Text color */
}

.edit-btn:hover {
    background: darkred; /* Light pink on hover */
}
/* ----------------admin action-------------------*/
.show-item-layout {
    display: flex; 
    max-width: 1400px; /* Maximum width for the container */
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    background-color: var(--dark-color); /* White background for items */
}

.item-image {
    width: 65%; 
    display: flex;
    flex-wrap: wrap; /* Allow images to wrap */
    justify-content: center; /* Center images horizontally */
    margin: 0 auto; /* Center the container */
    gap: 10px;
}

.item-image img {
    width: 400px; 
    height: auto; 
    border: 20px solid black; 
    object-fit: cover; /* Ensure images fit within the defined width */
    margin: 5px; 
}

.menu-details {
    flex: 1; /* Take up the other half */
    padding: 40px; 
    display: flex;
    flex-direction: column; /* Stack content vertically */
}

.menu-details h1 {
    font-family: initial;
}

.menu-details h2{
    margin: 5px 0; 
    font-family: initial;
}

.menu-details p {
    margin-top: 10px; 
    line-height: 1.5; 
    font-family: initial;
}
/* ----------------show item-------------------*/
.sign-in-container {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: var(--border-radius-m);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    width: 350px; 
    text-align: center;
    margin: auto; /* Center the container */
    position: relative; /* Positioning for the background image */
    margin-top: 30px;
    margin-bottom: 30px;
}

.sign-in-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('path/to/your/background-image.jpg');
    background-size: cover;
    opacity: 0.1; /* Slight opacity for a subtle background */
    border-radius: var(--border-radius-m);
    z-index: -1; /* Send the background behind the container */
}

.sign-in-title {
    font-size: var(--font-size-xl);
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-family: 'Miniver', sans-serif;
}

.sign-in-label {
    display: block;
    margin-bottom: 5px;
    font-size: var(--font-size-n);
    color: var(--white-color);
}

.sign-in-input {
    width: 100%;
    padding: 12px; 
    margin-bottom: 20px;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius-s);
    background-color: var(--light-pink-color);
    color: var(--dark-color);
    transition: border 0.3s ease;
}

.sign-in-input:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.sign-in-button {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 14px 20px;
    border-radius: var(--border-radius-m);
    cursor: pointer;
    font-size: var(--font-size-m);
    transition: background 0.3s ease;
}

.sign-in-button:hover {
    background-color: darkred;
}
/* ----------------sign pages-------------------*/
.styled-image {
  border: 7px solid black; 
  width: 60px; 
  height: auto; 
  object-fit: cover; /* Ensures images fit within the defined width */
}
/* ----------------show item images-------------------*/