/* ================================
   PODSTAWOWE
   ================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f6f8;
    color: #252525;

    font-family:
				Verdana,
				'Trebuchet MS',
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}


/* ================================
   NAGŁÓWEK
   ================================ 
	 
.header {
    background: white;
    border-bottom: 1px solid #ddd;
}

.header-inner {
    max-width: 1100px;
    margin: auto;
    padding: 25px 25px;
}

*/


/* ================================
   BANER
   ================================ */

.header {
    background: white;
    border-bottom: 1px solid #ddd;
}

.banner {
    position: relative;
    width: 80%;
		margin: 0 auto;
    overflow: hidden;
}

.banner-image {
    display: block;
    width: 100%;
    height: auto;
}

.banner-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 30%;
    height: auto;

    z-index: 2;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    max-width: 300px;
    max-height: 300px;
}

.header h1 {
    margin: 0;

    color: #263b63;

    font-size: 30px;
    line-height: 1.25;

    font-weight: 600;
}

.header p {
    margin: 8px 0 0;

    color: #666;

    font-size: 16px;
}


/* ================================
   MENU
   ================================ */

.menu {
    background: #263b63;
}

.menu-inner {
    max-width: 1100px;
    margin: auto;

    display: flex;
    flex-wrap: wrap;
}

.menu a {
    display: block;

    padding: 13px 17px;

    color: white;
    text-decoration: none;

    font-size: 20px;
		font-weight: 600;
}

.menu a:hover {
    background: #3ea7ca;
}


/* ================================
   GŁÓWNA TREŚĆ
   ================================ */

.container {
    max-width: 1100px;

    margin: 30px auto;

    padding: 0 25px;

    min-height: 500px;
}


/* ================================
   SEKCJE
   ================================ */

.content {
    background: white;

    padding: 30px;

    border: 1px solid #ddd;
    border-radius: 8px;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.04);
}

.content h1 {
    margin-top: 0;

    color: #263b63;

    font-size: 28px;
}

.content h2 {
    color: #344f7d;

    margin-top: 30px;
}

.content h3 {
    color: #444;
}


/* ================================
   LINKI
   ================================ */

a {
    color: #315a94;
}

a:hover {
    color: #172f52;
}


/* ================================
   AKTUALNOŚCI
   ================================ */

.news {
    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom: 1px solid #ddd;
}

.news:last-child {
    border-bottom: none;
}

.news-date {
    color: #777;

    font-size: 14px;
}

.news h2 {
    margin-top: 5px;
}


/* ================================
   PDF
   ================================ */

.pdf {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 12px 0;

    padding: 12px 15px;

    background: #f3f5f8;

    border-radius: 6px;
}

.pdf-icon {
    font-size: 24px;
		width: auto;
    height: 30px;
}

.pdf a {
    font-weight: bold;
    text-decoration: none;
}


/* ================================
   GALERIA ZDJĘĆ
   ================================ */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
    align-items: start;
}

.gallery img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.15);

    cursor: pointer;

    transition: transform 0.2s ease;
}

.gallery img:hover {
    transform: scale(1.02);
}


/* ================================
   POWIĘKSZONE ZDJĘCIE - LIGHTBOX
   ================================ */

.lightbox {
    display: none;

    position: fixed;
    z-index: 10000;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.90);

    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}


/* zdjęcie w powiększeniu */

.lightbox img {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 85vw !important;
    max-height: 85vh !important;

    object-fit: contain;

    margin: 0 !important;

    border-radius: 4px;

    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}


/* przycisk zamknięcia */

.lightbox-close {
    position: absolute;

    top: 15px;
    right: 25px;

    color: white;

    font-size: 45px;
    line-height: 1;

    cursor: pointer;

    z-index: 10001;
}


/* strzałka w lewo */

.lightbox-prev {
    position: absolute;

    left: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: white;

    font-size: 50px;

    cursor: pointer;

    z-index: 10001;
}


/* strzałka w prawo */

.lightbox-next {
    position: absolute;

    right: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: white;

    font-size: 50px;

    cursor: pointer;

    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ccc;
}


/* ================================
   STOPKA
   ================================ */

.footer {
    margin-top: 50px;

    background: #263b63;

    color: white;
}

.footer-inner {
    max-width: 1100px;

    margin: auto;

    padding: 30px 25px;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 30px;
}

.footer a {
    color: white;
}

.copyright {
    text-align: center;

    padding: 15px;

    border-top: 1px solid
        rgba(255,255,255,0.2);

    font-size: 13px;
}


/* ================================
   TELEFON / TABLET
   ================================ */

@media (max-width: 700px) {

    .logo-area {
        flex-direction: column;

        text-align: center;
    }

    .header h1 {
        font-size: 24px;
    }

    .menu-inner {
        flex-direction: column;
    }

    .menu a {
        text-align: center;

        border-bottom:
            1px solid
            rgba(255,255,255,0.15);
    }

    .container {
        padding: 0 12px;
    }

    .content {
        padding: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;

        text-align: center;
    }
}
/* ================================
   TABELA konferencje
   ================================ */


.konferencje {
    width: max-content;
    max-width: 100%;
    border-collapse: collapse;
}

.konferencje th,
.konferencje td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.konferencje th {
    background-color: #f2f2f2;
}

.konferencje td a {
    overflow-wrap: anywhere;
}
.konferencje {
    border-collapse: collapse;
}

.konferencje th,
.konferencje td {
    border: 1px solid #999;
    padding: 8px;
}
