/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #ff7043;
    color: white;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header nav a.active {
    text-decoration: underline;
}

/* Hero Section */
/* Hero Section */
#hero {
    height: 100vh; /* full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* center content vertically */
    align-items: center; /* center content horizontally */
    text-align: center;
    padding: 20px;
    background: url('https://images.unsplash.com/photo-1600891964599-f61ba0e24092?auto=format&fit=crop&w=1200&q=80') center center no-repeat;
    background-size: cover; /* cover the entire section */
    color: white;
}

#hero button {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #ffccbc;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#hero button:hover {
    background-color: #ffab91;
}

/* Sections */
section {
    padding: 50px 20px;
    text-align: center;
}

/* Menu */
.filters {
    margin-bottom: 30px;
}

.filters button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    background: #ff7043;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.filters button:hover {
    background-color: #ff5722;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.menu-item {
    border: 1px solid #ddd;
    padding: 20px;
    width: 220px;
    border-radius: 10px;
    transition: 0.3s;
    background: white;
}

.menu-item:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.menu-item img {
    width: 100%;
    border-radius: 10px;
}

.menu-item button {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    background-color: #ff7043;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.menu-item button:hover {
    background-color: #ff5722;
}

/* Cart */
.cart {
    margin-top: 50px;
    border-top: 2px solid #ff7043;
    padding-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.cart ul {
    list-style: none;
    margin-top: 10px;
}

.cart button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #ff7043;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #ff7043;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* Responsive */
@media(max-width:768px){
    .menu-items{
        flex-direction: column;
        align-items: center;
    }
}

/* Make body a flex container to push footer down */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full viewport height */
}

/* Main content grows to fill space */
main, section {
    flex: 1; /* takes available space */
}

/* Footer stays at the bottom */
footer {
    background-color: #ff7043;
    color: white;
    text-align: center;
    padding: 20px 0;
}