body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* All-black background */
    color: #fff; /* White text for contrast */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
    background-color: #000; /* Black header background */
    padding: 5px 3%;  /* 5px top & bottom, 3% left & right */
    display: flex;                /* Enable Flexbox */
    justify-content: center;      /* Center children horizontally */
    align-items: center;          /* Center children vertically */
    min-height: 100px;            /* Ensure header is at least 100px tall */
}

.logo-container {
    /* Additional styling if needed */
}

.pulsating-logo {
    animation: pulse 2s infinite; /* Animation on the logo */
    max-width: 500px;             /* Default max width for desktop */
    height: auto;                 /* Maintain aspect ratio */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); } /* Slightly enlarge on pulse */
    100% { transform: scale(1); }
}

main {
    padding: 10px 3%; /* 10px top & bottom, 3% left & right */
}

/* Generic section styling */
section {
    background-color: #000; /* Black background for sections */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: none;
}

/* Remove extra top spacing for the section that holds the grid */
section.menu-grid {
    padding-top: 0;
    margin-top: 0;
}

/* Menu Grid: 4x? grid for larger screens */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four columns */
    gap: 10px;                           /* Gap between grid items */
    margin: 0 auto 10px auto;             /* Center the grid horizontally; 10px bottom margin */
    width: 100%;
    max-width: 1200px;                   /* Increase max-width to accommodate 4 columns */
    box-sizing: border-box;
}

.menu-grid .grid-item {
    text-align: center;
}

.menu-grid img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.menu-grid img:hover {
    transform: scale(1.05);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    main {
        padding: 10px 3%;
    }
    .pulsating-logo {
        max-width: 300px;
    }
    .menu-grid {
        grid-template-columns: repeat(2, 1fr); /* Use 2 columns on mobile for readability */
        max-width: 100%; /* Use full width on mobile */
        gap: 10px;
    }
}
