/* 1. Global Styles */
* {
    font-family: Georgia, 'Times New Roman', Times, serif;
    box-sizing: border-box; /* Ensures padding doesn't break your grid widths */
}

body {
    background-color: #111;
    color: white;
    margin: 0;
    padding: 0;
}

/* 2. Header Section */
.flavor-section {
    text-align: center;
    padding: 60px 20px;
}

.main-title {
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.flavor-description {
    font-style: italic;
    font-size: 1.4rem;
    color: #ddd;
    margin: 0 auto 50px auto;
    max-width: 600px;
}

/* 3. The Menu Grid */
.menu-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    /* This centers the items in the last row if they don't fill the whole row */
    justify-content: center; 
}

/* 4. Individual Item Cards */
.menu-item {
    background-color: #000;
    border: 1px solid #333;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border 0.3s ease;
}

.menu-item:hover {
    border-color: #ff0000; /* Subtle red glow on hover */
}

.menu-item h3 {
    color: #ff0000;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

/* 5. Image Handling */
.flavor-img {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.menu-item:hover .flavor-img {
    transform: scale(1.05); /* Added back your hover zoom */
}

/* 6. Text & Prices */
.menu-item p {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
}

.price-list {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: auto; /* Pushes price to the bottom of the card */
    padding-top: 15px;
    border-top: 1px dashed #444;
}

.price-list span {
    font-size: 1rem;
    font-weight: bold;
    color: #ff0000;
}

/* 7. Footer & Legal Notice */
.menu-footer {
    margin-top: 80px;
    padding: 60px 20px;
    background-color: #050505;
    text-align: center;
}

.footer-divider {
    border: 0;
    border-top: 2px solid #ff0000;
    margin-bottom: 30px;
    width: 90%;
}

.foundation-credit {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tos-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    border: 1px solid #333;
    padding: 30px;
}

.tos-container h2 {
    color: #ff0000;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.legal-body p {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 8. Responsive Design */
@media (max-width: 950px) {
    .menu-board { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .menu-board { grid-template-columns: 1fr; }
    .main-title { font-size: 2.2rem; }
}
