/* Reset and Base Styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #050000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Header Styles */
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 0 4vw; height: 12vh; background: transparent; }

.brand-logo { color: #d60000; font-size: 2.2rem; font-weight: 900; text-transform: uppercase; text-decoration: none; font-style: italic; display: flex; flex-direction: column; line-height: 0.8; font-family: Impact, sans-serif; }

.nav-links { display: flex; gap: 3vw; }

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff3c00;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon {
    height: 18px;
    object-fit: contain;
}

.bag-btn { background: transparent; border: 1px solid #ffb347; color: #fff; padding: 6px 16px; border-radius: 12px; cursor: pointer; text-transform: uppercase; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }

.bag-badge {
    background-color: #aa0000;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.order-now-btn { background: #aa0000; color: #fff; border: 1px solid #ffb347; padding: 6px 16px; border-radius: 12px; cursor: pointer; text-transform: uppercase; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }

/* Hero Section */
.hero-container { display: flex; justify-content: center; align-items: center; gap: 3vw; padding: 0 4vw; height: 60vh; }

.hero-left { flex: 0 1 350px; z-index: 2; display: flex; flex-direction: column; }

.eyebrow {
    color: #ffb347;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-left h1 { font-size: 3.5rem; line-height: 1; margin: 5px 0; font-weight: 900; text-transform: uppercase; }

.hero-left h1 span.flame-text { color: #ff3c00; font-family: "Brush Script MT", cursive; font-style: italic; display: block; font-size: 4.5rem; }

.hero-desc {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.hero-buttons { display: flex; gap: 15px; margin-bottom: 30px; align-items: center; }

.btn-primary { background: #aa0000; border: 1px solid #ffb347; color: #fff; padding: 10px 25px; border-radius: 12px; text-decoration: none; font-weight: normal; text-transform: uppercase; white-space: nowrap; display: inline-block; text-align: center; }

.btn-secondary { background: transparent; border: 1px solid #ffb347; color: #ffb347; padding: 10px 25px; border-radius: 12px; text-decoration: none; font-weight: normal; text-transform: uppercase; white-space: nowrap; display: inline-block; text-align: center; }

.features { display: flex; gap: 20px; justify-content: flex-start; align-items: flex-start; }

.feature-item { text-align: center; border-right: 1px dashed rgba(255, 179, 71, 0.4); padding-right: 25px; display: flex; flex-direction: column; align-items: center; }

.feature-item:first-child {
    padding-left: 0;
}

.feature-item:last-child { border-right: none; padding-right: 0; }

.feature-icon { height: 22px; object-fit: contain; margin-bottom: 0; }

.feature-item h4 { color: #fff; margin: 8px 0 3px 0; font-size: 0.8rem; text-transform: uppercase; white-space: nowrap; display: block; }

.feature-item p {
    color: #888;
    font-size: 0.8rem;
    margin: 0;
}

.hero-center { flex: 0 1 auto; display: flex; justify-content: center; z-index: 1; }

.hero-center-logo { height: 50vh; width: auto; object-fit: contain; border-radius: 50%; box-shadow: 0 0 60px rgba(255, 60, 0, 0.4); }

.hero-right { flex: 0 1 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }

.mascot { width: 300px; z-index: 10; position: relative; background: transparent; }

.diff-card {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #ffb347;
    border-radius: 12px;
    padding: 15px 15px 15px 25px;
    width: 100%;
    box-sizing: border-box;
    z-index: 5;
}

.diff-card h3 { color: #ffb347; font-size: 0.8rem; text-transform: uppercase; margin-top: 0; margin-bottom: 15px; letter-spacing: 1px; text-align: left; }

.diff-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diff-list li { display: flex; flex-direction: row; align-items: center; text-align: left; gap: 15px; margin-bottom: 20px; }

.diff-icon { font-size: 1.2rem; color: #ff3c00; width: 40px; height: 40px; border: 1px solid #ffb347; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }

.diff-text {
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Menu Section */
.explore-menu-section { padding: 3vh 4vw; text-align: center; border-top: 1px solid rgba(255, 60, 0, 0.2); display: flex; flex-direction: column; align-items: center; }

.explore-menu-title { color: #ffb347; font-size: 1.5rem; text-transform: uppercase; margin: 0; }






.category-grid { display: flex; justify-content: center; gap: 1.5vw; width: 100%; margin-bottom: 20px; }

.category-card { background: #000; border: 1px solid #ffb347; border-radius: 10px; flex: 1; min-width: 0; height: 200px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; position: relative; overflow: hidden; text-decoration: none; color: inherit; padding: 15px; box-sizing: border-box; transition: 0.3s; }

.category-card:hover {
    transform: translateY(-5px);
    border-color: #ff3c00;
}

.category-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    mask-image: linear-gradient(to right, transparent 0%, black 50%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%);
}

.category-card-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 60%; z-index: 2; position: relative; }

.category-card h3 {
    color: #ffb347;
    font-size: 1rem;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.category-card p {
    color: #aaa;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.2;
}

.arrow-icon { display: flex; justify-content: center; align-items: center; position: absolute; bottom: 15px; right: 15px; background: #aa0000; color: #fff; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; z-index: 3; }

.view-full-menu { background: transparent; border: 1px solid #ffb347; color: #ffb347; padding: 10px 25px; border-radius: 25px; text-decoration: none; font-weight: bold; text-transform: uppercase; margin-top: 10px; }

/* Appending to home.css for new sections and bag sidebar */

/* Info Sections (About, Contact) */
.info-section {
    padding: 50px 2vw;
    background: #050000;
    border-top: 1px solid rgba(255, 60, 0, 0.2);
    text-align: center;
}

.info-section h2 {
    color: #fff;
    font-size: 2rem;
    margin: 10px 0 40px;
}

.info-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-card {
    background: rgba(20, 10, 5, 0.5);
    border: 1px solid rgba(255, 179, 71, 0.2);
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    text-align: center;
}

.info-icon {
    height: 40px;
    margin-bottom: 15px;
    object-fit: contain;
}

.info-card h3 {
    color: #ffb347;
    margin-top: 0;
    font-size: 1.2rem;
}

.info-card p {
    color: #aaa;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Bag Sidebar */
.scrim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.scrim.open {
    opacity: 1;
    visibility: visible;
}

.bag-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: #0a0a0a;
    border-left: 1px solid #ff3c00;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s;
}

.bag-panel.open {
    right: 0;
}

.bag-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 60, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-bag {
    background: transparent;
    border: none;
    color: #ff3c00;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.bag-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bag-item-mini {
    display: flex;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    position: relative;
}

.bag-item-mini img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.bag-item-mini-info {
    flex: 1;
}

.bag-item-mini h4 {
    margin: 0 0 5px;
    color: #ffb347;
    font-size: 1rem;
}

.bag-item-mini p {
    margin: 0;
    color: #888;
    font-size: 0.8rem;
}

.bag-item-mini-price {
    font-weight: bold;
    color: #fff;
    margin-top: 5px;
}

.bag-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.bag-qty-controls button {
    background: transparent;
    border: 1px solid #ffb347;
    color: #ffb347;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.remove-btn-mini {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.remove-btn-mini:hover {
    color: #ff3c00;
}

.bag-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 60, 0, 0.2);
    background: #050000;
}

.bag-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.explore-menu-header { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 25px; }
.menu-lines { display: flex; flex-direction: column; gap: 4px; }
.left-lines { align-items: flex-end; }
.right-lines { align-items: flex-start; }
.menu-lines span { height: 2px; background: #ff3c00; }
.menu-lines span:nth-child(1) { width: 15px; }
.menu-lines span:nth-child(2) { width: 35px; }
.menu-lines span:nth-child(3) { width: 15px; }






/* NEW MENU SECTION */
.menu-section {
    display: flex;
    flex-direction: column;
}


.sticky-categories {
    position: sticky;
    top: 0;
    background: #000;
    padding: 15px 4vw;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #D4AF37;
    z-index: 90;
    gap: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.sticky-categories::-webkit-scrollbar { 
    display: none; /* Chrome/Safari */
}


.category-link {
    background-color: #1a0000;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 10px 24px;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.category-link:hover, .category-link:active { 
    background-color: #D4AF37;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.2);
}


.menu-container { max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box;
    flex: 1;
    padding: 20px 4vw;
}

.category-title {
    color: #D4AF37;
    font-size: 2rem;
    margin: 40px 0 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 600px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .menu-grid { grid-template-columns: 1fr 1fr 1fr; } }

.menu-card {
    background: #1a0000;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border-color: #D4AF37;
}

.menu-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.menu-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.menu-card-body h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}
.menu-desc {
    color: #aaa;
    font-size: 0.85rem;
    flex: 1;
    margin-bottom: 15px;
}
.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price {
    font-weight: 700;
    color: #D4AF37;
    font-size: 1.2rem;
}
.btn-add {
    background: #B30000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-add:hover { background: #650000; }

/* Item Customization Modal */
.item-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 2000;
    display: flex; justify-content: center; align-items: flex-end;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.item-modal-overlay.open { opacity: 1; pointer-events: auto; }
@media(min-width: 768px) {
    .item-modal-overlay { align-items: center; }
}
.item-modal {
    background: #1a0000; width: 100%; max-width: 500px;
    height: 90vh; max-height: 800px; border-radius: 12px 12px 0 0;
    display: flex; flex-direction: column; position: relative;
    transform: translateY(100%); transition: transform 0.3s;
    border: 1px solid #D4AF37; border-bottom: none;
}
@media(min-width: 768px) {
    .item-modal { border-radius: 12px; height: auto; max-height: 90vh; border-bottom: 1px solid #D4AF37; }
}
.item-modal-overlay.open .item-modal { transform: translateY(0); }
.close-modal {
    position: absolute; top: 15px; right: 15px; width: 36px; height: 36px;
    border-radius: 50%; background: rgba(0,0,0,0.6); color: #fff;
    border: none; font-size: 1.5rem; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
}
.item-modal-header {
    height: 250px; background-size: cover; background-position: center;
    border-radius: 12px 12px 0 0; flex-shrink: 0;
}
.item-modal-body {
    padding: 20px; overflow-y: auto; flex: 1;
}
.item-modal-body::-webkit-scrollbar {
    width: 6px;
}
.item-modal-body::-webkit-scrollbar-track {
    background: #1a0000;
}
.item-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 179, 71, 0.3);
    border-radius: 10px;
}
.item-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 179, 71, 0.6);
}
.modal-title { margin: 0 0 10px; font-size: 1.5rem; color: #fff; font-family: 'Montserrat', sans-serif;}
.modal-desc { color: #aaa; font-size: 0.95rem; margin-bottom: 20px; }
.modal-section { margin-bottom: 25px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.modal-section h3 { margin: 0 0 5px; color: #D4AF37; font-size: 1.2rem; }
.section-subtitle { font-size: 0.8rem; color: #888; margin: 0 0 15px; text-transform: uppercase; }
.options-list { display: flex; flex-direction: column; gap: 10px; }
.option-label {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 15px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px; cursor: pointer; transition: border-color 0.2s;
}
.option-label:hover { border-color: #D4AF37; }
.option-label input { margin-right: 15px; accent-color: #D4AF37; }
.item-modal-footer {
    padding: 20px; border-top: 1px solid rgba(255,255,255,0.1);
    background: #1a0000; display: flex; flex-direction: column; gap: 10px;
    border-radius: 0 0 12px 12px;
}
.modal-footer-row {
    display: flex; gap: 15px; align-items: stretch;
}
.modal-add-btn {
    flex: 1; display: flex; justify-content: center; align-items: center;
}
.modal-qty {
    display: flex; align-items: center; background: rgba(0,0,0,0.5);
    border-radius: 6px; border: 1px solid rgba(255,255,255,0.2);
}
.modal-qty button {
    background: transparent; border: none; color: #fff; font-size: 1.5rem;
    width: 40px; cursor: pointer;
}
.modal-qty span { font-weight: bold; width: 30px; text-align: center; }

.info-section { padding: 50px 2vw; background: #050000; border-top: 1px solid rgba(255, 60, 0, 0.2); text-align: center; }
.info-section h2 { color: #fff; font-size: 2rem; margin: 10px 0 40px; }
.info-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.info-card { background: rgba(20, 10, 5, 0.5); border: 1px solid rgba(255, 179, 71, 0.2); border-radius: 10px; padding: 30px; width: 300px; text-align: center; }
.info-icon { height: 40px; margin-bottom: 15px; object-fit: contain; }
.info-card h3 { color: #ffb347; margin-top: 0; font-size: 1.2rem; }
.info-card p { color: #aaa; line-height: 1.5; font-size: 0.9rem; margin-bottom: 0; }


/* --- RESPONSIVENESS (TABLET & MOBILE) --- */
@media (max-width: 1100px) {
    /* Navbar */
    .site-header {
        flex-direction: column;
        height: auto;
        padding: 15px 4vw;
        gap: 15px;
        position: relative;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    
    /* Hero Section */
    .hero-container {
        flex-direction: column;
        height: auto;
        padding: 40px 4vw;
        gap: 40px;
        text-align: center;
    }
    .hero-left {
        width: 100%;
        align-items: center;
    }
    .hero-left h1 {
        font-size: 3rem;
    }
    .hero-desc {
        text-align: center;
    }
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 15px;
    }
    .hero-center {
        width: 100%;
    }
    .hero-center-logo { width: 250px; height: 250px; margin: 0 auto; }
    .hero-right {
        width: 100%;
    }
    .mascot {
        width: 100%;
        max-width: 250px;
        margin: 0 auto 20px;
        display: block;
    }
    .diff-card {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* Bag Page Grid Fix */
    .bag-page-container {
        grid-template-columns: 1fr;
    }
}

/* Ensure features ALWAYS stay horizontal, even on small mobile */
@media (max-width: 1100px) {
    .features {
        flex-direction: row !important;
        justify-content: center;
        width: 100%;
        gap: 10px;
        flex-wrap: nowrap; /* Force horizontal */
    }
    .feature-item {
        border: none !important;
        padding: 0 !important;
        flex: 1;
    }
    .feature-item h4 {
        font-size: 0.65rem;
        margin: 5px 0 2px;
        white-space: nowrap;
    }
    .feature-item p {
        font-size: 0.55rem;
        margin: 0;
        white-space: nowrap;
    }
    .feature-icon {
        height: 18px;
    }
}
/* First Visit Loader */
#brand-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#brand-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo {
    width: 250px;
    height: auto;
    border-radius: 50%; /* if logo is square, circle it nicely */
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    animation: brandPulse 2s infinite ease-in-out;
}

@keyframes brandPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(255, 60, 0, 0.4); }
    100% { transform: scale(0.95); box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
}

.theme-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #111;
    border-top: 4px solid #D4AF37;
    border-right: 4px solid #ff3c00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
