/* 
* Kalispera Lunch Page Styles
* Author: Kalispera Restaurant
* Version: 1.0
*/

/* =========== Hero Section =========== */
.lunch-hero {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/wzorki.jpg');
    background-size: cover;
    background-position: center;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px; /* Adjust based on navbar height */
}

.lunch-hero-content {
    padding: 2rem;
    max-width: 800px;
    z-index: 2;
}

.lunch-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lunch-hero p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.special-offer {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 1rem;
    margin-top: 1.5rem;
    animation: pulse 2s infinite;
}

.special-offer span {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* =========== Lunch Main Content =========== */
.lunch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.lunch-info {
    text-align: center;
    margin-bottom: 3rem;
}

.lunch-time {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.lunch-time i {
    color: #5d8b2f;
    margin-right: 0.75rem;
    font-size: 1.4rem;
}

.lunch-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    font-weight: 300;
}

.lunch-heading {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    color: #333;
}

.lunch-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #5d8b2f;
}

/* =========== Lunch Grid =========== */
.lunch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.lunch-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lunch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.lunch-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.lunch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lunch-item:hover .lunch-image img {
    transform: scale(1.05);
}

.lunch-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lunch-badge.vegetarian {
    background-color: #5d8b2f;
}

.lunch-content {
    padding: 1.5rem;
}

.lunch-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    color: #333;
}

.lunch-content .lunch-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #666;
    min-height: 40px;
}

.lunch-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lunch-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #5d8b2f;
}

.lunch-calories {
    font-size: 0.85rem;
    color: #888;
    background-color: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* =========== Note Section =========== */
.lunch-note {
    background-color: #f9f9f9;
    border-left: 4px solid #5d8b2f;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    border-radius: 0 8px 8px 0;
    margin-top: 2rem;
}

.lunch-note i {
    color: #5d8b2f;
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.lunch-note p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* =========== Responsive Adjustments =========== */
@media (max-width: 768px) {
    .lunch-hero h1 {
        font-size: 2.5rem;
    }
    
    .lunch-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .lunch-image {
        height: 180px;
    }
    
    .lunch-content h3 {
        font-size: 1.2rem;
    }
    
    .lunch-content .lunch-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .lunch-hero {
        height: 35vh;
    }
    
    .lunch-hero h1 {
        font-size: 2rem;
    }
    
    .lunch-grid {
        grid-template-columns: 1fr;
    }
    
    .lunch-content h3 {
        font-size: 1.2rem;
    }
    
    .special-offer span {
        font-size: 1rem;
    }
    
    .lunch-note {
        flex-direction: column;
    }
    
    .lunch-note i {
        margin-bottom: 1rem;
    }
}
