/* Resetowanie marginesów i paddingów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

header {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem;
}

/* Stylizacja nagłówka */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
}

.nav-left, .nav-right {
    display: flex;
    flex: 1;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-left ul, .nav-right ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-left ul li, .nav-right ul li {
    margin: 0 0.5rem;
}

.nav-left ul li a, .nav-right ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-left ul li a:hover, .nav-right ul li a:hover {
    color: #FFA500; /* Pomarańczowy kolor dla efektu hover */
    text-shadow: 0 0 10px #FFA500;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
}

.logo img {
    max-height: 50px;
}

.social-icons-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    right: 1rem;
}

.social-icons-header .social-icon {
    margin: 0 10px;
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons-header .social-icon:hover {
    color: #FFA500;
}

.menu-toggle {
    display: none;
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
}

.menu {
    display: none;
}

.menu ul li a {
    color: #fff;
    text-decoration: none;
}

/* Menu mobilne */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    .nav-left, .nav-right {
        display: none;
    }

    .logo {
        flex: 1;
        justify-content: center;
        margin-right: 4rem;
    }

    .menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        position: absolute;
        top: 100%;
        left: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }

    .menu.show {
        max-height: 500px;
        transition: max-height 0.5s ease-in;
    }

    .menu ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .menu ul li {
        margin: 1rem 0;
    }
}

.info-box nav a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    color: #fff;
    background-color: #FFA500; /* Pomarańczowy przycisk */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.info-box nav a:hover {
    background-color: #ff8c00;
    color: #fff;
}

/* Sekcja Hero */
.hero-section {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 20s ease-in-out;
}

.image-slider img.zoom {
    transform: scale(1.1);
}

.image-slider img:first-child {
    opacity: 1;
}

.image-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-text-slider {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 80%;
}

.hero-text {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    opacity: 0;
    transition: opacity 1s, transform 1s;
}

.hero-text.active {
    transform: translate(-50%, 0);
    opacity: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff; /* Pomarańczowy tekst */
    text-shadow: 0 0 15px #ff9900;
}

.hero-text p {
    color: #fff;
    font-size: 1.5rem;
}

/* Strzałki nawigacji */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3;
}

.left-arrow {
    left: 30px;
}

.right-arrow {
    right: 30px;
}

.slider-arrow img {
    width: 50px;
    height: 50px;
    pointer-events: auto;
}

/* Existing styles for the 'Info' section */
/* Existing styles for the 'Info' section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Grid layout */
    gap: 1rem; /* Odstęp między gridami */
    padding: 5rem 0;
    background-color: #333; /* Ciemniejsze tło */
    position: relative;
    z-index: 1;
    margin-top: 97vh;
    padding-top: 5rem;
}

.info-box {
    text-align: center;
    padding: 1rem;
    background-color: #444; /* Ciemniejsze tło dla boksów */
    margin: 3rem;
    color: #fff;
    display: flex;
    flex-direction: column; /* Kolumna */
    justify-content: space-between; /* Równomierne rozmieszczenie */
    height: 100%; /* Pełna wysokość */
}

.info-box p {
    padding: 1rem;
}

.info-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .info-box img {
        height: 180px;
    }

    .info-section {
        padding: 2rem 1rem; /* Adjust padding for small screens */
    }
    
    .info-box {
        margin: 1rem; /* Adjust margins for small screens */
    }
    
    .info-box {
        flex-direction: column; /* Ensure image is on top and text below */
    }

    .info-box img {
        margin: 0 0 1rem 0; /* Ensure top margin for the image */
    }
}

/* Sekcja galerii */
.gallery-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #333; /* Ciemniejsze tło */
    padding: 2rem 0;
}

.gallery-container {
    overflow: hidden;
    width: 80%;
}

.gallery-slide {
    display: flex;
    transition: transform 1s ease-in-out;
}

.gallery-slide img {
    min-width: 23%;
    height: 250px;
    box-sizing: border-box;
    border: 2px solid #FFA500; /* Pomarańczowa ramka */
    box-shadow: 0 0 8px rgba(255, 165, 0, 0.45); /* Delikatniejsza poświata */
    transition: box-shadow 0.3s;
    margin: 1%;
    object-fit: cover;
    object-position: center;
}

