/*
Theme Name: Fundacja Dine
Theme URI: http://twojastrona.pl
Author: Twoje Imię
Author URI: http://twojastrona.pl
Description: Motyw Fundacja Dine dla WordPressa
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fundacja-dine
*/

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Cardo', serif;
    color: #2f2f2f;

    background-image: url('images/BACKGROUNG-WHITE.webp');
    background-color: #EFE9E3;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}



/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    position: relative;
    background: transparent;
}

/* === HEADER === */
.header {
    position: relative;
    top: 20px;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 20px;
    background: transparent;
}

.logo {
    height: 100px;
    margin-right: 8%;
}

.icons img {
    height: 30px;
    margin-left: 30px;
    cursor: pointer;
    object-fit: contain;
}

.sticky-icons img {
    transition: opacity 0.3s ease;
    margin-left: 24px;
}

/* Styl dla hovera - podmieniamy src JS-em */
.sticky-icon-hovered {
    opacity: 0.7;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: #EFE9E3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    z-index: 10000;
    transform: translateY(-100%);
    transition: transform 1.0s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 10000;
}

.sticky-header.visible {
    transform: translateY(0);
    opacity: 1;
}

.sticky-logo {
    height: 50px;
    margin: 10px;
    transition: height 3.0s ease;
}


.sticky-menu-icon {
    height: 24px;
    cursor: pointer;
    filter: none;
    transition: filter 0.3s ease;
}

.sticky-en-icon {
    height: 24px;
    cursor: pointer;
    filter: none;
    transition: filter 0.3s ease;
}

.sticky-icons {
    display: flex;
    align-items: center;
    gap: 32px;
    /* zamiast margin-left przy każdym */
}


/* === Ikona otwierająca menu (w nagłówku) === */
.menu-toggle-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.menu-toggle-icon:hover {
    filter: brightness(0) saturate(100%) invert(39%) sepia(29%) saturate(530%) hue-rotate(325deg) brightness(90%) contrast(90%);
    /* odpowiada kolorowi #A25F4B */
}

.enicon {
    transition: filter 0.3s ease;
}

.enicon:hover {
    filter: brightness(0) saturate(100%) invert(39%) sepia(29%) saturate(530%) hue-rotate(325deg) brightness(90%) contrast(90%);
    /* odpowiada kolorowi #A25F4B */
}

/* === Panel menu (już nie fullscreen) === */
.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 700px;
    height: 100%;
    max-width: 90vw;
    background-color: #F5EFE9;
    z-index: 10001;
    display: none;
    flex-direction: column;
    padding: 40px 60px;
    font-family: "Cardo", serif;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.4s forwards;
}

.menu-panel.hide {
    animation: slideOut 0.3s forwards;
}

/* === Górny pasek szukania === */
.menu-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.search-line {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.search-line input {
    flex: 1;
    padding: 12px 18px;
    font-size: 18px;
    font-family: "Cardo", serif;
    border: none;
    border-bottom: 2px solid #2F2F2F;
    background: transparent;
    color: #2F2F2F;
    outline: none;
}

.search-line input::placeholder {
    color: rgba(47, 47, 47, 0.6);
}

.menu-icon-btn {
    width: 28px;
    height: 28px;
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(15%) sepia(10%) saturate(500%) hue-rotate(0deg) brightness(95%) contrast(90%);
    transition: filter 0.3s ease;
}

.menu-icon-btn:hover {
    filter: brightness(0) saturate(100%) invert(27%) sepia(15%) saturate(1100%) hue-rotate(115deg) brightness(95%) contrast(90%);
}

/* === Linki menu === */
.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
}

.menu-links li {
    margin-bottom: 32px;
    /* Większy odstęp */
}

.menu-links a {
    text-decoration: none;
    color: #2F2F2F;
    font-size: 35px;
    font-family: "Cardo", serif;
    position: relative;
}

.menu-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #2F2F2F;
    transition: width 0.3s ease;
}

.menu-links a:hover::after {
    width: 100%;
}

/* === Animacje pojawiania się menu === */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}


/* === CENTER BOX === */
.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 80px;
}

