/* Courier Prime Font */
@font-face {
    font-family: 'Courier Prime';
    src: url('../fonts/CourierPrime-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Courier Prime';
    src: url('../fonts/CourierPrime-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Courier Prime';
    src: url('../fonts/CourierPrime-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Courier Prime';
    src: url('../fonts/CourierPrime-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Reset i Podstawowe Style */
:root {
    --gold: #D4AF37;
    --gold-light: #E5C158;
    --gold-dark: #B8941F;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #E5C158 50%, #B8941F 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input,
button,
textarea,
select {
    font-family: inherit;
}

body {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    background-color: #f3f1ee;
    color: #212121;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
}

h1 {
    font-size: 1.3rem;
}

h2 {
    font-size: 1.1rem;
}

h3 {
    font-size: 0.95rem;
}

h4 {
    font-size: 0.85rem;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(33, 33, 33, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(33, 33, 33, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #212121;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

.page-transition-logo {
    width: 100px;
    height: 100px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}


/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

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

/* Typografia */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    color: #212121;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Kreatywne efekty dla tekstu */
.artistic-title {
    position: relative;
    display: inline-block;
}

.artistic-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    width: 40px;
    height: 1px;
    background: var(--gold-gradient);
    opacity: 0.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
.lang-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

a:not(.btn):not(.btn-small):not(.featured-link):not(.back-to-artists):not(.details)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

a:not(.btn):not(.btn-small):not(.featured-link):not(.back-to-artists):not(.details):hover::after {
    width: 100%;
}

.social-icons a::after,
.footer-social a::after {
    display: none !important;
}

/* Header & Nawigacja */
header {
    background-color: #f3f1ee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(33, 33, 33, 0.05);
    border-bottom: 1px solid rgba(33, 33, 33, 0.08);
}

.navbar {
    padding: 30px 0;
}

.navbar .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

/* Logo - wycentrowane */
.logo {
    grid-column: 2;
    display: flex;
    justify-content: center;
}

.logo img {
    height: 85px;
    width: auto;
    transition: opacity 0.3s ease;
    opacity: 0.95;
}

.logo img:hover {
    opacity: 0.85;
}

/* Lewa strona - przełącznik językowy */
.language-social-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-switcher {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-btn {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #212121;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.lang-btn.active {
    opacity: 1;
    font-weight: bold;
}

.lang-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.lang-btn:hover::after,
.lang-btn.active::after {
    width: 100%;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-separator {
    color: var(--gold);
    opacity: 0.5;
    font-size: 0.8rem;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icons a {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #212121;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-icons a:hover {
    opacity: 1;
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Prawa strona - hamburger */
.navbar-right {
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 400px;
    max-width: 85%;
    background-color: #f3f1ee;
    box-shadow: -5px 0 30px rgba(33, 33, 33, 0.1);
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 120px 60px 60px;
    gap: 30px;
    align-items: flex-start;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    width: 100%;
}

.nav-menu li a {
    color: #4a4a4a;
    font-size: 1.3rem;
    text-transform: uppercase;
    padding: 12px 0;
    display: block;
    border-bottom: 2px solid transparent;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    width: 12px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    padding-left: 20px;
}

/* Hamburger Menu - zawsze widoczny */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: #212121;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-top: -1px;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) contrast(1.1) saturate(0.9);
    transition: filter 2s ease;
}

.hero-slide.active img {
    filter: brightness(0.7) contrast(1.05) saturate(1);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #f3f1ee;
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 2rem;
    color: #f3f1ee;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.2;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.3s forwards;
    white-space: nowrap;
}

.hero-content p {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: #f3f1ee;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(243, 241, 238, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.dot.active,
.dot:hover {
    background-color: #f3f1ee;
    border-color: #f3f1ee;
}


/* Przyciski - ELEGANT GOLD ACCENT */
.btn {
    display: inline-block;
    padding: 18px 50px;
    background-color: #212121;
    color: #f3f1ee;
    text-transform: uppercase;
    font-size: 0.75rem;
    border: 2px solid #212121;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-weight: 400;
}

.btn:hover {
    background-color: rgba(33, 33, 33, 0.9);
    border-color: rgba(33, 33, 33, 0.9);
    color: #f3f1ee;
}

.btn-small {
    display: inline-block;
    padding: 18px 50px;
    background-color: transparent;
    color: #212121;
    text-transform: uppercase;
    font-size: 0.75rem;
    border: 2px solid #212121;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-weight: 400;
}

.btn-small:hover {
    color: #212121;
    border-color: rgba(33, 33, 33, 0.6);
    background-color: rgba(33, 33, 33, 0.02);
}

.ask-btn {
    padding: 8px 20px;
    font-size: 0.7rem;
    border-width: 1px;
    margin-top: 0;
}

/* Stats Section - DIAGONAL LAYOUT */
.stats-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #e8e6e1 0%, #f3f1ee 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(33, 33, 33, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.stats-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(33, 33, 33, 0.1), transparent);
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 60px 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    opacity: 0.8;
}

.stat-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(33, 33, 33, 0.1), transparent);
}

.stat-item:last-child::before {
    display: none;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(33, 33, 33, 0.02);
    transition: all 0.6s ease;
    z-index: -1;
}

.stat-item:hover::after {
    width: 200px;
    height: 200px;
}

.stat-number {
    font-size: 5.5rem;
    font-weight: 100;
    color: #212121;
    margin-bottom: 20px;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: #212121;
    opacity: 0.3;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 400;
}

/* About Preview Section */
.about-preview {
    padding: 140px 0 160px;
    text-align: center;
    position: relative;
}

/* Gallery Intro Section */
.gallery-intro {
    padding: 100px 0;
    background-color: #f3f1ee;
}

.gallery-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.gallery-intro-text h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.gallery-intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.gallery-intro-lead {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.gallery-intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.gallery-intro-text .btn-small {
    margin-top: 30px;
}

.gallery-intro-accent {
    padding: 50px;
    background-color: #eae8e3;
}

.gallery-intro-accent blockquote {
    margin: 0 0 50px 0;
    padding: 0 0 0 25px;
    border-left: 3px solid var(--gold);
}

.gallery-intro-accent blockquote p {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
}

.gallery-intro-accent blockquote cite {
    font-size: 0.8rem;
    color: #888;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-intro-stats {
    display: flex;
    gap: 40px;
}

.intro-stat {
    display: flex;
    flex-direction: column;
}

.intro-stat-number {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 5px;
}

.intro-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

@media (max-width: 768px) {
    .gallery-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-intro {
        padding: 60px 0;
    }

    .gallery-intro-accent {
        padding: 30px;
    }
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(33, 33, 33, 0.2));
}

.about-preview h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.about-preview h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.about-preview p {
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    line-height: 2;
    font-weight: 300;
}

/* Featured Artists Section - OFFSET LAYOUT */
.featured-artists {
    padding: 180px 0;
    position: relative;
    background: linear-gradient(135deg, #f3f1ee 0%, #e8e6e1 100%);
}



.featured-artists h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.featured-artists h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 80px;
    position: relative;
}

.featured-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(33, 33, 33, 0.1), transparent);
    z-index: 0;
}

.featured-item {
    background-color: transparent;
    overflow: visible;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin: 60px 30px;
}


.featured-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid transparent;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.featured-item:hover::before {
    border-color: rgba(33, 33, 33, 0.1);
}

.featured-item:hover {
    opacity: 0.95;
}

.featured-image {
    height: 450px;
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.05) 0%, transparent 50%, rgba(33, 33, 33, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    filter: grayscale(0.5) contrast(1.1) brightness(1.05);
}

.featured-item:hover .featured-image {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}

.featured-item:hover .featured-image img {
    filter: grayscale(0) contrast(1.05) brightness(1);
}

.featured-info {
    padding: 40px 30px;
    position: relative;
    z-index: 2;
    background-color: rgba(243, 241, 238, 0.95);
    backdrop-filter: blur(10px);
    margin-top: -50px;
    transition: all 0.4s ease;
}

.featured-item:hover .featured-info {
    background-color: rgba(255, 255, 255, 0.98);
}

.featured-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.6s ease 0.2s;
}

.featured-item:hover .featured-info::before {
    width: 100%;
}

.featured-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.featured-item:hover .featured-info h3 {
    transform: translateX(10px);
}

.featured-specialty {
    font-size: 1rem;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 20px;
    font-weight: 400;
}

.featured-info p {
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.75;
    font-size: 1rem;
}

.featured-link {
    font-size: 1rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
}

.featured-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: width 0.4s ease;
}

.featured-item:hover .featured-link::after {
    width: calc(100% - 20px);
}

.featured-link:hover {
    gap: 15px;
}

.featured-cta {
    text-align: center;
    margin-top: 60px;
}

/* Current Exhibition Section - ASYMMETRIC LAYOUT */
.current-exhibition {
    padding: 80px 0 180px;
    background-color: #e8e6e1;
    position: relative;
    overflow: hidden;
}

.current-exhibition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(33, 33, 33, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.current-exhibition::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(33, 33, 33, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.current-exhibition h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.current-exhibition h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.exhibition-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.exhibition-item {
    position: relative;
    overflow: hidden;
    background-color: #f3f1ee;
    transform-origin: center;
    min-height: 400px;
}

.exhibition-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.exhibition-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.exhibition-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.exhibition-item:nth-child(4) {
    grid-column: 2 / span 2;
    grid-row: 2;
}

.exhibition-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    background-color: #e8e6e1;
}

.exhibition-item:nth-child(1) .exhibition-image {
    height: 100%;
    min-height: 700px;
}

.exhibition-item:nth-child(4) .exhibition-image {
    height: 100%;
}

.exhibition-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(33, 33, 33, 0.03) 100%);
    z-index: 1;
    pointer-events: none;
}

.exhibition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
}

.exhibition-item:hover .exhibition-image img {
    filter: grayscale(0);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.95) 0%, rgba(33, 33, 33, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #f3f1ee;
    padding: 40px;
    text-align: center;
    z-index: 2;
}

.exhibition-item:hover .overlay {
    opacity: 1;
}

.overlay::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 1px solid rgba(243, 241, 238, 0.3);
    pointer-events: none;
    transition: all 0.5s ease;
}


.exhibition-item:hover .overlay::before {
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
}

.overlay h3 {
    font-size: 1.6rem;
    color: #f3f1ee;
    margin-bottom: 15px;
    font-weight: 300;
}

.overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.overlay .details {
    font-size: 0.85rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.overlay .details::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: width 0.4s ease 0.3s;
}

.exhibition-item:hover .overlay .details::after {
    width: 60px;
}

/* Footer */
footer {
    background-color: #f3f1ee;
    color: #212121;
    padding: 140px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(33, 33, 33, 0.12), transparent);
}

footer::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(33, 33, 33, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.footer-main {
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    text-align: center;
    margin-bottom: 80px;
}

.footer-logo img {
    height: 85px;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 70px;
    margin-bottom: 80px;
}

.footer-column h3 {
    color: #212121;
    margin-bottom: 35px;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    padding-bottom: 18px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), rgba(33, 33, 33, 0.15));
    opacity: 0.6;
}

.footer-about {
    grid-column: span 2;
}

.footer-about p {
    line-height: 2.1;
    font-size: 1.05rem;
    opacity: 0.75;
    margin-bottom: 35px;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 18px;
    margin-top: 35px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(33, 33, 33, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.footer-social a:hover {
    background-color: #f3f1ee;
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-social a:hover svg {
    fill: #212121;
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: #212121;
    transition: fill 0.3s ease;
}

.footer-column p {
    line-height: 2.1;
    font-size: 0.95rem;
    opacity: 0.75;
    font-weight: 300;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 18px;
}

.footer-column ul li a {
    color: #212121;
    opacity: 0.75;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    display: inline-block;
    font-weight: 300;
    position: relative;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: width 0.4s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    padding-left: 8px;
}

.footer-column ul li a:hover::after {
    width: 30px;
}

.footer-newsletter {
    grid-column: span 1;
}

.newsletter-form {
    margin-top: 25px;
}

.newsletter-input {
    width: 100%;
    padding: 16px;
    background-color: rgba(33, 33, 33, 0.04);
    border: 1px solid rgba(33, 33, 33, 0.2);
    color: #212121;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    margin-bottom: 18px;
    transition: all 0.4s ease;
}

.newsletter-input:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    background-color: rgba(33, 33, 33, 0.06);
    border-color: var(--gold);
}

.newsletter-input::placeholder {
    color: rgba(33, 33, 33, 0.5);
}

.newsletter-btn {
    width: 100%;
    padding: 16px;
    background-color: transparent;
    border: 1px solid #212121;
    color: #212121;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
}

.newsletter-btn:hover {
    background-color: rgba(33, 33, 33, 0.06);
    border-color: rgba(33, 33, 33, 0.5);
    color: #212121;
}

.footer-bottom {
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid rgba(33, 33, 33, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.65;
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.85rem;
    opacity: 0.65;
    transition: all 0.4s ease;
    font-weight: 300;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: width 0.4s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

/* Page Header - CREATIVE LAYOUT */
.page-header {
    padding: 180px 0 120px;
    text-align: left;
    background: linear-gradient(135deg, #e8e6e1 0%, #f3f1ee 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(33, 33, 33, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(33, 33, 33, 0.1), transparent);
}

.page-header .container {
    max-width: 1400px;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 100;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.5;
    font-weight: 300;
    text-transform: uppercase;
    max-width: 600px;
}

/* Wydarzenia Page */
.events-section {
    padding: 120px 0 140px;
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(33, 33, 33, 0.1), transparent);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 60px;
    margin-bottom: 100px;
}

.event-card {
    background-color: #fff;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #212121;
    transition: width 0.5s ease 0.2s;
    z-index: 1;
}

.event-card:hover::before {
    width: 100%;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(33, 33, 33, 0.12);
}

.event-image {
    position: relative;
    height: 360px;
    overflow: hidden;
    background-color: #e8e6e1;
    background-image: linear-gradient(90deg, #e8e6e1 0%, #f3f1ee 50%, #e8e6e1 100%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: grayscale(0.3);
    display: block !important;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    visibility: visible !important;
}

.event-image img[src] {
    animation: none;
    background: none;
}

.event-image:has(img[src]),
.event-image img[src]:not([src=""]) {
    animation: none;
    background: none;
    background-image: none;
}

.event-card:hover .event-image img {
    transform: scale(1.06);
    filter: grayscale(0);
}

.event-date {
    position: absolute;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.95), rgba(33, 33, 33, 0.85));
    color: #f3f1ee;
    padding: 15px 25px;
    font-size: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(243, 241, 238, 0.2);
    transition: all 0.3s ease;
}

.event-card:hover .event-date {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 33, 33, 0.3);
}

.event-content {
    padding: 40px;
    position: relative;
}

.event-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 30px;
    height: 1px;
    background-color: rgba(33, 33, 33, 0.2);
    transition: width 0.5s ease 0.3s;
}

.event-card:hover .event-content::before {
    width: 60px;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.event-card:hover .event-content h3 {
    color: rgba(33, 33, 33, 0.8);
}

.event-time {
    font-style: italic;
    opacity: 0.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Targi Section - CREATIVE CARDS */
.fairs-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8e6e1 0%, #f3f1ee 100%);
    margin-top: 80px;
    position: relative;
}

.fairs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(33, 33, 33, 0.1), transparent);
}

.fairs-section h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.fairs-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.fair-info {
    max-width: 900px;
    margin: 0 auto;
}

.fair-info>p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 50px;
    opacity: 0.8;
    font-weight: 300;
}

