/* Tutaj będziemy dodawać style CSS */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

:root {
    --main-bg-color: #FAF7F3;
    --heading-color: #B88C9E;
    --main-text-color: #4E4A46;
    --accent-color: #A9B7A2;


    --cta-color: #4b3117;
    --section-bg-color: #F6ECE9;
    --footer-bg-color: #E2DFDC;
    --border-color: #735537;


    --navbar-bg-color: #fef6e2;
    --navbar-text-color: #3d593c;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    /* Ensure they always take full viewport width */
}

html {
    overflow-x: hidden;
    /* Powinno ukryć poziomy pasek przewijania */
}

body {
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    font-family: 'Lora', serif;
    font-size: 16px;
    /* Ustawienie bazowego rozmiaru czcionki */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: 'Playfair Display', serif;
}

.navbar.bg-light,
header.bg-light {
    background-color: var(--section-bg-color) !important;
    /* Nagłówek i navbar */
}



.btn-primary {
    background-color: var(--cta-color);
    border-color: var(--cta-color);
}

.btn-primary:hover {
    background-color: #c78b54;
    /* Ciemniejszy odcień terakoty na hover */
    border-color: #c78b54;
}

.btn-success {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-success:hover {
    background-color: #92a48b;
    border-color: #92a48b;
}

.bg-info {
    background-color: var(--accent-color) !important;
    /* Użyj zieleni szałwiowej dla bg-info */
}

.bg-light {
    background-color: var(--section-bg-color) !important;
}

.bg-dark {
    background-color: var(--footer-bg-color) !important;
    /* Użyj jasnej szarości dla stopki */
}

.text-white {
    color: var(--main-text-color) !important;
    /* Dostosuj biały tekst do nowego tła */
}

.text-success {
    color: var(--accent-color) !important;
    /* Zieleń szałwiowa dla ikon */
}

.text-danger {
    color: var(--heading-color) !important;
    /* Zgaszony róż dla ikon */
}

.text-primary {
    color: var(--cta-color) !important;
    /* Ciepły terakota dla ikon */
}

.navbar-nav .nav-link {
    font-size: 1.1em;
    /* Zwiększenie rozmiaru czcionki dla linków nawigacyjnych */
    padding-left: 1rem;
    padding-right: 1rem;
    color: var(--navbar-text-color) !important;
    /* Ustawienie koloru tekstu na ciemny */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--navbar-text-color) !important;
    opacity: 0.8;
    /* Delikatny efekt przy najechaniu */
}

.navbar {
    background-color: var(--navbar-bg-color) !important;
    width: 100%;
}

.navbar-custom-padding {
    padding-left: 0.0rem;
    padding-right: 2rem;
}

