/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/


:root{
    --lozad-animation: 0.8s;
    --lozad-animation-delay: 0.5s;
    --global-transition: 0.3s;
}

::selection{
    background-color: #8c7758 !important;
    color:white;
}

html,body{
    width: 100%;
    overflow-x: hidden;
    scroll-padding-top: var(--header-height);
    word-break: break-word;
}

*{ image-rendering: auto; }

/*
::-webkit-scrollbar { width: 0.6em; }
::-webkit-scrollbar-track { background:black; }
::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: var(--gold-gradient);
    border-radius:0;
    border:solid 2px black;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-color-hover); }*/

/* LOZAD ANIMATIONS */
.lozad.lozad-opacity,
.lozad .lozad-child.lozad-opacity{opacity: 0;}
.lozad.lozad-opacity[data-loaded=true],
.lozad[data-loaded=true] .lozad-child.lozad-opacity{
    animation: lozad-opacity var(--lozad-animation) ease-out forwards;
    animation-delay: var(--lozad-animation-delay);
    transition: opcaity var(--lozad-animation);
}
@keyframes lozad-opacity{
    from{opacity: 0;}
    to{opacity: 1;}
}

.lozad.lozad-opacity-0-5,
.lozad .lozad-child.lozad-opacity-0-5{opacity: 0;}
.lozad.lozad-opacity-0-5[data-loaded=true],
.lozad[data-loaded=true] .lozad-child.lozad-opacity-0-5{
    animation: lozad-opacity-0-5 var(--lozad-animation) ease-out forwards;
    animation-delay: var(--lozad-animation-delay);
    transition: opcaity var(--lozad-animation);
}
@keyframes lozad-opacity-0-5{
    from{opacity: 0;}
    to{opacity: 0.5;}
}

.lozad.lozad-opacity-0-1,
.lozad .lozad-child.lozad-opacity-0-1{opacity: 0;}
.lozad.lozad-opacity-0-1[data-loaded=true],
.lozad[data-loaded=true] .lozad-child.lozad-opacity-0-1{
    animation: lozad-opacity-0-1 var(--lozad-animation) ease-out forwards;
    animation-delay: var(--lozad-animation-delay);
    transition: opcaity var(--lozad-animation);
}
@keyframes lozad-opacity-0-1{
    from{opacity: 0;}
    to{opacity: 0.1;}
}

.lozad.lozad-left,
.lozad .lozad-child.lozad-left{opacity: 0;}
.lozad.lozad-left[data-loaded=true],
.lozad[data-loaded=true] .lozad-child.lozad-left{
    animation: lozad-left var(--lozad-animation) ease-out forwards;
    animation-delay: var(--lozad-animation-delay);
    transition: opcaity var(--lozad-animation);
}
@keyframes lozad-left{
    from{transform: translateX(-50%); opacity: 0;}
    to{transform: translateX(0px); opacity: 1;}
}
.lozad.lozad-right,
.lozad .lozad-child.lozad-right{opacity: 0;}
.lozad.lozad-right[data-loaded=true],
.lozad[data-loaded=true] .lozad-child.lozad-right{
    animation: lozad-right var(--lozad-animation) ease-out forwards;
    animation-delay: var(--lozad-animation-delay);
    transition: opcaity var(--lozad-animation);
}
@keyframes lozad-right{
    from{transform: translateX(50%); opacity: 0;}
    to{transform: translateX(0px); opacity: 1;}
}
.lozad.lozad-top,
.lozad .lozad-child.lozad-top{opacity: 0;}
.lozad.lozad-top[data-loaded=true],
.lozad[data-loaded=true] .lozad-child.lozad-top{
    animation: lozad-top var(--lozad-animation) ease-out forwards;
    animation-delay: var(--lozad-animation-delay);
    transition: opcaity var(--lozad-animation);
}
@keyframes lozad-top{
    from{transform: translateY(-50%); opacity: 0;}
    to{transform: translateY(0px); opacity: 1;}
}
.lozad.lozad-bottom,
.lozad .lozad-child.lozad-bottom{opacity: 0;}
.lozad.lozad-bottom[data-loaded=true],
.lozad[data-loaded=true] .lozad-child.lozad-bottom{
    animation: lozad-bottom var(--lozad-animation) ease-out forwards;
    animation-delay: var(--lozad-animation-delay);
    transition: opcaity var(--lozad-animation);
}
@keyframes lozad-bottom{
    from{transform: translateY(50%); opacity: 0;}
    to{transform: translateY(0px); opacity: 1;}
}
.lozad.lozad-blur,
.lozad .lozad-child.lozad-blur{opacity: 0; backface-visibility: hidden;}
.lozad.lozad-blur[data-loaded=true],
.lozad[data-loaded=true] .lozad-child.lozad-blur{
    animation: lozad-blur var(--lozad-animation) ease-out forwards;
    animation-delay: var(--lozad-animation-delay);
    transition: opcaity var(--lozad-animation);
}
@keyframes lozad-blur{
    from{transform: scale(1.5); filter: blur(5px); opacity: 0; backface-visibility: hidden;}
    to{transform: scale(1); filter: blur(0px); opacity: 1; backface-visibility: visible;}
}
.lozad.lozad-zoom,
.lozad .lozad-child.lozad-zoom{opacity: 0;}
.lozad.lozad-zoom[data-loaded=true],
.lozad[data-loaded=true] .lozad-child.lozad-zoom{
    animation: lozad-zoom var(--lozad-animation) ease-out forwards;
    animation-delay: var(--lozad-animation-delay);
    transition: opcaity var(--lozad-animation);
}
@keyframes lozad-zoom{
    from{transform: scale(0.5); opacity: 0;}
    to{transform: scale(1); opacity: 1;}
}


