/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f3e6;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d9d4c0' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 20px;
}

/* Menu container */
.menu-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* Header */
.menu-header {
    background-color: #8b0000;
    color: white;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a52a2a' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.restaurant-name {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.restaurant-tagline {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.established {
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

.header-decoration {
    margin-top: 20px;
}

.italian-colors {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.color {
    height: 6px;
    flex: 1;
    max-width: 100px;
}

.green {
    background-color: #008C45;
}

.white {
    background-color: #F4F5F0;
}

.red {
    background-color: #CD212A;
}

/* Intro section */
.intro-section {
    padding: 25px 30px;
    text-align: center;
    font-style: italic;
    color: #666;
    border-bottom: 1px dashed #ddd;
    background-color: #fcfbf8;
}

/* Menu sections */
.menu-section {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.menu-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8b0000;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #8b0000;
}

.size-info {
    display: flex;
    gap: 15px;
    font-weight: 500;
}

.size {
    background-color: #f8f4e9;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Pizza grid */
.pizza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.pizza-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #8b0000;
    transition: transform 0.2s;
}

.pizza-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.pizza-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pizza-badge {
    font-size: 0.7rem;
    background-color: #8b0000;
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: normal;
}

.pizza-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Build your own section */
.build-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #8b0000;
}

.step-options {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-options li {
    background-color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

.toppings-info {
    margin-bottom: 15px;
    font-style: italic;
    color: #666;
}

.toppings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.toppings-column h4 {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.toppings-column ul {
    list-style-type: none;
}

.toppings-column li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: #555;
}

/* Appetizers section */
.appetizer-grid, .dessert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.appetizer-item, .dessert-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.appetizer-info, .dessert-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.appetizer-name, .dessert-name {
    font-size: 1.1rem;
    color: #333;
}

.appetizer-price, .dessert-price {
    font-weight: 700;
    color: #8b0000;
}

.appetizer-description, .dessert-description {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
.menu-footer {
    background-color: #f8f4e9;
    padding: 30px;
    text-align: center;
    color: #666;
    border-top: 1px solid #eee;
}

.footer-info {
    margin-bottom: 15px;
}

.address, .phone, .hours {
    margin-bottom: 5px;
}

.footer-note {
    font-size: 0.9rem;
    color: #888;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pizza-grid, .appetizer-grid, .dessert-grid {
        grid-template-columns: 1fr;
    }
    
    .toppings-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-section {
        padding: 20px;
    }
}