/* Menu Plugin Styles - Theme Compatible */
/* Using CSS variables from Eyecatcher 2025 Theme */

.menu-display {
    margin: 40px 0;
}

.menu-display .menu-intro {
    text-align: center;
    margin-bottom: 40px;
}

.menu-display .menu-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--news-title-color, #1f2937);
    font-weight: 700;
}

.menu-display .menu-intro p {
    font-size: 1.125rem;
    color: var(--gray, #6b7280);
    max-width: 600px;
    margin: 0 auto;
}

.menu-display .menu-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-display .menu-card {
    background: var(--card-bg, white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.menu-display .menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.menu-display .menu-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-display .menu-card-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--mmt-primary, #667eea) 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white, white);
    font-size: 3rem;
    font-weight: 300;
    position: relative;
    overflow: hidden;
}

.menu-display .menu-card-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.menu-display .menu-card-content {
    padding: 24px;
}

.menu-display .menu-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--news-title-color, #1f2937);
    line-height: 1.3;
}

.menu-display .menu-card-description {
    color: var(--gray, #6b7280);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-display .menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-display .menu-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--mmt-primary, #3b82f6);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.menu-display .menu-card-link:hover {
    color: var(--mmt-primary, #1d4ed8);
}

.menu-display .menu-card-arrow {
    margin-left: 8px;
    transition: transform 0.3s;
}

.menu-display .menu-card:hover .menu-card-arrow {
    transform: translateX(4px);
}

/* Animation für Cards */
.menu-display .menu-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.menu-display .menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-display .menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-display .menu-card:nth-child(3) { animation-delay: 0.3s; }
.menu-display .menu-card:nth-child(4) { animation-delay: 0.4s; }
.menu-display .menu-card:nth-child(5) { animation-delay: 0.5s; }
.menu-display .menu-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-display .menu-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .menu-display .menu-intro h2 {
        font-size: 2rem;
    }
    
    .menu-display .menu-intro p {
        font-size: 1rem;
    }
}

/* Empty State */
.menu-display .menu-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray, #6b7280);
}

.menu-display .menu-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--news-text-color, #374151);
}

/* Content Display */
.menu-display .menu-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-display .menu-content div {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--news-text-color, #4b5563);
}