/* ===== Base Styles ===== */
body {
    font-family: Arial, sans-serif;
    background-color: #fff8f0;
    padding: 0;
    margin: 0;
}

/* ===== Header ===== */
.header {
    background-color: #c41e3a;
    color: white;
    text-align: center;
    padding: 20px;
}

.header h1 {
    color: white;
    margin: 0;
    font-size: 2em;
}

/* ===== Navigation ===== */
.nav {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #333;
    text-align: right;
    overflow: hidden;
}

.nav li {
    display: inline-block;
}

.nav li a {
    display: block;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
}

.nav li a:hover {
    background-color: #c41e3a;
}

/* ===== Content ===== */
.content {
    max-width: 700px;
    margin: 20px auto;
    padding: 0 20px 20px 20px;
}

.content h1 {
    color: #c41e3a;
    border-bottom: 2px solid #c41e3a;
    padding-bottom: 10px;
}

.content h2 {
    color: #c41e3a;
    margin-top: 25px;
}

.content p {
    line-height: 1.6;
    color: #333;
}

/* ===== Page Images ===== */
.page-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* ===== Forms ===== */
form {
    background-color: white;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 15px;
}

label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

input[type="text"], textarea, select {
    width: 100%;
    padding: 8px;
    margin: 5px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: vertical;
}

select {
    background-color: white;
}

/* ===== Field Label (for radio group headings) ===== */
.field-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    margin-top: 15px;
}

/* ===== Radio Buttons ===== */
.radio-group {
    margin-bottom: 15px;
}

.radio-group label {
    display: inline-block;
    font-weight: normal;
    margin-right: 20px;
    margin-top: 5px;
    cursor: pointer;
}

/* ===== Toppings Grid ===== */
.toppings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 15px 0;
}

.topping {
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fefefe;
}

.topping label {
    display: block;
    font-weight: normal;
    font-size: 13px;
    cursor: pointer;
    margin-top: 0;
}

.topping label img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 5px auto 8px auto;
}

/* ===== Form Buttons ===== */
.form-buttons {
    margin-top: 20px;
    text-align: center;
}

input[type="submit"], input[type="reset"] {
    background-color: #c41e3a;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
    margin: 5px;
}

input[type="reset"] {
    background-color: #666;
}

input[type="submit"]:hover {
    background-color: #a01830;
}

input[type="reset"]:hover {
    background-color: #444;
}

/* ===== Footer ===== */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}

.footer p {
    margin: 0;
    font-size: 14px;
}