.lozad-delay-0{animation-delay: 0s !important;}
.lozad-delay-0-25{animation-delay: 0.25s !important;}
.lozad-delay-0-5{animation-delay: 0.5s !important;}
.lozad-delay-0-75{animation-delay: 0.75s !important;}
.lozad-delay-1{animation-delay: 1s !important;}
.lozad-delay-1-25{animation-delay: 1.25s !important;}
.lozad-delay-1-5{animation-delay: 1.5s !important;}
.lozad-delay-1-75{animation-delay: 1.75s !important;}
.lozad-delay-2{animation-delay: 2s !important;}
.lozad-delay-2-25{animation-delay: 2.25s !important;}
.lozad-delay-2-5{animation-delay: 2.5s !important;}
.lozad-delay-2-75{animation-delay: 2.75s !important;}
.lozad-delay-3{animation-delay: 3s !important;}
.lozad-delay-3-25{animation-delay: 3.25s !important;}
.lozad-delay-3-5{animation-delay: 3.5s !important;}
.lozad-delay-3-75{animation-delay: 3.75s !important;}
.lozad-delay-4{animation-delay: 4s !important;}
.lozad-delay-4-25{animation-delay: 4.25s !important;}
.lozad-delay-4-5{animation-delay: 4.5s !important;}
.lozad-delay-4-75{animation-delay: 4.75s !important;}
.lozad-delay-5{animation-delay: 5s !important;}
/*END LOZAD ANIMATIONS */

/* Main styles */
@import url('css/variables.css');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

p,
span,
div,
li,
td,
th,
blockquote,
figcaption,
label,
input,
select,
textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #444;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

h1{font-size: clamp(31px, 4vw, 54px) !important}
h2{font-size: clamp(28px, 3.6vw, 48px) !important;}
h3{font-size: clamp(25px, 3.2vw, 40px) !important;}
h4{font-size: clamp(22px, 3vw, 34px) !important;}
h5{font-size: clamp(19px, 2.5vw, 28px) !important;}
h6{font-size: clamp(16px, 2vw, 22px) !important;}


a {
    text-decoration: none;
    color: inherit;
}

a:hover{
    color: #8e7b5c;
}

ul {
    list-style: none;
}

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

