* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 1.125rem;
    font-family: Poppins;
    font-weight: 400;
    line-height: 1.5;
}


nav {
    height: 120px;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    z-index: 999;

    transition: background-color 0.3s ease;
}

.nav-colorfill {
    background:#162415;
}

.nav-left {
    height: 100%;

    align-items: center;
}

.nav-middle {
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-right {
    height: 100%;

    display: flex;

    align-items: center;
}

.nav-brand {
    width: 100%;
    max-height: 80px;

}


.hero-1 {
    width: 100%;
    height: 80vh;
    background-image: url('/assets/img/background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-1 .filter {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    /*backdrop-filter: blur(2px);*/
    z-index: 0;
}

.hero-1 .overlay {
    position: relative;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}

.hero-1 .overlay button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #32aa27;      /* zielony */
    color: white;                   /* tekst biały */
    border: 2px solid #32aa27;      /* obramowanie w tym samym kolorze */
    cursor: pointer;
    border-radius: 0;               /* prostokątny */
    transition: background-color 0.3s, border-color 0.3s;
}

.hero-1 .overlay button:hover {
    background-color: #289823;      /* ciemniejszy zielony przy hover */
    border-color: #289823;          /* obramowanie też przyciemnia */
}

.hero-1 h1 {
    font-size: 3.275rem;
    font-family: Poppins;
    font-weight: 700;

}

.hero-1 h2 {
    font-size: 1.5rem;
    font-family: Poppins;
    font-weight: 400;
}

.text-type1-title {
    font-size: 0.875rem;
    font-family: Poppins;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.text-type1-subtitle {
    font-size: 2rem;
    font-family: Poppins;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0px;
    text-transform: none;
    margin-bottom: 10px;
}

.text-type2-header {
    font-size: 1.25rem;
    font-family: Poppins;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0px;
    text-transform: none;
    margin-top: 10px;
}

.text-type2-description {
    font-size: 1.125rem;
    font-family: Poppins;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0px;
    text-transform: none;
}

.text-color-grey {
    color: #595959;
}

.text-color-yellow {
    color: #32aa27;
}

.text-color-black {
    color: #020402;
}

.text-color-white {
    color: #ffffff;
}

.background-color-grey {
    background: #eef1ef;
}

.background-color-white {
    background: #ffffff;
}


.card-hover {
    box-shadow: 0 5px 20px 0 rgba(0,0,0,0.15);
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.card-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px 0 rgba(0,0,0,0.2);
}


.card-hover:hover .text-color-black {
    color: #32aa27;
    transition: color 0.15s ease-in-out;
}

.contact-link {
    color: #595959;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.contact-link:hover {
    color: #32aa27;
}

footer {
    height: 250px;
    width: 100vw;
    background: #162415;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.ignore-nav-colorfill {
    background:#162415;
    height: 120px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
}


.nav-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #ffffff;

    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease;
}


.nav-menu li a:hover::after {
    transform: scaleY(1);
    transform-origin: top;
}

.nav-hamburger {
    background: none;
    border: none;
    font-size: 32px;
    color: #ffffff;
    padding: 8px 12px;
    cursor: pointer;
}

.nav-hamburger:hover {
    color: #32aa27;
}


.nav-bigscreen-elements {
    display: none;
}


.nav-mobilescreen-elements {
    display: block;
}


@media (min-width: 768px) {
    .nav-bigscreen-elements {
        display: block;
    }

    .nav-mobilescreen-elements {
        display: none;
    }
}

.nav-menu-mobileoverride {
    display: block;
}

.nav-menu-mobileoverride li {
    margin-top: 40px;
    padding-left: 20px;
}

