/*
Theme Name: Artis Reno
Author: Adam Czemko
Description: Prosty szablon oparty na Bootstrap 5.3
Version: 1.0
*/

/* style */
/* Stylizacja strony 404 */
.error-404-page {
    min-height: 85vh; /* Zajmuje prawie całą wysokość ekranu */
    overflow: hidden;
    position: relative;
}

/* Duży napis 404 w tle */
.error-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25rem;
    font-weight: 900;
    color: rgba(255, 182, 0, 0.03); /* Bardzo subtelny żółty akcent */
    z-index: 1;
    user-select: none;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}

/* Dodatkowa animacja dla kasku */
.error-404-page .fa-hard-hat {
    animation: wobble 3s infinite ease-in-out;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
    .error-bg-text {
        font-size: 15rem;
    }
    .error-404-page h1 {
        font-size: 2.5rem;
    }
}

body.admin-bar .navbar.fixed-top {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar.fixed-top {
        top: 46px;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* To "rozpycha" środek strony, spychając footer na dół */
}

body {
    background-color: #f8f9fa;
}

/* Wspólne ustawienia dla dekoracji w Headerach */
.page-header {
    position: relative;
    overflow: hidden;
}

/* Dekoracja dla podstrony KONTAKT (Trójkątne "narożniki") */
.decoration-contact {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 182, 0, 0.15) 50%);
    z-index: 0;
}

/* Dekoracja dla ARCHIWUM PORTFOLIO (Pasy "budowlane") */
.decoration-archive {
    position: absolute;
    bottom: -20px;
    right: 10%;
    width: 150px;
    height: 150px;
    border: 15px solid #FFB600;
    opacity: 0.1;
    transform: rotate(15deg);
    z-index: 0;
}

/* Dekoracja dla SINGLE PORTFOLIO (Siatka/Grid) */
.decoration-single {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 200px;
    height: 100px;
    background-image: radial-gradient(#FFB600 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    transform: translateY(-50%);
    z-index: 0;
}

/* Upewnij się, że tekst jest nad dekoracją */
.page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E");
    vertical-align: middle;
}

.breadcrumb-item a {
    color: var(--bs-primary);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #6c757d;
    max-width: 300px; /* Zapobiega rozciąganiu na komórkach */
}

/* Responsywne obrazy wewnątrz treści */
.content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

/*
Theme Name: Mój Motyw Bootstrap 5
... (pozostałe nagłówki) ...
*/

/* 1. Typografia i kolory bazowe */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 2. Stylizacja kart wpisów (Cards) */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* 3. Wygląd treści (single.php / page.php) */
.content p {
    margin-bottom: 1.5rem;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Dekoracja Wpisu - Kątownik */
.decoration-post-corner {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    border-top: 4px solid #FFB600;
    border-left: 4px solid #FFB600;
    opacity: 0.3;
    z-index: 1;
}

/* Treść artykułu */
.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.entry-content h2, .entry-content h3 {
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: #000;
}

.entry-content blockquote {
    padding: 2rem;
    background: #f8f9fa;
    border-left: 5px solid #FFB600;
    font-style: italic;
    margin: 2.5rem 0;
}

/* Tag style */
.post-tags a {
    text-decoration: none;
    background: #eee;
    color: #555;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.post-tags a:hover {
    background: #FFB600;
    color: #000;
}

/* Social Share */
.social-circle-small {
    width: 35px;
    height: 35px;
    background: #000;
    color: #FFB600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-circle-small:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Nawigacja wpisów linki */
.post-navigation a {
    text-decoration: none;
}

/* Stylizacja Navbara Artisreno */
.navbar {
    border-bottom: 2px solid #FFB600;
}

.text-accent {
    color: #FFB600 !important;
}

.nav-link {
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #FFB600 !important;
}

/* Przycisk CTA w menu */
.btn-accent {
    background-color: #FFB600;
    color: #000;
    border: 2px solid #FFB600;
}

.btn-accent:hover {
    background-color: transparent;
    color: #FFB600;
    border-color: #FFB600;
}

/* Fix dla aktywnego linku */
.current-menu-item .nav-link {
    color: #FFB600 !important;
}

/* Dostosowanie mobilne */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #000;
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
    }
    .btn-accent {
        width: 100%;
        margin-top: 15px;
    }
}

/* 5. Customizacja paska nawigacji (NavWalker) */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.aligncenter {
    display: block;
    margin: 2rem auto;
    text-align: center;
}

.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

/* Czyścimy opływanie po zdjęciach */
.content::after {
    content: "";
    display: table;
    clear: both;
}

