@font-face {
    font-family: 'Sakkal Majalla';
    src: url('assets/fonts/SakkalMajalla.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Apparel';
    src: url('assets/fonts/APPAREL\ BOLD\ IT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* Alert Styles */
.alert-hidden {
    display: none;
}

#alert {
    position: fixed;
    bottom: 20px;
    right: -100%; /* Początkowe położenie poza ekranem */
    width: 90%;
    max-width: 460px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    transition: right 0.5s ease;
    padding: 8px 8px;
    display: flex;
    align-items: center;
    font-family: 'Lora', serif;
    padding: 0px 20px;
    margin-right: 10px;
}

#alert p.alert-description {
    font-size: 0.9rem;
}

@media (max-width: 530px) {
    #alert {
        right: -100%; /* Początkowe położenie poza ekranem */
        width: 90%;
        max-width: 460px;
    }

    #alert p.alert-description {
        margin: 0px;
        font-size: 0.9rem;
    }
}

#alert.show {
    right: 20px; /* Pozycja po wyświetleniu alertu */
}

@media (max-width: 530px) {
    #alert.show {
        right: 10px; /* Pozycja po wyświetleniu alertu dla wersji mobilnej */
    }
}

.alert-content {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.product-container {
    position: relative;
    margin-right: 20px;
}

.product-image {
    width: 40px;
    height:95px;
    object-fit: contain;
}

.product-circle {
    position: absolute;
    top: -5px;
    right: -15px;
    background-color: #ff3030;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}

.alert-text {
    flex: 1;
    text-align: left;
    padding: 5px;
}

p.alert-title {
    margin: 0px; 
}

p.alert-description {
    margin: 0px; 
}

.alert-title {
    font-family: 'Apparel', sans-serif; /* Czcionka Apparel */
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}
@media (max-width: 530px) {
p.alert-title{
    font-size: 16px;
    }
}

.highlight {
    color: #FAB691;
}

.alert-link {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
}

.alert-link:hover {
    text-decoration: underline;
}

.custom-alert-close-btn {
    all: unset; /* Reset all styles */
    font-size: 18px;
    cursor: pointer;
    color: red;
    position: absolute;
    top: 5px;
    right: -10px;
    transition: transform 0.3s;
    outline: none;
}

.custom-alert-close-btn:hover {
    background-color: none !important;
    transform: scale(1.2);
}
/* Alert Styles */


/* Preloader Styles */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loader {
    text-align: center;
}

.loader .heartbeat {
    width: 50px;
    height: 50px;
    animation: heartbeat 1s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

#percent {
    margin-top: 10px;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: #000;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 182, 145, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(250, 182, 145, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(250, 182, 145, 0);
    }
}

.product-circle {
    animation: pulse 2.5s infinite;
}

button#zarezerwuj-wizyte,
button#zarezerwuj-wizyte2,
button#zarezerwuj-wizyte3,
button#zarezerwuj-wizyte4 {
    animation: pulse 2.5s infinite;
}


button#main-page-button {
    animation: pulse 2.5s infinite;
    border-radius: 100px;
}

/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Other Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow-x: hidden;
    background: linear-gradient(180deg, #FFF 0%, #f0f0f0 100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
}

.nav-left {
    display: flex;
    align-items: center;
}

nav .logo {
    height: 40px;
    width: 120px;
    transition: transform 0.3s ease-in-out; /* Dodaj tę linię */
}

nav .logo:hover {
    height: 40px;
    width: 120px;
    transform: scale(1.2); /* Dodaj efekt powiększenia */
}

nav .separator {
    width: 1.2px;
    height: 40px;
    background-color: #FAB691; /* Zmieniony kolor separatora */
    margin: 0 20px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-size: 16px;
}

nav ul li {
    margin: 0 10px;
    position: relative;
}