.gallery-arrow {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.gallery-arrow img {
    width: 30px;
    height: 30px;
}

.left-arrow {
    position: absolute;
    left: 30px;
}

.right-arrow {
    position: absolute;
    right: 30px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #717171;
}

/* Stopka */
footer {
    text-align: right;
    background-color: #111; /* Bardzo ciemne tło */
    color: #fff;
    padding: 1rem;
    display: grid;
    gap: 10px;
    justify-items: center;
}

footer .social-icons {
    display: flex;
    gap: 10px;
}

footer .social-icons a {
    color: white;
    font-size: 20px;
}

/* Responsywność */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .gallery-section img {
        width: 99%;
        min-width: 99%;
        margin: 0.5%;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    footer .footer-right {
        text-align: left;
    }

    .left-arrow {
        position: absolute;
        left: 10px;
    }

    .right-arrow {
        position: absolute;
        right: 10px;
    }
}

/* Stylizacja ikon social media */
.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.social-icon {
    margin: 0 10px;
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #FFA500;
}

/* Stylizacja sekcji z lokalizacją */
.location-section {
    background-color: #333; /* Ciemniejsze tło */
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.location-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.location-section .map {
    width: 100%;
    margin: 0;
}

.location-section .map iframe {
    border: 0;
    width: 100%;
    height: 450px;
}

/* Stylizacja ikon social media w nagłówku */
.social-icons-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.social-icons-header .social-icon {
    margin: 0 10px;
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons-header .social-icon:hover {
    color: #FFA500;
}

/* Klasy animacji */
.animate__animated {
    visibility: hidden;
}

.animate__animated.animate__fadeInUp {
    visibility: visible;
    animation-name: fadeInUp;
}

/* Przycisk Scroll to Top */
#scrollToTopBtn {
    display: none; /* Ukryty domyślnie */
    position: fixed;
    bottom: 20px;
    left: 30px; /* Przeniesienie na lewą stronę */
    z-index: 99;
    border: none;
    outline: none;
    background: transparent; /* Usunięcie tła przycisku */
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}

#scrollToTopBtn img {
    width: 40px; /* Dostosowanie wielkości ikony */
    height: 40px;
}

#scrollToTopBtn.show {
    display: block; /* Pokazywanie przycisku */
    transform: translateY(0); /* Animacja wyjeżdżania */
    opacity: 1;
}

#scrollToTopBtn.hide {
    transform: translateY(100px); /* Animacja chowania */
    opacity: 0;
}

#scrollToTopBtn:hover img {
    opacity: 0.8; /* Efekt przy najechaniu */
}

.gallery-header {
    text-align: center;
    padding: 7.5rem 1rem 2rem;
    background-color: #333;
    color: #fff;
}

.gallery-header h1 {
    font-size: 3rem;
    margin-bottom: 0;
    line-height: 1.1;
}

.gallery-header p {
    font-size: 1.2rem;
    color: #ddd;
}

/* Stylizacja galerii */
.masonry-gallery-container {
    margin: 3rem;
    margin-top: 1rem;
    background-color: #333;
    column-count: 4; /* Liczba kolumn */
    column-gap: 1rem; /* Odstęp między kolumnami */
}

.masonry-gallery-item {
    break-inside: avoid; /* Zapobiega łamaniu elementów */
    margin-bottom: 1rem; /* Odstęp między elementami */
    overflow: hidden;
    position: relative;
}

.masonry-gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.35s ease;
    transform-origin: center center;
}

.masonry-gallery-item:hover img {
    transform: scale(1.05); /* Efekt powiększenia przy najechaniu */
}


/* Responsywność */
@media (max-width: 1200px) {
    .masonry-gallery-container {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .masonry-gallery-container {
        column-count: 2;
    }

    .gallery-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .masonry-gallery-container {
        column-count: 1;
    }
}
/* Existing styles for the 'O nas' section */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
    padding: 7rem 0;
    color: #fff;
}

.about-container {
    display: flex;
    flex-direction: row; /* Ensure row layout for larger screens */
    max-width: 1200px;
    width: 90%;
    background-color: #333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.about-text {
    flex: 1;
    padding: 30px;
}

.about-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    width: 50%; /* Ensure the image takes half width on larger screens */
    height: auto;
    object-fit: cover;
    margin: 1rem; /* Margin for larger screens */
}

/* Media query for smaller screens */
@media (max-width: 1024px) {
    .about-container {
        flex-direction: column; /* Stack image on top and text below */
    }
    
    .about-image {
        width: calc(100% - 2rem); /* Adjust width to account for margin */
        height: auto; /* Maintain aspect ratio */
        margin: 1rem; /* Symmetric margins on all sides */
    }
    
    .about-text {
        text-align: center; /* Center the text for better readability */
    }
}

/* Existing styles for the 'Accommodation' section */
.accommodation-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #222;
    padding: 7rem 1rem 1rem 1rem;
    color: #fff;
}

.accommodation-container {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    background-color: #333;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.accommodation-container.reverse {
    flex-direction: row-reverse;
}

.accommodation-media {
    width: 50%;
    align-self: center;
    position: relative;
    margin: 1rem;
    overflow: hidden;
    background-color: #222;
}

.accommodation-slider-track {
    position: relative;
    height: 420px;
}

