
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: whitesmoke;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/*NAV BAR*/
.navBar {
    width: 100%;
    height: 150px;
    background-color: whitesmoke;

    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navBar ul {
    color: gray;
}


.navbar-list li {
    display: inline-block;
    text-transform: uppercase;
    margin-right: 25px;
    color: #333232;
    font-family: 'Poppins', sans-serif;

}

.navbar-list li:hover {
    color: #5f5e5e;
    cursor: pointer;
}

.fa-facebook-square {
    font-size: 50px;
    color: #3b5998;
    cursor: pointer;
    margin-right: 15px;
}

.fa-instagram {
    font-size: 50px;
    color: #E4405F;
    cursor: pointer;
}

.showGalleries {
    position: relative
}

.gallery-list {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgb(226, 222, 222);
    min-width: 250px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    padding: 10px;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    min-height: 20px;
}

.gallery-list p {
    color: #333232;
    margin-bottom: 10px;
    transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out, transform 0.5s ease-in-out;
    font-size: 14px;
}

.gallery-list p:hover {
    color: #5f5e5e;
    transform: translateX(5px);
}

.gallery-list p:last-of-type {
    margin-bottom: 0px;
}

.showGalleries:hover .gallery-list {
    opacity: 1;
    visibility: visible;
}

.NavigationBarHrefLink {
    text-decoration: none;
    display: inline-block;
        text-transform: uppercase;
        color: #333232;
        font-family: 'Poppins', sans-serif;
}


/*MAIN*/


main {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#background {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease-in-out, transform 5s ease-in-out;


    position: absolute;
    filter: brightness(60%) grayscale(30%);

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

#main-content {
    color: whitesmoke;
}

#main-content h1 {
    font-size: 54px;
}

#main-content h3 {
    font-size: 24px;
}

#main-content hr {
    margin: 5px 0px;
}

#mainPageContactButton {
    display: inline-block;
    margin-top: 50px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(56, 249, 215, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#mainPageContactButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(56, 249, 215, 0.6);
    opacity: 0.95;
}

/*INFO*/
#info-tittle {
    text-align: center;
    padding: 25px;
    background-color: whitesmoke;
    font-size: 44px;
}

#info-section {
    width: 100%;
    min-height: 250px;
    background-color: whitesmoke;

    display: flex;
    justify-content: center;
    align-items: center;

}

#info-left-section {
    min-height: 250px;
    flex-basis: 50%;
    background-color: whitesmoke;

    text-align: center;
}

#info-left-section h2 {
    margin-top: 15px;
    margin-bottom: 25px;
}

#info-right-section {
    min-height: 250px;
    flex-basis: 50%;
    background-color: whitesmoke;

    text-align: center;
}

#info-right-section h2 {
    margin-top: 15px;
    margin-bottom: 25px;
}

.marked {
    font-size: 34px;
}

.contantInfo {
    margin-right: 10px;
}

/*FOOTER*/
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 300px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #f1c40f;
}

.footer-column p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    font-size: 13px;
    color: #bbb;
}

/* Responsywny */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }
}