.fairs-list {
    list-style: none;
    margin-top: 40px;
    display: grid;
    gap: 30px;
}

.fairs-list li {
    padding: 40px 50px;
    background-color: #fff;
    margin-bottom: 0;
    border-left: none;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.fairs-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(to right, rgba(33, 33, 33, 0.05), transparent);
    transition: width 0.5s ease;
}

.fairs-list li:hover::before {
    width: 100%;
}

.fairs-list li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background-color: #212121;
    transition: height 0.5s ease 0.1s;
}

.fairs-list li:hover::after {
    height: 100%;
}

.fairs-list li:hover {
    transform: translateX(15px);
    box-shadow: -20px 20px 60px rgba(33, 33, 33, 0.08);
}

.fairs-list li strong {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 12px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.fairs-list li:hover strong {}

.fairs-list li:not(:has(strong)) {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
    line-height: 1.8;
}

/* Artyści Page - BENTO GRID */
.artists-section {
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
}

.artists-section::before {
    content: 'ARTISTS';
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    font-size: 15rem;
    font-weight: 100;
    color: rgba(33, 33, 33, 0.015);
    pointer-events: none;
    z-index: 0;
}

.artists-section::after {
    content: '';
    position: absolute;
    bottom: 100px;
    right: 100px;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(33, 33, 33, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 400px);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.artist-card:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.artist-card:nth-child(2) {
    grid-column: 3 / span 2;
    grid-row: 1;
}

.artist-card:nth-child(3) {
    grid-column: 5 / span 2;
    grid-row: 1 / span 2;
}

.artist-card:nth-child(4) {
    grid-column: 3 / span 2;
    grid-row: 2 / span 2;
}

.artist-card:nth-child(5) {
    grid-column: 1 / span 2;
    grid-row: 3;
}

.artist-card:nth-child(6) {
    grid-column: 5 / span 2;
    grid-row: 3;
}

.artist-card {
    background-color: #fff;
    overflow: hidden;
    position: relative;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.artist-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(33, 33, 33, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.artist-card:hover::after {
    opacity: 1;
}

.artist-card:hover {
    opacity: 0.95;
}

.artist-image {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.artist-card:nth-child(1) .artist-image,
.artist-card:nth-child(3) .artist-image,
.artist-card:nth-child(4) .artist-image {
    height: 70%;
}

.artist-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(33, 33, 33, 0.4) 100%);
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.artist-card:hover .artist-image::before {
    opacity: 0.2;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s ease;
    filter: grayscale(0.6) contrast(1.15) brightness(0.95);
}

.artist-card:hover .artist-image img {
    filter: grayscale(0) contrast(1.05) brightness(1);
}

.artist-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px;
    background: linear-gradient(to top, rgba(243, 241, 238, 0.98) 0%, rgba(243, 241, 238, 0.95) 80%, transparent 100%);
    backdrop-filter: blur(15px);
    z-index: 2;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.artist-card:hover .artist-info {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 70%, transparent 100%);
}

.artist-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 35px;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.6s ease 0.2s;
}

.artist-card:hover .artist-info::before {
    width: 60px;
}

.artist-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.artist-card:hover .artist-info h3 {}

.artist-specialty {
    font-style: normal;
    opacity: 0.5;
    margin-bottom: 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 400;
}

.artist-description {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.artist-card:hover .artist-description {
    max-height: 200px;
    opacity: 0.9;
}

/* Aktualności Page */
.news-section {
    padding: 120px 0 140px;
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 1px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(33, 33, 33, 0.1), transparent);
}

.news-list {
    max-width: 1100px;
    margin: 0 auto;
}

.news-item {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 60px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(33, 33, 33, 0.08);
    position: relative;
    transition: all 0.4s ease;
}

.news-item:hover {
    padding-left: 20px;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(33, 33, 33, 0.03), transparent);
    transition: width 0.4s ease;
    pointer-events: none;
}

.news-item:hover::before {
    width: 100%;
}

.news-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background-color: #e8e6e1;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.03), transparent);
    z-index: 1;
    pointer-events: none;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: grayscale(0.2) contrast(1.05);
}