/* Szeroki blok (wychodzi nieco poza tekst) */
.alignwide {
    margin-left: -10%;
    margin-right: -10%;
    max-width: 120%;
    width: 120%;
}

/* Pełna szerokość (na cały ekran) */
.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
}

/* Poprawka dla obrazków wewnątrz tych bloków */
.alignfull img, .alignwide img {
    width: 100%;
    height: auto;
}

.transition-hover {
    transition: all 0.3s ease-in-out;
}

.transition-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}

.archive-header {
    border-left-width: 8px !important;
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Stylizacja dla pól formularza wewnątrz karty */
.wpcf7-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.wpcf7-submit {
    background-color: var(--bs-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.wpcf7-submit:hover {
    opacity: 0.9;
}

/* Footer Styles */
.site-footer {
    font-size: 0.95rem;
}

.site-footer .text-accent {
    color: #FFB600;
}

.accent-line {
    width: 50px;
    height: 3px;
    background-color: #FFB600;
    margin-top: 5px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FFB600;
    padding-left: 5px;
}

/* Ikony społecznościowe */
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    background: #FFB600;
    color: #000;
}

.footer-contact i {
    font-size: 1.1rem;
}

/* Stylizacja dla widgetów WordPressa w stopce */
.widget-footer ul {
    list-style: none;
    padding-left: 0;
}

/* Stylizacja listy w widgetach */
.widget ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    text-decoration: none;
    color: var(--bs-dark);
    transition: color 0.2s;
}

.widget ul li a:hover {
    color: var(--bs-primary);
}

/* Stylizacja widgetu wyszukiwarki w sidebarze */
.widget .search-form .input-group {
    box-shadow: none !important;
}

/* Stylizacja Hero dla Artisreno */
.hero-section {
    overflow: hidden;
}

.z-index-1 {
    z-index: 1;
}

.ls-1 {
    letter-spacing: 1px;
}

.display-2 {
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-section {
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Opcjonalny efekt paralaksy */
    background-repeat: no-repeat;
}

.ls-2 {
    letter-spacing: 3px;
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top right, #FFB600 50%, transparent 50%);
    opacity: 0.1;
}

/* Responsywność dla urządzeń mobilnych - wyłączamy parallax dla płynności */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        background-attachment: scroll;
    }
}

/* Animacja wejścia (opcjonalnie) */
.hero-section h1, .hero-section p, .hero-section .btn {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-section p { animation-delay: 0.2s; }
.hero-section .btn { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Stylizacja Usług Artisreno */
.icon-box-service {
    width: 70px;
    height: 70px;
    transition: all 0.3s ease;
}

.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.125) !important;
}

.transition-hover:hover .icon-box-service {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
}

#nasze-uslugi h6 {
    letter-spacing: 2px;
}



/* Stylizacja pojedynczego projektu Portfolio */
.project-header {
    border-bottom: 5px solid #FFB600;
}

.text-accent {
    color: #FFB600 !important;
}

.border-accent {
    border-color: #FFB600 !important;
}

.btn-accent {
    background-color: #FFB600;
    color: #000;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #000;
    color: #FFB600;
}

/* Stylizacja tekstu wewnątrz wpisu */
.entry-content p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Poprawka dla domyślnej galerii WordPressa wewnątrz wpisu */
.wp-block-gallery {
    padding: 0;
    margin-top: 2rem;
}