/* ABOUT US SECTION */
.aboutUsSection {
    width: 100%;
    min-height: 250px;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.aboutUsInfoContainer {
    width: 100%;
    max-width: 1000px;
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.aboutUsInfoContainer p {
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.aboutUsInfoContainer hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .aboutUsInfoContainer {
        padding: 20px;
    }

    .aboutUsInfoContainer p {
        font-size: 1rem;
    }
}

/*Contact us */

.contactInfoSection {
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.contactInfoBox {
    max-width: 1000px;
    width: 100%;
    background-color: #fefefe;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    padding: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.contactColumn {
    flex: 1 1 45%;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #333;
}
.contactRow {
    flex: 1 1 100%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 50px;
    
}


.contactRow .contactTitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contactDetailsWrapper {
    margin-bottom: 25px;
}

.contactDetailsWrapper p {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.contactDetailsWrapper i {
    color: #555;
}

.socialIcons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.socialIcons .fab {
    font-size: 36px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.socialIcons .fab:hover {
    transform: scale(1.15);
    opacity: 0.8;
    cursor: pointer;
}



.contactColumn p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.contactColumn i {
    color: #555;
    min-width: 20px;
    margin-top: 4px;
}


/* Galleries*/
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.gallery-item {
    flex: 1 1 300px;
    /* rośnie i kurczy się, ale minimum 300px */
    max-width: 350px;
    /* maksymalna szerokość */
    height: 300px;
    /* stała wysokość */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* klucz, by zdjęcia były proporcjonalne i wypełniały ramkę */
    display: block;
}

/* Responsywność: 2 zdjęcia w rzędzie na tabletach */
@media (max-width: 900px) {
    .gallery-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Responsywność: 1 zdjęcie w rzędzie na telefonach */
@media (max-width: 600px) {
    .gallery-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contactInfoBox {
        flex-direction: column;
        padding: 20px;
    }

    .contactColumn {
        flex: 1 1 100%;
    }
}

/*Modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.616);
    align-items: center;
    justify-content: center; 
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 62px;
    color: white;
    cursor: pointer;
    user-select: none; 
}

.modal-content {
    width: 1600px;
    height: 800px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#modalImg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.SwitchModalArrow{
    color: #f8f8f8;
    font-size: 182px;
    cursor: pointer;
}


/* =========================================================
   TELEFONY I MAŁE TABLETY (dopisane)
   ========================================================= */

/* menu "Galerie" otwierane dotknięciem (klasa dodawana w script.js) */
.showGalleries.open .gallery-list {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {

    /* --- pasek nawigacji: logo, pod nim menu, pod nim ikony --- */
    .navBar {
        height: auto;
        flex-direction: column;
        gap: 12px;
        padding: 15px 10px;
        box-sizing: border-box;
    }

    .navBar img {
        width: 180px;
        height: auto;
    }

    .navbar-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 18px;
    }

    .navbar-list li {
        margin-right: 0;
        font-size: 14px;
    }

    .NavigationBarHrefLink {
        font-size: 14px;
    }

    .gallery-list {
        left: 50%;
        transform: translateX(-50%);
        min-width: 220px;
        text-align: left;
    }

    .fa-facebook-square,
    .fa-instagram {
        font-size: 36px;
    }

    /* --- baner z tłem --- */
    main {
        position: relative;
        height: 70vh;
    }

    #background {
        top: 0;
        left: 0;
        height: 100%;
    }

    #main-content {
        padding: 0 20px;
        text-align: center;
    }

    #main-content h1 {
        font-size: 36px;
    }

    #main-content h3 {
        font-size: 17px;
    }

    #mainPageContactButton {
        margin-top: 30px;
    }

    /* --- "Gdzie nas znajdziesz": jedna kolumna pod drugą --- */
    #info-tittle {
        font-size: 28px;
        padding: 20px;
    }

    #info-section {
        flex-direction: column;
    }

    #info-left-section,
    #info-right-section {
        flex-basis: auto;
        width: 100%;
        padding: 0 15px 30px;
        box-sizing: border-box;
    }

    #info-left-section h2,
    #info-right-section h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .marked {
        font-size: 24px !important;
    }

    #info-section iframe {
        width: 100%;
        height: 280px;
    }

    /* --- O nas / Kontakt: mniejsze marginesy --- */
    .aboutUsSection,
    .contactInfoSection {
        padding: 30px 12px;
        box-sizing: border-box;
    }

    .aboutUsInfoContainer,
    .contactInfoBox {
        box-sizing: border-box;
    }

    /* --- galeria: bez powiększania przy dotknięciu --- */
    .gallery-item:hover {
        transform: none;
    }

    #info-section .gallery-grid {
        padding: 0 12px 40px;
        box-sizing: border-box;
        width: 100%;
    }

    /* --- modal: zdjęcie na cały ekran, strzałki na dole --- */
    .modal-content {
        width: 100%;
        height: 75vh;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 48px;
        z-index: 2;
    }

    .SwitchModalArrow {
        position: absolute;
        bottom: 20px;
        font-size: 70px;
        line-height: 1;
        padding: 0 20px;
        z-index: 2;
    }

    .SwitchModalArrow[name="left"] {
        left: 10px;
    }

    .SwitchModalArrow[name="right"] {
        right: 10px;
    }
}


