/* fast-food.css — GWAY Fast Food Theme
   Inspired by American fast food menus, ketchup, mustard, and high-contrast joy.
   Layer atop base.css.
*/

:root {
    --bg: linear-gradient(120deg, #fff6de 0%, #fffbe6 100%);
    --bg-alt: #ffeacf;
    --card-bg: #fffbe6;
    --fg: #a51013;
    --accent: #ffd100;
    --accent-alt: #ec1c24;
    --muted: #c9730c;
    --fast-red: #ec1c24;
    --fast-yellow: #ffd100;
    --fast-tan: #ffeacf;
    --fast-brown: #5b1b00;
    --fast-gloss: 0 2px 18px #ffd10055;
}

body, .page-wrap {
    background: var(--bg) fixed !important;
    color: var(--fg);
    font-family: 'Bebas Neue', 'Montserrat', 'Arial Black', Arial, sans-serif;
    letter-spacing: 0.02em;
}

aside {
    background: linear-gradient(160deg, #ffeacf 60%, #ffd100 100%);
    border-right: 2px solid #ec1c24;
    font-family: inherit;
    color: var(--fast-brown);
    box-shadow: 3px 0 14px #ffd10033;
    min-width: 180px;
}

aside ul {
    margin: 0.2em 0;
}
aside ul li a {
    color: var(--fast-red);
    font-family: 'Bebas Neue', 'Montserrat', 'Arial Black', Arial, sans-serif;
    border-radius: 7px;
    font-size: 1.05em;
    padding-left: 1.05em;
    font-weight: bold;
    border-left: 5px solid var(--fast-yellow);
    transition: background 0.15s, color 0.15s, border 0.13s;
    text-shadow: 1px 1px 0 #fff7, 0 2px 7px #ffd10033;
}
aside ul li a.active,
aside ul li a:hover {
    background: linear-gradient(90deg, #ffd10044 70%, #ec1c24aa 100%);
    color: #fff;
    border-left: 5.5px solid var(--fast-red);
    text-shadow: 0 1px 0 #ffd100, 0 0 14px #ec1c2444;
}

aside ul.sub-links {
    list-style: none;
    padding-left: 1em;
    margin: 0.2em 0 0.4em;
    font-size: 0.85em;
}

aside ul.sub-links li a {
    text-transform: none;
    padding: 0.2em 0 0.2em 1.05em;
}

main {
    background: linear-gradient(180deg, #fffbe6 60%, #ffeacf 100%);
    box-shadow: 0 0 22px #ec1c2422, 0 0 4px #ffd10033;
    border-radius: 16px 24px 18px 13px/14px 18px 22px 15px;
    margin-bottom: 1em;
    color: var(--fg);
    border: 4px solid #ffd100;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', 'Montserrat', 'Arial Black', Arial, sans-serif;
    color: var(--fast-red);
    letter-spacing: 0.09em;
    text-shadow: 1px 3px 0 #ffd10099, 0 0 11px #ec1c241a;
    margin-top: 1.15em;
    margin-bottom: 0.38em;
}
h1 {
    font-size: 2.3em;
    color: #fff;
    background: linear-gradient(90deg, #ec1c24 60%, #ffd100 100%);
    border-bottom: 4px solid #ffd100;
    padding: 0.18em 0.92em 0.13em 0.3em;
    border-radius: 17px 4px 14px 8px;
    display: inline-block;
    box-shadow: 2px 3px 0 #ffeacf55;
}
h2 {
    color: #ec1c24;
    background: #ffd10066;
    border-bottom: 2.8px solid #ec1c24;
    padding: 0.11em 0.7em 0.11em 0.4em;
    display: inline-block;
    border-radius: 7px 13px 7px 13px;
}
h3, h4 {
    color: #a51013;
}

button,
input[type="submit"],
input[type="button"] {
    background: linear-gradient(90deg, #ffd100 40%, #ec1c24 100%);
    color: #fff;
    border: 2.7px solid #ec1c24;
    border-radius: 13px 6px 11px 11px;
    font-family: 'Bebas Neue', 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 0.14em;
    font-size: 1.12em;
    padding: 0.34em 1.19em;
    text-shadow: 0 2px 0 #ffd10099, 0 0 2px #ec1c2444;
    box-shadow: 0 0 10px #ffd10066, 0 2px 6px #ec1c2422;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    transition: background 0.14s, box-shadow 0.17s, border 0.15s;
}
button:hover,
input[type="submit"]:hover {
    background: linear-gradient(90deg, #ec1c24 10%, #ffd100 100%);
    color: #fff;
    border-color: #ffd100;
    box-shadow: 0 0 20px #ffd10077;
}
button:active,
input[type="submit"]:active {
    background: #ffd100;
    color: #ec1c24;
}

input,
textarea,
select {
    background: #fffbe6;
    color: #a51013;
    border: 1.9px solid #ec1c24;
    border-radius: 8px;
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-size: 1.04em;
    margin-bottom: 0.34em;
    padding: 0.43em 1.1em;
    box-shadow: 0 0 4px #ffd10033;
    width: 100%;
    box-sizing: border-box;
}
input:focus,
textarea:focus,
select:focus {
    border-color: #ffd100;
    background: #ffeacf;
    outline: 1.5px solid #ffd100;
}

pre, code, pre code {
    background: #fff2c7 !important;
    color: #ec1c24 !important;
    font-family: 'JetBrains Mono', 'Fira Mono', 'Consolas', monospace;
    border-radius: 8px;
    box-shadow: 0 2px 10px #ffd10044;
    font-size: 0.98em;
    letter-spacing: 0.02em;
}

code {
    background: #ffd10033 !important;
    color: #ec1c24 !important;
    border-radius: 4px;
    border: 1.2px solid #ec1c2466;
    font-size: 0.97em;
}

.current, .active {
    color: #fff !important;
    background: #ec1c24 !important;
    border-radius: 9px;
    font-weight: bold;
    box-shadow: 0 0 8px #ffd100cc;
}

footer {
    background: linear-gradient(90deg, #ffd100 70%, #ffeacf 100%);
    color: #a51013;
    border-top: 2.5px solid #ec1c24;
    font-family: 'Bebas Neue', 'Montserrat', 'Arial Black', Arial, sans-serif;
    letter-spacing: 0.08em;
    font-size: 1.13em;
    text-align: center;
    box-shadow: 0 -1px 18px #ffd10033;
    position: relative;
}
footer::after {
    /* A ketchup/mustard wave underline */
    content: "";
    display: block;
    width: 100%;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg width="200" height="18" xmlns="http://www.w3.org/2000/svg"><path d="M0,16 Q20,2 40,16 T80,16 T120,16 T160,16 T200,16" stroke="%23ec1c24" stroke-width="3" fill="none"/><path d="M0,12 Q25,9 50,12 T100,12 T150,12 T200,12" stroke="%23ffd100" stroke-width="3" fill="none"/></svg>') repeat-x bottom left / auto 18px;
    opacity: 0.52;
    margin-top: 0.38em;
    pointer-events: none;
}

::-webkit-scrollbar-thumb {
    background: #ffd100;
    border-radius: 8px;
}
::-webkit-scrollbar-track {
    background: #ffeacf;
}

.help-entry {
    background: #fffbe6;
    border: 2.7px solid #ffd100;
    border-radius: 11px 6px 12px 8px;
    box-shadow: 0 2px 12px #ec1c2422;
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
}
.help-entry .doc {
    background: #ffd10033;
    color: #ec1c24;
    border-left: 4px solid #ec1c24;
}
.help-entry pre, .help-entry pre code.python {
    background: #fff2c7;
    color: #ec1c24;
    box-shadow: 0 1px 3px #ffd10044;
}
.help-entry a {
    color: #ec1c24;
    text-shadow: 0 0 4px #ffd10099;
    border-bottom: 2px dotted #ffd100;
}
.help-entry a:hover {
    background: #ffd10055;
    color: #fff;
    border-bottom: 2.3px solid #ec1c24;
}

aside img[src*="qr"] {
    border-radius: 9px;
    border: 3px solid #ffd100;
    box-shadow: 0 0 13px #ec1c2455, 0 0 6px #ffd100bb;
    background: #fffbe6;
    padding: 5px;
    margin-bottom: 1.4em;
    margin-top: 0.7em;
}

hr {
    border: none;
    border-top: 2.2px dashed #ffd10099;
    margin: 1.2em 0 0.7em 0;
    opacity: 0.85;
}

textarea.help {
    background: #fff2c7;
    color: #a51013;
    border: 1.2px solid #ffd100;
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    border-radius: 7px;
    font-size: 1.04em;
}

@media (max-width: 650px) {
    main, aside, .help-entry { border-radius: 0 !important; }
    aside { min-width: 0; }
}

/* Optionally, import Bebas Neue for titles:
   @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
*/
