/* Definitions */

:root {
    --color-key: #95aa27;
    --color-key-hover: #443929;
    --color-com: #f9f7ef;
}

/* Main */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

.header {
    background-color: #f8f8f8;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.top-bar .icons span {
    margin-right: 10px;
    font-size: 1.2rem;
}

#language-switcher {
    display: flex;
    flex-direction: row;
    justify-self: center;
    align-items: center;
}

 #language-switcher img {
    width: 22px;
    margin: 4px;
    border: 1px solid #ddd;
}

#language-switcher select {
    padding: 5px;
    font-size: 1rem;
    border: 0;
}

.flag-gb {
    background-image: url(assets/gb.svg);
}

.flag-pl {
    background-image: url(assets/pl.svg);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.main-nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
}

.main-nav ul li a:hover {
    text-decoration: underline;
}

.banner {
    text-align: center;
    padding: 50px 20px;
    background-image: url('assets/eats.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner .logo {
    width: 555px;
    max-width: 100%;
}

/* Map */

.location-section {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 20px;
    gap: 20px;
    background-color: #fff;
}

.map-container {
    flex: 1;
    min-width: 300px;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.location-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-key);
    color: #fff;
    border-radius: 10px;
}

.location-info h2 {
    font-size: 2rem;
    margin-top: 0px;
    font-weight: normal;
}

.location-info p {
    font-size: 1rem;
    line-height: 1.6;
}

.location-info strong {
    color: #f7c948;
}

.location-info a, .location-info a:visited  {
    color: #fff;
    text-decoration: none;
}

/* About */

.happenings-section {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 20px;
    gap: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
}

.text-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-com);
    border-radius: 10px;
}

.text-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #3b3b3b;
}

.text-container p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.text-container ul {
    margin-bottom: 20px;
}

.text-container li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.padder {
    padding: 20px;
}

.button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: var(--color-key);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: flex-start;
    text-transform: uppercase;
    font-weight: bold;
}

.button:hover {
    background-color: var(--color-key-hover);
}

.image-container {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

/*.icon {
    width: 40px;
    height: 40px;
}
*/
/* Chef */

.chef-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.chef-container {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    gap: 30px;
    margin-bottom: 30px;
}

.chef-content {
    flex: 1;
}

.chef-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.chef-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/*.chef-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 2rem;
    color: #007B5E;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
}
*/
/* Dishes */

.dishes-section {
    padding: 50px 20px;
    background-color: var(--color-key);
    color: white;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.dishes-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.dish {
    display: none;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    text-align: left;
    color: #333;
}

.dish img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dish-info {
    padding: 15px;
}

.dish-info h3 {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.dish-info p {
    font-size: 1rem;
    color: #5c4f3a;
    font-weight: normal;
}

/* Footer */

.footer {
    background-color: #222;
    color: #ccc;
    padding: 20px 40px;
    border-top: 1px solid #444;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 10px 0;
}

.social-icon img {
    width: 50px;
    height: 50px;
    display: block;
    margin-bottom: 10px;
}

.footer-section a {
    color: #1e90ff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Hamburger Menu - dodaj na początku pliku, przed innymi stylami */
.menu-toggle {
  display: none; /* Ukryj checkbox */
}

.hamburger-icon {
  display: none; /* Domyślnie ukryty na dużych ekranach */
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s;
}

/* Modyfikacja istniejącego media query */
@media (max-width: 768px) {
  .main-nav {
    position: relative;
  }
  
  .hamburger-icon {
    display: block; /* Pokaż hamburger na mobilnych */
  }
  
  .main-nav ul {
    position: absolute;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    left: 0;
    top: 100%;
    padding: 0;
    margin: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }
  
  .main-nav ul li {
    margin: 0;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid #ddd;
  }
  
  .menu-toggle:checked ~ ul {
    height: auto;
    padding: 10px 0;
  }
  
  /* Animacja ikony hamburgera */
  .menu-toggle:checked ~ .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle:checked ~ .hamburger-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked ~ .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .location-section {
        padding-bottom: 0px;
    }

    .chef-container {
        flex-direction: column;
    }

    .chef-content h3 {
        margin-top: 0;
    }

    .chef-section {
        padding-top: 0;
        padding-bottom: 0;
    }

    .dishes-section h2 {
        margin-top: 0;
    }

    .footer {
        margin-bottom: 50px;
    }

}

/* Cookies */

#cookie-banner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: calc(100% - 20px);
    background-color: #2f3a2a;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    line-height: 1.2em;                
}