.accommodation-media.is-static .accommodation-slider-track {
    height: auto;
}

.accommodation-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    overflow: hidden;
}

.accommodation-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.accommodation-media.is-static .accommodation-slide,
.accommodation-media.is-static .accommodation-slide.active {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
}

.accommodation-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: #222;
}

.accommodation-media.is-static .accommodation-image {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
}

.accommodation-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.accommodation-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.accommodation-text h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.accommodation-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.accommodation-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.accommodation-arrow img {
    width: 18px;
    height: 18px;
}

.accommodation-arrow-left {
    left: 12px;
}

.accommodation-arrow-right {
    right: 12px;
}

.accommodation-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.accommodation-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.accommodation-dot.active {
    background-color: #FFA500;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .accommodation-container,
    .accommodation-container.reverse {
        flex-direction: column; /* Stack image on top and text below */
        width: 100%;
        margin: 1rem 0; /* Smaller margins for top and bottom */
    }
    
    .accommodation-media {
        width: calc(100% - 2rem);
        margin: 1rem auto;
    }

    .accommodation-slider-track {
        height: 260px;
    }
    
    .accommodation-text {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

/* Stylizacja zakładek menu */
.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tab-link {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 1rem 2rem;
    margin: 0.5rem;
    background-color: #333; 
    color: #fff; 
    border: none;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.tab-link img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.tab-link.active {
    color: #FFA500; /* Pomarańczowy kolor dla aktywnej zakładki */
}

.tab-link:hover {
    color: #FFA500; /* Pomarańczowy kolor przy najechaniu */
}

.tab-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #FFA500; /* Pomarańczowy kolor podkreślenia */
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.tab-link.active::after {
    width: 100%;
}

.tab-link:hover::after {
    width: 100%;
}

/* Responsywność */
@media (max-width: 1024px) {
    .menu-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Trzy kolumny na mniejszych ekranach */
        gap: 1rem; /* Odstęp między przyciskami */
        justify-items: center; /* Wyśrodkowanie przycisków */
    }
}

/* Stylizacja elementów menu */
.menu-section {
    max-width: 1400px; /* Zwiększona maksymalna szerokość menu */
    margin: 0 auto; /* Wyśrodkowanie menu */
    padding: 7rem 1rem 2rem; /* Dodanie odstępu po bokach */
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.menu-group-title {
    margin: 2.5rem 0 1rem;
}

.menu-notes {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #333;
    border-radius: 5px;
}

.menu-note {
    margin: 0.5rem 0;
    color: white;
    text-align: center;
}

.menu-error {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #333;
    color: white;
    text-align: center;
    border-radius: 5px;
}

.menu-item {
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

.menu-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.menu-item .menu-details {
    flex-grow: 1;
    margin-left: 1rem;
    text-align: left;
}

.menu-details h3 {
    color: #FFA500; /* Pomarańczowy kolor */
}

.menu-prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    align-items: center;
}

.menu-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 130px;
    margin-bottom: 10px;
    color: #FFA500; /* Pomarańczowy kolor */
}

.menu-price .size {
    display: inline-block;
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-item img {
        width: 100%;
        height: 220px;
    }

    .menu-item .menu-details {
        width: 100%;
        margin: 1rem 0 0;
    }

    .menu-item .menu-prices {
        width: 100%;
    }

    .menu-prices {
        grid-template-columns: 1fr;
    }

    .menu-price {
        width: 100%;
        justify-content: space-between;
    }
}

/* Animacja fade-in dla zakładek */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.menu-details a{
    color: white; /* Biały tekst */
    text-decoration: underline; /* Podkreślenie */
    text-decoration-color: orange; /* Pomarańczowy kolor podkreślenia */
}
.menu-details a:hover {
    color: white; /* Utrzymanie białego tekstu przy najechaniu */
    text-decoration: underline; /* Utrzymanie podkreślenia przy najechaniu */
    text-decoration-color: #333; 
}
hr {
    border: none; /* Usunięcie domyślnej obramowania */
    height: 2px; /* Wysokość linii */
    background-color: #444; /* Kolor linii */
    margin: 2px 0; /* Margines góra-dół, aby dać przestrzeń nad i pod linią */
    opacity: 0.5; /* Lekka przezroczystość dla subtelnego efektu */
}
h2{
    color: #FFA500;
    font-size: 2rem;
    text-align: center;
}

/* Info Section Styles */
.restaurant-info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #444;
    color: white;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    text-align: center;
}
.restaurant-info-section .restaurant-info-item {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}
@media (min-width: 768px) {
    .restaurant-info-section {
        flex-direction: row;
    }
    .restaurant-info-section .restaurant-info-item {
        margin: 0 1rem;
    }
}

@media(max-width:480px){
	.menu-item img{
		height: 180px;
	}
}