/* Pozycjonowanie navbar collapse na mobile do prawej */
@media (max-width: 991.98px) {
    .navbar-collapse {
        justify-content: flex-end !important;
        text-align: right !important;
    }

    .navbar-collapse .navbar-nav {
        justify-content: flex-end !important;
        width: auto !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    .navbar-collapse .navbar-nav .nav-item {
        text-align: right !important;
    }
}



.w-87-5 {
    width: 87.5%;
}

.top-bar-text {
    color: var(--navbar-text-color) !important;
    font-family: 'Imperial Script', cursive;
    font-size: 2.5rem;
    /* Delikatne dostosowanie rozmiaru */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Responsywne skalowanie tekstu KaroKwiaty */
@media (max-width: 576px) {
    .top-bar-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .top-bar-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 400px) {
    .top-bar-text {
        font-size: 1.6rem;
    }
}

.top-bar-text.fonts-loaded {
    opacity: 1;
}

.top-bar-logo {
    height: 60px;
    width: 60px;
    /* Setting a fixed width to prevent layout shift */
    display: block;
    /* Ensure it behaves as a block element */
}

.main-heading {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.parallax-section-2 {
    background-image: url('../img/backgrounds/DSCF4286.jpg');
    /* Zmień na swój obraz */
    /* background-attachment: fixed; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C2A794;
    /* Jasny kolor z palety Leśna Zieleń */
    text-shadow: 2px 2px 6px rgba(61, 89, 60, 0.8);
    /* Główny kolor z palety */
    z-index: 1050;
}

/* Leśna Zieleń palette for parallax section */
.parallax-section-2 h2 {
    color: #fef6e2 !important;
    /* Tło - jasny krem */
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(61, 89, 60, 0.9);
}

.parallax-section-2 p.lead {
    color: #fef6e2 !important;
    /* Tło - jasny krem (jaśniejszy) */
    text-shadow: 1px 1px 4px rgba(61, 89, 60, 0.7);
}

.parallax-section-2 .btn {
    background-color: #C2A794 !important;
    /* Jasny brąz bez opacity */
    border-color: var(--navbar-bg-color) !important;
    /* Beżowa obramówka */
    color: var(--navbar-bg-color) !important;
    /* Beżowy tekst */
    font-weight: 600;
    text-shadow: none;
}

.parallax-section-2 .btn:hover {
    background-color: #5D4A44 !important;
    /* Ciemny brąz przy hover */
    border-color: #3d593c !important;
    /* Ciemna zieleń przy hover */
    color: #fef6e2 !important;
    /* Jasny krem przy hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 74, 68, 0.4);
}

.parallax-content {
    text-align: center;
    padding: 20px;
    background-color: rgba(194, 167, 148, 0.8);
    /* Jasny brąz z 80% opacity */
    border-radius: 10px;
    border: 2px solid var(--navbar-bg-color);
    /* Beżowa obramówka */
    position: relative;
    /* Niezbędne dla z-index */
    z-index: 10;
    /* Wysoka wartość, aby tekst był na wierzchu */
}

.list-group-item {
    background-color: transparent !important;
    border-color: var(--border-color);
}



/* Styl dla przycisku powrotu do góry */
#scrollTopBtn {
    display: none;
    /* Ukryty domyślnie */
    position: fixed;
    /* Pozycja stała */
    bottom: 20px;
    /* 20px od dołu */
    right: 30px;
    /* 30px od prawej */
    z-index: 9999;
    /* Bardzo wysoki z-index, aby był nad wszystkimi innymi elementami */
    border: none;
    /* Brak obramowania */
    outline: none;
    /* Brak obrysu */
    background-color: var(--cta-color);
    /* Kolor tła przycisku */
    color: white;
    /* Kolor tekstu/ikony */
    cursor: pointer;
    /* Kursor wskazujący */
    padding: 15px;
    /* Wewnętrzny odstęp */
    border-radius: 10px;
    /* Zaokrąglone rogi */
    font-size: 18px;
    /* Rozmiar czcionki */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Delikatny cień */
    transition: background-color 0.3s, opacity 0.3s;
    /* Płynne przejścia */
    opacity: 1 !important;
    /* Pełna widoczność */
}

#scrollTopBtn:hover {
    background-color: #c78b54;
    /* Ciemniejszy odcień terakoty na hover */
    opacity: 1;
}





.pricing-table-wrapper {
    overflow-x: auto;
}

/* Style dla sekcji cennika - kopiowane z aboutme */
.pricing-section {
    background-color: #fef6e2 !important;
    /* Tło z palety Leśna Zieleń */
    border: 3px solid #3d593c !important;
    /* Obramowanie identyczne jak aboutme */
    margin: 0 !important;
}

/* Style dla tabelki w pricing.html - nadpisują Bootstrap */
.pricing-section .table {
    background-color: #fef6e2 !important;
}

.pricing-section .table thead tr {
    background-color: #3d593c !important;
}

.pricing-section .table thead th {
    color: #fef6e2 !important;
    border-color: #3d593c !important;
}

.pricing-section .table tbody tr {
    background-color: #fef6e2 !important;
    color: #5D4A44 !important;
}

.pricing-section .table tbody td {
    color: #5D4A44 !important;
    border-color: #3d593c !important;
}

.pricing-section .table tbody .fw-bold {
    color: #3d593c !important;
}

/* Style dla obramowania sekcji aboutme */
.aboutme-forest-green #about-me-content {
    border: 3px solid #3d593c !important;
    background-color: #fef6e2 !important;
}

/* Style dla listy dodatków w pricing.html */
.pricing-section .list-group {
    background-color: #A1B0A0 !important;
}

.pricing-section .list-group-item {
    background-color: #A1B0A0 !important;
    color: #5D4A44 !important;
    border-color: #3d593c !important;
    font-size: 1.1rem !important;
    padding: 1rem !important;
}

