/* =========================================================
   GLOBAL
=========================================================*/
body {
    background: #000;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

a {
    text-decoration: none;
}

.blue-text {
    color: #00a6ff !important;
}

button {
    cursor: pointer;
}

/* =========================================================
   NAVBAR
=========================================================*/
.topnav {
    width: 100%;
    background: #000;
    padding: 16px 32px;
    border-bottom: 2px solid #00a6ff;
    position: fixed;
    top: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LEFT SIDE OF NAV */
.left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.left img {
    height: 50px;
}

.brand {
    font-size: 28px;
    font-weight: bold;
    color: #00a6ff;
}

/* RIGHT NAVIGATION BUTTONS */
.right {
    display: flex;
    align-items: center;
    gap: 35px;
    padding-right: 160px;  /* more left */
}


.right a {
    color: #00a6ff;
    font-size: 19px;
    font-weight: 600;
    white-space: nowrap;
}

.right a:hover {
    color: white;
}

/* account name hidden until logged in */
#accountBtn {
    display: none;
    color: #00a6ff;
}

/* =========================================================
   HERO SECTION
=========================================================*/
.hero {
    width: 100%;
    height: 760px;
    background: url('/images/banner.png') center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 140px;
    text-align: center;
}

.hero h1 {
    font-size: 72px;
    font-weight: bold;
    margin: 0;
}

.hero-sub {
    margin-top: 10px;
    font-size: 24px;
}

.button-blue {
    background: #00a6ff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    color: black;
    font-weight: bold;
    font-size: 20px;
    margin-top: 25px;
}

.button-blue:hover {
    background: #0090d8;
}

/* =========================================================
   MENU PAGE
=========================================================*/
.menu-container {
    width: 90%;
    margin: auto;
    padding-top: 170px;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.category-card {
    background: #111;
    border: 2px solid #00a6ff;
    padding: 35px;
    border-radius: 12px;
    transition: 0.25s;
}

.category-card:hover {
    background: #00a6ff;
    color: black;
    transform: scale(1.06);
}

.category-card h2 {
    margin: 0;
    font-size: 28px;
}

/* =========================================================
   ITEMS SECTION
=========================================================*/
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 35px;
}

.item-card {
    background: #111;
    border: 2px solid #00a6ff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: 0.25s;
}

.item-card:hover {
    background: #00a6ff;
    color: black;
    transform: scale(1.06);
}

.item-card h3 {
    margin: 0;
    font-size: 24px;
}

.item-card p {
    margin-top: 10px;
    font-size: 20px;
    color: #00a6ff;
}

/* =========================================================
   ITEM SLIDE PANEL
=========================================================*/
.item-panel {
    background: #0c0c0c;
    border: 2px solid #00a6ff;
    padding: 28px;
    border-radius: 12px;
    margin-top: 15px;
    display: none;
    animation: slideDown 0.28s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
}

.qty-box {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 20px 0;
    align-items: center;
}

.qty-btn {
    background: #00a6ff;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 22px;
    font-weight: bold;
    border: none;
}

.toppings label {
    display: block;
    margin: 6px 0;
    font-size: 18px;
}

/* =========================================================
   CART BOX
=========================================================*/
.cart-box {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #000;
    border: 2px solid #00a6ff;
    padding: 22px;
    width: 290px;
    border-radius: 12px;
    text-align: center;
}

.cart-box button {
    width: 90%;
    background: #00a6ff;
    padding: 14px 0;
    border-radius: 6px;
    color: black;
    font-size: 20px;
    border: none;
}

/* =========================================================
   AUTH POPUP (Wendy’s style but Melcer colors)
=========================================================*/
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.88);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.auth-box {
    width: 420px;
    background: #111;
    border: 2px solid #00a6ff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.auth-box h2 {
    color: #00a6ff;
    font-size: 32px;
    margin-bottom: 20px;
}

.auth-box input {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: #000;
    border: 1px solid #00a6ff;
    border-radius: 6px;
    color: white;
    font-size: 16px;
}

.auth-box button {
    margin-top: 25px;
    width: 100%;
    padding: 14px;
    background: #00a6ff;
    color: black;
    border-radius: 6px;
    font-size: 20px;
    border: none;
}

.auth-box button:hover {
    background: #0090d8;
}

/* switch text */
#authSwitch {
    margin-top: 15px;
    color: #00a6ff;
    cursor: pointer;
    display: block;
}
#authSwitch:hover {
    color: white;
}

/* =========================================================
   ACCOUNT PAGE
=========================================================*/
.account-container {
    width: 90%;
    margin: auto;
    padding-top: 170px;
}

.account-box {
    background: #111;
    border: 2px solid #00a6ff;
    padding: 40px;
    border-radius: 12px;
}

/* =========================================================
   CHECKOUT PAGE
=========================================================*/
.checkout-container {
    width: 90%;
    margin: auto;
    padding-top: 170px;
}

.checkout-box {
    background: #111;
    border: 2px solid #00a6ff;
    padding: 40px;
    border-radius: 12px;
}

.checkout-box button {
    width: 100%;
    margin-top: 20px;
}

/* ========================================================
   FLOATING CART BUTTON (BOTTOM RIGHT)
=========================================================*/
.floating-cart {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #00a6ff;
    color: black;
    font-weight: bold;
    padding: 14px 22px;
    border-radius: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 18px;
    z-index: 99999;
    box-shadow: 0 0 12px #00a6ff80;
    transition: 0.25s;
}

.floating-cart:hover {
    transform: scale(1.05);
    background: #0095dd;
}

.floating-cart-icon {
    width: 34px;
    height: 34px;
}

.cart-badge {
    background: red;
    color: white;
    padding: 3px 8px;
    font-size: 14px;
    border-radius: 50%;
    font-weight: bold;
}

/* CART PAGE GRID LAYOUT */
.cart-wrapper {
    width: 90%;
    margin: auto;
}

.cart-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 30px;
}

.cart-items-box {
    background: #0c0c0c;
    border: 2px solid #00a6ff;
    border-radius: 14px;
    padding: 25px;
    min-height: 250px;
}

.cart-item-box {
    margin-bottom: 22px;
}

.cart-item-box h2 {
    margin: 0;
    font-size: 26px;
}

.topping-list {
    margin-top: 6px;
    margin-bottom: 12px;
}

/* RIGHT SUMMARY BOX */
.cart-summary {
    display: flex;
    justify-content: center;
}

.summary-box {
    background: #0c0c0c;
    border: 2px solid #00a6ff;
    border-radius: 14px;
    padding: 25px;
    width: 100%;
    font-size: 20px;
}

.summary-total {
    font-size: 26px;
    font-weight: bold;
    color: #00a6ff;
}

/* FULL WIDTH CHECKOUT BUTTON */
.checkout-btn-full {
    width: 100%;
    background: #00a6ff;
    padding: 18px;
    border: none;
    color: black;
    font-size: 22px;
    font-weight: 700;
    margin-top: 35px;
    border-radius: 10px;
    cursor: pointer;
}

.checkout-btn-full:hover {
    background: #0095dd;
}