.new-label {
    background-color: #FAB691;
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 3px;
    position: absolute;
    top: 0; /* Zmienione na 0px */
    right: -10px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

nav ul li a {
    display: inline-block;
    color: #333;
    padding: 14px 20px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

nav ul li a:hover {
    color: #FAB691 !important;
    text-decoration: none;
}


.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

header {
    margin: 25px 0;
}

header span {
    display: block;
    font-size: 18px;
    color: #fab691;
    font-family: 'Lora', serif;
    font-weight: bold;
    letter-spacing: 0.4em;
}

header h1.headline {
    font-family: 'Apparel', sans-serif; /* Czcionka Apparel */
    font-size: 42px;
    margin: 10px 0;
    font-weight: bold;
    color: #090808;
    font-style: italic; /* Dodanie kursywy */
}

.picker {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    flex: 1;
    padding: 0 20px; /* Padding dla wersji mobilnej */
    flex-direction: column; /* Ustawienie elementów w kolumnie */
}

h2 {
    font-family: 'Apparel', sans-serif; /* Czcionka Apparel */
    font-size: 27px;
    margin: 10px 0;
    font-weight: bold;
}

.arrow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px; /* Opcjonalnie, aby ograniczyć maksymalną szerokość */
}

.arrow {
    font-size: 24px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    border: none;
    background-color: #FAB691; /* Zmienione tło strzałek */
    border-radius: 50%;
    color: #fff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out; /* Dodaj tę linię */
}

.arrow img {
    width: 18px;
    height: 18px;
}


.arrow:hover {
    background-color: #ffccb1;
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}

.arrow.disabled {
    background-color: #ccc; /* Szare tło dla wyłączonych strzałek */
    cursor: default;
}

.salon {
    display: none;
    opacity: 0.3;
    transition: opacity 0.5s;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin: 0 15px;
    text-align: center;
}

.salon-details {
    margin-bottom: 30px; /* Usuń domyślne marginesy */
    line-height: 0.5; /* Ustaw mniejszą wartość line-height dla mniejszego odstępu między wierszami */
}

@media (max-width: 550px) {
    .salon-details {
        line-height: 1.2; /* Większy line-height dla ekranów poniżej 550px */
    }
}

.salon.active {
    display: block;
    opacity: 1;
    width: 100%; /* Stały rozmiar dla aktywnego salonu */
    max-width: 400px; /* Maksymalna szerokość */
}

.salon img {
    width: 100px;
}

.salon-id-container {
    position: relative;
    display: inline-block;
}

.salon-id {
    position: absolute;
    top: 0;
    right: 0; /* Przeniesienie numeru na prawą stronę */
    transform: translate(25%, -25%);
    font-size: 14px;
    border: 1px solid #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-block;
    line-height: 30px;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: bold !important;
}

.email-link {
    word-break: break-all; /* Przełamuje adres e-mail, jeśli nie mieści się w jednym wierszu */
    overflow-wrap: break-word; /* Alternatywnie, może również zawijać w razie potrzeby */
    display: inline-block; /* Upewnij się, że jest traktowany jako element blokowy w linii */
}

.buttons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
#home-button {
    background-color: #FAB691;
    border: none;
    border-radius: 50%; /* Maksymalne zaokrąglenie */
    padding: 10px; /* Dostosuj padding w razie potrzeby */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Dostosuj rozmiar w razie potrzeby */
    height: 40px; /* Dostosuj rozmiar w razie potrzeby */
}

#home-button img {
    width: 24px; /* Dostosuj rozmiar ikony w razie potrzeby */
    height: 24px; /* Dostosuj rozmiar ikony w razie potrzeby */
}

#home-button:hover {
    background-color: #e2946b; /* Opcjonalne: kolor tła po najechaniu */
}

button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    background-color: #FAB691;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: medium;
    gap: 8px; /* Odstęp między ikoną a tekstem */
}

button img {
    display: inline-block;
    vertical-align: middle;
    width: 16px; /* Dopasuj rozmiar ikony */
    height: 16px; /* Dopasuj rozmiar ikony */
}

.blue-button {
    background-color: #000000; /* Zmieniony kolor przycisku Ocen */
}

button i {
    margin-right: 5px;
}

button:hover {
    background-color: #ffccb1;
}

.blue-button:hover {
    background-color: #FAB691;
}

