/* =========================================
   MENU CZYTAM BAJKI
========================================= */

:root {
    --menu-pink: #F38C7A;
    --menu-turquoise: #62A4B4;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background: linear-gradient(
        135deg,
        #1e2e3d,
        #244056
    );

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.3);

    position: sticky;
    top: 0;

    z-index: 10000;

    border-bottom: 2px solid var(--menu-turquoise);

    box-sizing: border-box;
}


/* =========================================
   LOGO
========================================= */

.site-logo {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.18);

    border-radius: 16px;

    padding: 10px 14px;

    box-shadow:
        0 0 12px rgba(255,255,255,0.12);

    backdrop-filter: blur(6px);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.site-logo:hover {
    transform: scale(1.04);

    background:
        rgba(255,255,255,0.25);

    box-shadow:
        0 0 18px rgba(255,139,167,0.35);
}


.site-logo img {
    height: 120px;
    width: auto;

    display: block;

    filter:
        drop-shadow(
            0 0 4px rgba(0,0,0,0.25)
        );

    border-radius: 12px;
}


/* =========================================
   MENU DESKTOP
========================================= */

.desktop-menu {
    display: flex;
    align-items: center;

    gap: 20px;
}


.desktop-menu a {
    text-decoration: none;

    color: var(--menu-turquoise);

    font-weight: 600;

    padding: 8px 12px;

    border-radius: 8px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


.desktop-menu a:hover {
    background: var(--menu-pink);

    color: #fff;

    box-shadow:
        0 2px 6px
        rgba(255,139,167,0.4);
}


/* =========================================
   PRAWA STRONA MENU
========================================= */

.menu-right {
    display: flex;

    align-items: center;

    position: relative;
}


/* =========================================
   HAMBURGER
========================================= */

.menu-toggle {
    display: none;

    width: 35px;
    height: 25px;

    padding: 0;

    border: 0;

    background: transparent;

    flex-direction: column;

    justify-content: space-between;

    cursor: pointer;

    z-index: 11000;
}


.menu-toggle span {
    display: block;

    height: 3px;

    width: 100%;

    background:
        var(--menu-turquoise);

    border-radius: 3px;

    transition:
        all 0.35s ease;
}


.menu-toggle.open span:nth-child(1) {
    transform:
        rotate(45deg)
        translate(5px,5px);
}


.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}


.menu-toggle.open span:nth-child(3) {
    transform:
        rotate(-50deg)
        translate(10px,-10px);
}


/* =========================================
   MENU MOBILNE
========================================= */

#sideNav {
    position: fixed;

    top: 0;
    left: 0;

    transform:
        translateX(-100%);

    width: 260px;

    height: 100vh;

    box-sizing: border-box;

    background:
        rgba(25,25,35,0.9);

    backdrop-filter:
        blur(10px);

    box-shadow:
        3px 0 20px
        rgba(0,0,0,0.4);

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding:
        90px 25px 30px;

    gap: 18px;

    transition:
        transform 0.35s ease,
        box-shadow 0.3s ease;

    z-index: 12000;

    border-right:
        1px solid
        rgba(255,255,255,0.08);
}


#sideNav.active {
    transform:
        translateX(0);

    box-shadow:
        6px 0 25px
        rgba(0,0,0,0.5);
}


/* =========================================
   LINKI MENU MOBILNEGO
========================================= */

#sideNav a {
    text-decoration: none;

    color:
        var(--menu-turquoise);

    font-weight: 600;

    font-size: 18px;

    letter-spacing: 0.5px;

    padding: 10px 0;

    width: 100%;

    border-bottom:
        1px solid
        rgba(255,255,255,0.06);

    transition:
        color 0.25s ease,
        padding-left 0.25s ease,
        background 0.3s ease;
}


#sideNav a:hover {
    color:
        var(--menu-pink);

    padding-left: 8px;

    background:
        rgba(255,255,255,0.05);
}


/* =========================================
   CIEMNE TŁO POD MENU
========================================= */

#menuOverlay {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(0,0,0,0.55);

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.3s ease;

    z-index: 11000;
}


#menuOverlay.active {
    opacity: 1;

    pointer-events: auto;
}


/* =========================================
   TELEFON
========================================= */

@media (max-width: 720px) {

    .desktop-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .site-logo img {
        height: 90px;
    }

    .site-header {
        padding:
            8px 15px;
    }

}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 721px) {

    #sideNav {
        display: none !important;
    }

}