.pricing-section .list-group-item .fw-bold {
    color: #3d593c !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

/* Responsywność dla tabel cennika */
@media (max-width: 768px) {
    .pricing-section .table thead th {
        font-size: 1rem !important;
        padding: 0.8rem 0.3rem !important;
    }

    .pricing-section .table tbody td {
        font-size: 1rem !important;
        padding: 0.6rem 0.3rem !important;
    }

    .pricing-section .table tbody .fw-bold {
        font-size: 1.1rem !important;
    }

    .pricing-section .list-group-item {
        font-size: 1rem !important;
        padding: 0.8rem !important;
    }

    .pricing-section .list-group-item .fw-bold {
        font-size: 1.1rem !important;
    }
}

/* Bardzo specyficzne style dla tabelki w pricing.html - nadpisują Bootstrap */
.pricing-section .table,
.pricing-section .table.table-hover {
    background-color: #A1B0A0 !important;
}

.pricing-section .table thead tr,
.pricing-section .table.table-hover thead tr {
    background-color: #3d593c !important;
}

.pricing-section .table thead th,
.pricing-section .table.table-hover thead th {
    color: #fef6e2 !important;
    border-color: #3d593c !important;
    background-color: #3d593c !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    padding: 1rem 0.5rem !important;
}

.pricing-section .table tbody tr,
.pricing-section .table.table-hover tbody tr {
    background-color: #A1B0A0 !important;
    color: #5D4A44 !important;
}

.pricing-section .table tbody tr:hover,
.pricing-section .table.table-hover tbody tr:hover {
    background-color: #A1B0A0 !important;
    color: #5D4A44 !important;
}

.pricing-section .table tbody td,
.pricing-section .table.table-hover tbody td {
    color: #5D4A44 !important;
    border-color: #3d593c !important;
    background-color: #A1B0A0 !important;
    font-size: 1.1rem !important;
    padding: 0.8rem 0.5rem !important;
}

.pricing-section .table tbody tr:hover td,
.pricing-section .table.table-hover tbody tr:hover td {
    background-color: #A1B0A0 !important;
    color: #5D4A44 !important;
}

.pricing-section .table tbody .fw-bold,
.pricing-section .table.table-hover tbody .fw-bold {
    color: #3d593c !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

.parallax-content h2 {
    font-size: 2.5em;
}







/* Zmiany dla sekcji FAQ */
.accordion-item .accordion-header .accordion-button {
    background-color: var(--section-bg-color) !important;
    color: var(--heading-color) !important;
    border-color: var(--border-color);
    font-size: 1.1rem !important;
    /* Zwiększona czcionka pytań */
    line-height: normal !important;
}

.accordion-item .accordion-button:not(.collapsed) {
    color: var(--heading-color) !important;
    background-color: var(--section-bg-color) !important;
    box-shadow: none;
}

.accordion-item .accordion-collapse .accordion-body {
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    font-size: 1rem !important;
    /* Zwiększona czcionka odpowiedzi */
    line-height: normal !important;
}

/* Usuwa ramki tylko dla kart w galerii */
.gallery-section .card {
    border: none;
    background-color: transparent;
}

/* Nowe style dla ikonek w galerii */
.gallery-icon {
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading spinner dla galerii */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 10;
}

.loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
    color: #A1B0A0 !important;
}

.loading-spinner p {
    color: #6c757d !important;
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Style dla okna modalnego */
#galleryModal .modal-content {
    background-color: transparent;
    border: none;
}

#galleryModal .modal-header {
    border: none;
}

#galleryModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Style dla kontenera obrazu */
#galleryModal .image-container {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: relative;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: none;
}

#galleryModal .image-container:active {
    cursor: grabbing;
}

#galleryModal .modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    transition: transform 0.1s ease-out;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: none;
}

#galleryModal .modal-image:active {
    cursor: grabbing;
}

/* Style dla przycisków nawigacji w galerii */
#galleryModal #prevBtn,
#galleryModal #nextBtn {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(61, 89, 60, 0.3) !important;
    color: #3d593c !important;
    transition: all 0.3s ease;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#galleryModal #prevBtn:hover,
#galleryModal #nextBtn:hover {
    background-color: rgba(255, 255, 255, 1) !important;
    border-color: #3d593c !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(61, 89, 60, 0.3);
}

#galleryModal #prevBtn:disabled,
#galleryModal #nextBtn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
    transform: none;
}

#galleryModal #prevBtn:disabled:hover,
#galleryModal #nextBtn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Style dla licznika zdjęć */
#galleryModal #imageCounter {
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

/* Style dla kontrolek zoom */
#galleryModal .btn-group .btn {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(61, 89, 60, 0.3) !important;
    color: #3d593c !important;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
}

#galleryModal .btn-group .btn:hover {
    background-color: rgba(255, 255, 255, 1) !important;
    border-color: #3d593c !important;
    transform: scale(1.05);
}

#galleryModal .btn-group .btn:active {
    transform: scale(0.95);
}

