/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

    /* Domyślny wygląd przycisków nawigacji */
    .custom-nav-btn {
        border: 1px solid #212529; /* Ciemne obramowanie */
        color: #212529; /* Ciemny kolor ikony */
        background-color: transparent;
        transition: all 0.3s ease-in-out;
    }

    /* Wygląd po najechaniu kursorem (hover) */
    .custom-nav-btn:hover {
        background-color: #8fbb40; /* Twój nowy kolor tła */
        border-color: #8fbb40; /* Zmiana koloru obramowania pod kolor tła */
        color: #ffffff; /* Zmiana koloru ikony na biały dla lepszego kontrastu */
    }


.timeline-section {
    padding: 4rem 1rem;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 5rem;
    color: #1a1a1a;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Pionowa linia na środku */
.timeline-line {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #b4cffa; 
    z-index: 1;
}

.timeline-row {
    position: relative;
    z-index: 2;
    margin-bottom: 3.5rem;
}

.timeline-row:last-child {
    margin-bottom: 0;
}

/* Zielone kółko na ikonę */
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #8bc34a; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto;
    box-shadow: 0 0 0 4px #ffffff; 
}

.text-box {
    font-weight: 500;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    min-height: 60px; 
}

.text-right-aligned {
    justify-content: flex-end;
    text-align: right;
    padding-right: 1.5rem;
}

.text-left-aligned {
    justify-content: flex-start;
    text-align: left;
    padding-left: 1.5rem;
}

/* Poprawki dla urządzeń mobilnych */
@media (max-width: 767px) {
    .timeline-line {
        display: none; 
    }
    .text-box {
        justify-content: center !important;
        text-align: center !important;
        padding: 0 !important;
        min-height: auto;
    }
    .timeline-row > div {
        margin-bottom: 1rem;
    }
}


/* Ukrycie domyślnej strzałki Bootstrapa (po prawej stronie) */
.custom-accordion-btn::after {
    display: none !important;
}

/* Styl bazowy przycisku akordeonu */
.custom-accordion-btn {
    background-color: #f7f7f7; /* Jasnoszary kolor tła */
    color: #000000;
    font-weight: 500;
    border-radius: 4px !important;
    box-shadow: none !important;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
}

/* Własna strzałka (nieaktywna - skierowana w prawo, niebieska) */
.custom-accordion-btn::before {
    content: "";
    display: inline-block;
    margin-right: 12px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #2b5cff; /* Niebieski kolor strzałki */
    transition: transform 0.2s ease-in-out;
}

/* Styl przycisku w stanie aktywnym (rozwiniętym) */
.custom-accordion-btn:not(.collapsed) {
    background-color: #8bc34a; /* Zielony kolor tła */
    color: #ffffff;
}

/* Strzałka w stanie aktywnym (skierowana w dół, biała) */
.custom-accordion-btn:not(.collapsed)::before {
    border-top: 6px solid #ffffff; /* Biały kolor strzałki */
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 0;
}

/* Odstęp między kafelkiem pytania a boxem odpowiedzi */
.custom-accordion-collapse {
    margin-top: 0.5rem;
}

