/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    min-height:100%;
    scroll-behavior:smooth;
}

body{
    min-height:100vh;

    display:flex;
    flex-direction:column;

    background:#fff;

    font-family:"Montserrat",sans-serif;

    overflow-x:hidden;
}

.page-main{
    flex:1;
}

.container{
    width:min(1200px,90%);
    margin:0 auto;
}
/* ===========================
   NAVBAR
=========================== */

.navbar{
    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:120px;

    background:#000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 55px;

    z-index:1000;
}

.logo img{

    width:auto;
    height:75px;

}

.menu-container{

    position:relative;
    display:flex;
    align-items:center;
    height:100%;

}

.hamburger{

    width:42px;
    height:30px;

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    cursor:pointer;

    background:transparent;
    border:0;
    padding:0;

}

.hamburger span{

    width:100%;
    height:3px;

    background:#fff;

    transition:.35s;

}

.menu-container:hover .dropdown-menu,
.menu-container.is-open .dropdown-menu{

    opacity:1;
    visibility:visible;
    transform:translateY(0);

}

.menu-container:hover .hamburger span:nth-child(1),
.menu-container.is-open .hamburger span:nth-child(1){

    transform:translateY(14px) rotate(45deg);

}

.menu-container:hover .hamburger span:nth-child(2),
.menu-container.is-open .hamburger span:nth-child(2){

    opacity:0;

}

.menu-container:hover .hamburger span:nth-child(3),
.menu-container.is-open .hamburger span:nth-child(3){

    transform:translateY(-14px) rotate(-45deg);

}

.hamburger:focus-visible{

    outline:2px solid #fff;
    outline-offset:8px;

}

/* ===========================
   MENU
=========================== */

.dropdown-menu{

    position:absolute;

    top:100%;
    left:-55px;

    width:400px;

    background:#000;

    padding:25px 55px 35px;

    display:flex;
    flex-direction:column;

    gap:30px;

    opacity:0;
    visibility:hidden;

    transform:translateY(-10px);

    transition:.3s;

}

.menu-container:hover .dropdown-menu{

    opacity:1;
    visibility:visible;

    transform:translateY(0);

}

.dropdown-menu a{

    color:#fff;

    text-decoration:none;

    text-transform:uppercase;

    font-size:14px;

    font-weight:300;

    letter-spacing:1.5px;

    transition:.3s;

}

.dropdown-menu a:hover{

    padding-left:10px;

    opacity:.75;

}

/* =====================================
   PODMENU – ZIELONA DOLINA
===================================== */

.menu-item{
    position:relative;
    width:100%;
}

.main-menu-link{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
}

/* Mała strzałka przy pozycji głównej */

.has-submenu > .main-menu-link::after{
    content:"›";

    margin-left:14px;

    font-size:18px;
    line-height:1;

    transition:transform .3s ease;
}

/* Podmenu domyślnie ukryte */

.submenu{
    max-height:0;
    overflow:hidden;

    display:flex;
    flex-direction:column;

    padding-left:16px;

    opacity:0;
    visibility:hidden;

    transition:
        max-height .4s ease,
        opacity .3s ease,
        visibility .3s ease,
        margin .3s ease;
}

/* Pokazanie podmenu */

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu{
    max-height:320px;

    margin-top:8px;
    margin-bottom:8px;

    opacity:1;
    visibility:visible;
}

/* Obrót strzałki */

.has-submenu:hover > .main-menu-link::after,
.has-submenu:focus-within > .main-menu-link::after{
    transform:rotate(90deg);
}

/* Wygląd linków podmenu */

.submenu a{
    padding:7px 0 !important;

    color:rgba(255,255,255,.68) !important;

    font-size:11px !important;
    font-weight:300;
    letter-spacing:1.2px;

    text-transform:uppercase;

    border-left:1px solid rgba(255,255,255,.25);

    padding-left:14px !important;
}

/* Najechanie na podkategorię */

.submenu a:hover{
    color:#fff !important;

    padding-left:20px !important;

    opacity:1 !important;
}

#opis,
#galeria,
#karty-lokali,
#atuty,
#okolica,
#lokalizacja{
    scroll-margin-top:120px;
}

/* =====================================
   AKTUALNOŚCI
===================================== */

.aktualnosci{
    width:100%;

    margin-top: 70px;

    padding:100px 0 120px;

    text-align:center;
}

.page-subtitle{
    display:block;

    width:100%;

    margin-bottom:20px;

    color:#888;

    font-size:13px;
    font-weight:400;
    letter-spacing:2px;

    text-align:center;
    text-transform:uppercase;
}