.news-item:hover .news-image img {
    transform: scale(1.05);
    filter: grayscale(0) contrast(1);
}

.news-date {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.95), rgba(33, 33, 33, 0.85));
    color: #f3f1ee;
    padding: 12px 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(10px);
    z-index: 2;
    border: 1px solid rgba(243, 241, 238, 0.2);
    transition: all 0.3s ease;
}

.news-item:hover .news-date {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 33, 33, 0.3);
}

.news-content {
    position: relative;
}

.news-content h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.news-item:hover .news-content h2 {
    color: rgba(33, 33, 33, 0.8);
}

.news-content p {
    line-height: 2;
    margin-bottom: 18px;
    font-size: 1.05rem;
    opacity: 0.9;
    font-weight: 300;
}

/* O Galerii Page - SPLIT LAYOUT */
.about-content {
    padding: 120px 0 140px;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(33, 33, 33, 0.05), transparent);
    pointer-events: none;
}

.about-text {
    max-width: 1000px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    grid-column: span 2;
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.about-text .lead {
    font-size: 1.4rem;
    line-height: 2.2;
    margin-bottom: 0;
    font-weight: 300;
    opacity: 0.9;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 2.2;
    margin-bottom: 25px;
    font-weight: 300;
    opacity: 0.85;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    margin-bottom: 100px;
    position: relative;
}

.about-gallery::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 40%;
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, rgba(33, 33, 33, 0.2), transparent);
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item:first-child {
    height: 550px;
}