.center-box {
    background-color: #EFE9E3;
    max-width: 1400px;
    margin-top: 60px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.text-box,
.image-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.text-box {
    max-width: 40%;
    flex: 0 0 40%;
    margin-top: 50px;
    margin-left: 50px;
    padding: 15px 0;
}

.fancy-title {
    font-family: 'Frunchy', serif;
    font-size: 65px;
    color: #2F2F2F;
    white-space: nowrap;
    line-height: 1;
}

.initial {
    font-family: 'Parfumerie Script';
    font-size: 130px;
    margin-right: 3px;
    color: #2F2F2F;
}

.text-box p {
    font-family: 'Cardo', serif;
    font-size: 25px;
    margin-bottom: 20px;
}

.therest {
    font-size: 17px;
}

.btn-main {
    background-color: #406354;
    color: #F5F5F5;
    padding: 14px 10px;
    border: none;
    font-family: 'Cardo', serif;
    font-size: 20px;
    cursor: pointer;
    margin-top: 40px;
    margin-left: auto;
    display: block;
    transition: background-color 0.3s ease;
}

.btn-main:hover {
    background-color: #2F483E;
}


/* === IMAGE === */
.image-box {
    flex: 0 0 60%;
    margin: 70px 50px;
}

.image-box img {
    width: 100%;
    max-width: 500px;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* === QUOTE SECTION === */
.quote-section {
    background-color: #ECE7E1;
    padding-bottom: 40px;
    margin-top: 0px;
    width: 100%;
}

.quote-wrapper {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.quote-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.quote-icon {
    height: 80px;
    margin-bottom: 30px;
}

.quote-text {
    font-family: 'Frunchy', serif;
    font-size: 37px;
    line-height: 1.4;
    margin-left: 160px;
}

.quote-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    flex: 1;
}

.btn-dark,
.btn-light {
    padding: 25px 50px;
    border: none;
    font-family: 'Cardo', serif;
    cursor: pointer;
    font-size: 1.3rem;
    white-space: nowrap;
    width: 100%;
    max-width: 400px;
    min-width: 400px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.3s ease;
}

.btn-dark:hover {
    color: #A25F4B;
}

.btn-light:hover {
    color: #406354;
}

/* === BUTTON COLORS === */
.btn-dark {
    background-color: #2F2F2F;
    color: white;
    font-weight: bold;
}

.btn-light {
    background-color: #A59F91;
    color: white;
    font-weight: bold;
}

.meaning-section-fixed {
    display: flex;
    background-color: #ECE7E1;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 120px 0;
    margin: auto;
    gap: 10px;
    position: relative;
}

.meaning-inner {
    width: 1400px;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10%;
}

/* LEWA STRONA: ikony + ślaczek */
.icons-area {
    width: 45%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    justify-items: center;
    align-items: center;
    width: 100%;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 15px;
}

.icon-item p {
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 25px;
    color: #2F2F2F;
}

/* ślaczek pod spodem */
.divider {
    margin-top: 100px;
}

.divider img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* PRAWA STRONA: tekst Diné */
.text-box-dine {
    background-color: #A25F4B;
    width: 55%;
    color: white;
    flex: 1 1 45%;
    padding: 60px;
    position: relative;
    margin-top: 30px;
    max-width: 520px;
    width: 100%;
    overflow: visible;
}



.title-dine {
    position: absolute;
    z-index: 2;
    top: -20px;
    left: 60px;
    display: flex;
    align-items: baseline;
    transform: translateY(-50%);
    gap: 5px;
}

.title-dine .initial {
    font-family: 'Parfumerie Script';
    font-size: 150px;
    color: #2F2F2F;
    line-height: 1;
}

.title-dine .rest {
    font-family: 'Frunchy', serif;
    font-size: 70px;
    color: #2F2F2F;
}

.text-dine p {
    font-family: 'Cardo', serif;
    font-size: 20px;
    text-align: justify;
    line-height: 1.6;
    color: white;
}

.scale-wrapper {
    transform-origin: top center;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-x: visible;
}

.fixed-scaler {
    width: 100%;
    overflow-x: visible;
    overflow-y: visible;
    display: flex;
    justify-content: center;
    position: relative;
}

.about-section {
    background-color: #2F2F2F;
    color: white;
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
    overflow: visible;
}



.about-inner h2 {
    font-family: "Frunchy", serif;
    font-size: 60px;
    color: white;
    margin-bottom: 24px;
    position: relative;
    text-align: center;


}

.about-inner h2 .dropcap {
    font-family: "Parfumerie Script", serif;
    font-size: 130px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
    margin-right: 4px;
    color: white;

}

.about-inner {
    max-width: 700px;
    position: relative;
    /* ważne, żeby tekst był nad ::before */
    z-index: 1;
}

.about-inner p {
    font-family: "Cardo", serif;
    font-size: 20px;
    line-height: 1.6;
    color: white;
    margin-bottom: 40px;
    text-align: justify;
}

.button-primary {
    background-color: #A25F4B;
    color: white;
    padding: 14px 30px;
    font-family: "Cardo", serif;
    font-size: 20px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    margin-top: 40px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.button-primary:hover {
    background-color: #8f4f3e;
}

/* Sekcja z pełnoekranowym zdjęciem */
.fullwidth-image-section img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: block;
}

.fullwidth-image-section img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    /* cropuje zamiast rozciągać */
    display: block;
}

.quote2-section {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #EFE9E3;
}

.quote2-left {
    width: 50%;
    padding: 0;
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.quote2-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.quote2-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    box-sizing: border-box;
    padding: 40px;
}

.quote2-icon-wrapper {
    align-self: flex-start;
    margin-bottom: 30px;
    margin-left: 60px;
}

.quote2-icon {
    height: 80px;
    width: auto;
    display: block;
}

.quote2-text {
    font-family: 'Frunchy', serif;
    font-size: 37px;
    line-height: 1.4;
    color: #2F2F2F;
    margin-bottom: 24px;
    padding: 0 150px;
}

.author {
    font-family: 'Frunchy', serif;
    font-size: 25px;
    color: #2F2F2F;
    text-align: end;
    margin-left: 100px;

}

.footer {
    background-color: #2F2F2F;
    color: white;
    font-family: "Cardo", serif;
    padding: 60px 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}

/* LEWA KOLUMNA */
.footer-info {
    max-width: 20%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: flex-start;
}

.footer-logo {
    max-width: 80%;
    height: auto;
    margin-bottom: 16px;
}

.footer-address {
    font-size: 16px;
    line-height: 1.6;
    color: white;
    font-family: "Cardo", serif;
}

/* PRAWA KOLUMNA */
.footer-buttons {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    flex: 1;
}

.footer-buttons-row {
    display: flex;
    gap: 40px;
    align-items: flex-end;
    justify-content: center;
    margin-left: 30px;
    width: 100%;
}

.footer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 40px;
    border-radius: 12px;
    height: 60px;
    /* stała wysokość */
    width: 280px;
    /* ustalona szerokość dla obu */
    font-size: 20px;
    text-decoration: none;
    font-family: "Cardo", serif;
    color: white;
    text-align: center;
    background-color: #A59F91;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.footer-btn.wsparcie {
    background-color: #A25F4B;
}