.aktualnosci h1{
    margin-bottom:30px;

    color:#111;

    font-size:64px;
    font-weight:300;
    line-height:1.15;
}

.page-description{
    max-width:760px;

    margin:0 auto;

    color:#555;

    font-size:20px;
    font-weight:300;
    line-height:1.9;
}


/* =====================================
   FOOTER
===================================== */

footer{
    width:100%;

    margin-top:auto;

    background:#000;
    color:#fff;
}

/* Górna część stopki */

.footer-top{
    width:min(1200px,90%);
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    align-items:start;
    gap:60px;

    padding:45px 0 40px;

    border-bottom:1px solid rgba(255,255,255,.12);
}

/* Kolumny */

.footer-column{
    min-width:0;
}

/* Lewa kolumna */

.footer-column:nth-child(1){
    text-align:left;
}

/* Środkowa kolumna */

.footer-column:nth-child(2){
    text-align:center;
}

/* Prawa kolumna */

.footer-column:nth-child(3){
    text-align:right;
}

/* Nagłówki */

.footer-column h3{
    margin-bottom:25px;

    color:#fff;

    font-size:34px;
    font-weight:300;
    line-height:1.2;
}

/* Teksty */

.footer-column p{
    margin:0;

    color:#fff;

    font-size:16px;
    font-weight:300;
    line-height:1.7;
}

/* Linki */

.footer-column a{
    color:#fff;

    font-size:16px;
    font-weight:300;
    line-height:1.7;

    text-decoration:none;

    transition:opacity .3s ease;
}

.footer-column a:hover{
    opacity:.7;
}

/* Dolna część stopki */

.footer-bottom{
    width:min(1200px,90%);
    margin:0 auto;
    padding:25px 0 28px;

    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    align-items:center;
    gap:30px;
}

/* Copyright */

.footer-bottom p{
    margin:0;

    color:#fff;

    font-size:14px;
    font-weight:300;

    text-align:left;
}

/* Wszystkie linki na dole */

.footer-bottom a{
    color:#fff;

    font-size:14px;
    font-weight:300;

    text-decoration:none;

    transition:opacity .3s ease;
}

/* Projekt i wykonanie */

.footer-bottom a:nth-of-type(1){
    text-align:center;
}

/* Polityka prywatności */

.footer-bottom a:nth-of-type(2){
    text-align:right;
}

.footer-bottom a:hover{
    opacity:.7;
}


/*====================================
        STRZAŁKA DO GÓRY
====================================*/

.back-to-top{

    position:fixed;

    right:30px;
    bottom:30px;

    width:55px;
    height:55px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.75);

    color:#fff;

    text-decoration:none;

    font-size:22px;

    border-radius:10px;

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:9999;

}

.back-to-top:hover{

    background:#000;

    transform:translateY(-4px);

}

.back-to-top.show{

    opacity:1;
    visibility:visible;

}

/* =========================================================
   RESPONSYWNOŚĆ - AKTUALNOŚCI

   < 576px      małe telefony
   576-767px    większe telefony
   768-991px    tablety
   992-1199px   małe laptopy
   1200-1399px  duże ekrany
   >= 1400px    4K / ultrawide
========================================================= */


/* =========================================================
   1400px+ - EKRANY 4K / ULTRAWIDE
========================================================= */

@media (min-width:1400px){

    body{
        padding-top:120px;
    }

    /* NAV */

    .navbar{
        height:120px;
        padding:0 65px;
    }

    .logo img{
        height:78px;
    }


    /* AKTUALNOŚCI */

    .aktualnosci{
        margin-top:0;
        padding:120px 0 140px;
    }

    .aktualnosci .container{
        width:min(1200px,86%);
    }

    .page-subtitle{
        margin-bottom:20px;

        font-size:13px;
    }

    .aktualnosci h1{
        margin-bottom:32px;

        font-size:68px;
    }

    .page-description{
        max-width:800px;

        font-size:20px;
        line-height:1.9;
    }


    /* FOOTER */

    .footer-top,
    .footer-bottom{
        width:min(1280px,88%);
    }

}


/* =========================================================
   1200px - 1399px - DUŻE EKRANY
========================================================= */

@media (min-width:1200px) and (max-width:1399.98px){

    body{
        padding-top:120px;
    }

    /* NAV */

    .navbar{
        height:120px;
        padding:0 55px;
    }

    .logo img{
        height:75px;
    }


    /* AKTUALNOŚCI */

    .aktualnosci{
        margin-top:0;
        padding:105px 0 125px;
    }

    .aktualnosci h1{
        font-size:62px;
    }

    .page-description{
        font-size:19px;
    }

}


