/* styles-menu.css - Style dla menu */

/* Sekcja menu */
#menu {
    background: linear-gradient(135deg, #3a3a3a 0%, #2e2e2e 100%);
    padding: 4rem 2rem;
}

#menu h2 {
    text-align: center;
    color: #77cbee;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Doppio One', sans-serif;
    text-shadow: 0 3px 15px rgba(119, 203, 238, 0.5);
}

/* Kontener menu */
.dynamic-menu {
    max-width: 1200px;
    margin: 0 auto;
}

/* Sekcja kategorii */
.menu-category-section {
    margin-bottom: 4rem;
}

.category-title {
    color: #ffcc00;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Doppio One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Siatka produktów */
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

/* Karta produktu */
.menu-card {
    background: linear-gradient(135deg, #454545 0%, #353535 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(119, 203, 238, 0.2);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(119, 203, 238, 0.3);
    border-color: rgba(119, 203, 238, 0.4);
}

/* Obrazek produktu - pomniejszony */
.menu-card-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu-card-image::before {
    content: '🍗';
    position: absolute;
    font-size: 3rem;
    opacity: 0.2;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.05);
}

/* Zawartość karty */
.menu-card-content {
    padding: 1.5rem;
}

/* Header karty - nazwa i cena obok siebie */
.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.menu-card-title {
    color: #77cbee;
    font-size: 1.1rem;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    flex: 0 0 75%;
}

.menu-card-price {
    color: #ffcc00;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: right;
    font-family: 'Montserrat', sans-serif;
    flex: 0 0 25%;
    white-space: nowrap;
    margin: 0;
}

.menu-card-description {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    min-height: 20px;
}

/* Responsywność */
@media (max-width: 768px) {
    #menu {
        padding: 3rem 1rem;
    }

    #menu h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .menu-card-image {
        height: 100px;
    }

    .menu-card-content {
        padding: 1rem;
    }

    .menu-card-title {
        font-size: 1.1rem;
    }

    .menu-card-description {
        font-size: 0.85rem;
        min-height: auto;
    }

    .menu-card-price {
        font-size: 1.3rem;
    }
    
    /* Kompaktowa lista */
    .compact-list .menu-items-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== KOMPAKTOWA LISTA (dla "Stwórz swój kubełek") ===== */
.compact-list .menu-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.compact-list .menu-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.8rem 1rem;
    background: #2a2a2a;
    min-height: auto;
}

.compact-list .menu-card-image {
    display: none;
}

.compact-list .menu-card-content {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.compact-list .menu-card-title {
    font-size: 1rem;
    margin: 0;
    flex: 1;
}

.compact-list .menu-card-description {
    display: none;
}

.compact-list .menu-card-price {
    font-size: 1.1rem;
    text-align: right;
    margin: 0;
}

.compact-list .menu-card:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(119, 203, 238, 0.3);
}