.gallery-item:last-child {
    height: 550px;
    transform: translateY(80px);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.05), transparent);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.gallery-item:hover::before {
    opacity: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    filter: grayscale(0.3);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-bottom: 100px;
    background-color: rgba(33, 33, 33, 0.08);
}

.mission-item {
    padding: 80px 60px;
    background-color: #f3f1ee;
    position: relative;
    transition: all 0.5s ease;
}

.mission-item:hover {
    background-color: #fff;
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(33, 33, 33, 0.1);
}

.mission-item::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 60px;
    width: 0;
    height: 1px;
    background-color: #212121;
    transition: width 0.6s ease 0.2s;
}

.mission-item:hover::before {
    width: 80px;
}

.mission-item h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 100;
    text-transform: uppercase;
}

.mission-item p {
    line-height: 2.2;
    font-size: 1.05rem;
    font-weight: 300;
    opacity: 0.85;
}

.gallery-space {
    max-width: 1100px;
    margin: 0 auto 100px;
    position: relative;
}

.gallery-space h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.gallery-space h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.gallery-space p {
    line-height: 2.2;
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.85;
}

.space-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
    background-color: rgba(33, 33, 33, 0.05);
}

.feature {
    text-align: center;
    padding: 60px 40px;
    background-color: #fff;
    position: relative;
    transition: all 0.5s ease;
}

