
/* General Body Styles (for other pages) */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background-color: #f5f5f5;
}

/* Button Styles */
.btn {
    background-color: #A52A2A;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    margin-top: 2rem;
    display: inline-block;
    border: 2px solid #C62828;
    transform-style: preserve-3d;
}

.btn:hover {
    background-color: #C62828;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px) scale(1.05) rotateX(-10deg);
}

/* Main Site Styles */
header {
    background: linear-gradient(135deg, #8B0000, #A52A2A);
    color: #fff;
    padding: 1rem; /* Reduced padding */
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.19); /* Softened shadow */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center navigation items */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

nav li {
    margin: 5px 10px; /* Reduced margin */
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px; /* Reduced padding */
    border-radius: 20px;
    background-color: transparent;
    border: 1px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

nav a:hover {
    background-color: #fff;
    color: #8B0000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adjusted hover shadow */
    transform: translateY(-3px); /* Subtler hover effect */
}

main {
    padding: 1rem; /* Reduced padding */
}

/* Menu Page Styles */
#menu ul {
    display: grid; /* Using grid for a more structured layout */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 1.5rem; /* Space between grid items */
    padding: 0;
    list-style: none;
}

#menu li {
    background-color: #fff;
    border-radius: 10px; /* Slightly reduced border-radius */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Softened shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* To contain the image */
    padding: 0; /* Remove padding here and add to content */
}

#menu li:hover {
    transform: translateY(-5px); /* Subtler hover effect */
    box-shadow: 0 12px 24px rgba(0,0,0,0.15); /* Enhanced hover shadow */
}

#menu .menu-item-content {
    padding: 1rem; /* Add padding to a content wrapper */
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}


#menu img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Make images square */
    object-fit: cover; /* Cover the area, might crop */
    border-bottom: 1px solid #eee; /* Separator */
}

#menu h3 { 
    font-size: 1.25rem; /* Adjusted font size */
    color: #333;
    margin: 0.5rem 0;
}

#menu p {
    font-size: 0.9rem; /* Adjusted font size */
    color: #666;
    flex-grow: 1;
    margin: 0.5rem 0;
}

#menu .price { /* Specific class for price */
    font-size: 1.1rem; /* Adjusted font size */
    font-weight: bold;
    color: #A52A2A;
    margin-top: 0.5rem;
    flex-grow: 0;
}


#hero {
    background-image: url('images/double-bacon-cheeseburger.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 3rem 1rem; /* Adjusted padding */
    color: #fff;
    border-radius: 10px; /* Reduced border-radius */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    margin-bottom: 2rem; /* Add some space below the hero */
}

#hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

footer {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
    margin-top: 2rem; /* Add space above the footer */
}

/* Responsive styles */
@media (min-width: 768px) {
    nav ul {
        flex-direction: row;
    }

    nav li {
        margin: 0 15px;
    }

    #hero {
        padding: 4rem 2rem;
    }

    #hero h1 {
        font-size: 2.5rem;
    }
}
