/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #008C45;
    --primary-dark: #006633;
    --secondary-color: #CD212A;
    --text-color: #000000;
    --text-light: #666666;
    --border-color: #ddd;
    --bg-light: #FFFFFF;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nagłówek */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.logo {
    justify-self: start;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a:hover {
    color: var(--primary-dark);
}

.site-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

#site-logo-container:empty {
    display: none;
}

/* Social media w środku nagłówka (zamiast center-logo) */
.social-media-header {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Gdy pusty - zmień układ na 2-kolumnowy */
.social-media-header.is-empty {
    display: none;
}

/* Układ 2-kolumnowy gdy brak social media */
.header-content:has(.social-media-header.is-empty) {
    grid-template-columns: auto 1fr;
}

.header-content:has(.social-media-header.is-empty) .nav {
    justify-self: end;
}

/* Nawigacja */
.nav {
    justify-self: end !important;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 4px;
    min-width: 200px;
    padding: 0.5rem 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--secondary-color);
    color: #FFFFFF;
}

/* Hero Section */
.hero {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Main */
.main {
    padding: 3rem 0;
    min-height: 60vh;
}

/* Pasek narzędzi */
.toolbar {
    margin-bottom: 2rem;
}

/* Filtr */
.filter-bar {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.filter-label {
    color: var(--text-light);
}

.filter-label strong {
    color: var(--primary-color);
}

.btn-clear-filter {
    background: var(--secondary-color);
    color: #FFFFFF;  /* Wyraźnie białe */
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;  /* Pogrubienie dla lepszej widoczności */
    transition: var(--transition);
}

.btn-clear-filter:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Kontrolki widoku i sortowania */
.view-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

/* Sortowanie */
.sort-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-control label {
    font-weight: 500;
    color: var(--text-color);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:hover {
    border-color: var(--primary-color);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 146, 70, 0.1);
}

/* Przełącznik układu */
.layout-toggle {
    display: flex;
    gap: 0.5rem;
}

.layout-btn {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.layout-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.layout-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.layout-btn svg {
    display: block;
}

/* Loader */
.loader {
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Siatka wpisów */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    transition: var(--transition);
}

/* Widok listy */
.posts-grid.list-view {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.posts-grid.list-view .post-card {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    min-height: 250px;
}

.posts-grid.list-view .post-card-image {
    width: 50%;
    height: 250px;
    min-height: 250px;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.posts-grid.list-view .post-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.posts-grid.list-view .post-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.posts-grid.list-view .post-card-excerpt {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.posts-grid.list-view .post-card-meta {
    margin-top: auto;
}

.posts-grid.list-view .post-card-categories {
    margin-bottom: 0.75rem;
}

.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.post-card-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    display: block;
}

.post-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.category-badge {
    background: var(--primary-color);
    color: #FFFFFF;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.post-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.post-card-title a:hover {
    color: var(--primary-color);
}

.post-card-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex: 1;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.post-card-author {
    font-weight: 500;
}

/* Pojedynczy wpis */
.post-single {
    background: var(--white);
    padding: 3rem 0;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.post-header {
    margin-bottom: 2rem;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-author::before {
    content: "👤 ";
}

.post-date::before {
    content: "📅 ";
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

/* Obrazy wyrównane w tekście */
.post-content img[style*="float: left"] {
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.post-content img[style*="float: right"] {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Linki w treści */
.post-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: var(--transition);
}

.post-content a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Video embedy (YouTube, iframes) */
.post-content iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

.post-content .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.post-content .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* Cytaty */
.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Kod */
.post-content code {
    background-color: var(--bg-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content pre {
    background-color: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content pre code {
    background-color: transparent;
    padding: 0;
}

/* Tabele */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.post-content table th,
.post-content table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.post-content table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
}

/* Wyrównanie tekstu */
.post-content .text-center {
    text-align: center;
}

.post-content .text-right {
    text-align: right;
}

/* Figury z podpisami */
.post-content figure {
    margin: 1.5rem 0;
}

.post-content figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Galeria */
.post-gallery {

/* Google Maps Styles */
.google-map-container {
    margin: 20px 0;
}

.google-map {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsywność map */
@media (max-width: 768px) {
    .google-map {
        height: 300px !important;
    }
}
    margin-bottom: 3rem;
}

.post-gallery h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--white);
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-close:hover {
    color: var(--border-color);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    padding: 1rem;
    user-select: none;
    z-index: 1001;
    transition: var(--transition);
}

.modal-prev:hover,
.modal-next:hover {
    color: var(--primary-color);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    background: rgba(0,0,0,0.7);
    border-radius: 4px;
    max-width: 80%;
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.7);
    border-radius: 4px;
}

/* Nawigacja wpisu */
.post-navigation {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Paginacja */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-pagination {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-pagination:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
}

.btn-pagination:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-weight: 500;
    color: var(--text-color);
}

/* Komunikaty */
.no-posts,
.error-message {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.no-posts p,
.error-message p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.error-message h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Stopka */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsywność */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .logo,
    .social-media-header {
        justify-self: center;
    }
    
    .nav {
        justify-self: end !important;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .view-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sort-control {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .layout-toggle {
        justify-content: center;
    }
    
    /* W widoku mobilnym lista jest zawsze pionowa */
    .posts-grid.list-view .post-card {
        flex-direction: column;
    }
    
    .posts-grid.list-view .post-card-image {
        width: 100%;
        height: 200px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --text-muted: #808080;
        --bg-light: #1a1a1a;
        --white: #2a2a2a;
        --border-color: #404040;
        --shadow: 0 2px 8px rgba(0,0,0,0.3);
        --shadow-hover: 0 4px 16px rgba(0,0,0,0.4);
    }
    
    body {
        background-color: #121212;
        color: #e0e0e0;
    }
    
    /* Nagłówek pozostaje jasny - #FFFFFF */
    .header {
        background: #FFFFFF;
        color: #333;
    }
    
    .header .logo a {
        color: #333;
    }
    
    .header .nav-list a {
        color: #666;
    }
    
    .header .nav-list a:hover,
    .header .nav-list a.active {
        color: var(--primary-color);
    }
    
    /* Hero section - ciemny */
    .hero {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    /* Karty wpisów - ciemne */
    .post-card {
        background: #2a2a2a;
        border: 1px solid #404040;
    }
    
    /* Miniatury w dark mode - bez białego wypełnienia */
    .post-card-image {
        background: transparent;
    }
    
    .posts-grid.list-view .post-card-image {
        background: transparent;
    }
    
    /* Galeria w dark mode - czarne tło */
    .gallery-item img {
        background: #000000;
    }
    
    .post-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    }
    
    .post-card-title a {
        color: #e0e0e0;
    }
    
    .post-card-excerpt {
        color: #b0b0b0;
    }
    
    /* Kontrolki - ciemne */
    .view-controls,
    .filter-bar {
        background: #2a2a2a;
        border: 1px solid #404040;
    }
    
    .sort-select,
    .layout-btn {
        background: #1a1a1a;
        color: #e0e0e0;
        border-color: #404040;
    }
    
    .sort-select:hover,
    .layout-btn:hover {
        border-color: var(--primary-color);
    }
    
    .sort-select:focus {
        box-shadow: 0 0 0 3px rgba(0, 146, 70, 0.2);
    }
    
    /* Kategorie - kolorowe tło z białym tekstem */
    .category-badge {
        background: var(--primary-color);
        color: #FFFFFF;
        border: none;
    }
    
    /* Dropdown menu - ciemne */
    .dropdown-menu {
        background: #2a2a2a;
        border: 1px solid #404040;
    }
    
    .dropdown-menu a {
        color: #FFFFFF !important;  /* Wyraźnie białe - !important aby nadpisać inne style */
    }
    
    .dropdown-menu a:hover {
        background: var(--secondary-color);
        color: #FFFFFF;
    }
    
    /* Stopka - ciemna */
    .footer {
        background: #1a1a1a;
        color: #b0b0b0;
        border-top: 1px solid #404040;
    }
    
    .footer a {
        color: #e0e0e0;
    }
    
    /* Strona pojedynczego wpisu - ciemna */
    .post-single {
        background: #2a2a2a;
    }
    
    .breadcrumb a {
        color: var(--primary-color);
    }
    
    .post-content {
        color: #e0e0e0;
    }
    
    .post-content h2,
    .post-content h3 {
        color: #e0e0e0;
    }
    
    /* Galeria - ciemna */
    .gallery-grid img {
        border: 1px solid #404040;
    }
    
    /* Modal - ciemny */
    .modal {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .modal-content {
        border: 1px solid #404040;
    }
    
    /* Loader - ciemny */
    .loader {
        color: #e0e0e0;
    }
    
    .spinner {
        border-color: #404040;
        border-top-color: var(--primary-color);
    }
    
    /* Przyciski - dostosowane */
    .btn {
        background: var(--primary-color);
        color: #fff;
    }
    
    .btn-secondary {
        background: #404040;
        color: #e0e0e0;
    }
    
    .btn-secondary:hover {
        background: #505050;
    }
    
    /* Paginacja - ciemna */
    .pagination {
        background: #2a2a2a;
        border: 1px solid #404040;
    }
    
    .btn-pagination {
        background: #1a1a1a;
        color: #e0e0e0;
        border-color: #404040;
    }
    
    .btn-pagination:hover:not(:disabled) {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    /* No posts message - ciemny */
    .no-posts {
        color: #b0b0b0;
    }
    
    /* Error message - ciemny */
    .error-message {
        background: #2a2a2a;
        color: #e0e0e0;
    }
}

/* Made with Bob */


/* ===================================
   SOCIAL MEDIA ICONS
   =================================== */

/* Social Media - Header (inline w nagłówku, po środku) */
.social-media-header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.social-media-header a:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-media-header a svg {
    width: 18px;
    height: 18px;
}

/* Kolory domyślne dla każdego portalu - widoczne od razu */
.social-media-header a.facebook {
    background: #E7F3FF;
    color: #1877F2;
}

.social-media-header a.instagram {
    background: linear-gradient(135deg, #FFF5F5, #F3E5F5);
    color: #E1306C;
}

.social-media-header a.twitter {
    background: #F5F5F5;
    color: #000000;
}

.social-media-header a.youtube {
    background: #FFEBEE;
    color: #FF0000;
}

.social-media-header a.linkedin {
    background: #E3F2FD;
    color: #0A66C2;
}

.social-media-header a.tiktok {
    background: #F5F5F5;
    color: #000000;
}

/* Social Media - Footer */
.social-media-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 0 20px 0;
}

.social-media-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-media-footer a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.1);
}

.social-media-footer a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Kolory dla stopki - jaśniejsze tła dla lepszej widoczności */
.social-media-footer a.facebook {
    background: rgba(24, 119, 242, 0.2);
    border-color: rgba(24, 119, 242, 0.4);
}

.social-media-footer a.instagram {
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.4);
}

.social-media-footer a.twitter {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-media-footer a.youtube {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.4);
}

.social-media-footer a.linkedin {
    background: rgba(10, 102, 194, 0.2);
    border-color: rgba(10, 102, 194, 0.4);
}

.social-media-footer a.tiktok {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Specific social media colors on hover */
.social-media-header a.facebook:hover,
.social-media-footer a.facebook:hover {
    background: #1877F2;
    color: white;
}

.social-media-header a.instagram:hover,
.social-media-footer a.instagram:hover {
    background: linear-gradient(45deg, #FD5949, #D6249F, #285AEB);
    color: white;
}

.social-media-header a.twitter:hover,
.social-media-footer a.twitter:hover {
    background: #000000;
    color: white;
}

.social-media-header a.youtube:hover,
.social-media-footer a.youtube:hover {
    background: #FF0000;
    color: white;
}

.social-media-header a.linkedin:hover,
.social-media-footer a.linkedin:hover {
    background: #0A66C2;
    color: white;
}

.social-media-header a.tiktok:hover,
.social-media-footer a.tiktok:hover {
    background: #000000;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .social-media-header,
    .social-media-footer {
        gap: 15px;
        padding: 20px 0;
    }
    
    .social-media-header a {
        width: 36px;
        height: 36px;
    }
    
    .social-media-header a svg {
        width: 18px;
        height: 18px;
    }
    
    .social-media-footer a {
        width: 40px;
        height: 40px;
    }
    
    .social-media-footer a svg {
        width: 20px;
        height: 20px;
    }
}

/* Hide containers if empty */
.social-media-header:empty,
.social-media-footer:empty {
    display: none;
}
/* CSS Updated: Sat May 16 07:23:33 CEST 2026 */