footer {
    margin: 20px 0;
}

footer .follow-us {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
    font-family: 'DM Sans', sans-serif;
    font-weight: bold;
}

footer .social-media {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

footer .social-media a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'Sakkal Majalla', sans-serif;
    font-weight: bold;
    margin: 0 10px;
}

footer .social-media a img {
    width: 18px; /* Rozmiar ikon social media */
    height: 18px;
    margin-right: 5px;
}

footer .social-media a:hover{
    transform: scale(1.1); /* Dodaj efekt powiększenia */
    filter: none; /* Upewnij się, że efekt filtrowania nie koliduje */
    transition: transform 0.3s ease-in-out; /* Dodaj płynne przejście */
}
footer .social-media a{
    transition: transform 0.3s ease-in-out; /* Dodaj płynne przejście */
}
.copyright {
    padding: 10px;
    text-align: center;
    width: 100%;
    margin-top: auto;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
}

.copyright a {
    font-weight: bold; /* Pogrubiony tekst reccly */
    color: #A3A3A3; /* Zmieniony kolor linku */
}

a {
    color: #000;
    text-decoration: none; /* Usuń podkreślenie linków */
}

a:hover {
    color: #fab691;
    text-decoration: underline;
}

.location-city {
    color: #000; /* Czarny kolor dla nazwy miasta */
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.location-region {
    color: #6c757d; /* Szary kolor dla regionu */
    font-family: 'Poppins', sans-serif;
    font-weight: medium;
}

.location-address {
    color: #000000; /* Czarny kolor dla adresu */
    font-family: 'Poppins', sans-serif;
    font-weight: medium;
    font-size: 14px;
}

.green-text {
    color: green; /* Zielony kolor dla województwa */
}

.blue-link {
    color: #00A3FF; /* Zmieniony niebieski kolor dla hiperłącza */
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: regular;
    font-size: 0.85rem;
}

.blue-link:hover {
    text-decoration: none;
    color: rgb(0, 132, 255);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; /* Margines na dole */
}

.centered-text-icon {
    margin: 16px 0px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.centered-text-icon img {
    width: 12px; /* Zmniejsz ikonę */
    height: 12px; /* Zmniejsz ikonę */
    margin-right: 2px; /* Dodaj odstęp między ikoną a tekstem */
    vertical-align: middle; /* Wyśrodkuj ikonę w pionie */
}

.dot {
    height: 30px; /* Zwiększona wysokość */
    width: 30px; /* Zwiększona szerokość */
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    color: white;
    font-family: 'Owners', sans-serif;
    font-weight: medium;
    transition: transform 0.3s ease-in-out; /* Dodaj tę linię */
}

.dot.active {
    background-color: #FAB691; /* Zmieniony kolor aktywnego elementu */
    animation: pulse 1.5s infinite;
}
.dot.active:hover {
    transition: transform 0.3s ease-in-out;
}

.dot:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}

.dot:not(.active):hover {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    color: black;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mobile-nav .new-label {
    background-color: #FAB691;
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 3px;
    margin-left: -5px; /* Dostosuj odstęp jeśli potrzebne */
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    position: relative;
    top: -15px; /* Dostosuj, aby wyrównać etykietę do linku */
}


.mobile-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav ul li {
    margin: 20px 0;
}

.mobile-nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 20px;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 2%;
    right: 20px; /* Odsunięcie przycisku "X" */
    font-size: 24px;
    cursor: pointer;
    filter: invert(54%) sepia(84%) saturate(3761%) hue-rotate(329deg) brightness(110%) contrast(104%);;
}

.mobile-nav .close-btn img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.mobile-copyright {
    position: absolute;
    bottom: 40px;
    text-align: center;
    width: 100%;
    color: #A3A3A3; /* Zmieniony kolor tekstu copyright */
    font-size: 14px;
}

.mobile-copyright a {
    font-weight: bold; /* Pogrubiony tekst reccly */
    color: #A3A3A3; /* Zmieniony kolor linku */
}

.desktop-nav a:hover {
    color: rgb(0, 0, 0);
}

.help-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 60%; /* Ustaw odpowiednią wartość top */
    left: 50%;
    transform: translateX(-50%);
}
.help-section p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.help-button {
    color: #00A3FF; /* Kolor tekstu */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px; /* Odstęp między ikoną a tekstem */
}