/* Responsywność dla przycisków nawigacji */
@media (max-width: 768px) {

    #galleryModal #prevBtn,
    #galleryModal #nextBtn {
        min-width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    #galleryModal #imageCounter {
        font-size: 0.8rem;
    }
}

/* Elegant Service Section - Design System Implementation */
.elegant-service-section {
    background: linear-gradient(135deg, #F8F6F0 0%, #FAF8F4 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    opacity: 0.8;
}

/* Organic background texture */
.elegant-service-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 30%, rgba(212, 165, 165, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(122, 132, 113, 0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.elegant-service-section .container {
    position: relative;
    z-index: 2;
}

/* Typography */
.elegant-headline {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #4a4a4a;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.elegant-subtext {
    font-size: 1.2rem;
    color: #6b6b6b;
    line-height: 1.7;
    font-weight: 300;
    margin: 0 auto;
}

.max-width-800 {
    max-width: 800px;
}

/* Service Cards */
.service-card {
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Circular Image Containers */
.service-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image-bottom-aligned {
    object-position: center bottom;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

/* Service Card Typography */
.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #4a4a4a;
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 1rem;
    color: #7a7a7a;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto 1.5rem;
}

/* Elegant Buttons - Pill-shaped */
.elegant-btn-primary,
.elegant-btn-secondary {
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.02em;
}

.elegant-btn-primary {
    background: linear-gradient(135deg, #3d593c, #2d4a2c);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 89, 60, 0.3);
}

.elegant-btn-primary:hover {
    background: linear-gradient(135deg, #2d4a2c, #1d3a1c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 89, 60, 0.4);
}

.elegant-btn-secondary {
    background: linear-gradient(135deg, #3d593c, #2d4a2c);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 89, 60, 0.3);
}

.elegant-btn-secondary:hover {
    background: linear-gradient(135deg, #2d4a2c, #1d3a1c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 89, 60, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .elegant-headline {
        font-size: 2.2rem;
    }

    .elegant-subtext {
        font-size: 1.1rem;
    }

    .service-image-container {
        width: 160px;
        height: 160px;
    }

    .elegant-service-section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .elegant-headline {
        font-size: 1.9rem;
    }

    .elegant-service-section {
        padding: 3rem 0;
    }

    .service-image-container {
        width: 140px;
        height: 140px;
    }
}

/* Leśna Zieleń Palette for About Me Page */
.aboutme-forest-green {
    --forest-primary: #3d593c;
    /* Główny - ciemna zieleń */
    --forest-accent: #A1B0A0;
    /* Akcent 1 - jasna zieleń */
    --forest-background: #fef6e2;
    /* Tło - jasny krem */
    --forest-dark: #5D4A44;
    /* Ciemny - ciemny brąz */
    --forest-light: #C2A794;
    /* Jasny - jasny brąz */
}

/* About Me Page - Forest Green Theme */
#about-me-content {
    background: linear-gradient(135deg, var(--forest-background) 0%, #faf6e0 100%) !important;
    border: 2px solid var(--forest-accent) !important;
    box-shadow: 0 10px 30px rgba(93, 74, 68, 0.15) !important;
}

#about-me-content h2 {
    color: var(--forest-primary) !important;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

#about-me-content p {
    color: var(--forest-dark) !important;
    line-height: 1.7;
}

#about-me-content .img-fluid {
    border: 3px solid var(--forest-accent) !important;
    box-shadow: 0 8px 25px rgba(161, 176, 160, 0.3) !important;
}

/* About Me Icons with Forest Green Theme */
#about-me-content .text-primary {
    color: var(--forest-primary) !important;
}

#about-me-content .text-danger {
    color: var(--forest-accent) !important;
}

#about-me-content .text-success {
    color: var(--forest-light) !important;
}

#about-me-content h3 {
    color: var(--forest-primary) !important;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.5rem;
}

/* Main heading on About Me page */
.aboutme-main-heading {
    color: var(--forest-primary) !important;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(161, 176, 160, 0.3);
}

/* Main heading on hero image */
.main-heading-on-image {
    color: var(--navbar-bg-color) !important;
    /* Beżowy kolor */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 600;
    -webkit-text-stroke: 1px #C2A794;
}

/* Style dla przycisków w hero section */
.hero-buttons-container {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 20;
}

.hero-btn-left,
.hero-btn-right {
    background-color: #C2A794 !important;
    /* Jasny brąz bez opacity */
    border-color: var(--navbar-bg-color) !important;
    /* Beżowa obramówka */
    color: var(--navbar-bg-color) !important;
    /* Beżowy tekst */
    font-weight: 600;
    text-shadow: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    white-space: nowrap;
}

.hero-btn-left:hover,
.hero-btn-right:hover {
    background-color: #5D4A44 !important;
    /* Ciemny brąz przy hover */
    border-color: #3d593c !important;
    /* Ciemna zieleń przy hover */
    color: #fef6e2 !important;
    /* Jasny krem przy hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 74, 68, 0.4);
}

/* Reset stanu przycisku po kliknięciu */
.hero-btn-left:focus,
.hero-btn-right:focus,
.hero-btn-left:active,
.hero-btn-right:active {
    background-color: #C2A794 !important;
    border-color: var(--navbar-bg-color) !important;
    color: var(--navbar-bg-color) !important;
    transform: none;
    box-shadow: none;
    outline: none;
}

/* Naprawka dla urządzeń mobilnych - reset stanu touch */
.hero-btn-left:focus-visible,
.hero-btn-right:focus-visible {
    outline: none;
}

/* Usunięcie domyślnych stylów touch na mobile */
.hero-btn-left,
.hero-btn-right {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Agresywny reset stanu na mobile */
@media (max-width: 768px) {

    .hero-btn-left,
    .hero-btn-right {
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }

    .hero-btn-left:active,
    .hero-btn-right:active,
    .hero-btn-left:focus,
    .hero-btn-right:focus,
    .hero-btn-left:visited,
    .hero-btn-right:visited {
        background-color: #C2A794 !important;
        border-color: var(--navbar-bg-color) !important;
        color: var(--navbar-bg-color) !important;
        transform: none !important;
        box-shadow: none !important;
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
}

/* Responsywność dla przycisków hero */
@media (max-width: 768px) {
    .hero-buttons-container {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        gap: 0.3rem;
    }

    .hero-btn-left,
    .hero-btn-right {
        min-width: auto;
        width: auto;
        max-width: 200px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons-container {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        gap: 0.2rem;
    }

    .hero-btn-left,
    .hero-btn-right {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        min-width: 100px;
        max-width: 150px;
    }
}

/* Zabezpieczenia dla skalowania ekranu i dostępności */
@media (max-resolution: 96dpi),
(max-resolution: 1dppx) {

    .hero-btn-left,
    .hero-btn-right {
        font-size: 1rem !important;
        padding: 1rem 2rem !important;
        min-width: 250px !important;
        box-sizing: border-box !important;
    }
}

/* Zabezpieczenia dla skalowania na małych ekranach */
@media (max-resolution: 96dpi) and (max-width: 768px),
(max-resolution: 1dppx) and (max-width: 768px) {

    .hero-btn-left,
    .hero-btn-right {
        min-width: 200px !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
}

/* Zabezpieczenia dla wysokiego kontrastu i dostępności */
@media (prefers-contrast: high) {

    .hero-btn-left,
    .hero-btn-right {
        border-width: 3px !important;
        font-weight: 700 !important;
        box-sizing: border-box !important;
    }
}

/* Zabezpieczenia dla zmniejszonego ruchu */
@media (prefers-reduced-motion: reduce) {

    .hero-btn-left,
    .hero-btn-right {
        transition: none !important;
    }

    .hero-btn-left:hover,
    .hero-btn-right:hover {
        transform: none !important;
    }
}

/* Hero Image Section - rozciąganie do bocznych krawędzi */
.hero-image-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    border: 3px solid #3d593c !important;
    /* Obramowanie identyczne jak aboutme */
}

.hero-image-section .hero-image {
    width: 100vw;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-text-overlay {
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    padding: 2rem 0;
}

/* Arch Process Section - Based on arch_section.json design system */
.arch-process-section {
    background-color: #FDF8F2;
    /* page background from JSON */
    padding: 4rem 2rem;
    contain: layout;
    will-change: auto;
}

.arch-process-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.arch-process-heading {
    text-align: center;
    margin-bottom: 3rem;
    color: #A88B79;
    /* primary text from JSON */
    font-size: 2.5rem;
    font-weight: 600;
}

.arch-process-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #F9F2E9;
    /* card surface from JSON */
    border-radius: 0 0 16px 16px;
    overflow: visible;
    transition: transform 0.2s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.arch-process-card:hover {
    transform: translate3d(0, -3px, 0);
}

.arch-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #A88B79;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.arch-image-frame::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: #F9F2E9;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}



.arch-process-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.arch-content-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem 1.5rem 1.5rem;
    gap: 0.5rem;
}

.arch-process-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #A88B79;
    /* primary text from JSON */
    margin-bottom: 1rem;
}

.arch-process-text {
    font-size: 0.875rem;
    color: #B59F91;
    /* secondary text from JSON */
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.arch-process-number {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    color: #B59F91;
    /* secondary text from JSON */
}

.arch-process-number::after {
    content: ' >';
    margin-left: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .arch-process-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .arch-process-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .arch-process-heading {
        font-size: 2rem;
    }

    .arch-process-section {
        padding: 3rem 1rem;
    }

    .arch-process-title {
        font-size: 1rem;
    }

    .arch-process-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .arch-process-number {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .arch-process-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .arch-process-heading {
        font-size: 1.8rem;
    }

    .arch-process-section {
        padding: 2rem 0.5rem;
    }

    .arch-process-title {
        font-size: 0.9rem;
    }

    .arch-process-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .arch-process-number {
        font-size: 0.65rem;
    }
}

/* Zabezpieczenia dla skalowania ekranu - sekcja Mój Proces */
@media (max-resolution: 96dpi),
(max-resolution: 1dppx) {
    .arch-process-heading {
        font-size: 3rem !important;
    }

    .arch-process-title {
        font-size: 1.5rem !important;
    }

    .arch-process-text {
        font-size: 1.1rem !important;
        line-height: 1.8 !important;
    }

    .arch-process-number {
        font-size: 1rem !important;
    }
}

/* Zabezpieczenia dla wysokiego kontrastu - sekcja Mój Proces */
@media (prefers-contrast: high) {
    .arch-process-title {
        font-weight: 700 !important;
        color: #5D4A44 !important;
    }

    .arch-process-text {
        font-weight: 600 !important;
        color: #3d593c !important;
    }

    .arch-process-number {
        font-weight: 600 !important;
        color: #3d593c !important;
    }
}

/* Combined CTA Section with Beautiful Background */
.combined-cta-section {
    background-image: url('../img/backgrounds/DSCF4300.jpg');
    background-position: 45% 47%;
    background-repeat: no-repeat;
    background-size: 160%;
    min-height: 600px;
    position: relative;
    padding: 6rem 0;
    display: flex;
    align-items: center;
}

/* Overlay całkowicie usunięty - zdjęcie w pełnej okazałości */

.combined-cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content-box {
    background: rgba(254, 246, 226, 1);
    /* Jasny krem z 50% przezroczystością */
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(161, 176, 160, 0.7);
    /* Większy box dla połączonej treści */
    max-width: 700px;
    margin: 0 auto;
}

.cta-content-box h2 {
    color: #3d593c !important;
    /* Główny kolor palety */
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta-content-box p {
    color: #5D4A44 !important;
    /* Ciemny brąz z palety */
    font-size: 1.25rem;
    line-height: 1.6;
}

.cta-content-box .btn {
    background-color: #A1B0A0 !important;
    /* Akcent 1 z palety */
    border-color: #3d593c !important;
    /* Główny kolor */
    color: #3d593c !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cta-content-box .btn:hover {
    background-color: #3d593c !important;
    /* Główny przy hover */
    border-color: #5D4A44 !important;
    color: #fef6e2 !important;
    /* Jasny krem przy hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61, 89, 60, 0.3);
}

/* Responsive dla Combined CTA */
@media (max-width: 768px) {
    .combined-cta-section {
        padding: 4rem 0;
        min-height: 500px;
    }

    .cta-content-box {
        padding: 3rem 2rem;
        margin: 0 1rem;
        max-width: none;
    }

    .cta-content-box h2 {
        font-size: 1.5rem;
    }

    .cta-content-box p {
        font-size: 1.1rem;
    }
}

/* Contact Main - usunięcie odstępów */
.contact-main {
    padding: 0 !important;
    margin: 0 !important;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #fef6e2 !important;
    /* Tło z palety Leśna Zieleń */
    border: 3px solid #3d593c !important;
    /* Obramowanie identyczne jak aboutme */
    margin: 0 !important;
    padding: 3rem !important;
    /* Własny padding zamiast Bootstrap p-5 */
}

.contact-form-section h2 {
    color: #3d593c !important;
    /* Główny kolor z palety */
}

.contact-form-section .lead {
    color: #5D4A44 !important;
    /* Ciemny brąz z palety */
}

.contact-form-section p {
    color: #5D4A44 !important;
    /* Ciemny brąz z palety */
}

.contact-form-section .btn-primary {
    background: linear-gradient(135deg, #3d593c, #2d4a2c) !important;
    border-color: #3d593c !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(61, 89, 60, 0.3);
}

.contact-form-section .btn-primary:hover {
    background: linear-gradient(135deg, #2d4a2c, #1d3a1c) !important;
    border-color: #2d4a2c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 89, 60, 0.4);
}

.contact-form-section .btn-secondary {
    background: linear-gradient(135deg, #A1B0A0, #8B9A8A) !important;
    border-color: #A1B0A0 !important;
    color: #3d593c !important;
    box-shadow: 0 4px 15px rgba(161, 176, 160, 0.3);
}

.contact-form-section .btn-secondary:hover {
    background: linear-gradient(135deg, #8B9A8A, #7A897A) !important;
    border-color: #8B9A8A !important;
    color: #2d4a2c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(161, 176, 160, 0.4);
}

/* Zapewnienie poprawnego działania linków mailto */
.contact-form-section a[href^="mailto:"] {
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
}

.contact-form-section a[href^="mailto:"]:hover {
    text-decoration: none;
}

/* Style dla wskaźnika statusu kopiowania */
.copy-status-indicator {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: help;
}

.copy-status-indicator i {
    transition: all 0.3s ease;
}

.copy-status-indicator:hover {
    transform: scale(1.1);
}

/* Contact Image Section */
.contact-image-section {
    padding: 40px 0 0 0;
    /* Usunięto padding-bottom */
    background-color: #fef6e2;
    /* Tło z palety Leśna Zieleń */
    margin-bottom: 0 !important;
    /* Usunięcie marginesu dolnego */
    border-bottom: 2px solid #A1B0A0;
    /* Obramowanie dolne w kolorze akcent 1 - spójne z innymi sekcjami */
    min-height: 400px;
    /* Minimalna wysokość sekcji */
    position: relative;
    /* Pozycjonowanie względne */
}

.contact-image-container {
    max-width: 800px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Wycentrowanie absolutne */
}

.contact-image {
    width: 100%;
    height: 300px;
    /* Stała wysokość */
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(61, 89, 60, 0.2);
    /* Cień w kolorze głównym z palety */
    border: 3px solid #A1B0A0;
    /* Obramowanie w kolorze akcent 1 z palety */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(61, 89, 60, 0.3);
    /* Ciemniejszy cień przy hover */
    border-color: #3d593c;
    /* Ciemniejsze obramowanie przy hover */
}

/* Responsive dla Contact Image Section */
@media (max-width: 768px) {
    .contact-image-section {
        padding: 30px 0 0 0;
        min-height: 300px;
    }

    .contact-image {
        height: 250px;
    }
}

/* Contact Footer - usunięcie odstępu */
.contact-footer {
    margin-top: 0 !important;
    /* Usunięcie marginesu górnego */
}

/* FAQ Page Styles */
.faq-main {
    padding: 0 !important;
    margin: 0 !important;
}

.faq-section {
    background-color: #fef6e2 !important;
    /* Tło z palety Leśna Zieleń */
    border: 3px solid #3d593c !important;
    /* Obramowanie identyczne jak aboutme */
    margin: 0 !important;
}

.faq-section h2 {
    color: #3d593c !important;
    /* Główny kolor z palety */
}

/* FAQ Accordion Styles */
.faq-section .accordion-button,
.faq-section .accordion-button.collapsed {
    background-color: #A1B0A0 !important;
    /* Tło zielone z palety */
    color: #3d593c !important;
    /* Główny kolor tekstu */
    border: 1px solid #3d593c !important;
    /* Obramowanie w głównym kolorze */
    font-weight: 600;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: #3d593c !important;
    /* Główny kolor przy rozwinięciu */
    color: #fef6e2 !important;
    /* Jasny krem na tle głównego koloru */
    box-shadow: 0 0 0 0.25rem rgba(61, 89, 60, 0.25) !important;
    /* Cień w kolorze głównym */
}

.faq-section .accordion-button:hover,
.faq-section .accordion-button.collapsed:hover {
    background-color: #3d593c !important;
    /* Główny kolor przy hover */
    color: #fef6e2 !important;
    /* Jasny krem na tle głównego koloru */
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(61, 89, 60, 0.25) !important;
    /* Cień w kolorze głównym */
    border-color: #3d593c !important;
}

.faq-section .accordion-body {
    background-color: #fef6e2 !important;
    /* Tło z palety */
    color: #5D4A44 !important;
    /* Ciemny brąz z palety */
    border: 1px solid #A1B0A0 !important;
    border-top: none !important;
}

.faq-section .accordion-item {
    border: 1px solid #A1B0A0 !important;
    /* Obramowanie elementu */
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

/* Cookie Consent Banner */
#cookieConsentBanner {
    background-color: #fef6e2 !important;
    /* Tło z palety Leśna Zieleń */
    color: #3d593c !important;
    /* Główny kolor tekstu */
    border-top: 3px solid #3d593c;
    /* Zielone obramowanie górne */
    box-shadow: 0 -4px 15px rgba(61, 89, 60, 0.2);
    /* Cień w kolorze głównym */
}

#cookieConsentBanner .btn-primary {
    background-color: #3d593c !important;
    /* Główny kolor przycisku */
    border-color: #3d593c !important;
    color: #fef6e2 !important;
    /* Jasny krem na tle głównego koloru */
    font-weight: 600;
    transition: all 0.3s ease;
}

#cookieConsentBanner .btn-primary:hover {
    background-color: #2d4a2c !important;
    /* Ciemniejszy odcień przy hover */
    border-color: #2d4a2c !important;
    color: #fef6e2 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 89, 60, 0.3);
}

/* Gallery Main - usunięcie odstępów */
.gallery-main {
    padding: 0 !important;
    margin: 0 !important;
}

/* Gallery Footer - usunięcie odstępu */
.gallery-footer {
    margin-top: 0 !important;
    /* Usunięcie marginesu górnego */
}

/* Privacy Page Styles */
.privacy-main {
    padding: 0 !important;
    margin: 0 !important;
}

.privacy-section {
    background-color: #fef6e2 !important;
    /* Tło z palety Leśna Zieleń */
    border: 3px solid #3d593c !important;
    /* Obramowanie identyczne jak aboutme */
    margin: 0 !important;
    /* Usunięcie marginesu górnego */
}

.privacy-section h1 {
    color: #3d593c !important;
    /* Główny kolor z palety */
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.privacy-section h2 {
    color: #3d593c !important;
    /* Główny kolor z palety */
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-section h3 {
    color: #3d593c !important;
    /* Główny kolor z palety */
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.privacy-section p {
    color: #5D4A44 !important;
    /* Ciemny brąz z palety */
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-section ul {
    color: #5D4A44 !important;
    /* Ciemny brąz z palety */
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

/* Privacy Footer - usunięcie odstępu */
.privacy-footer {
    margin-top: 0 !important;
    /* Usunięcie marginesu górnego */
}

/* Index Footer - usunięcie odstępu */
.index-footer {
    margin-top: 0 !important;
    /* Usunięcie marginesu górnego */
}

/* Gallery Section */
.gallery-section {
    background-color: #fef6e2 !important;
    /* Jasnozielony z palety Leśna Zieleń */
    border: 3px solid #3d593c !important;
    /* Obramowanie identyczne jak aboutme */
    margin: 0 !important;
    padding: 3rem !important;
    /* Własny padding zamiast Bootstrap p-5 */
}

.gallery-section h2 {
    color: #3d593c !important;
    /* Główny kolor z palety */
    font-size: 2.5em;
}

/* Gallery Images */
.gallery-section .gallery-icon {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(61, 89, 60, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-section .gallery-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(61, 89, 60, 0.3);
}

.gallery-section .gallery-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-section .gallery-icon:hover img {
    transform: scale(1.05);
}

/* Cookie Banner Styles */
.cookie-banner-hidden {
    display: none !important;
}

/* Navbar Toggler Styles */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233d593c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Instagram Icon Styles */
.fab.fa-instagram {
    display: inline-block !important;
    font-size: 1.5rem;
    color: inherit;
    transition: color 0.3s ease;
}

.fab.fa-instagram:hover {
    color: inherit;
    opacity: 0.8;
}

.instagram-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.instagram-link:hover {
    transform: scale(1.1);
}

/* Footer Icon Styles */
.footer-icon {
    display: inline-block !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.footer-icon:hover {
    transform: scale(1.2);
}

/* Ensure Font Awesome icons are visible */
.fab,
.fas,
.far {
    display: inline-block !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Instagram button styles */
.instagram-link {
    display: inline-block !important;
    text-decoration: none !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.instagram-link:hover {
    text-decoration: none !important;
    opacity: 0.8 !important;
}

/* Force Instagram button to be visible */
.btn.instagram-link {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Prevent any CSS from hiding Instagram button */
.instagram-link[style*="display: none"] {
    display: inline-block !important;
}

.instagram-link[style*="visibility: hidden"] {
    visibility: visible !important;
}

/* Override any JavaScript that might hide the button */
.instagram-link {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}