* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000;
    background-image: radial-gradient(circle at 0% 0%, #666, #4d4d4d, #333, #1a1a1a, #000 70%);
    background-attachment: fixed;
    color: #fff;
    overflow-x: hidden;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

.animate-on-load {
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s ease-in-out, background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-radius: 0 0 15px 15px;
}

header.hidden {
    transform: translateY(-100%);
}

header.glass {
    background: rgba(34, 34, 34, 0.8); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    border-top: none;
    border-radius: 0 0 15px 15px !important; 
}

.header-right .nav-icon {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    margin-left: 15px;
    transition: opacity 0.3s;
}

.header-right .nav-icon:hover {
    opacity: 0.7;
}

.header-right .icon {
    width: 24px;
    height: 24px;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.logo img {
    height: 80px;
}

nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #fff;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.nav-links a:hover {
    color: #8f8d8d;
}

.nav-links a.active::after {
    width: 100%;
    left: 0;
}

.nav-links a.active {
    color: #8f8d8d;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.fb-link {
    display: flex;
    align-items: center;
}

.fb-icon {
    width: 26px;
    height: 26px;
    fill: #fff;
    transition: transform 0.3s, fill 0.3s;
}

.fb-icon:hover { 
    fill: #8f8d8d;
    transform: scale(1.1);
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

main {
    padding: 120px 5% 180px;
    min-height: calc(100vh - 80px);
}

.split-section {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 0; 
    margin-bottom: 120px;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
    position: relative;
    height: 450px; 
}

.split-section .tile-text {
    margin-right: -80px; 
    z-index: 2; 
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-section.reverse .tile-text {
    margin-left: -80px; 
    margin-right: 0;
    z-index: 2;
}

.tile-text.glass {
    flex: 1;
    max-width: 500px; 
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); 
    height: 80%; 
    overflow-y: auto; 
}

.tile-img {
    flex: 1.3; 
    height: 100%;
}

.tile-img img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); 
}

.info-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.title-divider {
    border: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.6); 
    width: 60px; 
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px; 
}

.tile-text p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

@media screen and (max-width: 768px) {
    .split-section {
        height: auto; 
        flex-direction: column;
        gap: 20px;
    }
    
    .split-section .tile-text,
    .split-section.reverse .tile-text {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%; 
        width: 100%;
        height: auto; 
    }
    
    .tile-img {
        width: 100%;
        height: 300px;
    }
}

.large-tile {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    line-height: 1.6;
}

/* --- Galeria --- */
.gallery-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

.gallery-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.title-divider-thick {
    border: 0;
    border-top: 4px solid #ffffff;
    width: 60px; 
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    margin: 0;
    padding: 0;
}

.lightbox.active {
    display: flex !important;
    animation: fadeIn 0.2s ease forwards;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 50px;
    font-weight: 100;
    cursor: pointer;
    line-height: 1;
    letter-spacing: 0;
    transition: 
        color 0.25s ease,
        transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        letter-spacing 0.3s ease;
    user-select: none;
    z-index: 1000000;
}

.lightbox-close:hover {
    color: #ffffff;
    transform: scale(1.1) scaleX(1.3); 
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6); 
}

body.lightbox-open header,
body.lightbox-open .glass-footer {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Kontakt --- */
.contact-page-container {
    max-width: 1000px; 
    margin: 50px auto 70px auto;
    padding: 0 20px;
}

.contact-flex-wrapper {
    display: flex;
    gap: 30px; 
    align-items: center; 
    height: 780px;
}

.map-side {
    flex: 1.1; 
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.map-side iframe {
    width: 100%;
    height: 100%;
}

.contact-side {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding: 35px; 
    position: relative;
    z-index: 2; 
    margin-left: -60px; 
    height: 90%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5); 
}

/* --- Teksty informacyjne --- */
.contact-info { 
    text-align: center; 
}
.contact-info h3 {
    display: inline-block;
    margin-bottom: 15px; 
    font-size: 22px; 
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}
.contact-info p {
    margin-bottom: 5px; color: rgba(255, 255, 255, 0.9); font-size: 15px; 
}
.contact-info a { 
    color: #fff; text-decoration: none; font-weight: bold; transition: color 0.3s; 
}
.contact-info a:hover {
    color: #ccc; 
}

.address-link {
    text-decoration: none !important;
    font-weight: bold !important;
}

.address-link:hover {
    text-decoration: none !important;
    color: #ccc;
}

.contact-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    margin: 15px 0;
}

/* --- Formularz --- */
.contact-form-section { 
    text-align: center; 
}
.contact-form-section h3 {
    display: inline-block;
    margin-bottom: 15px; 
    font-size: 20px; 
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}
.glass-form { 
    display: flex; flex-direction: column; gap: 10px; 
}

.glass-form input, .glass-form textarea {
    width: 100%;
    padding: 10px 12px; 
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: background 0.3s, border-color 0.3s;
}