.wp-block-gallery .wp-block-image {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.wp-block-gallery .wp-block-image:hover {
    transform: scale(1.02);
}

/* Linki nawigacji dolnej */
.prev-post a, .next-post a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.prev-post a:hover, .next-post a:hover {
    color: #FFB600;
}

/*************** Stylizacja Procesu Współpracy Artisreno **********************/
.process-row {
    z-index: 1;
}

.process-line {
    position: absolute;
    top: 50px; /* Połowa wysokości ikon */
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: #dee2e6;
    z-index: -1;
}

.step-icon {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.step-number {
    position: absolute;
    top: -10px;
    right: calc(50% - 60px);
    background: var(--bs-primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 3;
    border: 3px solid #fff;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
}

.process-step:hover .step-number {
    background: var(--bs-dark);
}


/************** Stylizacja Sekcji Lokalizacji *****************/

.loc-tag {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #000;
}

.loc-tag i {
    color: #FFB600; /* Twój kolor logo */
}

.loc-tag:hover {
    background: #000;
    color: #FFB600;
    border-color: #000;
    transform: translateX(5px);
}

.border-accent {
    border-color: #FFB600 !important;
}

.map-container {
    border: 1px solid #000;
}

/* Filtr na mapę, by pasował do klimatu strony (opcjonalnie) */
.map-container iframe {
    filter: grayscale(0.5) contrast(1.1);
}

/* Sekcja Statystyk Artisreno */
/* Stylizacja pod kolory logo Artisreno */
#stats-section {
    background-color: #000000; /* Głęboka czerń z Twojego logo */
    border-top: 4px solid #FFB600; /* Cienka linia akcentowa na górze */
    padding: 60px 0;
}

.custom-accent {
    color: #FFB600; /* Dokładny kolor z Twojego logo */
}

.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Delikatny cień pod liczbami, aby dodać im głębi */
.stat-card .display-4 {
    text-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

/* Responsywność dla małych ekranów */
@media (max-width: 768px) {
    #stats-section {
        padding: 40px 0;
    }
}

/* Kolor akcentu Artisreno */
.text-accent {
    color: #FFB600;
}

.ls-1 {
    letter-spacing: 2px;
}

/* Stylizacja zdjęcia w sekcji O Nas */
.about-image-wrapper {
    position: relative;
}

/* Ozdobny element za zdjęciem */
.about-image-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: #FFB600;
    z-index: -1;
    border-radius: 10px;
}

/* Badge z latami doświadczenia */
.about-experience-badge {
    position: absolute;
    bottom: 30px;
    right: 0px;
    background: #FFB600;
    color: #000;
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 5px solid #fff;
    z-index: 10;
}

.about-experience-badge .h2 {
    line-height: 1;
}

/* Przycisk w kolorze czarnym z Twojego logo */
.btn-dark {
    background-color: #000000;
    border-color: #000000;
}

.btn-dark:hover {
    background-color: #FFB600;
    border-color: #FFB600;
    color: #000;
}


/************ Stylizacja podstrony O nas ****************/
.page-header {
    background-color: #000000;
    overflow: hidden;
}

.header-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: #FFB600;
    transform: rotate(45deg);
    opacity: 0.2;
}

.text-accent {
    color: #FFB600 !important;
}

.experience-year-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #FFB600;
    color: #000;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #FFB600;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: #FFB600;
    margin-top: 15px;
}

.accent-line-long {
    width: 100%;
    height: 2px;
    background: #FFB600;
    margin-top: 15px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.3);
}

/* Stylizacja podstrony Kontakt Artisreno */
.text-accent {
    color: #FFB600 !important;
}

.btn-accent {
    background-color: #FFB600;
    border-color: #FFB600;
    color: #000;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #000;
    border-color: #000;
    color: #FFB600;
}

/* Karta informacji */
.contact-info-card {
    border-bottom: 8px solid #FFB600;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 182, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: #FFB600;
    color: #000;
    border-color: #FFB600;
}