.feature:hover {
    background-color: #f3f1ee;
    transform: translateY(-10px);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(33, 33, 33, 0.1);
}

.feature::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: #212121;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.feature:hover::before {
    width: 50px;
    opacity: 0.6;
}

.feature h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 300;
    text-transform: uppercase;
}

.team-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-section h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.team-section p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Katalog Page */
.catalog-filters {
    padding: 60px 0;
    background-color: #e8e6e1;
    position: relative;
}

.catalog-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(33, 33, 33, 0.1), transparent);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 14px 35px;
    background-color: transparent;
    border: 1px solid rgba(33, 33, 33, 0.3);
    color: #212121;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
}

.filter-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #212121;
    transition: width 0.4s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: calc(100% - 40px);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: rgba(33, 33, 33, 0.03);
    border-color: #212121;
    transform: translateY(-2px);
}

.filter-btn.active {
    border-width: 2px;
    font-weight: 400;
}

.catalog-section {
    padding: 120px 0 140px;
    position: relative;
}

.catalog-section h2,
.contact-section h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.catalog-section h2::after,
.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.catalog-section::before {
    content: '';
    position: absolute;
    top: 60px;
    right: 8%;
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, rgba(33, 33, 33, 0.1), transparent);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
}

.catalog-grid::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(33, 33, 33, 0.1), transparent);
}

.catalog-item {
    background-color: transparent;
    overflow: visible;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}


.catalog-item::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid rgba(33, 33, 33, 0);
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.catalog-item:hover::before {
    border-color: rgba(33, 33, 33, 0.08);
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
}

.catalog-item:hover {
    opacity: 0.95;
    z-index: 100;
}

.catalog-image {
    position: relative;
    height: 380px;
    overflow: hidden;
    background-color: #e8e6e1;
    background-image: linear-gradient(90deg, #e8e6e1 0%, #f3f1ee 50%, #e8e6e1 100%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.catalog-image img {
    background-color: #e8e6e1;
}

.catalog-image img[src] {
    animation: none;
    background: none;
}

.catalog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(33, 33, 33, 0.02) 100%);
    z-index: 1;
    pointer-events: none;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: grayscale(0.3) contrast(1.05);
}

.catalog-item:hover .catalog-image img {
    filter: grayscale(0) contrast(1);
}

.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.97) 0%, rgba(33, 33, 33, 0.92) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.catalog-overlay::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(243, 241, 238, 0.2);
    transition: all 0.4s ease 0.1s;
}


.catalog-item:hover .catalog-overlay::before {
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border-color: rgba(243, 241, 238, 0.4);
}

.catalog-item:hover .catalog-overlay {
    opacity: 1;
}

.view-btn {
    padding: 15px 40px;
    background-color: transparent;
    color: #f3f1ee;
    border: 1px solid #f3f1ee;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
    text-decoration: none;
    display: inline-block;
}

.view-btn:hover {
    background-color: rgba(243, 241, 238, 0.1);
    border-color: rgba(243, 241, 238, 0.8);
    color: #f3f1ee;
}