.glass-form textarea {
    resize: none;
}

.glass-form input::placeholder, .glass-form textarea::placeholder { 
    color: rgba(255, 255, 255, 0.6); 
}
.glass-form input:focus, .glass-form textarea:focus { 
    background: rgba(255, 255, 255, 0.2); border-color: #fff; 
}

.submit-btn {
    background: #fff;
    color: #000;
    font-weight: 600;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s;
    margin-top: 5px;
}
.submit-btn:hover { background: #e6e6e6; transform: translateY(-2px); }

@media (max-width: 850px) {
    .contact-flex-wrapper {
        flex-direction: column; 
        height: auto;
    }
    .map-side {
        width: 100%;
        height: 300px; 
    }
    .contact-side {
        width: 100%;
        height: auto;
        margin-left: 0; 
        margin-top: -30px; 
    }
}

/* --- Footer --- */
footer.glass-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px 15px 0 0 !important; 
    padding: 30px 5% 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

footer.glass-footer.show {
    transform: translateY(0);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.footer-logo img {
    height: 80px;
}
.copyright {
    font-size: 14px;
    color: #aaa;
}

.footer-line {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 90%;
    margin: 20px auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-left, .footer-center, .footer-right {
    flex: 1;
    display: flex;
    align-items: center;
}
.footer-left { 
    justify-content: flex-start; 
}
.footer-center { 
    justify-content: center; 
}
.footer-right { 
    justify-content: flex-end; gap: 15px; 
}

.footer-phone {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.footer-phone:hover { color: #aaa; }

footer.footer-fixed-always {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px 15px 0 0 !important; 
    padding: 30px 5% 20px;
    box-sizing: border-box; 
    transform: translateY(0) !important;
    transition: none !important;
}

footer.footer-fixed-always::before {
    content: "";
    display: block !important;
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    pointer-events: none;
}

/* --- MENU POLITYKI PRYWATNOŚCI --- */
.privacy-dropdown {
    position: relative;
    cursor: pointer;
    padding: 15px 20px;
}

.dropdown-menu {
    position: absolute;
    bottom: 100%; 
    left: 50%;
    list-style: none;
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    background: rgba(15, 15, 15, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transform: translateX(-50%) translateY(15px);
    filter: blur(4px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                filter 0.3s ease;
    transition-delay: 0.1s;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: -30px; 
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.privacy-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(-5px);
    filter: blur(0);
    transition-delay: 0s;
}

.dropdown-menu li {
    margin-bottom: 2px;
}
.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu li a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    text-decoration: none;
    font-size: 14px;
    text-align: left;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    position: relative;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding-left: 22px;
}

.dropdown-menu li a::before {
    content: '›';
    position: absolute;
    left: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 16px;
    color: #aaa;
}
.dropdown-menu li a:hover::before {
    opacity: 1;
}

/* --- O NAS --- */
.about-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

.about-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.title-divider-thick {
    border: 0;
    border-top: 4px solid #ffffff; 
    width: 60px; 
    margin-left: auto;
    margin-right: auto;
}

.about-container {
    max-width: 900px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.glass-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
}

.glass-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.glass-card p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    main {
        padding: 120px 5% 250px;
    }
    footer.glass-footer {
        padding: 25px 5% 30px; 
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 70px);
        justify-content: center;
        transition: 0.4s;
    }
    .nav-links.nav-active {
        right: 0;
    }
    .burger { display: flex; }
    .split-section, .split-section.reverse {
        flex-direction: column;
    }
    .tile-text, .tile-img {
        padding: 20px;
        width: 100%;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-map iframe {
        height: 300px;
    }
}

/* --- ZAKAMUFLOWANA SEKCJA POWIADOMIEŃ SYSTEMOWYCH (COOKIES) --- */
.site-notice-panel {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 650px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 9999999;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: system-ui, sans-serif;
    color: #ffffff;
}

.site-notice-panel.show {
    bottom: 30px;
}

.notice-inner-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notice-text-header h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.notice-text-header p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.notice-text-header a {
    color: #ffffff;
    text-decoration: underline;
}

.notice-advanced-config {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.notice-option-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.notice-option-item input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #ffffff;
    cursor: pointer;
}

.notice-action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 5px;
}

.notice-trigger-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: #ffffff;
    color: #1a1a1a;
}
.btn-primary:hover {
    background: rgba(255, 255, 255, 0.85);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.2);
}
.btn-danger:hover {
    background: rgba(255, 77, 77, 0.25);
}

body.cookie-lock {
    overflow: hidden !important;
}

body.cookie-lock header, 
body.cookie-lock main, 
body.cookie-lock footer {
    pointer-events: none !important;
    user-select: none;
}

.site-notice-panel {
    pointer-events: auto !important;
}

@media (max-width: 480px) {
    .notice-action-buttons {
        flex-direction: column-reverse;
    }
    .notice-trigger-btn {
        width: 100%;
        text-align: center;
    }
}