/* =========================================================
   992px - 1199px - MAŁE LAPTOPY
========================================================= */

@media (min-width:992px) and (max-width:1199.98px){

    body{
        padding-top:105px;
    }


    /* NAV */

    .navbar{
        height:105px;
        padding:0 40px;
    }

    .logo img{
        height:65px;
    }

    .hamburger{
        width:38px;
        height:27px;
    }

    .dropdown-menu{
        left:-40px;

        width:370px;

        padding:25px 40px 35px;

        gap:25px;
    }


    /* AKTUALNOŚCI */

    .aktualnosci{
        margin-top:0;
        padding:90px 0 105px;
    }

    .aktualnosci .container{
        width:88%;
    }

    .page-subtitle{
        margin-bottom:18px;

        font-size:12px;
    }

    .aktualnosci h1{
        margin-bottom:28px;

        font-size:54px;
    }

    .page-description{
        max-width:720px;

        font-size:18px;
        line-height:1.85;
    }


    /* FOOTER */

    .footer-top{
        width:90%;

        gap:40px;

        padding:36px 0 30px;
    }

    .footer-column h3{
        margin-bottom:18px;

        font-size:28px;
    }

    .footer-column p,
    .footer-column a{
        font-size:14px;
    }

    .footer-bottom{
        width:90%;

        padding:19px 0 21px;
    }

    .footer-bottom p,
    .footer-bottom a{
        font-size:11px;
    }

}


/* =========================================================
   768px - 991px - TABLETY
========================================================= */

@media (min-width:768px) and (max-width:991.98px){

    body{
        padding-top:95px;
    }


    /* NAV */

    .navbar{
        height:95px;
        padding:0 30px;
    }

    .logo img{
        height:58px;
    }

    .hamburger{
        width:36px;
        height:26px;
    }


    /* MENU */

    .dropdown-menu{
        position:fixed;

        top:95px;
        left:0;

        width:100%;

        max-height:calc(100vh - 95px);

        overflow-y:auto;

        padding:28px 35px 38px;

        gap:23px;
    }


    /* AKTUALNOŚCI */

    .aktualnosci{
        margin-top:0;
        padding:75px 0 90px;
    }

    .aktualnosci .container{
        width:86%;
    }

    .page-subtitle{
        margin-bottom:17px;

        font-size:11px;
    }

    .aktualnosci h1{
        margin-bottom:25px;

        font-size:48px;
        line-height:1.2;
    }

    .page-description{
        max-width:650px;

        font-size:17px;
        line-height:1.8;
    }


    /* FOOTER */

    .footer-top{
        width:92%;
        margin:0 auto;

        display:grid;
        grid-template-columns:repeat(3,1fr);

        gap:22px;

        padding:30px 0 25px;
    }

    .footer-column:nth-child(1){
        text-align:left;
    }

    .footer-column:nth-child(2){
        text-align:center;
    }

    .footer-column:nth-child(3){
        text-align:right;
    }

    .footer-column h3{
        margin-bottom:12px;

        font-size:20px;
    }

    .footer-column p,
    .footer-column a{
        font-size:11px;
        line-height:1.55;
    }


    /* DOLNY FOOTER */

    .footer-bottom{
        width:92%;
        margin:0 auto;

        display:grid;
        grid-template-columns:repeat(3,1fr);

        gap:15px;

        padding:15px 0 18px;
    }

    .footer-bottom p,
    .footer-bottom a{
        font-size:9px;
        line-height:1.4;
    }

    .footer-bottom p{
        text-align:left;
    }

    .footer-bottom a:nth-of-type(1){
        text-align:center;
    }

    .footer-bottom a:nth-of-type(2){
        text-align:right;
    }

}


/* =========================================================
   576px - 767px - WIĘKSZE TELEFONY
========================================================= */

