/* ================== ZMIENNE KOLORYSTYCZNE I MOTYWY ================== */
:root {
    --brand-primary-text: #585858;
    --brand-accent: #e85454;
    --brand-accent-darker: #d14242;
    --white: #ffffff;
    --bg-color: #f8f9fa;
    --bg-color-alt: #ffffff;
    --text-color: #343a40;
    --text-color-muted: #6c757d;
    --heading-color: #212529;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --bg-color-alt: #1e1e1e;
    --text-color: #e0e0e0;
    --text-color-muted: #a0a0a0;
    --heading-color: #ffffff;
    --border-color: #333333;
    --shadow-color: rgba(255, 255, 255, 0.08);
}


/* ================== STYLE OGÓLNE ================== */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.spec-card, .social-card, .contact-form .form-control, .site-footer, .navbar {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}


/* ================== NAGŁÓWEK ================== */
.navbar {
    background-color: var(--bg-color-alt) !important;
}

.logo-img {
    max-height: 55px; /* Zwiększony rozmiar logo */
    width: auto;
    transition: all 0.3s ease;
}

[data-theme="dark"] .logo-img {
    background-color: var(--white);
    border: 2px solid var(--brand-accent);
    border-radius: 8px;
    padding: 5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--brand-accent);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--brand-accent);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.btn-primary {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    font-weight: bold;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--brand-accent-darker);
    border-color: var(--brand-accent-darker);
}
.btn-primary-outline-animated {
    display: flex;
    align-items: center;
    border: 2px solid var(--brand-accent);
    color: var(--brand-accent);
    background-color: transparent;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-outline-animated:hover {
    background-color: var(--brand-accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(232, 84, 84, 0.3);
}

.btn-primary-outline-animated i {
    font-size: 0.9rem;
}

/* Dostosowanie dla urządzeń mobilnych - ukrywamy tekst, zostaje ikona */
@media (max-width: 991px) {
    .btn-primary-outline-animated {
        margin-top: 1rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-primary-outline-animated span {
        display: none; /* Ukrywamy tekst numeru na bardzo małych ekranach */
    }
    .btn-primary-outline-animated {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
        justify-content: center;
    }
    .btn-primary-outline-animated i {
        margin-right: 0 !important;
    }
}
/* ================== PRZEŁĄCZNIK DZIEŃ/NOC ================== */
.theme-switcher { position: relative; }
.theme-switcher #theme-toggle { display: none; }
.theme-switcher label { background-color: var(--text-color-muted); border-radius: 50px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 5px; position: relative; height: 30px; width: 60px; transition: background-color 0.3s ease; }
.theme-switcher label::after { content: ''; background-color: var(--white); border-radius: 50%; position: absolute; top: 2px; left: 2px; height: 26px; width: 26px; transition: transform 0.3s ease; }
.theme-switcher #theme-toggle:checked + label { background-color: var(--brand-accent); }
.theme-switcher #theme-toggle:checked + label::after { transform: translateX(30px); }
.theme-switcher i { font-size: 1rem; color: #f1c40f; }
.theme-switcher .bi-moon-fill { color: #f39c12; }


/* ================== SEKCJA HERO ================== */
.hero-section {
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.hero-with-background {
    background-image: url('images/hero-image.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    overflow: hidden; /* Ważne, aby promień nie wychodził poza sekcję */
}

/* Definicja animacji przelatującego światła */
@keyframes shimmer-effect {
    0% {
        transform: translateX(-150%) skewX(-30deg);
    }
    100% {
        transform: translateX(150%) skewX(-30deg);
    }
}

/* Tworzymy promień światła za pomocą pseudoelementu */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Szerokość promienia */
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%, /* Delikatne białe światło w centrum */
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-150%) skewX(-30deg); /* Początkowa pozycja poza ekranem i pochylenie */
    
    /* Uruchomienie animacji */
    animation-name: shimmer-effect;
    animation-duration: 8s; /* Czas trwania jednego przelotu */
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite; /* Animacja powtarza się w nieskończoność */
    animation-delay: 2s; /* Opóźnienie przed pierwszym startem */
}

.hero-with-background .container {
    position: relative;
    z-index: 2;
}

.hero-with-background h1 {
    color: var(--white);
    font-weight: 800;
}

.hero-with-background .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
}


/* Pozostałe style bez zmian... */
.specializations-section { padding: 80px 0; background-color: var(--bg-color); }
.section-title { font-weight: 700; color: var(--heading-color); margin-bottom: 0.5rem; }
.section-subtitle { color: var(--text-color-muted); font-size: 1.1rem; }
.spec-card { background-color: var(--bg-color-alt); border: 1px solid var(--border-color); border-radius: 8px; padding: 2.5rem 2rem; text-align: center; height: 100%; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.spec-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px var(--shadow-color); }
.spec-card-icon { font-size: 3rem; color: var(--brand-accent); margin-bottom: 1.5rem; }
.spec-card-title { font-weight: 700; color: var(--heading-color); margin-bottom: 1rem; }
.spec-card-text { color: var(--text-color-muted); flex-grow: 1; margin-bottom: 2rem; }
.btn-outline-primary { color: var(--brand-accent); border-color: var(--brand-accent); font-weight: bold; }
.btn-outline-primary:hover { color: var(--white); background-color: var(--brand-accent); border-color: var(--brand-accent); }
.dropdown-menu { border-radius: 8px; border: 1px solid var(--border-color); background-color: var(--bg-color-alt); }
.dropdown-item { color: var(--text-color); }
.dropdown-item:hover { color: var(--brand-accent); background-color: var(--bg-color); }
.promo-section { padding: 80px 0; background-color: #0d2c54; background-image: linear-gradient(135deg, #0d2c54 0%, #0f3460 100%); color: var(--white); overflow: hidden; }
.promo-section .section-title, .promo-section .section-subtitle { color: var(--white); }
.promo-image { transition: transform 0.4s ease; }
.promo-image:hover { transform: scale(1.05); }
.promo-title { font-weight: 300; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8; }
.promo-subtitle { font-weight: 800; font-size: 2.5rem; margin-bottom: 1.5rem; }
.promo-description { font-size: 1.1rem; line-height: 1.7; opacity: 0.9; }
.promo-discount-badge { display: inline-block; background-color: var(--brand-accent); color: var(--white); padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: bold; margin-top: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
/* ================== SEKCJA SOCIAL MEDIA ================== */

.social-section {
    padding: 80px 0;
    background-color: var(--bg-color-alt);
}

.social-heading {
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

/* Nowy wrapper dla kart */
.social-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Odstęp między kartami */
}

.social-card {
    display: flex;
    align-items: center;
    padding: 1.25rem; /* Nieco mniejszy padding */
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.social-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.social-card-icon {
    font-size: 2rem; /* Nieco mniejsza ikona */
    margin-right: 1rem;
}

.social-card-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1.1rem; /* Nieco mniejszy tytuł */
}

.social-card-text {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.85rem;
}

/* Kolorystyka kart */
.facebook-card {
    background: #1877F2;
}

.instagram-card {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

/* Nowe style dla TikToka */
.tiktok-card {
    background: #000000;
}

.btn-danger {
    background-color: #FF0000;
    border-color: #FF0000;
}
.contact-section { padding: 80px 0; background-color: var(--bg-color); }
.contact-form .form-control { border-radius: 8px; padding: 0.75rem 1rem; border: 1px solid var(--border-color); background-color: var(--bg-color-alt); color: var(--text-color); }
.contact-form .form-control:focus { border-color: var(--brand-accent); box-shadow: 0 0 0 0.25rem rgba(232, 84, 84, 0.25); background-color: var(--bg-color-alt); }
.rodo-label { font-size: 0.85rem; color: var(--text-color-muted); }
.contact-info { font-size: 1rem; }
.contact-info .info-title { font-weight: 700; color: var(--heading-color); margin-bottom: 1rem; }
.contact-info ul li { margin-bottom: 1rem; color: var(--text-color); }
.contact-info ul li a { color: var(--text-color); text-decoration: none; transition: color 0.3s ease; }
.contact-info ul li a:hover { color: var(--brand-accent); }
.contact-info ul i { color: var(--brand-accent); font-size: 1.25rem; margin-right: 1rem; width: 20px; text-align: center; }
.site-footer { background-color: var(--brand-primary-text); color: rgba(255, 255, 255, 0.7); padding: 60px 0; font-size: 0.95rem; }
[data-theme="dark"] .site-footer { background-color: #000; }
.footer-logo { max-width: 180px; opacity: 0.9; border: 2px solid rgba(255, 255, 255, 0.15); border-radius: 8px; padding: 10px; }
.footer-heading { color: var(--white); font-weight: 700; margin-bottom: 1.5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact strong { color: rgba(255, 255, 255, 0.5); }
.site-footer .border-top { border-color: rgba(255, 255, 255, 0.1) !important; }
.copyright-text { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }
@keyframes soft-pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 84, 84, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(232, 84, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 84, 84, 0); } }
.floating-help-button { position: fixed; bottom: 25px; right: 25px; background-color: var(--brand-accent); color: var(--white); border-radius: 50px; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: bold; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 1030; transition: transform 0.3s ease; animation: soft-pulse 2.5s infinite; }
.floating-help-button:hover { transform: translateY(-5px); animation-play-state: paused; }
.floating-help-button .help-icon { font-size: 1.5rem; display: inline-block; }
@media (max-width: 768px) { .floating-help-button { width: 60px; height: 60px; border-radius: 50%; justify-content: center; padding: 0; gap: 0; } .floating-help-button .help-text { display: none; } }
.blog-listing-section, .single-post-section { padding: 80px 0; background-color: var(--bg-color); }
.blog-post-summary { background-color: var(--bg-color-alt); border: 1px solid var(--border-color); border-radius: 8px; height: 100%; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-post-summary:hover { transform: translateY(-10px); box-shadow: 0 10px 20px var(--shadow-color); }
.blog-post-summary img { aspect-ratio: 16 / 9; object-fit: cover; }
.post-content-wrapper { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.post-category { display: inline-block; background-color: rgba(232, 84, 84, 0.1); color: var(--brand-accent); padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: bold; margin-bottom: 1rem; align-self: flex-start; }
.post-title a { text-decoration: none; color: var(--heading-color); transition: color 0.3s ease; }
.post-title a:hover { color: var(--brand-accent); }
.post-excerpt { color: var(--text-color-muted); flex-grow: 1; margin-bottom: 1.5rem; }
.post-header { margin-bottom: 2rem; }
.post-meta { color: var(--text-color-muted); font-size: 0.9rem; margin-top: 1rem; }
.post-content .lead { font-size: 1.25rem; font-weight: 400; color: var(--text-color); }
.post-content h3 { font-weight: 700; color: var(--heading-color); margin-top: 2.5rem; margin-bottom: 1rem; }
.post-content p, .post-content li { line-height: 1.8; color: var(--text-color); }
.post-content a { color: var(--brand-accent); text-decoration: underline; }
.post-content blockquote { border-left: 4px solid var(--brand-accent); padding-left: 1.5rem; margin: 2rem 0; font-style: italic; color: var(--text-color-muted); }
.page-hero-section { padding: 80px 0; background-color: var(--brand-primary-text); background-size: cover; background-position: center; }
[data-theme="dark"] .page-hero-section { background-color: #000; }
.service-details-section { padding: 80px 0; background-color: var(--bg-color); }
.service-card { background-color: var(--bg-color-alt); border: 1px solid var(--border-color); border-radius: 8px; padding: 2rem; text-align: center; }
.service-card i { font-size: 2.5rem; color: var(--brand-accent); margin-bottom: 1rem; display: block; }
.service-card h4 { font-weight: 700; color: var(--heading-color); margin-bottom: 0.75rem; }
.service-card p { color: var(--text-color-muted); font-size: 0.95rem; }
.cta-section { padding: 60px 0; background-color: var(--bg-color-alt); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
/* ================== SEKCJA OFERTY DLA BIZNESU ================== */

.business-offer-section {
    padding: 80px 0;
    background-color: var(--bg-color-alt); /* Jasne tło, aby oddzielić od sąsiednich sekcji */
}

.benefits-list {
    margin-top: 2rem;
}

.benefits-list li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--brand-accent);
    margin-right: 1rem;
    margin-top: 4px; /* Lepsze wyrównanie z tekstem */
}
/* ================== STYL OKNA MODAL ================== */

.modal-content {
    background-color: var(--bg-color-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--heading-color);
    font-weight: 700;
}

.modal-body .lead {
    font-size: 1.1rem;
    color: var(--text-color);
}

.modal-body h5 {
    color: var(--brand-accent);
    font-weight: 700;
}

.modal-body .list-group-item {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-color);
    padding-left: 0;
}

.modal-body .list-group-item i {
    color: var(--brand-accent);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

/* Dostosowanie przycisku zamykania dla trybu ciemnego */
[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100) brightness(200%);
}
/* ================== POPRAWKI DLA URZĄDZEŃ MOBILNYCH ================== */

@media (max-width: 768px) {
    
    /* Zmniejszamy główny nagłówek w sekcji Hero na mniejszych ekranach */
    .hero-with-background h1 {
        font-size: 2.5rem; /* Zamiast display-3, używamy bardziej kontrolowanego rozmiaru */
    }

    /* Opcjonalnie: zmniejszamy trochę padding w sekcjach, aby nie były tak "długie" */
    .specializations-section,
    .business-offer-section,
    .promo-section,
    .social-section,
    .contact-section,
    .service-details-section,
    .blog-listing-section {
        padding: 60px 0;
    }
}
/* ================== NOWA SEKCJA "O NAS" (ZESPÓŁ) ================== */

.team-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.team-card {
    background-color: var(--bg-color-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.team-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background-color: rgba(232, 84, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-icon-wrapper i {
    font-size: 3.5rem;
    color: var(--brand-accent);
}

.team-card-title {
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.team-card-description {
    color: var(--text-color-muted);
    font-size: 0.95rem;
}
/* ================== GENERATOR KODU RABATOWEGO ================== */

#promo-step-2 {
    padding: 1rem 0;
}

.promo-code-display {
    background-color: var(--bg-color);
    border: 2px dashed var(--brand-accent);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 8px;
}

#generated-code {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: 2px;
}
/* ================== MAPA STRONY HTML ================== */

.sitemap-list h4 {
    font-weight: 700;
    color: var(--heading-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.sitemap-list ul {
    list-style-type: none;
    padding-left: 0;
}

.sitemap-list ul ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.sitemap-list li {
    margin-bottom: 0.75rem;
}

.sitemap-list a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.sitemap-list a:hover {
    color: var(--brand-accent);
}
/* ================== SEKCJA DRUK 3D ================== */

.printing-section {
    padding: 80px 0;
    background-color: var(--bg-color-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.printing-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Opcjonalny, subtelny gradient na zdjęciu */
.printing-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 84, 84, 0.1) 0%, rgba(88, 88, 88, 0.1) 100%);
    opacity: 0.5;
}

.printing-section .benefits-list i {
    color: var(--brand-accent);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 4px;
}
