/* ============================================================
   MASTER STYLESHEET - Canadian Charcoal Pit
   ============================================================ */


/* ============================================================
   1. GLOBAL & BODY STYLES
   ============================================================ */
body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    color: #fff;
}


/* ============================================================
   2. FIXED BACKGROUND
   ============================================================ */
.bg-fixed {
    position: fixed;
    inset: 0;
    background: url('https://images.pexels.com/photos/262978/pexels-photo-262978.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
    z-index: -2;
}
.bg-fixed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}


/* ============================================================
   3. STORE NAME / HEADER
   ============================================================ */
#Store-Name-Top-Center{
    font-weight: 800;
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 40px rgba(0,0,0,0.6);
    letter-spacing: -0.5px;
    line-height: 1.2;
text-align: center;
}
#Store-Name-Top-Left {
    font-weight: 800;
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 40px rgba(0,0,0,0.6);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
@media (max-width: 576px) {
    #Store-Name-Top-Left {
        font-size: 1.2rem;
    }
}


/* ============================================================
   4. CATEGORY BOX (Home Page)
   ============================================================ */
.category-box {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    position: relative;
}
.category-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}
.category-box .ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 10px 12px;
    text-align: center;
}
.category-box .ribbon h3 {
    font-weight: 800;
    font-size: 1.6rem;
    margin: 0;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}
@media (max-width: 767.98px) {
    .category-box {
        aspect-ratio: 16/10;
    }
    .category-box .ribbon h3 {
        font-size: 1.4rem;
    }
}
@media (max-width: 576px) {
    .category-box {
        aspect-ratio: 16/9;
    }
    .category-box .ribbon h3 {
        font-size: 1.2rem;
    }
    .category-box .ribbon {
        padding: 6px 8px;
    }
}


/* ============================================================
   5. CHECKOUT PAGE STYLES
   ============================================================ */
