/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
    color: #333;
}

/* Navbar */
nav {
    background: #0055ff;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h2 {
    font-size: 20px;
}

nav a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

/* Hero section */
.hero {
    text-align: center;
    background: #007bff;
    color: #fff;
    padding: 40px 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 16px;
}

/* Items grid */
.items {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.item-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.item-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.item-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.item-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Buttons */
button, .btn {
    background: #0055ff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

button:hover, .btn:hover {
    background: #0040c1;
}

/* Forms (for login/register) */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

input, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

input:focus, select:focus {
    outline: none;
    border-color: #0055ff;
}

/* Responsive */
@media (max-width: 600px) {
    .items {
        grid-template-columns: 1fr;
    }
}
.item-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 10px;
}
.order-card {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    background: #f9f9f9;
}