button,
input,
textarea {
    font-family: 'Montserrat', sans-serif;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/* Ikony w nawigacji */
.material-icons,
.material-icons-outlined {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: inherit;
    vertical-align: middle;
}

/* Wspólne komponenty */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

/* Przyciski */
.button,
.cta-button,
.oval-button {
    display: inline-block;
    padding: 14px 35px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid var(--primary-color);
}

/* Przycisk pełny (wypełniony) */
.button-filled,
.cta-button {
    background-color: var(--primary-color);
    color: white;
}

.button-filled:hover,
.cta-button:hover {
    background-color: var(--primary-color-darker);
    border-color: var(--primary-color-darker);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Przycisk z obramowaniem */
.button-outline,
.oval-button {
    background-color: transparent;
    color: var(--primary-color);
}

.button-outline:hover,
.oval-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Przycisk ciemny - dla ciemnych tła */
.button-dark {
    background-color: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.button-dark:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Rozmiary przycisków */
.button-small {
    padding: 10px 25px;
    font-size: 13px;
}

.button-large {
    padding: 16px 45px;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 768px) {

    .button,
    .cta-button,
    .oval-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .button-small {
        padding: 8px 20px;
        font-size: 12px;
    }

    .button-large {
        padding: 14px 35px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {

    .button,
    .cta-button,
    .oval-button {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* Theme toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 100px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bubble-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Animacje */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Narzędzia */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.mt-5 {
    margin-top: 30px;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.mb-5 {
    margin-bottom: 30px;
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0) !important;
}

.scroll-down {
    transform: translateY(30px);
}

.scroll-up {
    transform: translateY(-30px);
}

.scroll-left {
    transform: translateX(-30px);
}

.scroll-right {
    transform: translateX(30px);
}

/* Styl dla nagłówków z separatorem */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Sidebar */
.sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 80px;
    height: 100vh;
    background-color: var(--sidebar-bg);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
    padding: 20px 0;
    border-left: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
    color: var(--text-color);
    transition: var(--transition);
    opacity: 0.7;
    cursor: pointer;
}

.sidebar-item:hover {
    opacity: 1;
}

.sidebar-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.sidebar-item span {
    font-size: 10px;
    text-align: center;
    white-space: nowrap;
    transform: rotate(-90deg);
    transform-origin: center;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Przycisk telefonu w rogu ekranu */
.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    display: none;
    /* Domyślnie ukryty */
}

.call-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.call-button a:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.call-button.pulse {
    animation: pulse 1s infinite;
}

@media (max-width: 768px) {
    .call-button {
        display: block;
        /* Pokazujemy tylko na mobilkach */
    }
}

/* Media Queries */
@media (max-width: 1400px) {
    :root {
        --container-width: 1140px;
    }
}

@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }

    .theme-toggle {
        right: 80px;
    }

    .back-to-top {
        right: 80px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 720px;
    }

    .sidebar {
        width: 60px;
    }

    .sidebar-item i {
        font-size: 18px;
    }

    .sidebar-item span {
        font-size: 9px;
    }

    .theme-toggle {
        right: 70px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .back-to-top {
        right: 70px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 540px;
    }

    .sidebar {
        width: 45px;
    }

    .sidebar-item i {
        font-size: 16px;
    }

    .sidebar-item span {
        font-size: 8px;
        margin-top: 8px;
    }

    .theme-toggle {
        right: 55px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .back-to-top {
        right: 15px;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 15px;
    }

    .button {
        padding: 10px 25px;
        font-size: 14px;
    }

    .theme-toggle {
        right: 50px;
        top: 15px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
    }
}

/* ===== HERO CONTACT STRIP ===== */
.hero-contact-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 30px 0;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.hero-contact-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    flex-wrap: wrap;
    gap: 60px;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 220px;
    text-align: left;
    position: relative;
}

/* Dostosowuję pozycję separatorów do nowych odstępów */
.hero-contact-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.hero-contact-item:hover .hero-contact-icon {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
}

.hero-contact-info {
    display: flex;
    flex-direction: column;
}

.hero-contact-label {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.hero-contact-info a,
.hero-contact-info span {
    color: #ffffff;
    font-weight: 500;
    font-size: 17px;
    transition: var(--transition);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-contact-info a:hover {
    color: var(--primary-color);
}

/* ===== SCROLL ARROW LEFT ===== */
.scroll-arrow-left {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    animation: floatArrow 2s ease-in-out infinite;
}

/* Animacja dla strzałki przewijania */
@keyframes floatArrow {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(-40%);
    }

    100% {
        transform: translateY(-50%);
    }
}

.scroll-arrow-left a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.scroll-arrow-left a:hover {
    transform: translateY(5px);
}

.arrow-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 500;
}

.arrow-line {
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    position: relative;
}

.arrow-point {
    width: 10px;
    height: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    border-left: 1px solid rgba(255, 255, 255, 0.7);
    transform: rotate(-45deg);
    position: relative;
    top: -5px;
    animation: pulseArrow 2s ease-in-out infinite;
}

/* Animacja dla końcówki strzałki */
@keyframes pulseArrow {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

.scroll-arrow-left a:hover .arrow-line {
    height: 100px;
    background-color: var(--primary-color);
}

.scroll-arrow-left a:hover .arrow-point {
    border-color: var(--primary-color);
}

.scroll-arrow-left a:hover .arrow-text {
    color: var(--primary-color);
}

/* Responsywność dla nowych elementów */
@media (max-width: 992px) {
    .hero-contact-container {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
        max-width: 100%;
        padding: 0 30px;
    }

    .hero-contact-strip {
        padding: 25px 0;
    }

    .scroll-arrow-left {
        left: 15px;
    }

    /* Usuń separatory gdy elementy układają się w pionie lub są zawinięte */
    .hero-contact-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-contact-container {
        padding: 0 20px;
        gap: 30px;
    }

    .hero-contact-item {
        min-width: 180px;
        margin: 10px 0;
    }

    .hero-contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-contact-info a,
    .hero-contact-info span {
        font-size: 14px;
    }

    .scroll-arrow-left {
        display: none;
        /* Ukrywamy strzałkę na mniejszych ekranach */
    }
}

@media (max-width: 576px) {
    .hero-contact-container {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .hero-contact-item {
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }

    .hero-contact-strip {
        padding: 20px 0;
    }
}

:root {
    /* Kolory */
    --primary-color: #8e7b5c;
    --primary-color-darker: #736346;
    --primary-rgb: 142, 123, 92;
    /* RGB dla primary-color do użycia w rgba() */
    --secondary-color: #5d534a;
    --background-light: #ffffff;
    --background-gray: #f8f8f8;
    --background-dark: #1a1a1a;
    --text-dark: #333333;
    --text-light: #777777;
    --text-secondary: #999999;
    --border-color: #e5e5e5;

    /* Fonty */
    --font-heading: 'Cinzel', serif;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Inne */
    --transition: all 0.3s ease;
    --shadow-small: 0 3px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 10px;
    --border-radius-small: 5px;
}

/* Sekcja rekomendacji */
.recommendations-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.recommendations-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.recommendation-item {
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.recommendation-item img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.recommendation-item:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .recommendations-container {
        gap: 30px;
    }

    .recommendation-item {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .recommendations-container {
        flex-direction: column;
        align-items: center;
    }

    .recommendation-item {
        max-width: 80%;
        margin-bottom: 20px;
    }
}

/* Sekcja z trumnami */
.coffins-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.coffins-section .section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1.2px;
}

.coffins-container {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.coffins-content {
    flex: 1;
    padding-right: 20px;
}

.coffins-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

.coffins-gallery {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coffin-image {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    max-width: 65%;
}

.coffin-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.5s ease;
    display: block;
}

.coffin-image-1 {
    bottom: 60px;
    left: 10%;
    z-index: 3;
    transform: rotate(-2deg);
}

.coffin-image-2 {
    top: 160px;
    right: 10%;
    z-index: 2;
    transform: rotate(2deg);
}

.coffin-image-3 {
    top: 10px;
    left: 20%;
    z-index: 1;
    transform: rotate(-1deg);
}

.coffin-image:hover {
    z-index: 10;
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Responsywność dla nowych sekcji */
@media (max-width: 992px) {
    .coffins-container {
        flex-direction: column;
    }

    .coffins-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .coffins-gallery {
        width: 100%;
        height: 650px;
    }
}

@media (max-width: 768px) {
    .coffins-gallery {
        height: 600px;
    }

    .coffin-image {
        max-width: 75%;
    }

    .coffin-image-1 {
        bottom: 70px;
        left: 15%;
    }

    .coffin-image-2 {
        top: 240px;
        right: 15%;
    }

    .coffin-image-3 {
        top: 50px;
        left: 22%;
    }
}

@media (max-width: 576px) {
    .coffins-gallery {
        height: 550px;
    }

    .coffin-image {
        max-width: 75%;
    }

    .coffin-image-1 {
        bottom: 100px;
        left: 12%;
    }

    .coffin-image-2 {
        top: 260px;
        right: 12%;
    }

    .coffin-image-3 {
        top: 60px;
        left: 15%;
    }
}

/* Style dla rekomendacji w stopce */
.recommendations-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.recommendation-footer-item {
    max-width: 180px;
    text-align: center;
    transition: transform 0.3s ease;
}

.recommendation-footer-item img {
    max-width: 100%;
    height: auto;
}

.recommendation-footer-item:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .recommendations-footer {
        gap: 15px;
    }

    .recommendation-footer-item {
        max-width: 160px;
    }
}

@media (max-width: 576px) {
    .recommendations-footer {
        flex-direction: column;
        align-items: center;
    }

    .recommendation-footer-item {
        max-width: 200px;
        margin-bottom: 15px;
    }
}

/* Style dla ikon SVG */
.icon-svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-bubble .icon-svg {
    vertical-align: middle;
    width: 18px;
    height: 18px;
}

.side-social-media .icon-svg {
    width: 16px;
    height: 16px;
}

/* Przycisk back to top z wskaźnikiem postępu */
.back-to-top {
    position: fixed;
    right: 100px;
    bottom: 80px;
    width: 60px;
    height: 60px;
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-progress {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 50%;
    background-color: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-progress:hover {
    transform: scale(1.1);
    background-color: rgba(35, 35, 35, 0.6);
}

.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.progress-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
}

.progress-circle-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 2;
    stroke-linecap: round;
    /* Obliczony jako 2 * π * r, gdzie r=28 */
    stroke-dasharray: 175.9292;
    stroke-dashoffset: 175.9292;
    transform-origin: center;
    transform: rotate(-90deg);
    transition: stroke-dashoffset 0.3s ease;
}

.back-to-top-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.scroll-progress:hover .back-to-top-icon {
    color: #ffffff;
    transform: translateY(-5px);
}

/* Dodajemy animację pulsowania dla przycisku back to top */
@keyframes pulse-back-to-top {
    0% {
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }

    100% {
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.back-to-top.pulse-animation .scroll-progress {
    animation: pulse-back-to-top 1.5s infinite;
}

/* Zwiększenie rozmiaru nagłówków */
h1 {
    font-size: 48px;
    line-height: 1.2;
}

h2 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 25px;
}

h3 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 25px;
}

.hero-heading {
    font-family: 'Cinzel', serif;
    font-size: 64px;
    line-height: 1.1;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.heading-line {
    font-family: 'Cinzel', serif;
}

/* Jaśniejszy tekst w przyciskach nawigacyjnych */
.nav-text {
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-icon {
    color: #ffffff;
}

/* Style dla nowego menu w side-menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: right 0.4s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    right: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu-logo {
    width: 150px;
    height: auto;
}

.close-menu {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #ffffff !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.close-menu span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
}

.side-menu-content {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.side-menu-nav {
    width: 100%;
    padding: 0 10px;
    font-family: 'Montserrat', sans-serif;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item a {
    display: block;
    padding: 12px 5px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.menu-item a:hover {
    color: var(--primary-color);
}

.menu-item.has-submenu>a {
    padding-right: 30px;
}

.submenu-toggle {
    position: absolute;
    right: 0;
    top: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
}

.menu-item.active .submenu-toggle {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: max-height 0.4s ease;
}

.menu-item.active .submenu {
    max-height: 1000px;
}

.submenu-item {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.submenu-item a {
    padding: 10px 10px 10px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    transition: all 0.3s ease;
}

.submenu-item a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
    .menu-item a {
        font-size: 15px;
        padding: 10px 5px;
    }

    .submenu-item a {
        font-size: 13px;
        padding: 8px 10px 8px 15px;
    }
}

/* Przyciski kontaktowe */
.floating-contact,
.floating-contact-left,
.floating-address {
    position: fixed;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

.floating-contact:hover,
.floating-contact-left:hover,
.floating-address:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.floating-contact {
    bottom: 20px;
    right: 90px;
    transform: translateX(100px);
}

.floating-contact-left {
    bottom: 20px;
    left: 20px;
    transform: translateX(-100px);
}

.floating-address {
    bottom: 80px;
    left: 20px;
    transform: translateX(-100px);
}

.floating-contact.visible,
.floating-address.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-contact-content,
.floating-address-content {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background-color: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.phone-icon,
.address-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.phone-icon span,
.address-icon span {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-text,
.address-text {
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .floating-contact {
        right: 80px;
    }

    .floating-contact-content,
    .floating-address-content {
        padding: 8px 16px;
    }

    .phone-icon,
    .address-icon {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }

    .phone-icon span,
    .address-icon span {
        font-size: 20px;
    }

    .contact-text,
    .address-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .floating-contact {
        right: 70px;
    }

    .floating-address {
        bottom: 70px;
    }
}

/* Stopka - zwiększenie kontrastu */
.footer {
    background-color: #1a1a1a;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer-title h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-contact-bar h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
}

.contact-label {
    color: #cccccc;
    font-size: 14px;
    font-weight: 500;
}

.contact-item a {
    color: #ffffff;
    font-weight: 600;
    transition: var(--transition);
}

.location-item h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.location-item h6 {
    font-size: 15px;
    margin: 15px 0 5px;
    color: #ffffff;
    font-weight: 600;
}

footer span{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #a0a0a0;
    line-height: 1.6;
}

.location-item p {
    margin-bottom: 8px;
    font-size: 15px;
    color: #cccccc;
    line-height: 1.6;
}

.location-item a {
    color: #ffffff;
    font-weight: 500;
    transition: var(--transition);
}

.company-info h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.company-info p {
    color: #cccccc;
    font-size: 15px;
    font-weight: 500;
}

.footer-links h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
}

.links-container a {
    color: #cccccc;
    transition: var(--transition);
    font-weight: 500;
}

.mobile-submenu{
    border-left: dashed 1px gray;
    padding-left: 10px !important;
    scale: 1 0 !important;
    transition: 0.5s !important;
    position: relative !important;
    transform-origin: top !important;
    display: block !important;
    height: 0 !important;
    opacity: 0 !important;
}


.submenu-header.active + .mobile-submenu{
    scale: 1 1 !important;
    height: auto !important;
    opacity: 1 !important;
}

.nav-tile{
    min-width: auto !important;
}

.nav-tile a {
    padding: 10px 15px !important;
    height: auto !important;
    min-width: unset !important;
}

.nav-text{
    font-size: clamp(12px, 1vw, 14px) !important;
}

.text-uppercase{
    text-transform: uppercase;
}

@media (min-width:992px){
    .hero-contact-container{
        gap: 15px !important;
    }
    .about-firm-container {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (min-width:1200px){
    .hero-contact-container{
        gap: 60px !important;
    }
}

@media (min-width:992px) and (max-width:1600px){
    section, header, main.hero, .hero-contact-strip, footer{
        padding-right:80px !important;
    }
}

@media (min-width:992px){
    footer.footer .footer-locations {
        grid-template-columns: 1fr 1fr 2fr !important;
    }
}

/* OPINIE PLUGIN STYLE */
.gwolle-gb div.input input, .gwolle-gb div.input textarea, .form-control, .widget_archive select, .widget_categories select, .wpcf7 .wpcf7-validation-errors, .wpcf7 input[type=color], .wpcf7 input[type=date], .wpcf7 input[type=datetime-local], .wpcf7 input[type=datetime], .wpcf7 input[type=email], .wpcf7 input[type=file], .wpcf7 input[type=month], .wpcf7 input[type=number], .wpcf7 input[type=range], .wpcf7 input[type=search], .wpcf7 input[type=submit], .wpcf7 input[type=tel], .wpcf7 input[type=text], .wpcf7 input[type=time], .wpcf7 input[type=url], .wpcf7 input[type=week], .wpcf7 select, .wpcf7 textarea {
    transition: 0.5s;
    padding: 5px 15px !important;
    background-color: rgba(0, 0, 0, 0.1);
    border: solid 1px;
    border-color: #8e7b5c;
    color: #333333;
    border-radius: 25px;
    box-shadow: none !important;
}

.wpcf7-form *::placeholder{
    color: #cccccc !important;
    font-weight: 800 !important;
}

.gwolle-gb .page-numbers{
    margin:0;
}

.gwolle-gb .page-navigation a, .gwolle-gb .page-navigation span{
    width: 40px;
    height: 40px;
    text-align: center;
    place-content: center;
}

.gwolle-gb div.input input:focus, .gwolle-gb div.input input:focus-visible, .gwolle-gb div.input textarea:focus, .form-control:focus, .widget_archive select:focus, .widget_categories select:focus, .wpcf7 .wpcf7-validation-errors:focus, .wpcf7 input[type=color]:focus, .wpcf7 input[type=date]:focus, .wpcf7 input[type=datetime-local]:focus, .wpcf7 input[type=datetime]:focus, .wpcf7 input[type=email]:focus, .wpcf7 input[type=file]:focus, .wpcf7 input[type=month]:focus, .wpcf7 input[type=number]:focus, .wpcf7 input[type=range]:focus, .wpcf7 input[type=search]:focus, .wpcf7 input[type=submit]:focus, .wpcf7 input[type=tel]:focus, .wpcf7 input[type=text]:focus, .wpcf7 input[type=time]:focus, .wpcf7 input[type=url]:focus, .wpcf7 input[type=week]:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
    color: #ffffff !important;
    background-color: #8e7b5c;
    border-color: #8e7b5c !important;
    box-shadow: none;
    outline: none;
}

@media (min-width:576px){
    .gwolle-gb-write{
        padding: 40px;
    }
}

.gwolle-gb-write h3, .gwolle_gb_notice{
    text-align: center;
}

.gwolle-gb-write-button{
    text-align: center;
}

.gwolle-gb .gwolle-gb-float div.label {
    text-align: center !important;
}

input[name=gwolle-gb-write-button]{
    transition: 0.5s;
    background-color: rgba(0, 0, 0, 0.1) !important;
    border: solid 1px;
    border-color: #8e7b5c;
    color: #333333;
    border-radius: 25px;
}

input[name=gwolle-gb-write-button]:hover{
        background-color: #8e7b5c !important;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.gwolle-gb-write .text-info{
    color: #222222 !important;
    text-align: center;
}

.gwolle-gb .gwolle-gb-read{
    text-align: center;
}

.gwolle-gb form.gwolle-gb-write{
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
        text-align: center !important;
}

.clear-both{
    clear:both;
}

.clearBoth, .gwolle-gb-invisible{
    height: 0;
}

.gwolle-gb-read{
    margin-top: 30px;
}

.gwolle-gb .gb-entry{
    text-align: center;
}

.gwolle-gb div.input{
    width: 100% !important;
    padding: 7px !important;
}

.gwolle-gb div.label{
    padding: 0px !important;
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    font-weight: 600;
    width: 100% !important;
}

.gb-author-avatar{
    display: none !important;
}

.gwolle-gb form.gwolle-gb-write button.gb-notice-dismiss{
    height: 32px !important;
    width: 32px !important;
    font-size: 32px !important;
    line-height: 0px !important;
    transition: 0.3s;
    padding-bottom: 4px !important;
}
.gwolle-gb form.gwolle-gb-write button.gb-notice-dismiss:hover{
    background:black !important;
}

.gwolle_gb_submit{
    width: 100% !important;
    font-weight: 600 !important;
}
.gwolle_gb_submit.button.btn.btn-primary{padding: 10px 15px !important;}
.gwolle_gb_submit.button.btn.btn-primary:hover{
    background:#8e7b5c !important;
    color: white !important;
}
#gwolle-gb-total{
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}
.gwolle-gb .gb-entry .gb-author-info .gb-author-name{
    font-size: 1.6rem;
}

.gb-author-name{
    padding-left: 0px !important;
}
.gwolle-gb .gb-entry .gb-entry-content{
    font-size: 1.1rem;
}

.gwolle-gb .gb-entry {
    padding: 25px 0 !important;
}
.gwolle-gb .gwolle-gb-float div.label{
    padding-right: 15px;
    text-align: right;
}

.gb-author-info{
    margin-bottom: 10px;
}

.gb-date{
    opacity: 0.7;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
}

.gwolle-gb .gb-entry .gb-author-info .gb-author-name, .gb-moderator, .text-info{
    font-family: 'Cinzel', serif;
    font-style: normal !important;
}

.gb-date-text, .gb-date-wrote-text, .gb-time-text, .gb-time-at-text{
    font-size: 12px !important;
}
.gb-time{
    display: none;
}
/* END OPINIE PLUGIN STYLE*/

.wrapper{
    padding:0 !important;
}

iframe{max-width: 100% !important; width:100%;}

.ceremony-container:empty, .cremation-container:empty;{display: none !important;}

.help-icon img{
    filter: invert(51%) sepia(7%) saturate(1469%) hue-rotate(359deg) brightness(94%) contrast(89%) !important;
    width: auto !important;
    height: auto !important;
    max-width: 45px;
    max-height: 45px;
}

#mobile-menu{
    transform: translateY(-50%) !important;
    position: absolute;
    left: auto !important;
    right: 15px !important;
    top: 50%;
}

@media (max-width:991px){
    .menu-toggle{
        position: relative !important;
        transform: none !important;
        left: 0 !important;
        top: 0 !important;
    }
}

@media (max-width:768px){
    html{
        padding-bottom: 63px;
        background-color: #1a1a1a;
    }
}