/* --- Zmienne i Konfiguracja --- */
:root {
    --primary: #c0392b;
    --primary-hover: #a5281b;
    --dark: #1a1a1a;
    --light-bg: #fdfdfd;
    --it-green: #008C45; /* Barwa włoskiej flagi */
    --it-white: #F4F5F0;
    --it-red: #CD212A;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: var(--dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* --- Subtelna Włoska Flaga (Top) --- */
.italy-line {
    height: 4px;
    width: 100%;
    display: flex;
    position: fixed;
    top: 0;
    z-index: 2000;
}
.italy-line::before { content: ''; flex: 1; background: var(--it-green); }
.italy-line::after { 
    content: ''; 
    flex: 2; 
    background: linear-gradient(90deg, var(--it-white) 50%, var(--it-red) 50%); 
}

/* --- Fixed Header & Navigation --- */
.fixed-header {
    position: sticky;
    top: 4px;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.top-bar { background: var(--dark); color: #bbb; font-size: 0.8rem; padding: 8px 0; }
.top-bar-container, .navbar-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar { padding: 12px 0; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; }
.logo span { color: var(--primary); margin-left: 4px; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 20px; }

.btn-menu {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 8px 0;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
}
.btn-menu:hover { color: var(--primary); border-bottom-color: var(--primary); }

.btn-call { 
    background: var(--dark); 
    color: white !important; 
    padding: 10px 20px; 
    border-radius: 4px; 
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}
.btn-call:hover { background: var(--primary); transform: translateY(-2px); }

/* --- Hero Section --- */
.hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1593560704563-f176a2eb61db?q=80&w=1470&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; font-weight: 300; margin-bottom: 30px; opacity: 0.9; }

.btn-main {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.4s;
    display: inline-block;
    border: 2px solid var(--primary);
}
.btn-main:hover { background: transparent; transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* --- Main Content (Zwężony Kontener) --- */
.main-wrapper {
    max-width: 1100px;
    margin: -50px auto 60px;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 5;
}

/* --- WhatsApp Alert (Nowa sekcja) --- */
.whatsapp-alert {
    background-color: #e8f5e9;
    border-left: 5px solid #25D366;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #2e7d32;
    font-size: 0.95rem;
}

.whatsapp-alert i {
    font-size: 1.5rem;
    color: #25D366;
}

.whatsapp-alert strong {
    color: #1b5e20;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin: 60px 0 30px;
    padding-bottom: 15px;
    position: relative;
}
.section-title::after {
    content: ''; width: 50px; height: 3px; background: var(--primary);
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
}

/* --- Menu Grid & Wyrównanie Przycisków --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.menu-card {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Pionowe wyrównanie */
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 20px;
}

.menu-info { flex: 1; }
.menu-info h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 4px; }
.menu-info p { font-size: 0.85rem; color: #777; line-height: 1.4; }

/* Kluczowe dla wyrównania plusów w linii */
.menu-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 130px; /* Gwarantuje pionową linię przycisków */
    gap: 15px;
}

.menu-price { font-weight: 700; color: var(--primary); font-size: 1.1rem; white-space: nowrap; }

/* --- Zaktualizowany, Jednoznaczny Przycisk Plus (Zielony i Czytelny) --- */
.btn-add { 
    background-color: var(--it-green); /* Zielone koło */
    color: white; /* Biały plus */
    border: none; 
    width: 35px; 
    height: 35px; 
    border-radius: 50%; 
    cursor: pointer; 
    
    /* To zapewnia idealne wyśrodkowanie plusa w kole */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    
    /* Stylizacja samego znaku + */
    font-size: 22px; 
    font-weight: 600; 
    line-height: 1;
    
    /* Optyczna korekta położenia (tekstowy plus bywa czasem za wysoko) */
    padding-bottom: 2px; 
    
    transition: all 0.2s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.btn-add:hover { 
    background-color: var(--primary); /* Zmieni się na czerwony po najechaniu */
    transform: scale(1.1);
}

/* Upewniamy się, że ikona inside (assuming fas fa-plus) jest wyrównana */
.btn-add i {
    pointer-events: none;
}



/* --- Koszyk (Pływający Pasek) --- */
.cart-floating-bar {
    position: fixed; bottom: -100px; left: 0; width: 100%;
    background: #1a1a1a; color: white; padding: 20px 0;
    transition: 0.5s ease-in-out; z-index: 2000; box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}
.cart-floating-bar.active { bottom: 0; }
.cart-content { 
    max-width: 1100px; margin: 0 auto; 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 0 20px; 
}

.cart-total-box { font-size: 1.2rem; }
.cart-total-box strong { color: var(--it-green); font-size: 1.4rem; }

.btn-wa { background: #25D366; border: none; color: white; padding: 12px 25px; border-radius: 6px; margin-right: 10px; cursor: pointer; font-weight: 600; transition: 0.3s; }
.btn-sms { background: #007AFF; border: none; color: white; padding: 12px 25px; border-radius: 6px; cursor: pointer; font-weight: 600; transition: 0.3s; }
.btn-wa:hover, .btn-sms:hover { opacity: 0.9; transform: translateY(-2px); }

/* --- Footer --- */
footer { background: #1a1a1a; color: #888; padding: 60px 0; text-align: center; }
.footer-info { color: white; margin-bottom: 20px; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; }

/* --- Responsywność --- */
@media (max-width: 992px) {
    .top-bar-container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .separator { display: none; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .main-wrapper { padding: 25px; margin-top: 0; border-radius: 0; }
    .nav-links { display: none; }
    .menu-card { flex-direction: column; align-items: flex-start; gap: 10px; }
    .menu-actions { width: 100%; justify-content: space-between; min-width: auto; }
}