:root {
    --primary-color: #5d7a66; /* Szałwiowa zieleń */
    --accent-color: #d4a373;  /* Ciepły beż/ciasto */
    --text-dark: #2d2d2d;
    --light-bg: #fefae0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Nawigacja */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    position: relative;
    overflow: hidden; /* Obowiązkowe przy sliderze */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%; /* Trzy slajdy = 300% szerokości */
    height: 100%;
    display: flex;
    z-index: -1;
    /* Animacja przesuwania całej taśmy ze slajdami */
    animation: slideShow 18s infinite ease-in-out; 
}

.slide {
    width: 100%; /* Każdy slajd zajmuje 1/3 szerokości .hero-slider */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Każdy slajd ma też swoją animację powiększenia Ken Burns */
    animation: kenBurns 6s infinite alternate ease-in-out;
}

/* Treść Hero zawsze na wierzchu */
.hero-content {
    z-index: 1;
}

/* --- DEFINICJE ANIMACJI (Keyframes) --- */

/* 1. Animacja przesuwania slajdów (prawa -> lewa)
   Zakładamy 3 slajdy, każdy widoczny przez 5s + 1s przejścia = 18s łącznie
*/
@keyframes slideShow {
    0%, 27% { /* Slajd 1: Widoczny */
        transform: translateX(0);
    }
    33%, 61% { /* Slajd 2: Widoczny (Przesunięcie o 1/3 w lewo) */
        transform: translateX(-33.33%);
    }
    67%, 94% { /* Slajd 3: Widoczny (Przesunięcie o 2/3 w lewo) */
        transform: translateX(-66.66%);
    }
    100% { /* Powrót do początku */
        transform: translateX(0);
    }
}

/* 2. Animacja powiększenia (Ken Burns) dla każdego indywidualnego slajdu */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1); /* Subtelne powiększenie o 10% */
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent-color);
}

.hero-buttons {
    margin-top: 2rem;
    padding: 10px;
    margin: 50px;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
}

/* Responsywność */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Uproszczenie na start */
    .hero-content h1 { font-size: 2.2rem; }
}

/*  MENU */

/* Główne tło sekcji menu */
.menu-section {
    padding: 60px 0;
    background-color: #fcfbf7; /* Bardzo jasny, ciepły odcień */
}

/* Kontener z marginesami bocznymi (nie rusza Hero) */
.menu-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px; /* To tworzy bezpieczny odstęp od krawędzi ekranu */
}

/* Siatka - 3 kolumny na dużym ekranie, 2 na średnim, 1 na małym */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Wygląd "Tabliczki" menu */
.menu-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e0e0e0; /* Obwoluta */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Delikatny cień */
    transition: transform 0.2s;
}

.menu-card:hover {
    transform: translateY(-5px); /* Subtelny efekt po najechaniu */
}

.menu-card h3 {
    color: var(--primary-color);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.menu-list {
    list-style: none;
}

.menu-list li {
    display: flex;
    justify-content: space-between; /* Nazwa po lewej, cena po prawej */
    margin-bottom: 12px;
    font-weight: 400;
}

.menu-list li span:last-child {
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 10px;
}

/* Specyficzne dla dodatków i separatora */
.add-ons-box {
    margin-top: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.separator {
    height: 1px;
    background: #eee;
    margin: 15px 0 !important;
}

.section-title, .section-subtitle {
    text-align: center;
}

/* 

        BURGER MENU

*/

/* Styl dla Burgera (ukryty na desktopie) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
    border-radius: 3px;
}

/* RWD: Telefony i Tablety */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        left: -100%; /* Schowane poza ekranem */
        top: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding-top: 100px;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0; /* Wysunięte */
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
    }

    /* Animacja Burgera w "X" po otwarciu */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* 

                    abaut us

*/

/* Sekcja O Nas */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.manifesto-lead {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 15px;
    color: #444;
    line-height: 1.8;
}

.quote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--light-bg); /* Nowoczesny akcent graficzny */
}

/* Responsywność dla O Nas */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1; /* Zdjęcie nad tekstem na mobile */
    }

    .about-image img {
        box-shadow: 10px 10px 0px var(--light-bg);
    }
}

/*
        galeria




*/
.gallery-section {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 20px); /* 3 zdjęcia w rzędzie */
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zdjęcia nie będą zniekształcone */
    transition: transform 0.5s ease;
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transform: translateY(100%); /* Ukryte na dole */
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0); /* Wysuwa się przy najechaniu */
}

.gallery-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 700;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* RWD */
@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 100%; /* 1 zdjęcie w rzędzie na telefonie */
    }
}

