body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFBEB; /* Light warm neutral background */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.font-luckiest {
    font-family: 'Luckiest Guy', cursive;
}

.nav-link {
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.nav-link:hover {
    background-color: #FBBF24;
    color: #B91C1C;
}

.nav-link-active {
    background-color: #EAB308;
    color: #B91C1C;
}

.section-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2.25rem;
    color: #DC2626;
    margin-bottom: 1.5rem;
    text-align: center;
}

.menu-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease-in-out;
    border: 2px solid #FECACA;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0; /* Allows flex/grid items to shrink below content size */
}

.menu-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.menu-item-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #B91C1C;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.menu-item-fr {
    font-size: 0.875rem;
    color: #4B5563;
    font-style: italic;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid #E5E7EB;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.menu-item-price {
    font-size: 1.5rem;
    font-family: 'Luckiest Guy', cursive;
    color: #EAB308;
    margin-top: 0.75rem;
}

/* Red and white checkerboard border patterns */
.checkerboard-border-top {
    border-top: 12px solid;
    border-image: 
        repeating-linear-gradient(
            90deg,
            #DC2626 0px, #DC2626 12px,
            white 12px, white 24px
        ) 12;
}

.checkerboard-border-bottom {
    border-bottom: 12px solid;
    border-image: 
        repeating-linear-gradient(
            90deg,
            #DC2626 0px, #DC2626 12px,
            white 12px, white 24px
        ) 12;
}

.checkerboard-border-full {
    border: 8px solid;
    border-image: 
        repeating-linear-gradient(
            45deg,
            #DC2626 0px, #DC2626 8px,
            white 8px, white 16px
        ) 8;
}

/* Red and white checkerboard side borders */
.checkerboard-side-borders {
    position: relative;
    padding-left: 50px;
    padding-right: 50px;
}

.checkerboard-side-borders::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40px;
    background-image:
        linear-gradient(45deg, #DC2626 25%, transparent 25%),
        linear-gradient(-45deg, #DC2626 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #DC2626 75%),
        linear-gradient(-45deg, transparent 75%, #DC2626 75%);
    background-size: 14px 14px;
    background-position: 0 0, 0 7px, 7px -7px, -7px 0px;
    background-color: white;
    z-index: 9999;
    pointer-events: none;
}

.checkerboard-side-borders::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background-image:
        linear-gradient(45deg, #DC2626 25%, transparent 25%),
        linear-gradient(-45deg, #DC2626 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #DC2626 75%),
        linear-gradient(-45deg, transparent 75%, #DC2626 75%);
    background-size: 14px 14px;
    background-position: 0 0, 0 7px, 7px -7px, -7px 0px;
    background-color: white;
    z-index: 9999;
    pointer-events: none;
}

.btn-primary {
    background-color: #EAB308;
    color: #B91C1C;
    font-family: 'Luckiest Guy', cursive;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: background-color 0.15s ease-in-out;
    font-size: 1.25rem;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #FBBF24;
}

.no-tax-banner {
    background-color: #DC2626;
    color: white;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.5rem;
    padding: 0.75rem 1.25rem;
    transform: rotate(-3deg);
    display: inline-block;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

/* Bilingual text styling */
.bilingual-container {
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.english-text {
    display: block;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    hyphens: auto;
}

.french-text {
    display: block;
    font-style: italic;
    color: #6B7280;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #E5E7EB;
    word-wrap: break-word;
    hyphens: auto;
}

.language-separator {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, #DC2626, #EAB308);
    margin: 0.75rem auto;
    opacity: 0.6;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .nav-link {
        font-size: 0.75rem; /* Smaller font size for mobile */
        padding: 0.5rem; /* Slightly reduced padding for mobile */
    }
    
    .section-title {
        font-size: 1.75rem; /* Smaller font size for mobile (reduced from 2.25rem) */
        margin-bottom: 1rem; /* Slightly reduced margin for mobile */
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Header title - override Tailwind classes for mobile */
    header h1.font-luckiest {
        font-size: 1.5rem !important; /* Smaller than text-3xl (1.875rem) for mobile */
        line-height: 1.2 !important;
        word-wrap: break-word;
    }
    
    /* Menu card responsive fixes */
    .menu-card {
        padding: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .menu-item-name {
        font-size: 1.125rem; /* Slightly smaller on mobile */
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .menu-item-price {
        font-size: 1.25rem; /* Slightly smaller on mobile */
        margin-top: 0.5rem;
    }
    
    /* Bilingual text adjustments for mobile */
    .bilingual-container {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .bilingual-container .english-text,
    .bilingual-container .french-text {
        font-size: 0.875rem; /* Slightly smaller text on mobile */
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .language-separator {
        width: 40px; /* Shorter separator on mobile */
        margin: 0.5rem auto; /* Reduced margin */
    }
    
    .menu-item-fr {
        font-size: 0.75rem; /* Even smaller French text on mobile */
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* No tax banner mobile fixes */
    .no-tax-banner {
        font-size: 1.25rem; /* Smaller on mobile */
        padding: 0.5rem 1rem;
        transform: rotate(-2deg); /* Less rotation on mobile */
        margin: 0 auto;
        max-width: 90%;
        text-align: center;
        word-wrap: break-word;
    }
    
    /* Button responsive fixes */
    .btn-primary {
        font-size: 1.125rem;
        padding: 0.625rem 1.25rem;
        word-wrap: break-word;
        text-align: center;
        display: block;
        margin: 0 auto;
        max-width: 90%;
    }
    
    /* Side borders - reduce padding on mobile to prevent text overflow */
    .checkerboard-side-borders {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .checkerboard-side-borders::before,
    .checkerboard-side-borders::after {
        width: 20px;
    }
}

/* Extra small screens (phones in portrait mode) */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }
    
    header h1.font-luckiest {
        font-size: 1.25rem !important;
    }
    
    .menu-item-name {
        font-size: 1rem;
    }
    
    .menu-item-price {
        font-size: 1.125rem;
    }
    
    .no-tax-banner {
        font-size: 1rem;
        padding: 0.375rem 0.75rem;
    }
    
    .btn-primary {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    /* Further reduce side padding on very small screens */
    .checkerboard-side-borders {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .checkerboard-side-borders::before,
    .checkerboard-side-borders::after {
        width: 12px;
    }
}