@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Poppins";
}

:root{
  --main: #ca9640;
  --text-main: #3e1e04;
  --text-secondary: #948273;
  --secondary: #c8c4c2;
  --big-text: "Work Sans";
  --mg-top: 100px;
  --max-w: 1400px;
  --small-text: 16px;
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

.container{
    max-width: var(--max-w);
}

/*NAVBAR*/

nav{
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    z-index: 10;
    top: 0;
}

nav .container{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0 50px;
}

nav p{
    color: var(--main);
    font-size: 25px;
    font-weight: bold;
    font-family: var(--big-text);
}

nav ul{
    display: flex;
    gap: 50px;
    font-size: var(--small-text);
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}

nav ul a{
    color: white;
    transition: 0.2s ease-in-out;
}

nav ul a:hover{
    color: var(--main)
}

nav .burger{
    height: 20px;
    width: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    display: none;
    transition: 0.2s ease-in-out;
}

nav .line{
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: rgb(255, 255, 255);
}

@media screen and (max-width: 900px) {

    nav .container{
        justify-content: center;
    }

    nav .burger{
        display: flex;
    }

    nav ul{
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        gap: 0;
        background-color: rgba(0, 0, 0, 0.8);
        height: 0;
        transition: height 0.2s ease-in-out;
    }

    nav ul.active {
        height: calc(100svh - 100px); 
    }
    nav .burger-active {
        rotate: -90deg;
    }

    nav ul li {
        text-align: center;
        height: 33%;
    }

    nav ul a{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        height: 100%;
    }
}






/*MAIN*/
main {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.575), rgb(0, 0, 0)), url("../img/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .container{
    padding: 200px 0 200px 0;
}


main h1{
    font-size: 60px;
        color: white;
        display: inline-block;
      transform: skewX(-5deg); /* Ustaw lekkie pochylenie */
}





@media screen and (max-width: 700px) {
    main h1{
        font-size: 25px;
            color: white;
            display: inline-block;
          transform: skewX(-5deg); /* Ustaw lekkie pochylenie */
    }
}







/*MENU*/


.news-menu{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0 0 0;
}

.news-menu .container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.news-menu h2{
    font-size: 60px;
        color: var(--text-main);
        display: inline-block;
      transform: skewX(-5deg); 
      text-align: center;
      padding: 15px 0 15px 0;
}


.news-menu .item-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    text-align: center;
}

.news-menu .wrapper{
    display: flex;
    justify-content: space-between;
    padding: 0 20px 20px 20px;
    min-height: 150px;
}

.news-menu .text{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 30px 0 0 0;
}

.news-menu .item-container img{
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
}

.news-menu .item-name{
    font-size: 18px;
    color: rgb(75, 75, 75);
    color: var(--main);
    font-weight: 500;
}

.news-menu .description{
    color: gray;
    font-size: 12px;
}


@media screen and (max-width: 900px) {
    .news-menu h2{
        font-size: 25px;
    }
}



@media screen and (max-width: 500px) {

    .news-menu .item-container{
        gap: 10px;
    }
    
    .news-menu .wrapper{
        display: flex;
        justify-content: space-between;
        min-height: 130px;
        flex-direction: column;
        gap: 10px;
    }
    
    .news-menu .text{
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 10px 0 0 0;
        text-align: center;
    }
    
    .news-menu .item-container img{
        width: 100%;
        aspect-ratio: 1.5;
        object-fit: cover;
    }
    
    .news-menu .item-name{
        font-size: 18px;
        color: rgb(75, 75, 75);
        color: var(--main);
        font-weight: 500;
    }
    
    .news-menu .description{
        color: gray;
        font-size: 12px;
    }
    
    
}













/*FOOTER*/

.footer{
    display: flex;
    justify-content: center;
    margin: var(--mg-top) 0 0 0;
    padding: 0 50px 0 50px;
    background-color: #1a0d02;
    color: #948273;
}

.footer .container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 50px 0 50px 0;
}

.footer .contact{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer h5{
    font-size: 20px;
    color: var(--secondary);
}

.footer p{

}

.footer a{
    color: var(--text-secondary);
}

.footer .links{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer .opening{
    display: flex;
    flex-direction: column;
    gap: 10px;
}


@media screen and (max-width: 750px) {
    .footer .container{
        flex-direction: column;
        gap: 30px;
    }
}


@media screen and (max-width: 550px) {
    .footer{
        padding: 0 10px 0 10px;
    }

}
