/* Menu Page Styles */

.page-counter {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

.controls {
    text-align: center;
    margin: 15px 0;
}

button {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s;
}

button:hover:not(:disabled) { background: #f5f5f5; border-color: #999; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.location-nav {
    text-align: center;
    margin: 15px 0;
}

.location-nav a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.location-nav a.active { background: #667eea; }

/* Flip Container */
.flip-container {
    perspective: 1000px;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 740 / 1006;
    margin: 20px auto;
    cursor: pointer;
    position: relative;
}

.flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
    transform-style: preserve-3d;
}

.flip-container.flip .flipper { transform: rotateY(180deg); }

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.front { z-index: 2; }
.back { background: #fafafa; transform: rotateY(180deg); }

.menu-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

/* Specials Modal */
.specials-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.specials-modal.open {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

.modal-close:hover { color: #333; }

.specials-text {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Comic Sans MS', cursive;
    text-align: left;
    width: 100%;
}

.specials-text ul {
    margin: 0;
    padding-left: 12px;
    list-style-type: disc;
}

.specials-text li {
    margin-bottom: 8px;
}

.specials-button { text-align: center; margin: 20px 0; }

/* Location Button */
.location-button {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.location-button:hover { background: #555; }
