/* order.css */

/* GENERAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* BODY */
body {
    background-color: #fff8f0;
    color: #333;
}

/* TOP NAVBAR */
.top-nav {
    background-color: #8B4513;
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.top-nav a:hover {
    background-color: #8B4513;
}

.top-nav span {
    color: #fff;
    font-weight: bold;
    margin-right: auto;
}

/* PAGE TITLE */
h1 {
    text-align: center;
    margin: 30px 0;
    font-size: 2.5em;
    color: #8B4513;
}

/* MENU CONTAINER */
.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 50px 50px 50px;
}

/* MENU CARD */
.card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* CARD IMAGE */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* CARD TITLE & PRICE */
.card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #a6551a;
}

.card .price {
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

/* FORM STYLING */
.card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card label {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

.card input[type="number"],
.card select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

/* BUTTONS */
.card button {
    padding: 10px;
    background-color: #8B4513;
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.card button:hover {
    background-color: #ab612b;
}

/* CUSTOM CAKE BUTTON */
.custom-btn {
    padding: 10px 20px;
    background-color: #ffd166;
    color: #333;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.custom-btn:hover {
    background-color: #fcbf49;
}

/* CART MESSAGE */
.cart-message {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4BB543;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-container {
        padding: 0 20px 20px 20px;
    }

    .top-nav {
        justify-content: center;
        gap: 10px;
    }
}