/* ===== RESET ===== */
* {
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: orange;
    color: #333;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HEADER / LOGO / NAV ===== */
header {
    background-color: teal;
    padding: 15px 20px 10px 20px;
    display: flex;
    flex-direction: column; /* logo on top, nav underneath */
    align-items: center;
}

header img {
    margin-bottom: 8px; /* keeps logo slightly above nav */
}

header nav {
    display: flex;
    justify-content: center;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* NAV HOVER HIGHLIGHT */
header nav a:hover {
    background-color: orange;
    color: teal;
}

/* ===== MAIN CONTENT ===== */
main {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 6px;
}

/* ===== HEADINGS ===== */
h1, h2, h3 {
    text-align: center;
}

/* ===== MENU GRID ===== */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* ===== MENU ITEM CARD ===== */
.item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.item img {
    transition: transform 0.3s ease;
}

/* MENU ITEM HOVER */
.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background-color: rgb(177, 235, 235);
}

.item:hover img {
    transform: scale(1.05);
}

/* ===== TABLE (CATERING) ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 12px;
}

table th {
    background-color: teal;
    color: white;
}

/* ===== CONTACT FORM ===== */
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* ===== BUTTON ===== */
button {
    width: 160px;
    padding: 10px;
    background-color: teal;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    align-self: center;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #006666;
}

/* ===== ERROR & SUCCESS ===== */
.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
}

/* ===== FOOTER ===== */
footer {
    background-color: teal;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}
