* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #F8F4F0;
    color: #2e0706;
    line-height: 1.6;
}

header {
    background-color: #2e0706;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

header .logo img {
    width: 70px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: #F8F4F0;
    margin: 0 10px;
    text-decoration: none;
    font-size: 16px;
}

nav a:hover {
    text-decoration: underline;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #F8F4F0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.cart {
    position: relative;
    text-decoration: none;
}

.cart svg {
    width: 28px;
    height: 28px;
    stroke: #D4AF37;
}

#cart-count {
    background-color: #D4AF37;
    color: #2e0706;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 12px;
    position: absolute;
    top: -5px;
    right: -5px;
}
.hero {
    background-image: url('../images/Header.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; 
    padding: 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero div {
    position: relative;
    z-index: 2; 
}

.hero h1 {
    color: #D4AF37;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 10px;
}

.hero p {
    color: #F8F4F0; 
    font-size: clamp(16px, 2.5vw, 18px);
}


@media (max-width: 768px) {
    .hero {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 200px;
    }
}

section {
    padding: 40px 20px;
}

section h2 {
    color: #2e0706;
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: 20px;
    border-bottom: 2px solid #2e0706;
    padding-bottom: 5px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.menu-card {
    background-color: #FFFFFF;
    border: 1px solid #2e0706;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.menu-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ccc;
    color: #666;
    font-style: italic;
}

.menu-card h3 {
    margin: 10px 0;
    color: #2e0706;
    font-size: clamp(16px, 2vw, 18px);
}

.menu-card > p:not(.description) {
    margin: 5px 0;
    font-weight: bold;
    color: #D4AF37;
}

.menu-card .description {
    font-style: italic;
    color: #555;
    margin: 5px 10px;
    font-size: clamp(14px, 1.8vw, 16px);
}

.menu-card button {
    background-color: #D4AF37;
    color: #2e0706;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    font-size: clamp(14px, 1.8vw, 16px);
}

.menu-card button:hover {
    background-color: #C49F2C;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
}

th {
    background: #2e0706;
    color: #F8F4F0;
}

td a {
    margin: 0 5px;
    color: #2e0706;
}

tfoot tr td {
    font-weight: bold;
    text-align: right;
    padding-right: 8px;
}

footer {
    background-color: #2e0706;
    color: #F8F4F0;
    text-align: center;
    padding: 20px;
    font-size: clamp(14px, 1.8vw, 16px);
}

header.admin-panel {
    background-color: #2e0706;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-panel h1 {
    color: #D4AF37;
    font-size: clamp(20px, 3vw, 24px);
    margin: 0;
}

.admin-panel nav a {
    color: #F8F4F0;
    margin-left: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.admin-panel nav a:hover {
    color: #D4AF37;
    text-decoration: underline;
}

.button {
    background-color: #D4AF37;
    color: #2e0706;
    padding: 10px 15px;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
    }

    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
    }

    nav.active {
        display: flex;
    }

    nav a {
        margin: 5px 0;
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    .hero {
        height: 250px;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .menu-card img, .no-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 200px;
    }

    .hero h1 {
        font-size: clamp(24px, 4vw, 32px);
    }

    .hero p {
        font-size: clamp(14px, 2vw, 16px);
    }

    section {
        padding: 20px 10px;
    }

    .menu-card img, .no-image {
        height: 100px;
    }
}