.checkout-section {
    background: rgba(20,20,20,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.checkout-section h5 {
    color: #f8c150;
    font-weight: 700;
    margin-bottom: 1rem;
}
.checkout-section .form-label {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.checkout-section .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
}
.checkout-section .form-control:focus {
    background: rgba(255,255,255,0.08);
    border-color: #f8c150;
    box-shadow: 0 0 0 0.25rem rgba(248, 193, 80, 0.15);
    color: #fff;
}
.checkout-section .form-control::placeholder {
    color: rgba(255,255,255,0.3);
}
.checkout-section .form-check-label {
    color: rgba(255,255,255,0.8);
}
.checkout-section .customer-info {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Delivery/Collection Toggle */
.delivery-toggle .btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.delivery-toggle .btn.active {
    background: #f8c150;
    color: #0a0a0a;
    border-color: #f8c150;
}
.delivery-toggle .btn:not(.active) {
    background: transparent;
    color: rgba(255,255,255,0.5);
    border-color: rgba(255,255,255,0.2);
}
.delivery-toggle .btn:not(.active):hover {
    border-color: #f8c150;
    color: #f8c150;
}

/* Checkout Buttons */
.btn-place-order {
    background: #f8c150;
    color: #0a0a0a;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}
.btn-place-order:hover {
    background: #e6b03c;
    color: #0a0a0a;
    transform: translateY(-2px);
}
.btn-back-cart {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.75rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-back-cart:hover {
    border-color: #f8c150;
    color: #f8c150;
}

/* Tab buttons - smaller on mobile */
.nav-tabs .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
}
@media (max-width: 576px) {
    .nav-tabs .nav-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Delivery/Collection Time Select */
.time-select {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
}
.time-select option {
    background: #1a1a1a !important;
    color: #fff !important;
}
.time-select:focus {
    border-color: #f8c150 !important;
    box-shadow: 0 0 0 0.25rem rgba(248, 193, 80, 0.15) !important;
}

/* Edit address toggle */
.edit-address-toggle {
    cursor: pointer;
    color: #f8c150;
    font-size: 0.85rem;
    text-decoration: none;
}
.edit-address-toggle:hover {
    text-decoration: underline;
}


/* ============================================================
   6. CONFIRMATION PAGE STYLES
   ============================================================ */
.confirmation-section {
    background: rgba(20,20,20,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.confirmation-section .success-icon {
    font-size: 5rem;
    color: #4caf50;
    margin-bottom: 1rem;
}
.confirmation-section h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.confirmation-section .order-details {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}
.confirmation-section .order-details-gold {
    color: #f8c150;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Countdown Timer */
.countdown-timer {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.countdown-timer .timer-display {
    font-size: 3rem;
    font-weight: 700;
    color: #f8c150;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}
.countdown-timer .timer-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}
.countdown-timer .timer-warning {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}
@media (max-width: 576px) {
    .countdown-timer .timer-display {
        font-size: 2.2rem;
    }
}


/* ============================================================
   7. PAYMENT PAGE STYLES
   ============================================================ */
.payment-section {
    background: rgba(20,20,20,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.payment-section h5 {
    color: #f8c150;
    font-weight: 700;
    margin-bottom: 1rem;
}
.payment-section .form-label {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.payment-section .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
}
.payment-section .form-control:focus {
    background: rgba(255,255,255,0.08);
    border-color: #f8c150;
    box-shadow: 0 0 0 0.25rem rgba(248, 193, 80, 0.15);
    color: #fff;
}
.payment-section .form-control::placeholder {
    color: rgba(255,255,255,0.3);
}

/* Total Amount Box */
.total-amount-box {
    background: rgba(248, 193, 80, 0.08);
    border: 1px solid rgba(248, 193, 80, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.total-amount-box .total-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.total-amount-box .total-amount {
    color: #f8c150;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
}

/* Payment Method Cards */
.payment-method-card {
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.payment-method-card:hover {
    border-color: rgba(248, 193, 80, 0.3);
}
.payment-method-card.active {
    border-color: #f8c150;
    background: rgba(248, 193, 80, 0.08);
}
.payment-method-card .payment-icon {
    font-size: 2rem;
    color: #f8c150;
}
.payment-method-card .payment-name {
    color: #fff;
    font-weight: 600;
    margin-left: 0.8rem;
}
.payment-method-card .payment-desc {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin-left: 0.8rem;
}


/* ============================================================
   8. SHOPPING CART PAGE STYLES
   ============================================================ */
.cart-item {
    background: rgba(20,20,20,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.cart-item h5 {
    color: #f8c150;
    font-weight: 700;
}
.cart-item .item-options {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
.cart-item .item-price {
    color: #f8c150;
    font-weight: 700;
}
.cart-item .item-total {
    color: #f8c150;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Cart Summary */
.cart-summary {
    background: rgba(20,20,20,0.85);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    position: sticky;
    top: 20px;
}
.cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cart-summary .summary-row:last-child {
    border-bottom: none;
    border-top: 2px solid #f8c150;
    padding-top: 1rem;
    margin-top: 0.5rem;
}
.cart-summary .summary-label {
    color: rgba(255,255,255,0.6);
}
.cart-summary .summary-value {
    color: #fff;
    font-weight: 600;
}
.cart-summary .summary-total {
    color: #f8c150;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Quantity controls in cart */
.qty-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.qty-control button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.qty-control button:hover {
    border-color: #f8c150;
    color: #f8c150;
}
.qty-control span {
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    color: #dc3545;
    cursor: pointer;
    transition: all 0.3s ease;
}
.remove-item:hover {
    color: #ff6b7a;
}


/* ============================================================
   9. PRODUCTS
   ============================================================ */


/* Food Menu */
.food-item {
    background: rgba(20,20,20,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    cursor: pointer;
}
.food-item h3 {
    color: #f8c150;
    font-weight: 700;
}
.food-item .description {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}
.food-item .price {
    color: #f8c150;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Modal styles */
.modal-content {
    background: rgba(20,20,20,0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}
.modal-content .form-check-input:checked {
    background-color: #f8c150;
    border-color: #f8c150;
}



/* ============================================================
   10. FOOTER
   ============================================================ */
.link-gold:hover {
    color: #f8c150 !important;
}