/* Formularz */
.custom-input {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.custom-input:focus {
    background-color: #fff;
    border-color: #FFB600;
    box-shadow: 0 0 0 0.25rem rgba(255, 182, 0, 0.15);
}

/* Archiwum Portfolio Artisreno */
.ls-1 { letter-spacing: 2px; }
.text-accent { color: #FFB600 !important; }
.btn-accent { background-color: #FFB600; color: #000; border: none; }
.btn-accent:hover { background-color: #000; color: #FFB600; }

/* Przyciski filtrów */
.filter-btn {
    padding: 10px 25px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #FFB600;
    border-color: #FFB600;
    color: #000;
}

/* Karta projektu */
.portfolio-item {
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-thumb-wrapper {
    overflow: hidden;
}

.portfolio-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-hover-overlay {
    opacity: 1;
}

/* Paginacja */
.pagination {
    gap: 10px;
}

.pagination .page-numbers {
    padding: 8px 16px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.pagination .page-numbers.current {
    background: #FFB600;
    border-color: #FFB600;
    font-weight: bold;
}

/* Dekoracja Aktualności - Poziome linie (laser) */
.decoration-news {
    position: absolute;
    bottom: 20%;
    right: 5%;
    width: 250px;
    height: 60px;
    border-top: 2px solid #FFB600;
    border-bottom: 2px solid #FFB600;
    opacity: 0.2;
    z-index: 1;
}

.decoration-news::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFB600;
    transform: translateY(-50%);
}

/* Karta wpisu */
.news-card {
    transition: transform 0.3s ease, shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.news-thumb {
    overflow: hidden;
}

.news-thumb img {
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.1);
}

.hover-accent:hover {
    color: #FFB600 !important;
}

/* Paginacja Artisreno */
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover, 
.pagination .page-numbers.current {
    background: #FFB600;
    color: #000;
}


.portfolio-second-gallery img {
    filter: grayscale(40%); /* Subtelny efekt dla zdjęć "PRZED" */
    transition: all 0.3s ease;
}

.portfolio-second-gallery img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Efekt nakładki na zdjęcia w galerii */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 182, 0, 0.7); /* Twój kolor #FFB600 z przezroczystością */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.portfolio-second-gallery img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Styl dla ikonki w GLightbox (żeby pasowała do Artisreno) */
.gslide-title {
    color: #FFB600 !important;
    font-weight: bold;
}

.gallery-main-item {
    cursor: pointer;
    background: #000;
}

.gallery-main-item img {
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.gallery-main-item:hover img {
    opacity: 0.8;
    transform: scale(1.02);
}

/* Stylizacja nawigacji Lightboxa pod kolory Artisreno */
.gnext, .gprev, .gclose {
    background-color: rgba(255, 182, 0, 0.8) !important; /* Twoje #FFB600 */
}

.gnext svg, .gprev svg, .gclose svg {
    color: #000 !important;
}

/* Kontener główny - dopasowanie do ekranu */
.artisreno-vcard-page {
    width: 100%;
    max-width: 100%; /* Maksimum dla komputerów */
    margin: 40px auto;
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid #333;
    border-radius: 20px;
    overflow: hidden;
}

/* RWD: Kluczowe poprawki dla telefonów */
/* Ta reguła zadziała na KAŻDYM urządzeniu mobilnym */
@media screen and (max-width: 768px) {
    
    /* 1. Resetujemy kontenery motywu artisreno - usuwamy marginesy i tło strony */
    html, body {
        overflow-x: hidden !important;
        background-color: #000 !important;
    }

    #page, #content, .site-content, .entry-content, .post-inner, .section-inner {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #000 !important;
    }

    /* 2. Rozciągamy wizytówkę na cały ekran */
    .artisreno-vcard-page {
        width: 100vw !important;
        min-height: 90vh !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        display: block !important;
    }

    /* 3. Powiększamy teksty - używamy jednostek vw dla pewności */
    .vcard-header h1 {
        font-size: 8vw !important; /* Dynamiczna wielkość dla imienia */
        line-height: 1.2 !important;
    }

    .vcard-header .job-title {
        font-size: 4.5vw !important;
        margin-top: 10px !important;
    }

    .info-item .label {
        font-size: 3.5vw !important;
        color: #ffb600 !important;
    }

    .info-item .value {
        font-size: 5.5vw !important; /* Duże dane kontaktowe */
        font-weight: bold !important;
    }

    .btn-primary {
        width: 90% !important;
        margin: 20px auto !important;
        padding: 20px 10px !important;
        font-size: 5vw !important;
        display: block !important;
    }

    /* Ukrywamy kod QR na mobile, bo i tak nie da się go zeskanować własnym telefonem */
    .qr-preview {
        display: none !important;
    }
}

/* Nagłówek - balans kolorów #ffb600 i #000 */
.vcard-header {
    background: linear-gradient(180deg, #ffb600 0%, #000 85%);
    padding: 60px 20px 40px 20px;
    text-align: center;
}

.vcard-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    object-fit: cover;
}

/* Lista informacji - większe odstępy na dotyk */
.vcard-info-list {
    padding: 20px 30px;
    flex-grow: 1; /* Popycha przyciski na dół jeśli ekran jest wysoki */
}

.info-item {
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
}

.info-item .value {
    font-size: 19px; /* Większa czcionka, łatwiejsza do kliknięcia */
    display: block;
    margin-top: 5px;
}

/* Sekcja przycisków na dole */
.vcard-actions {
    padding: 30px;
    background: #000;
}

.btn-primary {
    display: block;
    background: #ffb600;
    color: #000 !important;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 182, 0, 0.3);
}

.qr-preview {
    margin-top: 40px;
    background: #fff;
    display: inline-block;
    padding: 15px;
    border-radius: 12px;
}

.qr-preview img {
    width: 120px;
    height: 120px;
}

.qr-preview p {
    color: #000;
    margin: 8px 0 0 0;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Stylizacja kart bloga na stronie głównej */
.blog-card {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent !important;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-bottom-color: #FFB600 !important;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.hover-accent {
    transition: color 0.2s ease;
}

.hover-accent:hover {
    color: #FFB600 !important;
}

.smaller {
    font-size: 0.75rem;
}