@media (min-width:576px) and (max-width:767.98px){

    body{
        padding-top:85px;
    }


    /* NAV */

    .navbar{
        height:85px;
        padding:0 24px;
    }

    .logo img{
        height:52px;
    }

    .hamburger{
        width:34px;
        height:24px;
    }


    /* MENU */

    .dropdown-menu{
        position:fixed;

        top:85px;
        left:0;

        width:100%;

        max-height:calc(100vh - 85px);

        overflow-y:auto;

        padding:25px 28px 35px;

        gap:20px;
    }

    .dropdown-menu a{
        font-size:12px;
    }


    /* AKTUALNOŚCI */

    .aktualnosci{
        margin-top:0;

        padding:65px 0 75px;
    }

    .aktualnosci .container{
        width:88%;
    }

    .page-subtitle{
        margin-bottom:15px;

        font-size:10px;
        letter-spacing:1.8px;
    }

    .aktualnosci h1{
        margin-bottom:22px;

        font-size:41px;
        line-height:1.2;
    }

    .page-description{
        max-width:540px;

        font-size:16px;
        line-height:1.75;
    }


    /* =====================================================
       FOOTER - 3 KOLUMNY
    ===================================================== */

    .footer-top{
        width:92%;
        margin:0 auto;

        display:grid;
        grid-template-columns:repeat(3,1fr);

        align-items:start;

        gap:18px;

        padding:28px 0 24px;
    }

    .footer-column:nth-child(1){
        text-align:left;
    }

    .footer-column:nth-child(2){
        text-align:center;
    }

    .footer-column:nth-child(3){
        text-align:right;
    }

    .footer-column h3{
        margin-bottom:12px;

        font-size:18px;
        font-weight:300;
    }

    .footer-column p,
    .footer-column a{
        font-size:10px;
        line-height:1.5;
    }


    /* DÓŁ FOOTERA */

    .footer-bottom{
        width:92%;
        margin:0 auto;

        display:grid;
        grid-template-columns:repeat(3,1fr);

        gap:12px;

        padding:14px 0 17px;
    }

    .footer-bottom p,
    .footer-bottom a{
        font-size:8px;
        line-height:1.4;
    }

    .footer-bottom p{
        text-align:left;
    }

    .footer-bottom a:nth-of-type(1){
        text-align:center;
    }

    .footer-bottom a:nth-of-type(2){
        text-align:right;
    }


    /* STRZAŁKA */

    .back-to-top{
        right:18px;
        bottom:18px;

        width:46px;
        height:46px;

        font-size:17px;
    }

}


/* =========================================================
   < 576px - MAŁE TELEFONY
========================================================= */

@media (max-width:575.98px){

    body{
        padding-top:78px;
    }


    /* NAV */

    .navbar{
        height:78px;

        padding:0 18px;
    }

    .logo img{
        height:46px;
    }

    .hamburger{
        width:31px;
        height:22px;
    }

    .hamburger span{
        height:2px;
    }


    /* MENU */

    .dropdown-menu{
        position:fixed;

        top:78px;
        left:0;

        width:100%;

        max-height:calc(100vh - 78px);

        overflow-y:auto;

        padding:22px 20px 30px;

        gap:18px;
    }

    .dropdown-menu a{
        font-size:11px;
    }

    .submenu{
        padding-left:5px;
    }

    .submenu a{
        font-size:9px !important;
    }


    /* =====================================
       AKTUALNOŚCI
    ===================================== */

    .aktualnosci{
        margin-top:0;

        padding:50px 0 60px;

        text-align:center;
    }

    .aktualnosci .container{
        width:90%;
    }

    .page-subtitle{
        margin-bottom:14px;

        font-size:9px;

        font-weight:400;

        letter-spacing:1.6px;
    }

    .aktualnosci h1{
        margin-bottom:20px;

        font-size:34px;
        font-weight:300;
        line-height:1.2;
    }

    .page-description{
        max-width:100%;

        font-size:15px;
        font-weight:400;

        line-height:1.7;
    }


    /* =====================================================
       FOOTER - MAŁY TELEFON
       PIONOWY I KOMPAKTOWY
    ===================================================== */

    .footer-top{
        width:88%;
        margin:0 auto;

        display:grid;
        grid-template-columns:1fr;

        gap:0;

        padding:22px 0 16px;
    }

    .footer-column{
        width:100%;

        padding:13px 0;

        text-align:center;
    }

    .footer-column:not(:last-child){
        border-bottom:1px solid rgba(255,255,255,.10);
    }

    .footer-column:nth-child(1),
    .footer-column:nth-child(2),
    .footer-column:nth-child(3){
        text-align:center;
    }

    .footer-column h3{
        margin-bottom:8px;

        font-size:18px;
        font-weight:300;
    }

    .footer-column p,
    .footer-column a{
        font-size:10px;

        line-height:1.5;
    }


    /* DOLNY FOOTER */

    .footer-bottom{
        width:88%;
        margin:0 auto;

        display:flex;
        flex-direction:column;
        align-items:center;

        gap:6px;

        padding:13px 0 16px;
    }

    .footer-bottom p,
    .footer-bottom a,
    .footer-bottom a:nth-of-type(1),
    .footer-bottom a:nth-of-type(2){
        margin:0;

        font-size:8px;

        line-height:1.4;

        text-align:center;
    }


    /* STRZAŁKA */

    .back-to-top{
        right:14px;
        bottom:14px;

        width:42px;
        height:42px;

        font-size:15px;

        border-radius:8px;
    }

}