/* =========================================================
   GDZIE NAS ZNAJDZIESZ - jedna lokalizacja (strona główna)
   ========================================================= */
.locationSection {
    background-color: whitesmoke;
    padding: 10px 20px 70px;
}

.locationCard {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.locationInfo {
    flex: 1 1 42%;
    padding: 45px 40px;
    color: #333;
}

.locationName {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #43e97b;
    display: inline-block;
}

.locationRow {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.locationRow i {
    width: 20px;
    margin-top: 4px;
    color: #2c3e50;
    text-align: center;
}

.locationRow a {
    color: inherit;
    text-decoration: none;
}

.locationRow a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

.locationHours {
    margin: 28px 0;
    padding: 18px 20px;
    background-color: #f7f9f8;
    border-radius: 10px;
}

.locationHours h3 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.locationHours dl {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 6px;
    font-size: 0.95rem;
}

.locationHours dd {
    font-weight: 600;
    text-align: right;
}

.locationButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.locationBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid #2c3e50;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.locationBtn:hover {
    background-color: #2c3e50;
    color: #fff;
}

.locationBtnPrimary {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 10px rgba(56, 249, 215, 0.4);
}

.locationBtnPrimary:hover {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    transform: translateY(-2px);
}

.locationMap {
    flex: 1 1 58%;
    min-height: 420px;
    background-color: #e8ece9; /* widoczne, zanim mapa się załaduje */
}

.locationMap iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

/* Kontakt: jedna lokalizacja na całą szerokość */
.contactColumnSingle {
    flex: 1 1 100%;
    text-align: center;
}

.contactColumnSingle p {
    justify-content: center;
}

@media (max-width: 768px) {
    .locationSection {
        padding: 0 12px 40px;
    }

    .locationCard {
        flex-direction: column;
    }

    .locationInfo {
        padding: 28px 22px;
    }

    .locationName {
        font-size: 26px;
    }

    .locationButtons .locationBtn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .locationMap,
    .locationMap iframe {
        min-height: 300px;
    }
}

/* Sekcje z width:100% + padding wychodziły 40px poza ekran (ukryte przez overflow-x) */
.aboutUsSection,
.contactInfoSection,
.locationSection {
    box-sizing: border-box;
}

.contactColumnSingle .contactTitle {
    color: #2c3e50;
    margin-bottom: 10px;
}


/* =========================================================
   KOMUNIKAT (wyskakujące okienko z góry, zamykane X)
   ========================================================= */
.siteNotice {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    width: min(680px, calc(100% - 28px));
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #2c3e50;
    color: #fff;
    padding: 20px 22px;
    border-radius: 16px;
    border-left: 6px solid #38f9d7;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
    animation: noticeIn 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.4s both;
}

.siteNotice.closing {
    animation: noticeOut 0.35s ease forwards;
}

.siteNoticeIcon {
    font-size: 26px;
    color: #38f9d7;
    margin-top: 2px;
}

.siteNoticeText {
    flex: 1;
    font-size: 17px;
    line-height: 1.5;
}

.siteNoticeClose {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.siteNoticeClose:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes noticeIn {
    from { opacity: 0; transform: translate(-50%, -140%); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes noticeOut {
    to { opacity: 0; transform: translate(-50%, -140%); }
}

@media (max-width: 768px) {
    .siteNotice { top: 10px; padding: 16px; gap: 12px; }
    .siteNoticeText { font-size: 15px; }
}

.locationPhoneOrders {
    margin-top: -10px;
    margin-bottom: 22px;
}

/* =========================================================
   NASZA OFERTA (cennik)
   ========================================================= */
.offerSection {
    background: whitesmoke;
    padding: 30px 20px 80px;
}

.offerTitle {
    text-align: center;
    font-size: 44px;
    padding: 25px 20px 10px;
    background: whitesmoke;
}

.offerEmpty {
    text-align: center;
    color: #666;
    padding: 40px 0;
}

.offerGrid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.offerCard {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offerCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.offerCover {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    padding: 0;
    background: #e8ece9;
    cursor: zoom-in;
    overflow: hidden;
}

.offerCover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offerNoPhoto {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aab5af;
    font-size: 44px;
}

.offerBody {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.offerBody h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #2c3e50;
}

.offerDesc {
    color: #444;
    line-height: 1.6;
    font-size: 15px;
    flex: 1;
}

.offerPrice {
    font-size: 22px;
    font-weight: 600;
    color: #1e8a4c;
}

.offerBtn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid #2c3e50;
    background: transparent;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offerBtn:hover {
    background: #2c3e50;
    color: #fff;
}

/* Okno ze zdjęciami oferty */
.offerModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 22, 30, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.offerModal.open {
    display: flex;
}

.offerModalTitle {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 14px;
    text-align: center;
}

.offerModalStage {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 1100px;
    justify-content: center;
}

.offerModalStage img {
    max-width: 100%;
    max-height: 70vh;
    min-width: 0;
    object-fit: contain;
    border-radius: 8px;
    flex: 0 1 auto;
}

.offerNav {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    flex-shrink: 0;
}

.offerNav:hover {
    background: rgba(255, 255, 255, 0.35);
}

.offerModalClose {
    position: absolute;
    top: 14px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
}

.offerDots {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.offerDots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.offerDots span.on {
    background: #38f9d7;
}

.offerModal.single .offerNav,
.offerModal.single .offerDots {
    display: none;
}

@media (max-width: 1000px) {
    .offerGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .offerGrid { grid-template-columns: 1fr; gap: 20px; }
    .offerTitle { font-size: 30px; }
    .offerNav { width: 40px; height: 40px; font-size: 18px; }
    .offerModalStage { gap: 6px; }
}


/* =========================================================
   POLISH v4 - dopracowanie wyglądu (nadpisuje starsze reguły wyżej)
   ========================================================= */
:root {
    --navy: #2c3e50;
    --navy-d: #1f2d3a;
    --mint: #43e97b;
    --teal: #38f9d7;
    --green: #1e8a4c;
    --bg: #f7f6f3;
    --text: #333;
    --muted: #6b7280;
    --radius: 16px;
    --shadow: 0 8px 26px rgba(20, 40, 30, 0.08);
    --shadow-h: 0 16px 38px rgba(20, 40, 30, 0.16);
    --grad: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --nav-h: 100px;
}

html {
    scroll-behavior: smooth;
}

/* "clip" zamiast "hidden": nie psuje przyklejonego menu (position: sticky) */
html,
body {
    overflow-x: clip;
}

html.noScroll {
    overflow: hidden;
}

body {
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.skipLink {
    position: absolute;
    left: 12px;
    top: -70px;
    z-index: 1200;
    background: var(--navy);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.skipLink:focus {
    top: 12px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
    border-radius: 6px;
}

.modal :focus-visible,
.offerModal :focus-visible,
.footer :focus-visible,
.ctaBand :focus-visible,
#main-content :focus-visible {
    outline-color: var(--teal);
}


/* ---------- Menu ---------- */
.navBar {
    position: sticky;
    top: 0;
    z-index: 800;
    height: var(--nav-h);
    background-color: rgba(247, 246, 243, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.navBar.scrolled {
    background-color: rgba(247, 246, 243, 0.97);
    box-shadow: 0 4px 20px rgba(20, 40, 30, 0.1);
}

.navLogo {
    display: block;
    line-height: 0;
}

.navBar img {
    width: 190px;
    height: auto;
}

.navbar-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 30px;
    list-style: none;
}

.navbar-list li {
    position: relative;
    margin-right: 0;
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.09em;
    color: var(--navy);
}

.navbar-list li:hover {
    color: var(--navy);
}

.NavigationBarHrefLink {
    color: var(--navy);
    font-size: 13px;
    letter-spacing: 0.09em;
    transition: color 0.25s;
}

.navbar-list li::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar-list li:hover::after,
.navbar-list li.active::after,
.navbar-list li:focus-within::after {
    transform: scaleX(1);
}

.navbar-list li.active,
.navbar-list li.active>a {
    font-weight: 600;
}

.navCaret {
    font-size: 9px;
    margin-left: 4px;
    transition: transform 0.3s;
}

.showGalleries:hover .navCaret,
.showGalleries.open .navCaret,
.showGalleries:focus-within .navCaret {
    transform: rotate(180deg);
}

.gallery-list {
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 8px);
    background-color: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-h);
    padding: 8px;
    min-width: 230px;
    letter-spacing: 0;
    text-transform: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

/* "most" nad lukiem między menu a listą - lista nie znika, gdy mysz jedzie w dół */
.gallery-list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.showGalleries:hover .gallery-list,
.showGalleries.open .gallery-list,
.showGalleries:focus-within .gallery-list {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.gallery-list p {
    margin: 0;
}

.gallery-list p:hover {
    transform: none;
}

.gallery-list p a {
    display: block;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}

.gallery-list p a:hover {
    background: #eaf7ef;
    color: var(--green);
}

.navSocial {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fa-facebook-square,
.fa-instagram {
    font-size: 32px;
    margin-right: 0;
    transition: transform 0.25s ease;
}

.navSocial a:hover span {
    transform: scale(1.12);
}


/* ---------- Baner (hero) ---------- */
main {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

main.heroHome {
    height: calc(100vh - var(--nav-h));
    height: calc(100svh - var(--nav-h));
    min-height: 520px;
    max-height: 900px;
}

main.heroSmall {
    height: clamp(260px, 38vh, 400px);
}

#background,
.bgNext {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(60%) grayscale(30%);
    z-index: 0;
}

#background {
    background-image: url("img/tlo1.jpg");
}

.bgNext {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.bgNext.show {
    opacity: 1;
}

main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.38) 100%);
    pointer-events: none;
}

#main-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 960px;
}

#main-content h1 {
    font-size: clamp(40px, 7vw, 78px);
    font-weight: 600;
    line-height: 1.08;
    text-shadow: 0 3px 26px rgba(0, 0, 0, 0.4);
}

.heroAccent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.heroEyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 13px;
    color: #d9f7e6;
    margin-bottom: 14px;
}

#main-content hr {
    width: 90px;
    height: 4px;
    border: 0;
    border-radius: 4px;
    background: var(--grad);
    margin: 20px auto;
}

.heroTagline {
    font-size: clamp(15px, 2vw, 22px);
    font-weight: 300;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

#mainPageContactButton {
    margin-top: 40px;
    padding: 15px 34px;
}

#main-content>* {
    animation: heroIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

#main-content>*:nth-child(2) { animation-delay: 0.08s; }
#main-content>*:nth-child(3) { animation-delay: 0.16s; }
#main-content>*:nth-child(4) { animation-delay: 0.24s; }
#main-content>*:nth-child(5) { animation-delay: 0.32s; }

@keyframes heroIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}


/* ---------- Tytuły sekcji ---------- */
.sectionTitle,
#info-tittle {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    margin: 0 0 14px;
}

.sectionTitle::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--grad);
    margin: 14px auto 0;
}