.catalog-info {
    padding: 30px 20px;
    background-color: #fff;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-info .ask-btn {
    margin-top: auto;
    align-self: flex-start;
}

.catalog-item:hover .catalog-info {
    background-color: #f3f1ee;
}

.catalog-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.5s ease 0.2s;
}

.catalog-item:hover .catalog-info::before {
    width: 50px;
}

.catalog-info h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.catalog-item:hover .catalog-info h3 {}

.artist-name {
    font-style: italic;
    opacity: 0.6;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 300;
}

.artwork-details {
    font-size: 0.8rem;
    opacity: 0.5;
    line-height: 1.6;
}

/* Kontakt Page */
.contact-section {
    padding: 120px 0 140px;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(33, 33, 33, 0.2), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 60px;
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #212121, transparent);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.contact-form-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-bottom: 1px solid rgba(33, 33, 33, 0.2);
    background-color: transparent;
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-bottom-color: #212121;
    border-bottom-width: 2px;
    background-color: rgba(33, 33, 33, 0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(33, 33, 33, 0.4);
    font-style: italic;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-box {
    background: linear-gradient(135deg, rgba(232, 230, 225, 0.5) 0%, rgba(232, 230, 225, 0.9) 100%);
    padding: 60px;
    position: relative;
    backdrop-filter: blur(5px);
    border-left: 2px solid rgba(33, 33, 33, 0.1);
    transition: all 0.5s ease;
}

.contact-info-box:hover {
    background: linear-gradient(135deg, rgba(232, 230, 225, 0.7) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-left-color: #212121;
    transform: translateX(10px);
    box-shadow: -20px 20px 60px rgba(33, 33, 33, 0.08);
}

.contact-info-box::before {
    content: '';
    position: absolute;
    top: 60px;
    right: 60px;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(33, 33, 33, 0.08);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.contact-info-box:hover::before {
    width: 80px;
    height: 80px;
    border-color: rgba(33, 33, 33, 0.15);
}

.contact-info-box h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 100;
}

.info-item {
    margin-bottom: 35px;
    position: relative;
    padding-left: 30px;
    transition: all 0.3s ease;
}

.info-item:hover {
    padding-left: 40px;
}

.info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 15px;
    height: 1px;
    background-color: rgba(33, 33, 33, 0.3);
    transition: all 0.3s ease;
}

.info-item:hover::before {
    width: 25px;
    background-color: #212121;
}

.info-item h4 {
    font-size: 0.8rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0.6;
}

.info-item p {
    line-height: 2;
    font-weight: 300;
    font-size: 1rem;
    opacity: 0.85;
}

.map-placeholder {
    background: linear-gradient(135deg, #e8e6e1 0%, #f3f1ee 100%);
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(33, 33, 33, 0.05);
    border-radius: 50%;
}

.map-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 1px solid rgba(33, 33, 33, 0.08);
    border-radius: 50%;
}

.map-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.map-content p {
    font-size: 1.3rem;
    font-weight: 300;
}

.map-note {
    font-style: italic;
    opacity: 0.5;
    font-size: 0.9rem !important;
    margin-top: 10px;
}

.additional-info {
    margin-top: 100px;
    padding: 80px 0;
    background-color: #e8e6e1;
    position: relative;
}

.additional-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(33, 33, 33, 0.1), transparent);
}

.additional-info h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.additional-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.transport-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background-color: rgba(33, 33, 33, 0.05);
}

.transport-item {
    text-align: center;
    padding: 50px 40px;
    background-color: #f3f1ee;
    position: relative;
    transition: all 0.5s ease;
}

.transport-item:hover {
    background-color: #fff;
    transform: translateY(-10px);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(33, 33, 33, 0.1);
}

.transport-item::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #212121;
    opacity: 0.2;
    transition: all 0.4s ease;
}

.transport-item:hover::before {
    width: 60px;
    opacity: 0.5;
}