.help-button img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    transition: transform 0.3s ease-in-out;
    filter: invert(60%) sepia(18%) saturate(2656%) hue-rotate(175deg) brightness(90%) contrast(100%); /* Filter adjusted to #00A3FF */
}


.help-button:hover img {
    transform: scale(1.2);
}

.help-button:hover {
    text-decoration: none;
}

.help-button:visited,
.help-button:active {
    color: #00A3FF; /* Ustawienie koloru tekstu */
}

@media (max-width: 800px) {
    .help-section {
        display: flex;
        margin-top: 20%;
    }
}

@media (max-width: 800px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }
}

@media (max-width: 650px) {
    .picker {
        position: relative;
    }

    .swipe-info {
        display: block;
        font-size: 14px;
        color: #B8B8B8; /* Zmieniony kolor tekstu */
        text-align: right;
        position: absolute;
        top: -6%; /* Dostosuj pozycję w pionie */
        right: 15px; /* Przyczepione do prawej krawędzi */
        font-family: 'Courgette', cursive;
        margin: 1%;
    }

    .swipe-info img {
        width: 24px;
        height: 24px;
        margin-top: 5px;
        display: block;
        margin-left: auto; /* Wyśrodkuj strzałkę pod tekstem */
        filter: invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Użyj CSS filter do zmiany koloru */
        color: #B8B8B8; /* Zmieniony kolor strzałki */
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .arrow {
        width: 40px;
        height: 40px;
        margin: 10px;
    }

    .arrow-container {
        max-width: 100%; /* Opcjonalnie, aby ograniczyć maksymalną szerokość */
    }

    .picker {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
        flex-direction: column; /* Ustawienie elementów w kolumnie */
    }

    .pagination {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .dot {
        height: 30px;
        width: 30px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        text-align: center;
        line-height: 30px;
        font-size: 16px;
        color: white;
    }

    .dot.active {
        background-color: #FAB691; /* Kolor aktywnego elementu */
    }
    

    .social-media {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column; /* Ustawienie elementów w kolumnie */
    }

    .social-media a {
        display: flex;
        align-items: center;
        color: #333;
        text-decoration: none;
        font-size: 12px; /* Zmniejszony rozmiar tekstu */
        margin: 5px 0; /* Dodanie odstępu między elementami */
    }

    .nav-left .separator {
        display: none; /* Ukrycie pionowej kreski obok logo */
    }

    .salon.active {
        width: calc(100% - 10px); /* Szerokość z uwzględnieniem paddingu */
        max-width: 350px; /* Maksymalna szerokość */
        margin: 0 auto; /* Wyśrodkowanie */
    }
}

@media (min-width: 651px) {
    .swipe-info {
        display: none;
    }
}

@media (min-width: 601px) {
    .social-media {
        flex-direction: row;
    }

    .social-media a {
        margin: 0 10px; /* Przywrócenie odstępu między elementami */
    }
}

@media (max-width: 420px) {
    .arrow {
        display: none;
    }
}

@media (max-width: 930px) {
    #main-page-button {
        display: none;
    }
}

@media (max-width: 400px) {
    .picker {
        flex-direction: column;
        padding: 0 10px;
    }

    .arrow-container {
        flex-direction: column; /* Ustawienie strzałek pod spodem */
    }

    .arrow {
        margin: 5px 0;
        width: 15px;
        height: 15px; /* Zmniejszenie rozmiaru strzałek */
    }

    .arrow img {
        width: 14px;
        height: 14px;
    }

    .buttons {
        flex-direction: column;
    }

    button {
        width: 100%;
        margin: 5px 0;
    }

    .salon.active {
        max-width: 300px;
    }

    .new-label {
        position: relative;
        top: 0; /* Zmienione na 0px */
        right: 0;
    }
    
}