#info-tittle {
    padding: 70px 20px 14px;
    background-color: var(--bg);
}

.sectionLead {
    max-width: 680px;
    margin: 0 auto 36px;
    text-align: center;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.02rem;
}


/* ---------- Strona główna: wstęp i kafelki ---------- */
.introSection {
    background: var(--bg);
    padding: 80px 20px 20px;
}

.introWrap {
    max-width: 1100px;
    margin: 0 auto;
}

.featureGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.featureItem {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 26px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featureItem:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-h);
}

.featureIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: 26px;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(56, 249, 215, 0.4);
}

.featureItem h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 8px;
}

.featureItem p {
    color: #555;
    line-height: 1.65;
    font-size: 15px;
}

.catSection {
    background: var(--bg);
    padding: 60px 20px 10px;
}

.catGrid {
    max-width: 1200px;
    margin: 34px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.catCard {
    position: relative;
    flex: 0 1 calc(33.333% - 15px);
    min-width: 260px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #dfe6e1;
    color: #fff;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

.catCard:hover {
    box-shadow: var(--shadow-h);
}

.catCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.catCard:hover img {
    transform: scale(1.07);
}

.catLabel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 46px 20px 18px;
    background: linear-gradient(to top, rgba(15, 25, 20, 0.82), rgba(15, 25, 20, 0));
}

.catLabel strong {
    font-size: 19px;
    font-weight: 600;
}

.catLabel small {
    font-size: 13px;
    opacity: 0.85;
}

.catLabel small i {
    margin-left: 6px;
    transition: transform 0.3s;
}

.catCard:hover .catLabel small i {
    transform: translateX(5px);
}


/* ---------- Gdzie nas znajdziesz ---------- */
.locationSection {
    background-color: var(--bg);
    padding: 10px 20px 80px;
}

.locationCard,
.aboutUsInfoContainer,
.contactInfoBox {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.aboutUsInfoContainer,
.contactInfoBox {
    position: relative;
    overflow: hidden;
}

.aboutUsInfoContainer::before,
.contactInfoBox::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: var(--grad);
}

.locationName {
    font-family: inherit;
    font-size: 28px;
    font-weight: 600;
}

.locationHours {
    background: #f4f8f5;
    border-left: 4px solid var(--mint);
    border-radius: 10px;
}

.locationBtn:focus-visible {
    outline-offset: 2px;
}

.aboutUsSection,
.contactInfoSection {
    background-color: var(--bg);
}


/* ---------- Galeria ---------- */
#info-section {
    background-color: var(--bg);
}