/* Styl kontenera odpowiedzi */
.custom-accordion-body {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

/* Niestandardowe style uzupełniające Bootstrapa */
    .step-label {
      font-size: 0.65rem;
      letter-spacing: 0.5px;
    }
    .bg-step-active {
      background-color: #8ab73b; /* Kolor zielony z projektu */
      color: white;
    }
    .bg-step-active .border-bottom {
      border-color: rgba(255, 255, 255, 0.3) !important;
    }
    .addon-box {
      background-color: #f8f9fa;
      color: #212529;
      font-size: 0.85rem;
    }
    .text-primary-custom {
      color: #0d6efd; /* Niebieski kolor dla numeracji */
    }
    
    
.bg-custom-green {
      background-color: #8ab73b;
    }
    
    .icon-box {
      width: 75px;
      height: 75px;
      font-size: 1.8rem;
      border-radius: 0.6rem;
    }
    
    .contact-label {
      font-size: 0.8rem;
      letter-spacing: 0.5px;
      color: #212529;
    }
    
    .contact-value {
      font-size: 1.15rem;
      line-height: 1.4;
      color: #1a1a1a;
    }    

    /* Style dla nagłówka */
    .entry-header { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
    
    .bg-image { transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
    .category-overlay { opacity: 0.2; transition: opacity 0.4s ease; z-index: 1; pointer-events: none; }
    
    /* Efekt Hover i Active dla głównych kafelków (przyciemnienie nakładki i powiększenie zdjęcia) */
    .category-switch-card:hover .category-overlay,
    .category-switch-card.active .category-overlay { opacity: 0.6; }
    
    .category-switch-card:hover .bg-image,
    .category-switch-card.active .bg-image { transform: scale(1.08); }

    /* Style dla Twoich przycisków wewnątrz sekcji reservation */
    .nav-pills .custom-tab-btn { color: #f8f9fa; background-color: transparent; }
    .nav-pills .custom-tab-btn:hover, .nav-pills .custom-tab-btn.active { color: #212529; background-color: #f8f9fa; border-color: #f8f9fa !important; }    
    
    
       .foobox-item {
        position: relative;
        display: block; /* Kluczowe: usuwa lukę pod obrazkiem */
        overflow: hidden;
        border-radius: 0.25rem;
        line-height: 0; /* Dodatkowe zabezpieczenie przed białymi znakami */
    }

    .foobox-item::after {
        content: '\f00e';
        font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", sans-serif;
        font-weight: 900;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        /* Używamy wysokości 100%, ponieważ obrazek wewnątrz nie ma już marginesu */
        height: 100%; 
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        opacity: 0;
        transition: all 0.3s ease-in-out;
        z-index: 2;
    }

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

    /* Usuwamy mb-2 z PHP i przenosimy margines tutaj, aby nie wpływał na aplę */
    .gallery-wrapper {
        margin-bottom: 1.5rem; /* Odpowiednik mb-4 */
    }

    .foobox-item img {
        display: block; /* Usuwa przestrzeń inline-block u dołu */
        width: 100%;
        height: auto;
        transition: transform 0.4s ease;
    }

    .foobox-item:hover img {
        transform: scale(1.08);
    }
    
    
    /* Przycisk powrotu na górę */
.top-button.btn-primary {
    background-color: #8FBB40 !important;
    border-color: #8FBB40 !important;
    color: #ffffff !important; /* Kolor ikony */
}

/* Efekt po najechaniu (lekko ciemniejszy zielony) */
.top-button.btn-primary:hover, 
.top-button.btn-primary:focus {
    background-color: #7da538 !important;
    border-color: #7da538 !important;
    color: #ffffff !important;
}

/* Opcjonalnie: usunięcie poświaty (box-shadow) przy kliknięciu */
.top-button.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(143, 187, 64, 0.5) !important;
}



.shops-switch {
      position: fixed;
      left: 0;
      top: 30%;
      z-index: 10;
    }
    .shops-switch__item {
      position: relative;
      z-index: 2;
      margin-bottom: 2px;
      transform: translateX(0);
      transition: .3s ease;
    }
    .shops-switch__item:hover {
      z-index: 3;
      transform: translateX(280px);
    }
    .shops-switch__item:hover .shops-switch__item--sign {
      left: -100%;
    }
    .shops-switch__item a {
      display: block;
    }
    .shops-switch__item--plansza {
      position: absolute;
      right: 100%;
      top: 0;
      width: 376px;
      height: 307px;
      display: block;
      border: 1px solid #ccc;
      border-radius: 0 0 10px 0;
      overflow: hidden;
      z-index: 3;
    }
    .shops-switch__item--sign {
      position: relative;
      transition: .3s ease;
      left: -1px;
      width: 80px;
      height: 70px;
      display: flex;
      align-items: center;
      border: 1px solid #ccc;
      border-left: 0;
      border-radius: 0 10px 10px 0;
      justify-content: center;
      background-color: #fff;
    }

    @media (max-width: 1530px) {
      .shops-switch__item--sign {
        width: 80px;
        height: 70px;
        padding: 5px;
      }
    }
    @media (max-width: 1529px) {
      .shops-switch__item--sign {
        width: 60px;
        height: 55px;
        padding: 5px;
      }
    }
    @media (max-width: 992px) {
      .shops-switch__item--sign {
        width: 40px;
        height: 40px;
        padding: 5px;
      }