/* 
        SPECJALNY css DLA MENU

*/

.menu-item-with-link {
    list-style: none;
    padding: 0 !important; 
    margin: 0;
}

.menu-item-with-link a {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    text-decoration: none !important; /* Wymuszenie braku podkreślenia */
    color: var(--text-dark); /* Powrót do Twojego koloru z body */
    padding: 14px 0; /* Zwiększony odstęp dla "oddechu" */
    transition: 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Delikatna linia oddzielająca */
}

/* Usunięcie podkreślenia dla spanów wewnątrz linków (częsty błąd przeglądarek) */
.menu-item-with-link a span {
    text-decoration: none !important;
}

/* Styl dla ceny (ostatni span) */
.menu-item-with-link a span:last-child {
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 15px;
    white-space: nowrap;
}

/* Efekt najechania */
.menu-item-with-link a:hover {
    background-color: rgba(0,0,0,0.02);
    padding-left: 10px;
    color: var(--primary-color);
}

/* Usunięcie linii pod ostatnim elementem w karcie */
.menu-item-with-link:last-child a {
    border-bottom: none;
}

/*
        KONTAKT

*/
/* Główne ustawienia sekcji */
.contact-section {
    padding: 80px 0;
    background-color: #fcfcfc; /* Bardzo jasne tło, żeby karty się odcinały */
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

/* Grid dla kart (4 kolumny na desktopie) */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Styl pojedynczej karty */
.contact-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px; /* Ładne, zaokrąglone rogi */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Delikatny, nowoczesny cień */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee; /* Bardzo subtelna ramka */
}

/* Efekt "uniesienia" po najechaniu myszką */
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Ikony w kartach */
.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.contact-card p {
    margin: 8px 0;
    color: #666;
    line-height: 1.5;
    font-size: 1rem;
}

/* Specjalne style dla linków w kartach */
.contact-link {
    text-decoration: none;
    color: #e67e22; /* Twój kolor akcentowy */
    font-weight: 500;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #bf691d;
}

/* Styl dla karty social media i przycisku FB */
.fb-card-btn {
    display: inline-block;
    background-color: #1877F2;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.fb-card-btn:hover {
    background-color: #145dbf;
}

/* Dodatkowe informacje (szary tekst) */
.building-info, .weekend-info {
    font-size: 0.9rem !important;
    color: #999 !important;
    margin-top: 15px !important;
}

/* Styl dla mapy pod kartami */
.contact-map-full {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* Responsywność - Dostosowanie do telefonów */
@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 600px) {
    .contact-cards-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }
    
    .contact-card {
        padding: 30px 20px; /* Mniejszy padding na mobile */
    }
}

/*

            STOPKA

*/

.main-footer {
    background-color: #333; /* Ciemne tło dla kontrastu */
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 0; /* Stopka styka się bezpośrednio z mapą */
}

.footer-content {
    text-align: center;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    /*font-family: 'Georgia', serif;  Możesz zmienić na font pasujący do logo */
}

.footer-logo p {
    color: #bbb;
    font-style: italic;
    margin-bottom: 30px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #888;
}

.footer-credits {
    margin-top: 5px;
}

/* Opcjonalnie: jeśli chcesz, aby linki w stopce (jeśli je dodasz) nie były podkreślone */
.main-footer a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.main-footer a:hover {
    color: #e67e22;
}


/* 

        DLA OBIADÓW DODATKI 

*/

/* Kontener elementu listy */
.menu-item-with-link.with-details {
    list-style: none;
    border-bottom: 1px solid #eee;
    padding: 0;
}

/* Link jako główny kontener (Flex rozsuwający lewo/prawo) */
.menu-item-with-link.with-details a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Cena wyrównana do górnej linii tekstu */
    padding: 15px 0;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

/* Lewa strona: Kolumna z tekstami */
.dish-main-info {
    display: flex;
    flex-direction: column; /* To wymusza dwie linie (nazwa nad opisem) */
    flex: 1;                /* Zajmuje całą wolną przestrzeń */
    padding-right: 15px;    /* Odstęp od ceny */
}

.dish-name {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;     /* Odstęp między nazwą a opisem */
    display: block;
}

.dish-set-detail {
    font-size: 0.75rem;
    color: #777;            /* Subtelny szary */
    font-weight: 400;
    line-height: 1.4;
    display: block;
    white-space: normal;    /* Pozwala na zawijanie jeśli tekst jest bardzo długi */
}

/* Prawa strona: Cena */
.dish-price {
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;    /* Cena zawsze w jednej linii */
    padding-top: 2px;       /* Dopasowanie do wysokości nazwy dania */
}