.gallery-grid {
    gap: 20px;
    padding: 10px 20px 80px;
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: none;
    box-shadow: var(--shadow-h);
}

.gallery-item img {
    cursor: zoom-in;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    background: rgba(15, 25, 20, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}


/* ---------- Okno ze zdjęciem (galeria) ---------- */
.modal {
    background-color: rgba(10, 16, 13, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    gap: clamp(6px, 2vw, 26px);
    padding: 0 clamp(8px, 2vw, 28px);
    box-sizing: border-box;
    animation: modalFade 0.25s ease;
}

@keyframes modalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-content {
    width: auto;
    height: 88vh;
    flex: 1 1 auto;
    max-width: 1400px;
    min-width: 0;
}

#modalImg {
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: filter 0.3s ease;
}

#modalImg.loading {
    filter: blur(6px);
}

.modal-close,
.SwitchModalArrow,
.offerModalClose,
.offerNav {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.modal-close:hover,
.SwitchModalArrow:hover,
.offerModalClose:hover,
.offerNav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-close,
.offerModalClose {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 48px;
    height: 48px;
    font-size: 30px;
    line-height: 1;
    z-index: 3;
}

.SwitchModalArrow,
.offerNav {
    width: 56px;
    height: 56px;
    font-size: 38px;
    line-height: 1;
    padding-bottom: 4px;
    flex-shrink: 0;
}

.SwitchModalArrow.off,
.offerNav.off {
    opacity: 0.25;
    pointer-events: none;
}

.modalCounter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #e8efe9;
    font-size: 14px;
    letter-spacing: 0.06em;
    padding: 6px 16px;
    border-radius: 30px;
}


