/* NXTLVT Menu - Frontend Styles */

/* === Base Styles === */
.nxtlvt-menu-wrapper {
    margin: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.nxtlvt-menu-error,
.nxtlvt-menu-message {
    padding: 20px;
    background: #f0f0f1;
    border-left: 4px solid #ffd600;
    margin: 20px 0;
    border-radius: 4px;
}

/* === Category === */
.nxtlvt-menu-category {
    margin-bottom: 50px;
}

.nxtlvt-category-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffd600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Items Grid === */
.nxtlvt-menu-items {
    display: grid;
    gap: 30px;
}

.nxtlvt-menu-items.nxtlvt-columns-1 {
    grid-template-columns: 1fr;
}

.nxtlvt-menu-items.nxtlvt-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.nxtlvt-menu-items.nxtlvt-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.nxtlvt-menu-items.nxtlvt-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .nxtlvt-menu-items.nxtlvt-columns-3,
    .nxtlvt-menu-items.nxtlvt-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nxtlvt-menu-items {
        grid-template-columns: 1fr !important;
    }
}

/* === Menu Item === */
.nxtlvt-menu-item {
    position: relative;
    transition: all 0.3s ease;
}

.nxtlvt-menu-item.nxtlvt-unavailable {
    opacity: 0.5;
}

.nxtlvt-menu-item.nxtlvt-unavailable::after {
    content: "Heute nicht verfügbar";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3232;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

/* === Item Header === */
.nxtlvt-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

.nxtlvt-item-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.nxtlvt-item-price {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    color: #ffd600;
}

/* === Item Description === */
.nxtlvt-item-description {
    margin: 0 0 10px 0;
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* === Allergens === */
.nxtlvt-item-allergens {
    margin-top: 10px;
}

.nxtlvt-item-allergens small {
    color: #999;
    font-size: 13px;
}

/* === Badges === */
.nxtlvt-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.nxtlvt-badge-vegetarisch,
.nxtlvt-badge-vegan {
    background: #46b450;
    color: #fff;
}

.nxtlvt-badge-glutenfrei {
    background: #00a0d2;
    color: #fff;
}

.nxtlvt-badge-neu {
    background: #ffd600;
    color: #1d2327;
}

.nxtlvt-badge-empfehlung {
    background: #dc3232;
    color: #fff;
}

.nxtlvt-badge-saisonal {
    background: #f18500;
    color: #fff;
}

.nxtlvt-badge-scharf {
    background: #ff0000;
    color: #fff;
}

/* ===============================================
   LAYOUT: CLASSIC (Default)
   =============================================== */
.nxtlvt-layout-classic .nxtlvt-menu-item {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.nxtlvt-layout-classic .nxtlvt-menu-item:last-child {
    border-bottom: none;
}

/* ===============================================
   LAYOUT: MODERN (Grid with Cards)
   =============================================== */
.nxtlvt-layout-modern .nxtlvt-menu-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nxtlvt-layout-modern .nxtlvt-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.nxtlvt-layout-modern .nxtlvt-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.nxtlvt-layout-modern .nxtlvt-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nxtlvt-layout-modern .nxtlvt-menu-item:hover .nxtlvt-item-image img {
    transform: scale(1.05);
}

.nxtlvt-layout-modern .nxtlvt-item-content {
    padding: 20px;
}

/* ===============================================
   LAYOUT: COMPACT (Simple List)
   =============================================== */
.nxtlvt-layout-compact .nxtlvt-menu-items {
    gap: 15px;
}

.nxtlvt-layout-compact .nxtlvt-menu-item {
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #ffd600;
}

.nxtlvt-layout-compact .nxtlvt-item-name {
    font-size: 16px;
}

.nxtlvt-layout-compact .nxtlvt-item-price {
    font-size: 15px;
}

.nxtlvt-layout-compact .nxtlvt-item-description {
    font-size: 14px;
    margin-bottom: 5px;
}

/* ===============================================
   LAYOUT: ELEGANT (Restaurant Style)
   =============================================== */
.nxtlvt-layout-elegant {
    font-family: Georgia, 'Times New Roman', serif;
}

.nxtlvt-layout-elegant .nxtlvt-category-title {
    font-family: Georgia, 'Times New Roman', serif;
    text-align: center;
    font-size: 32px;
    font-style: italic;
    text-transform: none;
    letter-spacing: 2px;
    border-bottom: 1px solid #ddd;
}

.nxtlvt-layout-elegant .nxtlvt-menu-item {
    padding: 30px 0;
    border-bottom: 1px dotted #ddd;
}

.nxtlvt-layout-elegant .nxtlvt-item-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nxtlvt-layout-elegant .nxtlvt-item-name {
    font-size: 22px;
    font-style: italic;
    font-weight: 600;
}

.nxtlvt-layout-elegant .nxtlvt-item-description {
    text-align: center;
    font-style: italic;
    color: #555;
}

.nxtlvt-layout-elegant .nxtlvt-item-price {
    margin-top: 10px;
    font-size: 20px;
    font-style: normal;
}

/* ===============================================
   COLOR SCHEMES
   =============================================== */

/* Default - Yellow/Gold */
.nxtlvt-color-default .nxtlvt-category-title {
    border-color: #ffd600;
}

.nxtlvt-color-default .nxtlvt-item-price {
    color: #ffd600;
}

/* Warm - Red/Orange */
.nxtlvt-color-warm .nxtlvt-category-title {
    border-color: #e74c3c;
}

.nxtlvt-color-warm .nxtlvt-item-price {
    color: #e74c3c;
}

.nxtlvt-color-warm .nxtlvt-layout-compact .nxtlvt-menu-item {
    border-left-color: #e74c3c;
}

/* Fresh - Green */
.nxtlvt-color-fresh .nxtlvt-category-title {
    border-color: #27ae60;
}

.nxtlvt-color-fresh .nxtlvt-item-price {
    color: #27ae60;
}

.nxtlvt-color-fresh .nxtlvt-layout-compact .nxtlvt-menu-item {
    border-left-color: #27ae60;
}

/* Ocean - Blue */
.nxtlvt-color-ocean .nxtlvt-category-title {
    border-color: #3498db;
}

.nxtlvt-color-ocean .nxtlvt-item-price {
    color: #3498db;
}

.nxtlvt-color-ocean .nxtlvt-layout-compact .nxtlvt-menu-item {
    border-left-color: #3498db;
}

/* Dark */
.nxtlvt-color-dark {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
}

.nxtlvt-color-dark .nxtlvt-category-title {
    color: #ffd600;
    border-color: #ffd600;
}

.nxtlvt-color-dark .nxtlvt-item-name {
    color: #fff;
}

.nxtlvt-color-dark .nxtlvt-item-description {
    color: #ccc;
}

.nxtlvt-color-dark .nxtlvt-item-price {
    color: #ffd600;
}

.nxtlvt-color-dark .nxtlvt-layout-classic .nxtlvt-menu-item {
    border-color: #333;
}

.nxtlvt-color-dark .nxtlvt-layout-modern .nxtlvt-menu-item {
    background: #2a2a2a;
    border-color: #333;
}

.nxtlvt-color-dark .nxtlvt-layout-compact .nxtlvt-menu-item {
    background: #2a2a2a;
}

/* ===============================================
   PRINT STYLES
   =============================================== */
@media print {
    .nxtlvt-menu-wrapper {
        margin: 0;
    }
    
    .nxtlvt-menu-item {
        page-break-inside: avoid;
    }
    
    .nxtlvt-layout-modern .nxtlvt-menu-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