.footer-btn:hover {
    opacity: 0.9;
}

/* DOLNA STOPKA */
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    font-size: 14px;
    opacity: 0.7;
    font-family: "Cardo", serif;
}

.scroll-frames {
    height: 160vh;
    /* Długi scroll */
    background-color: black;
    position: relative;
}

#frameCanvas {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: block;
    object-fit: cover;
}

body.page-template-page-sources {
    background-image: url(./images/RAINFOREST2.webp);
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

body.page-template-page-sources-en {
    background-image: url(./images/RAINFOREST2.webp);
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

body.page-template-page-about {
    background-image: url('images/FOREST1.webp');
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

body.page-template-page-about-en {
    background-image: url('images/FOREST1.webp');
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

body.page-template-page-about::after {
    content: "";
    position: absolute;
    top: 100vh;
    /* po wysokości ekranu */
    left: 0;
    width: 100%;
    height: 150vh;
    /* długość gradientu */
    background-color: #2F2F2F !important;
    z-index: -1;
}


body.page-template-page-actions {
    background-image: url('images/MIST.webp');
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

body.page-template-page-actions-en {
    background-image: url('images/MIST.webp');
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}


body.page-template-page-actions2 {
    background-image: url('images/MIST.webp');
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

body.page-template-page-actions2-en {
    background-image: url('images/MIST.webp');
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

.about-content {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 80px;
}

.about-box {
    background-color: #EFE9E3;
    max-width: 1400px;
    margin-top: 60px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-text-box {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.back-row {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.backtomain {
    font-size: 15px;
    text-transform: uppercase;
    color: #2F483E;
    font-family: 'Cardo', serif;
}

.backtomain a {
    text-decoration: none;
    color: #2F483E;
}

.backtomain a:hover {
    color: #2F2F2F;
    text-decoration: underline;
}

.about-description {
    text-align: justify;
    font-size: 20px;
    font-family: 'Cardo', serif;
    line-height: 1.6;
    padding: 0 40px;
    max-width: 100%;
    box-sizing: border-box;
}

.icons-area-column.three-rows-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    /* <-- wyśrodkowanie */
    padding-top: 50px;
}

.icon-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-row img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.icon-row:hover img {
    transform: scale(1.05);
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.label {
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 25px;
    color: #2F2F2F;
    margin-bottom: 5px;
}

.description {
    font-family: 'Cardo', serif;
    font-size: 18px;
    color: #2F2F2F;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.icon-row:hover .description {
    opacity: 1;
    transform: translateY(0);
}

.quote-inside-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-top: 40px;
    background-color: #EFE9E3;
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.quote-inside-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.quote-inside-right {
    flex: 0 0 35%;
    position: relative;
    min-height: 400px;
    /* dopasuj do wysokości, jakiej potrzebujesz */
}

.quote-inside-left .quote-icon {
    max-width: 60px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    transform: translateY(-10px);
}

.quote-inside-left .quote-text {
    font-family: 'Frunchy', serif;
    font-size: 30px;
    line-height: 1.4;
    margin-left: 80px;
}

.footsteps-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    max-width: 100%;
}

.footsteps-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    pointer-events: none;
}

.footstep-frame {
    position: absolute;
    width: 45px;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

#footsteps {
    position: relative;
    width: 100%;
    height: 100%;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 80px;
    margin-top: 0px;
    padding: 50px;
}

.mv-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.mv-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

.mv-text h3 {
    font-family: 'Cardo', sans-serif;
    font-size: 35px;
    position: relative;
    font-weight: normal;
    margin-bottom: 30px;
    color: #2F2F2F;
    text-align: left;
}

.mv-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 1px;
    background-color: #2F2F2F;
    transition: width 0.6s ease-out;
}

.mv-text h3.animate-underline::after {
    width: 100px;
    /* docelowa długość linii */
}

.mv-text p {
    font-family: 'Cardo', serif;
    font-size: 17px;
    line-height: 1.6;
    color: #2F2F2F;
    margin: 0;
}

.quote-center {
    background-color: #2F2F2F;
    margin-top: -20px;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.quote-center-container {
    max-width: 800px;
    position: relative;
    text-align: center;
}

.quote-center-icon {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 70px;
    height: auto;
}

.quote-center-text {
    font-family: 'Frunchy', serif;
    color: #EFE9E3;
    font-size: 37px;
    line-height: 1.6;
    margin-top: 40px;
}

.forest-scroll {
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

#forestCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    display: block;
}

.forest-scroll::after {
    content: "";
    display: block;
    height: 100vh;
    /* aby był efekt scrollu */
}

.quote3-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    background-color: #EFE9E3;
    padding: 0;
    margin: 0;
}

.quote3-left {
    width: 50%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.quote3-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quote3-right {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px;
    margin-top: 100px;
    padding-top: 10px;
    box-sizing: border-box;
    color: #2F2F2F;
}

.quote3-text {
    font-family: 'Cardo', serif;
    font-size: 20px;
    line-height: 1.8;
    text-align: left;
    margin: 0;
    font-style: normal;
}

.titles3 {
    font-family: 'Cardo', serif;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    color: #2F2F2F;
    display: inline-block;
    overflow: hidden;
}

.titles3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 0;
    background-color: #2F2F2F;
    transition: width 0.6s ease-out;
}

.titles3.animate-underline::after {
    width: 100px;
    /* lub inna docelowa długość */
}

.seperator {
    margin-top: 100px;
    align-self: center;
}

.seperator img {
    width: 100%;
    max-width: 300px;
    height: auto;

}

.support-content {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 80px;
}

.support-box {
    background-color: rgba(239, 233, 227, 0.60);
    max-width: 1400px;
    margin-top: 150px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: justify;
}

.support-text-box {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: justify;
}

.support-description {
    text-align: justify;
    font-size: 20px;
    font-family: 'Cardo', serif;
    line-height: 1.6;
    padding: 0 40px;
    max-width: 100%;
    box-sizing: border-box;
    color: #2F2F2F;
}

.white-description {
    color: #2F2F2F;
    padding: 50px;
}

.support-fancy-title {
    font-family: 'Frunchy', serif;
    font-size: 65px;
    color: #2F2F2F;
    white-space: nowrap;
    line-height: 1;
}

.support-initial {
    font-family: 'Parfumerie Script';
    font-size: 130px;
    margin-right: 3px;
    color: #2F2F2F;
}

body.page-template-page-support {
    background-image: url('images/PUSTYNIA.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

body.page-template-page-support-en {
    background-image: url('images/PUSTYNIA.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}


.sources-content {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 80px;
}

.sources-box {
    background-color: rgba(239, 233, 227, 1);
    max-width: 1400px;
    margin-top: 150px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: justify;
}

.sources-text-box {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: justify;
}

.sources-description {
    text-align: justify;
    font-size: 20px;
    font-family: 'Cardo', serif;
    line-height: 1.6;
    padding: 0 40px;
    max-width: 100%;
    box-sizing: border-box;
    color: #2F2F2F;
    padding-bottom: 40px;
}

.sources-description .sources-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sources-hover-effect {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 40px;
}

.sources-hover-effect:hover {
    filter: grayscale(0%);
}


.sources-fancy-title {
    font-family: 'Frunchy', serif;
    font-size: 65px;
    color: #2F2F2F;
    white-space: nowrap;
    line-height: 1;
}

.sources-location-title {
    font-family: 'Frunchy', serif;
    font-size: 45px;
    color: #2F2F2F;
    white-space: nowrap;
    line-height: 1;
    margin-top: 70px;
}

.sources-location-initial {
    font-family: 'Parfumerie Script';
    font-size: 100px;
    margin-right: 3px;
    color: #2F2F2F;
}

.sources-initial {
    font-family: 'Parfumerie Script';
    font-size: 130px;
    margin-right: 3px;
    color: #2F2F2F;
}

.footer-bottom a {
    color: #406354;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #2F483E
}

.about-description a {
    color: #406354;
    text-decoration: none;
    font-weight: bold;
}

.about-description a:hover {
    color: #2F483E;
}




.contact-content {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 80px;
}

.contact-box {
    background-color: rgba(239, 233, 227, 1);
    max-width: 1400px;
    margin-top: 100px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: justify;
}


.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 40px;
    margin-top: 40px;
}

.contact-item {
    padding: 30px;
    text-align: center;
    font-family: 'Cardo', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #2F2F2F;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.contact-text-box {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: justify;
}

.contact-description {
    text-align: justify;
    font-size: 20px;
    font-family: 'Cardo', serif;
    line-height: 1.6;
    padding: 0 40px;
    max-width: 100%;
    box-sizing: border-box;
    color: #2F2F2F;
    padding-bottom: 40px;
}

.contact-fancy-title {
    font-family: 'Frunchy', serif;
    font-size: 65px;
    color: #2F2F2F;
    white-space: nowrap;
    line-height: 1;
}

.contact-initial {
    font-family: 'Parfumerie Script';
    font-size: 130px;
    margin-right: 3px;
    color: #2F2F2F;
}


body.page-template-page-contact {
    background-image: url('images/BLACKSEA.webp');
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

body.page-template-page-contact-en {
    background-image: url('images/BLACKSEA.webp');
    background-color: #2F2F2F;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}


.actions-content {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 80px;
}

.actions-box {
    background-color: #EFE9E3;
    max-width: 1400px;
    margin-top: 150px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: justify;
}

.actions-text-box {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: justify;
}

.actions-description {
    text-align: justify;
    font-size: 20px;
    font-family: 'Cardo', serif;
    line-height: 1.6;
    padding: 0 40px;
    max-width: 100%;
    box-sizing: border-box;
    color: #2F2F2F;
    padding-bottom: 40px;
}

.actions-fancy-title {
    font-family: 'Frunchy', serif;
    font-size: 55px;
    color: #2F2F2F;
    white-space: nowrap;
    margin-top: 60px;
    margin-bottom: 30px;
    line-height: 1;
}

.actions-initial {
    font-family: 'Parfumerie Script';
    font-size: 100px;
    margin-right: 3px;
    color: #2F2F2F;
}

a {
    text-decoration: none;

}

.actions-content a {
    text-decoration: none;
    color: #2F483E;
}

.actions-content a:hover {
    color: #2F2F2F
}

.sources-content a {
    text-decoration: none;
    color: #2F483E;
}

.sources-content a:hover {
    color: #2F2F2F
}

.actions2-content a {
    text-decoration: none;
    color: #2F483E;
}

.actions2-content a:hover {
    color: #2F2F2F
}

.support-content a {
    text-decoration: none;
    color: #2F483E;
}

.support-content a:hover {
    color: #2F2F2F
}




@media (max-width: 1000px) {


    .center-box {
        flex-direction: column-reverse;
        align-items: center;
        margin-bottom: 0px;
    }

    .image-box {
        margin: 20px 10px 60px 10px;
        width: 100%;
    }

    .text-box {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        padding: 0;

    }

    .quote-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        padding-top: 0px;
        margin-top: 0px;
        max-width: 90%;
        margin: 0 auto;
    }

    .quote-left {
        display: flex;
        align-items: flex-start;
        flex: 1;
        gap: 30px;
        /* odstęp między ikoną a tekstem */
    }

    .quote-text {
        margin: 0;
        font-size: 34px;
    }

    .quote-icon {
        height: 60px;
        margin-bottom: 20px;
        margin-left: 0;
    }

    .quote-right {
        flex: 0 0 40%;
        align-items: flex-end;
    }

    .btn-dark,
    .btn-light {
        font-size: 1rem;
        max-width: 350px;
        width: 100%;
        padding: 20px 20px;
    }

    .icons-area {
        max-width: 40%;
        margin-left: 5%;

    }

    .icon-item p {
        font-size: 17px;
    }

    .icon-item img {
        width: 60px;
        height: 60px;
    }

    .divider {
        width: 80%;
        max-width: 250px;

    }

    .title-dine .initial {
        font-size: 120px;
    }

    .title-dine .rest {
        font-size: 50px;
    }

    .text-dine p {
        font-size: 15px;
    }


    .about-inner h2 {
        font-size: 50px;

    }

    .about-inner h2 .dropcap {
        font-size: 110px;
    }

    .about-inner {
        max-width: 700px;
    }

    .about-inner p {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .button-primary {
        padding: 12px 28px;
        font-size: 17px;
        margin-top: 30px;

    }

    .quote2-right {
        padding: 50px 20px;
    }

    .quote2-text {
        font-size: 30px;
        padding: 0 100px;
    }

    .author {
        font-size: 22px;
        margin-left: 60px;
    }

    .quote2-icon {
        height: 70px;
    }

    .quote2-icon-wrapper {
        margin-left: 40px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-info,
    .footer-buttons {
        max-width: 100%;
        text-align: center;
    }

    .footer-buttons {
        align-items: center;
    }

    .footer-logo {
        max-width: 50%;
        height: auto;
        margin-bottom: 16px;
        align-self: center;
    }

    .about-box {
        flex-direction: column;
        padding: 20px;
    }

    .about-text-box {
        padding: 0;
    }

    .about-description {
        padding: 0;
    }

    .back-row {
        justify-content: end;
    }

    .icons-area-column {
        width: 100%;
        padding: 30px;
        max-width: 90%;
    }

    .icon-row img {
        width: 60px;
        height: 60px;
    }

    .label {
        font-size: 20px;
    }

    .description {
        font-size: 15px;
    }

    .support-box {
        flex-direction: column;
        padding: 20px;
    }

    .support-text-box {
        padding: 0;
    }

    .support-description {
        padding: 0;
    }

    .support-box {
        flex-direction: column;
        padding: 30px 20px;
        margin-top: 100px;
    }

    .support-description {
        font-size: 18px;
        padding: 0 20px;
    }

    .support-fancy-title {
        font-size: 48px;
        white-space: normal;
        text-align: center;
    }

    .support-initial {
        font-size: 100px;
        text-align: center;
    }

    .white-description {
        padding: 30px 20px;
    }

    .meaning-section-fixed {
        padding-top: 150px;
        align-items: center;
    }


    .sources-box {
        flex-direction: column;
        padding: 30px 20px;
        margin-top: 100px;
    }

    .sources-text-box {
        gap: 20px;
    }

    .sources-description {
        font-size: 18px;
        padding: 0 20px 30px 20px;
    }

    .sources-fancy-title {
        font-size: 48px;
        white-space: normal;
        text-align: center;
    }

    .sources-location-title {
        font-size: 32px;
        white-space: normal;
        text-align: center;
        margin-top: 40px;
    }

    .sources-initial {
        font-size: 100px;
        text-align: center;
    }

    .sources-location-initial {
        font-size: 80px;
        text-align: center;
    }

    .actions-text-box {
        padding: 0;
    }

    .actions-box {
        flex-direction: column;
        padding: 30px 20px;
        margin-top: 100px;
    }

    .actions-description {
        font-size: 18px;
        padding: 0 20px;
    }

    .actions-fancy-title {
        font-size: 48px;
        margin-top: 30px;
        white-space: normal;
        text-align: center;
    }

    .actions-initial {
        font-size: 100px;
        text-align: center;
    }


}



@media (max-width: 768px) {

    .logo {
        height: 70px;
    }

    .icons img {
        height: 25px;
        margin-left: 10px;
    }

    .fancy-title {
        font-size: 45px;
    }

    .initial {
        font-size: 80px;
    }

    .btn-main {
        font-size: 15px;
        margin: 20px auto 0 auto;
        text-align: center;
    }

    .center-box {
        flex-direction: column-reverse;
        margin-bottom: -80px;
    }

    .image-box {
        margin: 20px 0 40px 0;
    }

    .text-box {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        padding: 0;
        margin-bottom: 10px;
    }

    .quote-section {
        padding-top: 0px;
        margin-top: 0px;
    }

    .quote-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .quote-right {
        margin-left: 0px;
        margin-bottom: 30px;
    }

    .quote-icon {
        margin-left: -10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .btn-dark,
    .btn-light {
        max-width: 90%;
        font-size: 80%;
        min-width: unset;
        width: 100%;
    }

    .quote-right button {
        margin: 0 auto;
    }

    .meaning-inner {
        flex-direction: column-reverse;
        margin-top: 40px;
        align-items: center;
    }

    .icons-area {
        align-items: center;
        padding: 0px;
        max-width: 100%;
        max-width: 400px;

    }

    .icon-item p {
        font-size: 18px;
    }

    .icon-item img {
        width: 40px;
        height: 40px;
    }

    .divider {
        width: 60%;
        max-width: 180px;

    }

    .title-dine {
        left: 20px;
    }

    .text-box-dine {
        padding: 30px;
        margin-top: 110px;
    }


    .title-dine .initial {
        font-size: 120px;
    }

    .title-dine .rest {
        font-size: 50px;
    }

    .text-dine p {
        font-size: 17px;
        line-height: 1.3;
    }

    .title-box-dine {
        min-width: 50%;
        min-width: 300px;
    }

    .meaning-section-fixed {
        padding-top: 50px;
        align-items: center;
    }

    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-inner {
        margin-top: -60px;
        max-width: 550px;
    }

    .about-inner h2 {
        font-size: 40px;

    }

    .about-inner h2 .dropcap {
        font-size: 90px;
    }

    .about-inner p {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 20px;
    }

    .button-primary {
        padding: 12px 28px;
        font-size: 15px;
        margin-top: 30px;

    }

    .quote2-right {
        padding: 40px 30px;
    }

    .quote2-text {
        font-size: 24px;
        padding: 0 60px;
    }

    .author {
        font-size: 20px;
        margin-left: 40px;
    }

    .quote2-icon {
        height: 60px;
    }

    .quote2-icon-wrapper {
        margin-left: 30px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-info,
    .footer-buttons {
        max-width: 100%;
        text-align: center;
    }

    .footer-buttons {
        align-items: center;
    }

    .menu-toggle-icon {
        width: 18x;
        height: 18px;
    }

    /* Panel menu */
    .menu-panel {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px;
        box-shadow: none;
    }

    /* Pasek wyszukiwania */
    .menu-topbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin-bottom: 30px;
        margin-left: 10px;
    }

    .search-line {
        width: 100%;
        gap: 12px;
    }

    .search-line input {
        font-size: 16px;
        padding: 10px 14px;
    }

    .menu-icon-btn {
        width: 24px;
        height: 24px;
    }

    /* Lista linków w menu */
    .menu-links {
        margin-top: 20px;
        margin-left: 20px;
    }

    .menu-links li {
        margin-bottom: 24px;
    }

    .menu-links a {
        font-size: 24px;
    }

    .menu-links a::after {
        bottom: -4px;
        height: 2px;
    }

    .icons-area-column.three-rows-layout {
        grid-template-columns: 1fr;
        margin: 0 auto;
        margin-top: -50px;
        width: fit-content;
        /* <-- szerokość dopasowana do zawartości */
    }

    .icon-row {
        justify-content: flex-start;
        /* <-- wyrównanie do lewej */
        text-align: left;
    }

    .label {
        font-size: 18px;
    }

    .description {
        font-size: 14px;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .quote-fundacja-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-fundacja-left .quote-text {
        font-size: 28px;
        margin-left: 100px;
    }


    .quote-fundacja-right {
        align-items: flex-start;
        margin-top: 30px;
    }

    .quote-inside-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
        gap: 40px;
    }

    .quote-inside-left .quote-text {
        font-size: 24px;
        margin-left: 100px;
    }

    .quote-inside-left .quote-icon {
        max-width: 60px;
        width: 100%;
        height: auto;
    }

    .quote-inside-right {
        align-items: flex-start;
    }

    .quote-inside-box {
        flex-direction: column;
        align-items: center;
    }

    .quote-inside-left,
    .quote-inside-right {
        width: 100%;
    }

    .quote-inside-right {
        margin-top: 30px;
    }

    .footsteps-container {
        position: left;
        height: 250px;
        /* dostosuj do liczby kroków */
    }

    .footsteps-wrapper {
        margin-top: 0px;
        height: 200px;
        width: 100%;
        position: relative;
        margin-bottom: -50px;
    }


    .footstep-frame {
        width: 40px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px 20px;
        margin-top: -40px;
    }

    .mv-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }

    .mv-item img {
        width: 60px;
        height: 60px;
    }

    .mv-text h3 {
        font-size: 23px;
        margin-bottom: 20px;
    }

    .mv-text h3::after {
        bottom: -8px;
        width: 50px;
    }

    .mv-text p {
        font-size: 17px;
        line-height: 1.4;
    }

    .quote-center {
        padding: 40px 20px;
        /* mniejszy margines */
    }

    .quote-center-container {
        max-width: 90%;
    }

    .quote-center-icon {
        top: -16px;
        left: 0;
        width: 32px;
    }

    .quote-center-text {
        font-size: 25px;
        line-height: 1.4;
        margin-top: 24px;
    }

    .forest-scroll {
        height: 50vh;
        position: relative;
    }

    #forestCanvas {
        min-height: 70vh;
    }

    .forest-scroll::after {
        content: "";
        display: block;
        height: 30vh;
        /* zapas miejsca na przewinięcie */
    }

    body.about .meaning-section-fixed {
        margin-top: 70px;
    }

    .quote3-section {
        flex-direction: column;
    }

    .quote3-left,
    .quote3-right {
        width: 100%;
    }

    .quote3-left {
        aspect-ratio: unset;
        height: auto;
    }

    .quote3-left img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .quote3-right {
        padding: 24px 20px;
    }

    .quote3-text {
        font-size: 16px;
        line-height: 1.5;
        padding: 0;
    }

    .quote3-text p {
        font-size: 16px;
        line-height: 1.5;
    }

    .titles3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .support-box {
        padding: 20px 15px;
        margin-top: 60px;
    }

    .support-text-box {
        padding: 0;
        gap: 15px;
    }

    .support-description {
        font-size: 16px;
        padding: 0 10px;
    }

    .support-description a {
        text-decoration: none;
        color: #8f4f3e;
    }

    .support-description a:hover {
        color: #2F2F2F;
    }

    .support-fancy-title {
        font-size: 36px;
    }

    .support-initial {
        font-size: 80px;
    }

    .white-description {
        padding: 20px 10px;
    }

    .support-content {
        flex-direction: column;
        padding-bottom: 40px;
        margin-top: 40px;
    }

    .sources-content {
        flex-direction: column;
        padding-bottom: 40px;
        margin-top: 40px;
    }

    .sources-box {
        padding: 20px 15px;
        margin-top: 60px;
    }

    .sources-box a {
        text-decoration: none;
        color: #2F483E;
    }

    .sources-description a {
        text-decoration: none;
        color: #2F483E;
    }

    .sources-description a:hover {
        color: #2F2F2F;
    }



    .sources-box a:hover {
        color: #2F2F2F;
    }

    .sources-description {
        font-size: 16px;
        padding: 0 10px 20px 10px;
    }

    .sources-text-box {
        gap: 15px;
    }

    .sources-fancy-title {
        font-size: 36px;
    }

    .sources-location-title {
        font-size: 26px;
    }

    .sources-initial {
        font-size: 80px;
    }

    .sources-location-initial {
        font-size: 60px;
    }

    .sources-hover-effect {
        margin-bottom: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .contact-item {
        font-size: 16px;
        padding: 20px;
    }

    .contact-fancy-title {
        font-size: 36px;
        text-align: center;
    }

    .contact-initial {
        font-size: 80px;
    }


    .actions-fancy-title {
        margin-top: 30px;
        font-size: 36px;
        text-align: center;
    }

    .actions-initial {
        font-size: 80px;
    }
}

@media (max-width: 600px) {
    .quote2-section {
        flex-direction: column-reverse;
    }

    .quote2-left,
    .quote2-right {
        width: 100%;
    }

    .quote2-left {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .quote2-text {
        font-size: 24px;
        padding: 0 20px;
    }

    .author {
        font-size: 18px;
        margin-left: 20px;
    }

    .quote2-icon {
        height: 50px;
    }

    .quote2-icon-wrapper {
        margin-left: 20px;
    }

    .footer-buttons-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-left: 0;
    }

    .footer-btn {
        width: 90%;
        max-width: 320px;
        height: 50px;
        font-size: 16px;
        padding: 12px 24px;
    }

    .footer-logo {
        max-width: 50%;
        height: auto;
        margin-bottom: 16px;
        align-self: center;
    }

}