.transport-item h4 {
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 33, 33, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #212121;
    color: #f3f1ee;
    border: 2px solid #212121;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(33, 33, 33, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.scroll-to-top:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background-color: #212121;
    color: #f3f1ee;
    padding: 15px 30px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 400;
    text-transform: uppercase;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Image Error Handling */
img {
    object-fit: cover;
}

img[src=""],
img:not([src]) {
    opacity: 0;
}

img.error {
    background-color: #e8e6e1;
    background-image:
        linear-gradient(45deg, #d0d0d0 25%, transparent 25%),
        linear-gradient(-45deg, #d0d0d0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #d0d0d0 75%),
        linear-gradient(-45deg, transparent 75%, #d0d0d0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Loading State for Forms */
.form-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gold);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .exhibition-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .exhibition-item:nth-child(1) {
        grid-column: span 2;
    }

    .exhibition-item:nth-child(2),
    .exhibition-item:nth-child(3),
    .exhibition-item:nth-child(4) {
        grid-column: span 1;
    }

    .artists-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 400px);
    }

    .artist-card:nth-child(1),
    .artist-card:nth-child(3) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .artist-card:nth-child(2),
    .artist-card:nth-child(4),
    .artist-card:nth-child(5),
    .artist-card:nth-child(6) {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2rem;
        white-space: nowrap;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-item:nth-child(1),
    .featured-item:nth-child(3) {
        transform: translateY(-20px);
    }

    .featured-item:nth-child(2) {
        transform: translateY(20px);
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-image {
        height: 300px;
    }

    .news-item:hover {
        padding-left: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .space-features {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .transport-info {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .about-text {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item:last-child {
        transform: translateY(0);
    }

    .artist-detail-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .artist-detail-grid::before {
        display: none;
    }
}

@media (max-width: 1024px) {
    .navbar .container {
        grid-template-columns: auto 1fr auto;
    }

    .language-social-left {
        gap: 15px;
    }

    .social-icons {
        gap: 15px;
    }

    .language-switcher {
        gap: 10px;
    }

    .lang-btn {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .container {
        grid-template-columns: 1fr auto 1fr;
        gap: 15px;
    }

    .logo img {
        height: 60px;
    }

    .footer-logo img {
        height: 60px;
    }

    .language-social-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .social-icons {
        display: none;
    }

    .social-icons svg {
        width: 16px;
        height: 16px;
    }

    .language-switcher {
        gap: 8px;
    }

    .lang-btn {
        font-size: 0.8rem;
        padding: 4px 2px;
    }

    .lang-separator {
        font-size: 0.8rem;
    }

    .nav-menu {
        width: 100%;
        max-width: 100%;
        padding: 100px 40px 60px;
    }

    .nav-menu li a {
        font-size: 1.3rem;
        padding: 15px 0;
    }

    .hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .exhibition-grid {
        grid-template-columns: 1fr;
    }

    .exhibition-item:nth-child(1) {
        grid-column: span 1;
    }

    .artists-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
    }

    .artist-card:nth-child(1),
    .artist-card:nth-child(2),
    .artist-card:nth-child(3),
    .artist-card:nth-child(4),
    .artist-card:nth-child(5),
    .artist-card:nth-child(6) {
        grid-column: span 1;
        grid-row: auto;
    }

    .artist-card:nth-child(1) .artist-image,
    .artist-card:nth-child(3) .artist-image,
    .artist-card:nth-child(4) .artist-image {
        height: 400px;
    }

    .exhibition-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
    }

    .exhibition-item:nth-child(1),
    .exhibition-item:nth-child(2),
    .exhibition-item:nth-child(3),
    .exhibition-item:nth-child(4) {
        grid-column: span 1;
        grid-row: auto;
    }

    .exhibition-item:nth-child(1) .exhibition-image {
        height: 450px;
        min-height: auto;
    }

    .exhibition-item:nth-child(4) .exhibition-image {
        height: 450px;
    }

    .current-exhibition h2 {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .catalog-item:nth-child(3n+1),
    .catalog-item:nth-child(3n+2),
    .catalog-item:nth-child(3n) {
        transform: translateY(0);
    }

    .catalog-item:nth-child(3n+1):hover,
    .catalog-item:nth-child(3n+2):hover,
    .catalog-item:nth-child(3n):hover {
        transform: translateY(-10px) scale(1.02);
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-image {
        height: 280px;
    }

    .event-image {
        height: 300px;
    }

    .about-preview {
        padding: 80px 0 100px;
    }

    .current-exhibition {
        padding: 80px 0 100px;
    }

    .events-section,
    .artists-section,
    .news-section,
    .catalog-section,
    .contact-section {
        padding: 80px 0 100px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .featured-grid::before {
        display: none;
    }

    .featured-item,
    .featured-item:nth-child(1),
    .featured-item:nth-child(2),
    .featured-item:nth-child(3) {
        transform: translateY(0);
        margin: 0;
    }

    .featured-item:hover,
    .featured-item:nth-child(2):hover {
        transform: translateY(-10px) scale(1.02);
    }

    .featured-artists h2 {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 40px;
    }

    .featured-artists h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .featured-artists::before {
        display: none;
    }

    .featured-info {
        margin-top: -40px;
    }

    .featured-item:hover .featured-info {
        margin-top: -50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-about h3 {
        font-size: 1.5rem;
    }

    .footer-newsletter {
        grid-column: span 1;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 100px 0 60px;
        text-align: left;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header h1::after {
        width: 40px;
        height: 1px;
    }

    .page-header p {
        font-size: 0.85rem;
    }

    body::before {
        display: none;
    }

    .artists-section::before,
    .artists-section::after,
    .current-exhibition::before,
    .current-exhibition::after,
    .featured-artists::before,
    .events-section::before,
    .news-section::before,
    .catalog-section::before,
    .contact-section::before {
        display: none;
    }


    .exhibition-grid,
    .events-grid,
    .artists-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}

/* Hide items - za pomocą JavaScript */
.catalog-item.hidden {
    display: none;
}

/* Artist Detail Page - Single Card Product */
.artist-detail {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.artist-detail::before {
    content: '';
    position: absolute;
    top: 200px;
    right: 0;
    width: 50%;
    height: 600px;
    background: linear-gradient(135deg, transparent 0%, rgba(33, 33, 33, 0.015) 100%);
    pointer-events: none;
}

.artist-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    margin-bottom: 40px;
    position: relative;
}

.artist-detail-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 80%;
    background: linear-gradient(to bottom, transparent, rgba(33, 33, 33, 0.05), transparent);
}

.artist-main-image {
    position: sticky;
    top: 140px;
    height: fit-content;
    transition: all 0.5s ease;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.artist-main-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, #212121, transparent);
    opacity: 0.3;
}

.artist-main-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: filter 0.6s ease, transform 0.6s ease;
    display: block;
    margin-bottom: 40px;
}

.artist-main-image:hover img {
    filter: grayscale(0);
    transform: scale(1.02);
}

.artist-detail-info {
    padding: 40px 0;
    position: relative;
}

.artist-detail-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, #212121, transparent);
    opacity: 0.3;
}

.artist-detail-info h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    font-weight: 100;
    line-height: 1.2;
    position: relative;
    padding-left: 30px;
}

.artist-detail-info h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #212121, transparent);
}

.artist-category {
    font-size: 0.85rem;
    font-style: normal;
    opacity: 0.5;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 400;
    padding-left: 30px;
}

.artist-bio {
    line-height: 2.2;
    font-size: 1.05rem;
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.85;
    position: relative;
}

.artist-bio::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 8rem;
    color: rgba(33, 33, 33, 0.05);
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    line-height: 1;
}

.artist-bio p {
    margin-bottom: 28px;
    position: relative;
    padding-left: 40px;
}

.artist-bio p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px;
    height: 1px;
    background-color: rgba(33, 33, 33, 0.2);
}

.artist-details-list {
    background: linear-gradient(135deg, rgba(232, 230, 225, 0.5) 0%, rgba(232, 230, 225, 0.8) 100%);
    padding: 50px;
    margin-bottom: 30px;
    margin-top: 0;
    position: relative;
    backdrop-filter: blur(10px);
    border-left: 3px solid rgba(33, 33, 33, 0.1);
    transition: all 0.4s ease;
}

.artist-details-list:hover {
    background: linear-gradient(135deg, rgba(232, 230, 225, 0.7) 0%, rgba(232, 230, 225, 0.9) 100%);
    border-left-color: #212121;
    transform: translateX(10px);
}

.artist-details-list h3 {
    font-size: 1rem;
    margin-bottom: 35px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.8;
}

.detail-item {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px solid rgba(33, 33, 33, 0.08);
    transition: all 0.3s ease;
}

.detail-item:hover {
    padding-left: 10px;
    border-bottom-color: rgba(33, 33, 33, 0.2);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 400;
    min-width: 160px;
    text-transform: uppercase;
    font-size: 0.75rem;
    opacity: 0.6;
}

.detail-value {
    flex: 1;
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
}

.artist-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 0;
}

.artist-works-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.artist-works-section h2 {
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.artist-works-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
}

.artist-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-item {
    background-color: #ffffff;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.work-item:hover {
    transform: translateY(-5px);
}

.work-image {
    height: 350px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.work-info .ask-btn {
    margin-top: auto;
    padding-top: 8px;
    align-self: flex-start;
}

.work-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.work-details {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.6;
}

.back-to-artists {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
    color: #212121;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    opacity: 0.7;
    position: relative;
    padding: 15px 25px;
    border: 1px solid rgba(33, 33, 33, 0.1);
}

.back-to-artists:hover {
    gap: 18px;
    opacity: 1;
    border-color: rgba(33, 33, 33, 0.3);
    transform: translateX(-5px);
}

.back-to-artists::before {
    content: '←';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-artists:hover::before {
    transform: translateX(-5px);
}

.back-to-artists::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #212121;
    transition: width 0.4s ease;
}

.back-to-artists:hover::after {
    width: 100%;
}

/* Responsive dla Artist Detail */
@media (max-width: 1024px) {
    .artist-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .artist-main-image {
        position: relative;
        top: 0;
    }

    .artist-detail-info h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .artist-detail-info h1 {
        font-size: 2rem;
    }

    .artist-category {
        font-size: 1.1rem;
    }

    .artist-details-list {
        padding: 30px 20px;
    }

    .detail-item {
        flex-direction: column;
        gap: 5px;
    }

    .detail-label {
        min-width: auto;
    }

    .artist-cta {
        flex-direction: column;
    }

    .artist-cta .btn,
    .artist-cta .btn-small {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   Image Download Protection
   ======================================== */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

/* Re-enable pointer events on links wrapping images so they remain clickable */
a img {
    pointer-events: none;
}

a:has(> img) {
    pointer-events: auto;
    cursor: pointer;
}

/* Ensure image containers pass clicks through properly */
.logo a,
.featured-image a,
.work-image a,
.artist-main-image a,
.gallery-item a,
.exhibition-image a {
    pointer-events: auto;
}

/* Transparent overlay on image containers to block direct image access */
.work-image,
.featured-image,
.artist-main-image,
.gallery-item,
.exhibition-image,
.event-image,
.artist-card .artist-image {
    position: relative;
}

.work-image::after,
.featured-image::after,
.artist-main-image::after,
.gallery-item::after,
.exhibition-image::after,
.event-image::after,
.artist-card .artist-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
}

/* Mobile Only Utilities */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}