/* *{
    margin:0;
    padding:0;
    /* width:100%;}*/
    
/* header{
    width:100%;
    text-align:center;
    background:rgb(195, 19, 19);
    color:white;
    padding:35px 0;
} 

main{
    background-image: url(steak.jpg);
    width:100%;
    height:400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


h1{
    font-size: 2.6em;
}

header > section > p{
    font-size:1em;
}

.catering{
    background: green;
    padding:10px 0;
    text-align: center;
    color:white;
    font-weight: bold;
}

nav > ul {
    width:100%;
    display:flex;
    justify-content: center;
    text-decoration: none;
    list-style: none;
    
 }
.navBar li{
    padding: 0 13px;
    padding-top: 10px;
}

.navBar a{
    color:white;
    text-decoration: none;
    font-weight: bold;
}
 
#menu{
    padding:50px 0;
}

.container1{
    display:flex;
    justify-content: center;
    padding:0 250px;
}

.container2{
    display:flex;
    justify-content: center;
    padding:0 250px;
}

.items{
    padding:20px;
    width: 100%;
}


section > h2{
    text-align: center;
    color:rgb(195, 19, 19);
    padding-bottom:40px;
    font-size: 1.8em;
}

.items > h3{
    border-bottom: 2px dashed rgb(195, 19, 19);
    color:green;
    padding-bottom: 10px;
}

.items li{
    padding:6px;
}


.items > ul{
    list-style: none;
    width:50%;
}

.item > h3 + ul{
    width:40%;
}

footer{
    clear:both;
    text-align: center;
    color:white;
    padding:30px 0;
    background:rgb(56, 20, 4);
} 




/* Box sizing rule handles padding beautifully */
*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

header { 
    width: 100%; 
    text-align: center; 
    background: rgb(195, 19, 19); 
    color: white; 
    padding: 35px 15px; /* Added side padding for mobile screens */
}

h1 { 
    font-size: 2.6em; 
    margin-bottom: 5px;
}

header > section > p { 
    font-size: 1.1em; 
    margin-bottom: 15px;
}

.catering { 
    background: green; 
    padding: 12px 15px; 
    text-align: center; 
    color: white; 
    font-weight: bold; 
    line-height: 1.4;
}

/* Nav Menu setup */
nav > ul { 
    width: 100%; 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; /* Allows tabs to drop down smoothly on very small displays */
    list-style: none; 
}

.navBar li { 
    padding: 10px 13px; 
}

.navBar a { 
    color: white; 
    text-decoration: none; 
    font-weight: bold; 
}

/* Main hero image section */
main { 
    background-image: url(steak.jpg); 
    width: 100%; 
    height: 400px; 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center; 
}

/* Menu Grid layout */
#menu { 
    padding: 50px 15px; 
    max-width: 1200px; /* Prevents menu from stretching infinitely on ultra-wide screens */
    margin: 0 auto;    /* Centers the menu content */
}

section > h2 { 
    text-align: center; 
    color: rgb(195, 19, 19); 
    padding-bottom: 30px; 
    font-size: 2.2em; 
}

/* Containers stack vertically on mobile, change to horizontal on desktop */
.container1, .container2 { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    margin-bottom: 20px;
}

.items { 
    padding: 20px; 
    width: 100%; 
    background: #fdfdfd; /* Optional: adds subtle block separation */
}

.items > h3 { 
    border-bottom: 2px dashed rgb(195, 19, 19); 
    color: green; 
    padding-bottom: 10px; 
    font-size: 1.4em;
}

.items > ul { 
    list-style: none; 
    width: 100%; /* Changed from 50% so list items utilize full column width */
}

.items li { 
    padding: 8px 0; 
    border-bottom: 1px solid #eee; /* Clean divider line for menu options */
}

footer { 
    text-align: center; 
    color: white; 
    padding: 40px 15px; 
    background: rgb(56, 20, 4); 
    line-height: 1.6;
}


/* --- DESKTOP AND LAPTOP MEDIA QUERY --- */
@media (min-width: 768px) {
    /* Changes layout from stacked to side-by-side on larger screens */
    .container1, .container2 { 
        flex-direction: row; 
        justify-content: space-between;
        gap: 40px;
        padding: 0 50px; /* Replaces the restrictive 250px padding safely */
    }
    
    .items {
        width: 50%; /* Each column gets half the row */
    }
}