/* Base Styles */
:root {
    --brand-red: #d9534f;
    --dark-bg: #212529;
}

body {
    padding-top: 80px; /* Increased for a taller navbar */
    font-size: 18px;    /* Increased base font for readability */
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
}

/* Custom Navigation Bar Color */
.navbar.bg-dark {
    background-color: #990000 !important;
}

/* Navigation Enhancements */
/* Optional: Subtle border to separate from content */
.navbar {
    padding: 0.8rem 1rem;
    border-bottom: 2px solid #800000;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: bold;
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Slightly smaller than desktop, but still legible */
    }

    /* Make nav links larger touch targets for thumbs */
    .navbar-nav .nav-link {
        padding: 15px 20px; 
        font-size: 1.2rem;
        border-bottom: 1px solid #343a40;
    }

    .content-wrapper {
        padding: 20px 15px;
        margin: 10px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    /* Ensure tables don't squish; allow horizontal scroll */
    .table-responsive {
        border: 0;
    }
}

/* Menu Item Styling */
.menu-category {
    margin-top: 2rem;
    border-bottom: 2px solid var(--brand-red);
    padding-bottom: 5px;
}

.list-group-item {
    font-size: 1.1rem;
    padding: 12px 15px; /* Bigger area to tap */
}

.badge-danger {
    background-color: var(--brand-red);
    font-size: 0.9rem;
}

/* Layout Utilities */
.content-wrapper {
    background-color: #fff;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* STICKY SIDEBAR NAVIGATION */
.sticky-sidebar {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 10px; /* How far from top the menu sticks (below navbar) */
    z-index: 1000;
}

/* Sidebar Link Styling */
.list-group-item {
    border: 1px solid rgba(0,0,0,0.125);
    margin-bottom: -1px;
    font-size: 1rem;
    color: #495057;
    white-space: nowrap; /* Prevents text wrapping in the sidebar */
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." if a name is truly too long */
    display: block; /* Ensures the background covers the full width */
}

/* The Active State (Highlight Red) */
.list-group-item.active {
    background-color: #990000 !important;  /* Brand Red */
    border-color: #990000 !important;
    color: #fff !important;
    font-weight: bold;
}

/* Restrict the overall width on large desktops */
@media (min-width: 1200px) {
    .container {
        max-width: 1000px; /* Adjust this number to make the whole site narrower or wider */
    }
}

/* Add specific styling for the content area to give it a "contained" feel */
.menu-content-area {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden; /* Keeps the background headers from bleeding out */
}

/* Ensure the category headers look clean in the narrow view */
.menu-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Keep the sidebar from being too wide */
#menu-sidebar {
    max-width: 100%;
    margin-left: 0; /* Aligns sidebar closer to the menu content */
}

/* Offset for Anchor Clicking */
/* This prevents the header from covering the title when you click a link */
.menu-section {
    scroll-margin-top: 100px;
}

/* Content Area Tweaks */
.list-group-flush .list-group-item {
    border-left: 0;
    border-right: 0;
}

.text-warning {
    color: #ffc107 !important; /* Star Color */
}


/* Custom Line Separator for Menu Items */
.menu-section .list-group-item {
    border-bottom: 2px solid #e0e0e0 !important; /* Subtle gray line */
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: none;
    border-left: none;
    border-right: none;
}

/* Remove the line from the very last item in each section for a cleaner look */
.menu-section .list-group-item:last-child {
    border-bottom: none !important;
}
/* Container for the heart and the name */
.menu-item-text {
    display: flex;
    align-items: center;
}

/* Give the heart icon a fixed width so the text after it always starts at the same spot */
.heart-icon {
    display: inline-block;
    width: 25px; /* Adjust based on how much gap you want */
    text-align: center;
    font-size: 0.9rem;
}

/* Give the star icon a fixed width so the text after it always starts at the same spot */
.star-icon {
    display: inline-block;
    width: 25px; /* Adjust based on how much gap you want */
    text-align: center;
    font-size: 0.9rem;
}

/* Ensure the item name doesn't wrap awkwardly */
.item-name {
    display: inline-block;
}

/* Hover effect for better UX on menu items */
.list-group-item:hover {
    background-color: #fdfdfd;
}

/* Styling for the choice indicator */
.badge-choice {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    font-style: italic;
    font-weight: normal;
    padding: 0.4em 0.8em;
    margin: 5px 0;
    display: inline-block;
}

/* Styling for the Family Dinner Table */
.table td {
    vertical-align: middle !important; /* Centers text vertically */
}

/* Make the Pack Size stand out */
.table td:first-child {
    background-color: #fdfdfd;
    font-size: 1.2rem;
    color: #d9534f; /* Brand Red */
}

/* Bold and Right-Align Prices in Table */
.table td:last-child {
    text-align: right;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

/* This ensures the first column takes the background of the parent row (striped or plain) */
.table td:first-child {
    background-color: transparent !important; 
    color: #d9534f; /* Keeps the text red for emphasis without breaking the row color */
    font-weight: bold;
    vertical-align: middle;
}

/* If you want the first column to be darker like the header, use this instead */
.table tbody td:first-child {
    background-color: rgba(0, 0, 0, 0.03); /* Adds a very subtle tint that works with stripes */
}

/* Color icons to match your #990000 navbar */
.contact-list i {
    color: #990000 !important;
    width: 20px;
    text-align: center;
}

.social-icons a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Special styling for the Gifts link in the nav */
.nav-link[href="gifts.html"] {
    font-weight: bold;
    color: #ffd700 !important; /* Gold color to stand out against #990000 red */
}

/* Icon styling for the Gifts page */
.display-1.fa-gift {
    color: #990000 !important;
}

.hiring-banner {
    background-color: #fff3cd; /* Soft yellow alert */
    border-left: 5px solid #990000; /* Your brand red */
    padding: 15px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Floating Mobile Menu Button */
.floating-menu-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 2000;
    width: 60px;
    height: 60px;
    background-color: #990000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container for mobile links */
.mobile-jump-links {
    position: fixed;
    bottom: 95px;
    right: 25px;
    z-index: 2000;
    width: 200px;
    max-height: 60vh;
    overflow-y: auto;
}

.mobile-jump-links .list-group-item {
    padding: 15px;
    background-color: #fff;
    border-left: 4px solid #990000;
}

/* Hide the old desktop sidebar container on mobile to save space */
@media (max-width: 991px) {
    .sticky-sidebar {
        display: none;
    }
}

.hero-section {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('2359.JPG');
    background-size: cover;
    background-position: center;
    margin-top: 56px;
}