/* =========================================================
   ULTRA‑PREMIUM DARK MODE — FINALNA WERSJA
========================================================= */

/* GLOBAL */
html.dark body {
    background: #0a0f1c;
    color: #e2e8f0;
}

/* HEADER + FOOTER */
html.dark .site-header,
html.dark .footer {
    background: #0d1526;
    border-color: #1c2537;
    color: #dbeafe;
    box-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

/* BRAND */
html.dark .brand-text strong {
    color: #cfe1ff;
    text-shadow: 0 0 6px rgba(96,165,250,0.35);
}

html.dark .media-mark {
    color: #9fb4cc;
}

/* MENU */
html.dark .main-nav a {
    color: #dbeafe;
}

html.dark .main-nav a:hover {
    background: rgba(148,163,184,0.15);
    color: #93c5fd;
    box-shadow: 0 0 8px rgba(96,165,250,0.35);
}

html.dark .main-nav a.active {
    border-bottom-color: #60a5fa;
    color: #93c5fd;
    text-shadow: 0 0 6px rgba(96,165,250,0.35);
}

/* HERO (global) */
html.dark .hero {
    background: linear-gradient(135deg, #050a16 0%, #0d1526 100%);
    border-bottom-color: #1c2537;
}

html.dark .hero h1 {
    color: #e2e8f0;
    text-shadow: 0 0 10px rgba(148,163,184,0.25);
}

html.dark .hero-subtitle {
    color: #9fb4cc;
}

/* SEKCJE STRONY */
html.dark .home-cards,
html.dark .oazl-section,
html.dark .contact-section {
    background: #0a0f1c;
}

/* KARTY */
html.dark .card,
html.dark .oazl-box,
html.dark .contact-box,
html.dark .photo-box {
    background: #0d1526;
    border-color: #1c2537;
    color: #dbeafe;
    box-shadow: 0 6px 22px rgba(0,0,0,0.55);
    transition: 0.3s ease;
}

html.dark .card:hover,
html.dark .oazl-box:hover,
html.dark .contact-box:hover {
    border-color: #60a5fa;
    box-shadow: 0 8px 28px rgba(96,165,250,0.25);
    transform: translateY(-3px);
}

html.dark .card h3,
html.dark .oazl-box h3,
html.dark .contact-box h3 {
    color: #cfe1ff;
}

html.dark .card p,
html.dark .oazl-box p,
html.dark .contact-box p {
    color: #b8c7d9;
}

/* PHOTO BOX */
html.dark .photo-box img {
    box-shadow: 0 4px 14px rgba(96,165,250,0.25);
}

/* O AZL */
html.dark .oazl-section h2 {
    color: #cfe1ff;
    text-shadow: 0 0 8px rgba(96,165,250,0.35);
}

html.dark .oazl-section p {
    color: #b8c7d9;
}

/* MEDIA CONTACT */
html.dark .media-contact h3 {
    color: #dbeafe;
}

html.dark .media-contact p {
    color: #b8c7d9;
}

/* LISTA KOMUNIKATÓW */
html.dark .press-section {
    background: #0a0f1c;
}

html.dark .press-item {
    background: #0d1526;
    border-color: #1c2537;
    color: #dbeafe;
    box-shadow: 0 6px 22px rgba(0,0,0,0.55);
}

html.dark .press-item:hover {
    border-color: #60a5fa;
    box-shadow: 0 8px 28px rgba(96,165,250,0.25);
}

/* =========================================================
   DARK MODE — POJEDYNCZY KOMUNIKAT (hero + treść)
========================================================= */

/* HERO komunikatu */
html.dark .hero {
    background: #0d1526;
}

html.dark .hero h1,
html.dark .hero .hero-subtitle {
    color: #e2e8f0;
}

/* TREŚĆ KOMUNIKATU */
html.dark .press-article {
    background: #0d1526;
    border-color: #1c2537;
    padding-bottom: 40px;
}

html.dark .press-article,
html.dark .press-article * {
    color: #e2e8f0;
}

/* DATA */
html.dark .press-date {
    color: #9fb4cc;
}

/* LINK POWROTU */
html.dark .press-article .back-link {
    color: #93c5fd;
}

/* =========================================================
   DARK MODE — LISTA KOMUNIKATÓW (komunikaty.php)
========================================================= */

html.dark .press-section {
    background: #0a0f1c;
}

html.dark .press-item {
    background: #0d1526;
    border-color: #1c2537;
    color: #dbeafe;
}

/* NAGŁÓWKI NA LIŚCIE KOMUNIKATÓW */
html.dark .press-item h3 {
    color: #cfe1ff;
}

/* ZAJAWKA */
html.dark .press-item p,
html.dark .press-excerpt {
    color: #b8c7d9;
}

/* DATA */
html.dark .press-item time {
    color: #9fb4cc;
}

/* LINK DO KOMUNIKATU */
html.dark .press-item a {
    color: #93c5fd;
}

/* =========================================================
   KRONIKA – DARK MODE
========================================================= */

html.dark .upload-box {
    background: #1e1e1e;
    box-shadow: 0 8px 30px rgba(255,255,255,0.05);
}

html.dark .upload-input {
    background: #2a2a2a;
    border: 1px solid #555;
    color: #eee;
}

html.dark .upload-input:focus {
    border-color: #e60000;
    background: #222;
}

html.dark .upload-btn {
    background: #e60000;
}

html.dark .upload-btn:hover {
    background: #c00000;
}

html.dark .upload-msg {
    color: #ccc;
}

html.dark .upload-regulamin {
    background: #2a2a2a;
    color: #e60000;
}

html.dark .upload-regulamin:hover {
    background: #333;
    color: #ff4444;
}

/* =========================================================
   HERO KRONIKA – DARK MODE
========================================================= */

html.dark .hero-kronika {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border-bottom-color: #333;
}

html.dark .hero-kronika h1 {
    color: #f1f1f1;
}

html.dark .hero-kronika .hero-subtitle {
    color: #c7c7c7;
}

/* =========================================================
   HERO – DLA MEDIÓW
========================================================= */

html.dark .hero-media {
    background: linear-gradient(135deg, #111827 0%, #020617 100%);
    border-bottom-color: #1f2937;
}

html.dark .hero-media h1 {
    color: #f9fafb;
}

html.dark .hero-media .hero-subtitle {
    color: #e5e7eb;
}

/* =========================================================
   MEDIA – KAFELKI – DARK MODE
========================================================= */

html.dark .media-card {
    background: #1e1e1e;
    border-color: #333;
}

html.dark .media-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(255,255,255,0.06);
}

html.dark .media-card h3 {
    color: #f1f1f1;
}

html.dark .media-card p {
    color: #c7c7c7;
}

/* ============================
   DARK MODE – KATALOGI
============================ */

/* Breadcrumbs */
.dark .breadcrumbs {
    background: #1f2937;
    color: #d1d5db;
}

.dark .breadcrumbs a {
    color: #60a5fa;
}

.dark .breadcrumbs span {
    color: #9ca3af;
}

/* Nagłówki sekcji */
.dark .container h2 {
    color: #f3f4f6;
}

/* Linie HR */
.dark .container hr {
    border-top: 1px solid #374151;
}

/* Karty */
.dark .media-card {
    background: #1f2937;
    border: 1px solid #374151;
    color: #e5e7eb;
}

.dark .media-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* Nazwy plików */
.dark .media-card h3 {
    color: #f3f4f6;
}

/* Ikony */
.dark .media-card .icon {
    opacity: 0.9;
}

/* Przyciski */
.dark .hero-btn {
    background: #374151;
    color: #f3f4f6;
}

.dark .hero-btn:hover {
    background: #4b5563;
}

.dark .hero-btn.secondary {
    background: #4b5563;
    color: #e5e7eb;
}

.dark .hero-btn.secondary:hover {
    background: #6b7280;
}

/* Tooltip dla nazw plików */
.dark .media-card h3:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}