/* STYLE CSS - żywioły */


:root {
    --kolor-podstawowy: #A57982;
    --kolor-uzupelniajacy: #F0D3F7;
    --kolor-ciemny: #120D31;
    --kolor-jasny: #ffffff;
    --kolor-czarny: #1a1a1a;
    --kolor-niebieski: #5b7c99;
    --kolor-brazowy: #8b6f47;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: var(--kolor-czarny);
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p {
    line-height: 1.6;
}

/* NAWIGACJA  */
nav {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 1000px;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    z-index: 100;
    border: 1px solid rgba(212, 220, 241, 0.722);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

nav ol {
    display: flex;
    gap: 32px;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

nav ol li {
    flex: 0 0 auto;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.5px;
}

nav ol li a {
    font-family: "Times New Roman";
    display: inline-block;
    padding: 8px 12px;
    border-radius: 20px;
    color: rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 400;
}

nav ol li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* SEKCJE OGÓLNE  */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    /* scroll-margin-top: 120px; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.zawartosc {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* SEKCJA PIERWSZA */
#pierwsza {
     background: url(../img/grafika1.jpg) no-repeat center fixed;
    min-height: 100vh;
    position: relative;
}

#pierwsza::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

#pierwsza .zawartosc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 32px;
    position: relative;
    z-index: 2;
}

#pierwsza h1 {
    font-family: 'Times New Roman', serif;
    font-size: 64px;
    font-weight: 400;
    color: var(--kolor-jasny);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

#pierwsza h2 {
    font-family: 'Times New Roman', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--kolor-jasny);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

#pierwsza a {
    border: 2px solid var(--kolor-jasny);
    color: var(--kolor-jasny);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    background: transparent;
    transition: all 0.3s ease;
    margin-top: 16px;
}

#pierwsza a:hover {
    background: var(--kolor-jasny);
    color: #f4a460;
}

/* SEKCJA DRUGA - OGIEŃ */
#druga {
     background: url(../img/grafika2.jpg) no-repeat center fixed;
    color: var(--kolor-jasny);
}


#druga .zawartosc {
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    align-items: start;
}

#druga h3 {
    font-family: 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--kolor-jasny);
    margin-bottom: 1rem;
}


#druga .zawartosc_lewa {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 16px;
}


#druga .opis p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

#druga .zawartosc_prawa {
    flex: 1 1 300px;
    /* display: grid;
    grid-template-columns: repeat(2, 1fr); */
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}


.graf {
    flex: 1 1 250px;
    position: relative;
    /* overflow: hidden; */
}

.graf img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}


.graf:hover img {
    transform: scale(1.05);
}


.graf p {
    display: none;
}




/*  SEKCJA TRZECIA - WODA  */
#trzecia {
    background: url(../img/grafika3.jpg) no-repeat center fixed;
    color: var(--kolor-czarny);
}

#trzecia .zawartosc {
    text-align: center;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 64px 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#trzecia h3 {
    font-family: 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--kolor-czarny);
    margin-bottom: 16px;
}

#trzecia h2 {
    font-family: 'Times New Roman', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--kolor-czarny);
    margin-bottom: 16px;
}

#trzecia p {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.85);
}

/* SEKCJA CZWARTA - POWIETRZE  */
#czwarta {
    background: url(../img/grafika4.jpg) no-repeat center fixed;
    color: var(--kolor-czarny);
}

#czwarta .zawartosc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

#czwarta h2 {
    font-family: 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--kolor-czarny);
    text-align: left;
    margin-bottom: 16px;
}

#czwarta .zawartosc_lewa {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 16px;
}

#czwarta .zawartosc_lewa h3 {
    font-size: 19px;
    font-weight: 400;
    color: var(--kolor-czarny);
    margin-bottom: 16px;
}

#czwarta .zawartosc_lewa .opis p {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.6;
}

#czwarta .zawartosc_prawa {
    display: flex;
    align-items: center;
    justify-content: center;
}

#czwarta .graf img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.6);
}

#piata {
    background: url(../img/grafika5.jpg) no-repeat center fixed;
    color: var(--kolor-jasny);
}

#piata .zawartosc {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

#piata h2 {
    font-family: 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--kolor-jasny);
    margin-bottom: 16px;
    text-align: center;
}

.content-box {
    text-align: center;
    max-width: 80%;
    background: rgba(216, 220, 177, 0.50);
    backdrop-filter: blur(10px);
    padding: 48px 40px;
    border-radius: 52px;
    border: 4px solid #A9B987;

    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.zawartosc h2 {
    font-family: 'Times New Roman', serif;
    font-size: 60px;
    font-weight: 400;
    color: var(--kolor-jasny);
    margin-bottom: 16px;
}

.zawartosc h3 {
    font-size: 25px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.content-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

#piata h3 {
    font-size: 19px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

#piata p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 800px;
    margin: 0 auto 48px;
}

#piata .zawartosc_prawa {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

#piata .graf img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
}

/* SEKCJA SZOSTA - ROWNOWAGA  */
#szosta {
    background: url(../img/grafika6.jpg) no-repeat center fixed;
    color: var(--kolor-jasny);
}

#szosta .zawartosc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#stopka {
    background: url(../img/grafika6.jpg) no-repeat center fixed;
    color: var(--kolor-jasny);
    padding: 0px;
    text-align: center;
    min-height: unset;
}

#stopka .contact-box{
    border-radius: 0px;
}

#stopka .zawartosc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: unset;
}

.contact-box {
    text-align: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 10px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    align-items: baseline;
}

#stopka h2 {
    font-family: 'Times New Roman', serif;
    font-size: 44px;
    font-weight: 400;
    color: var(--kolor-jasny);
    margin-bottom: 8px;
}

#stopka h3 {
    font-size: 19px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
}

#stopka p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

#stopka .zawartosc article {
    background: transparent;
    flex: none;
    padding: 0;
    border-radius: 0;
    display: none;
}

#stopka h6 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
    font-weight: 400;
}


#stopka .social {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 32px;
}

#stopka .social a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

#stopka .social a:hover {
    background: rgba(255, 255, 255, 0.4);
}