/* ---------- Nasza oferta - spójnie z resztą strony ---------- */
.offerSection {
    background: var(--bg);
    padding: 80px 20px 90px;
}

.offerGrid {
    gap: 26px;
}

.offerCard {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.offerCard:hover {
    box-shadow: var(--shadow-h);
}

.offerCover {
    position: relative;
}

.offerCover img {
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.offerCard:hover .offerCover img {
    transform: scale(1.06);
}

button.offerCover::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    background: rgba(15, 25, 20, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

button.offerCover:hover::after,
button.offerCover:focus-visible::after {
    opacity: 1;
}

.offerBadge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 25, 20, 0.62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
}

.offerBody {
    padding: 22px 24px 26px;
}

.offerBody h3 {
    font-family: inherit;
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
}

.offerDesc {
    color: #555;
}

.offerPrice {
    align-self: flex-start;
    background: #e8f8ee;
    color: var(--green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
}

.offerBtn {
    align-self: stretch;
    justify-content: center;
    padding: 12px 22px;
}

.offerEmpty {
    padding: 20px 0 40px;
}


/* ---------- Okno ze zdjęciami oferty ---------- */
.offerModal {
    background: rgba(10, 16, 13, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.offerModal.open {
    animation: modalFade 0.25s ease;
}

.offerModalTitle {
    font-family: inherit;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 14px;
}

.offerModalPrice {
    display: inline-block;
    background: rgba(67, 233, 123, 0.18);
    color: #b9f6d1;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 30px;
    margin: -6px 0 14px;
}

.offerModalPrice:empty {
    display: none;
}

.offerModalStage img {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.offerDots {
    gap: 8px;
}

.offerDots span {
    width: 9px;
    height: 9px;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.offerDots span.on {
    width: 26px;
    border-radius: 6px;
}


/* ---------- Pasek "Zadzwoń" na dole podstron ---------- */
.ctaBand {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%);
    color: #fff;
    padding: 56px 20px;
}

.ctaInner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
}

.ctaInner h2 {
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 8px;
}

.ctaInner p {
    color: #cfd8dc;
    line-height: 1.6;
    max-width: 620px;
}

.ctaButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ctaGhost {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.ctaGhost:hover {
    background: #fff;
    color: var(--navy);
}


/* ---------- Stopka ---------- */
.footer {
    position: relative;
    background-color: var(--navy-d);
    padding: 58px 20px 22px;
}

.footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--grad);
}

.footer-content {
    gap: 36px;
}

.footer-column {
    flex: 1 1 220px;
}

.footer-column:first-child {
    flex: 2 1 320px;
}

.footer-column h3,
.footer-column h4 {
    color: var(--mint);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-column p {
    color: #cfd8dc;
}

.footer-column p i {
    width: 20px;
    color: var(--mint);
}

.footer-column a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--mint);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
    font-size: 14px;
    color: #cfd8dc;
}


/* ---------- Pojawianie się elementów przy przewijaniu (klasę dodaje script.js) ---------- */
.reveal {
    opacity: 0;
}

.reveal.in {
    opacity: 1;
    animation: revealUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

@keyframes revealUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ---------- Tablet / telefon (musi być po regułach wyżej) ---------- */
@media (max-width: 1000px) {
    .catCard {
        flex-basis: calc(50% - 11px);
    }
}

@media (max-width: 768px) {

    .navBar,
    .navBar.scrolled {
        position: static;
        height: auto;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .navBar img {
        width: 170px;
    }

    .navbar-list {
        gap: 4px 18px;
    }

    .navbar-list li,
    .NavigationBarHrefLink {
        font-size: 13px;
    }

    .fa-facebook-square,
    .fa-instagram {
        font-size: 34px;
    }

    .gallery-list {
        left: 50%;
        min-width: 220px;
        text-align: left;
    }

    main.heroHome {
        height: auto;
        min-height: 440px;
        max-height: none;
        padding: 60px 0;
        box-sizing: border-box;
    }

    main.heroSmall {
        height: 240px;
    }

    #main-content h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .heroEyebrow {
        letter-spacing: 0.2em;
        font-size: 12px;
    }

    #mainPageContactButton {
        margin-top: 28px;
    }

    .introSection {
        padding: 50px 14px 10px;
    }

    .featureGrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .catSection {
        padding: 40px 14px 0;
    }

    .catGrid {
        gap: 14px;
    }

    #info-tittle {
        font-size: 26px;
        padding: 50px 16px 10px;
    }

    .locationSection {
        padding: 0 12px 40px;
    }

    .offerSection {
        padding: 50px 14px 60px;
    }

    .gallery-item::after {
        display: none;
    }

    .modal-content {
        width: 100%;
        height: 78vh;
        padding: 0;
    }

    .modal-close,
    .offerModalClose {
        top: 12px;
        right: 14px;
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .SwitchModalArrow {
        position: absolute;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 34px;
        padding: 0 0 4px;
        z-index: 2;
    }

    .SwitchModalArrow[name="left"] {
        left: 18px;
    }

    .SwitchModalArrow[name="right"] {
        right: 18px;
    }

    .modalCounter {
        bottom: 31px;
    }

    .offerNav {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .ctaBand {
        padding: 44px 18px;
    }

    .ctaButtons,
    .ctaButtons .locationBtn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .footer-links ul {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .catCard {
        flex-basis: 100%;
        aspect-ratio: 16 / 10;
    }
}
