/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Hurricane&family=Permanent+Marker&family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

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

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

:root {
    /* Colors */
    --primary-color: #ff7a3d;
    --secondary-color: #ff9966;
    --bg-dark: #0a0a0a;
    --bg-darker: #1a1a1a;
    --text-color: #e8e8e8;
    --text-light: #9d9d9d;
    --white: #e8e8e8;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Hurricane', cursive;
    --font-display: 'Bebas Neue', sans-serif;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 60px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Przyciski - Premium Style */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 122, 61, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Nawigacja */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    cursor: pointer;
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    letter-spacing: 2px;
    font-weight: 400;
    line-height: 1;
    text-shadow:
        1px 1px 0 rgba(255, 122, 61, 0.3),
        2px 2px 0 rgba(255, 122, 61, 0.2),
        0 0 15px rgba(255, 122, 61, 0.4);
    -webkit-text-stroke: 0.5px rgba(255, 122, 61, 0.5);
}

.logo-subtitle {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: -5px;
    margin-left: 65px;
    opacity: 0.9;
    transition: var(--transition);
}

.logo:hover .logo-text {
    color: var(--secondary-color);
    transform: scale(1.03);
    text-shadow:
        1px 1px 0 rgba(255, 153, 102, 0.4),
        2px 2px 0 rgba(255, 153, 102, 0.3),
        0 0 25px rgba(255, 122, 61, 0.6);
}

.logo:hover .logo-subtitle {
    opacity: 1;
    color: var(--primary-color);
}

/* Header Contact - Telefon */
.header-contact {
    display: flex;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

.phone-number {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.phone-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Sekcja hero - Premium Redesign */
.hero {
    position: relative;
    min-height: 65vh !important;
    display: block !important;
    overflow: visible !important;
    padding-bottom: 40px !important;
}

/* Hero Background Slideshow */
.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: heroSlideshow 18s infinite;
}

.hero-bg-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-bg-slide:nth-child(3) {
    animation-delay: 12s;
}

@keyframes heroSlideshow {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    33% {
        opacity: 1;
    }
    38% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10 !important;
    max-width: 1400px;
    width: 100%;
    min-height: 50vh !important;
    padding: 120px 40px 60px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center;
    overflow: visible !important;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
    color: var(--white);
}

.hero-logo {
    width: 350px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 15px 40px rgba(255, 122, 61, 0.5));
    animation: fadeInLeft 1s ease 0.2s both;
    transition: var(--transition);
    cursor: pointer;
}

.hero-logo:hover {
    filter: drop-shadow(0 20px 60px rgba(255, 122, 61, 0.8))
            drop-shadow(0 0 30px rgba(255, 153, 102, 0.6));
    transform: scale(1.05) translateY(-5px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    animation: fadeInLeft 1s ease 0.4s both;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    line-height: 1.6;
    margin: 0 auto 3rem;
    max-width: 600px;
    color: rgba(232, 232, 232, 0.9);
    animation: fadeInLeft 1s ease 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInLeft 1s ease 0.8s both;
    margin: 1.5rem auto 0 !important;
    position: relative !important;
    z-index: 15 !important;
    width: 100%;
    max-width: 600px;
}

.hero-cta .btn {
    position: relative !important;
    z-index: 16 !important;
    transform: translateZ(0) !important;
    min-width: 200px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sekcja O nas */
.about {
    padding: 100px 0 80px !important;
    background-color: var(--bg-darker);
}

.about-content {
    display: block;
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    padding: 0.8rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Galeria - Masonry Grid Premium */
.gallery {
    position: relative;
    padding: var(--section-padding) 0;
    background-color: var(--bg-dark);
    overflow: hidden;
}

/* Tło z chlapnięciami atramentu */
.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/chlapniecia.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Zawartość galerii nad tłem */
.gallery .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* OLD Gallery Filters - Commented out for category tile system */
/*
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 32px;
    background: rgba(255, 122, 61, 0.1);
    border: 2px solid rgba(255, 122, 61, 0.3);
    border-radius: 50px;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.filter-btn:hover {
    background: rgba(255, 122, 61, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 8px 20px rgba(255, 122, 61, 0.4);
}

.filter-btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

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

.gallery-item.small {
    grid-row: span 1;
}

.gallery-item.medium {
    grid-row: span 2;
}

.gallery-item.large {
    grid-row: span 3;
}
*/

/* ===================================
   CATEGORY TILES - Hero Style
   =================================== */

.gallery-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.category-tile {
    position: relative;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-slow);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.category-tile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: saturate(1) contrast(1.05); /* Kolorowe obrazy */
    transition: var(--transition-slow);
    transform: scale(1);
}

.category-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    transition: var(--transition);
}

.category-tile-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    color: var(--text-white);
}

.category-tile-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(0);
    transition: var(--transition);
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    max-width: 100%;
    overflow: visible;
    padding-right: 10px;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.category-tile-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    opacity: 0.9;
    transition: var(--transition);
}

.category-tile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    box-shadow: 0 8px 20px rgba(255, 122, 61, 0.4);
}

.category-tile-btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.category-tile-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.category-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(255, 122, 61, 0.4);
}

.category-tile:hover .category-tile-bg {
    filter: saturate(1.2) contrast(1.1); /* Wzmocnione kolory na hover */
    transform: scale(1.05);
}

.category-tile:hover .category-tile-overlay {
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.2) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.7) 100%
    );
}

.category-tile:hover .category-tile-title {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.category-tile:hover .category-tile-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.category-tile:hover .category-tile-btn svg {
    transform: translateX(5px);
}

.gallery-items-hidden {
    display: none !important;
}

/* ===================================
   CATEGORY GRID MODAL
   =================================== */

.category-grid-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    padding: 120px 20px 40px;
}

.category-grid-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Tło z chlapnięciami dla grida - takie jak w sekcji galerii */
.category-grid-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/chlapniecia.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.category-grid-header {
    max-width: 1400px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.category-grid-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.category-grid-close {
    width: 60px;
    height: 60px;
    background: rgba(255, 122, 61, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    font-weight: 300;
    line-height: 1;
}

.category-grid-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 122, 61, 0.6);
}

.category-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.category-grid-container .gallery-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.category-grid-container .gallery-item img,
.category-grid-container .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1) contrast(1.05); /* Kolorowe miniatury */
    transition: var(--transition-slow);
}

.category-grid-container .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 122, 61, 0.4);
}

.category-grid-container .gallery-item:hover img,
.category-grid-container .gallery-item:hover video {
    filter: saturate(1.2) contrast(1.1);
    transform: scale(1.05);
}

/* Play overlay dla filmów w gridzie */
.category-grid-container .gallery-item .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 122, 61, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border: 3px solid rgba(255, 255, 255, 0.3);
    z-index: 5;
}

.category-grid-container .gallery-item .play-overlay svg {
    width: 32px;
    height: 32px;
    color: var(--bg-dark);
    margin-left: 4px;
}

.category-grid-container .gallery-item[data-type="video"]:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Masonry sizes for gallery items (used by lightbox) */
.gallery-item.small {
    grid-row: span 1;
}

.gallery-item.medium {
    grid-row: span 2;
}

.gallery-item.large {
    grid-row: span 3;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0) contrast(1.1); /* saturate() szybsze niż grayscale() */
    transition: var(--transition-slow);
    transform: translateZ(0); /* GPU acceleration */
    will-change: filter, transform;
}

/* Video Play Overlay - Premium Design */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 122, 61, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 5;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.play-overlay svg {
    width: 32px;
    height: 32px;
    color: var(--bg-dark);
    margin-left: 4px;
}

.gallery-item[data-type="video"]:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Premium Hover Effects */
.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(255, 122, 61, 0.5);
    z-index: 10;
}

.gallery-item:hover img,
.gallery-item:hover video {
    filter: saturate(1) contrast(1); /* saturate() zamiast grayscale() */
    transform: scale(1.08) translateZ(0);
}

/* Hide/Show for filtering - Optimized to avoid layout thrashing */
.gallery-item.hide {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(10, 10, 10, 0.3) 50%,
        rgba(10, 10, 10, 0.8) 100%);
    opacity: 1;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 0.3;
}

/* Lightbox Modal - Premium Full-Screen Design */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lightboxZoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-content img {
    display: block;
}

.lightbox-content video {
    display: none;
}

.lightbox-content.video-active img {
    display: none;
}

.lightbox-content.video-active video {
    display: block;
}

/* Lightbox Controls - Premium Style */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 122, 61, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(10px);
    font-weight: 300;
    line-height: 1;
}

.lightbox-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 122, 61, 0.6);
}

.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 122, 61, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 30px rgba(255, 122, 61, 0.6);
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 28px;
    height: 28px;
}

/* Lightbox Counter - Premium Style */
.lightbox-counter {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 122, 61, 0.9);
    color: var(--bg-dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 10001;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

/* Artyści */
.artists {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

/* Single artist card - centered */
.artists-grid:has(.artist-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.artist-card {
    background-color: var(--bg-dark);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 122, 61, 0.2);
}

.artist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 122, 61, 0.3);
    border-color: var(--primary-color);
}

.artist-card img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2.5rem;
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 122, 61, 0.3);
}

.artist-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
    margin-top: -0.5rem;
}

.specialty {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}


/* Stopka - Premium Minimalist Design */
footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 122, 61, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-section {
    flex: 1;
    min-width: 220px;
}

.footer-brand .footer-logo {
    width: 140px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1);
    transition: var(--transition);
}

.footer-brand .footer-logo:hover {
    filter: brightness(1.1);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 280px;
}

.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hours Grid */
.hours-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.8rem 2rem;
    font-size: 0.95rem;
}

.hours-grid span:nth-child(odd) {
    color: var(--text-color);
    font-weight: 500;
}

.hours-grid span:nth-child(even) {
    color: var(--text-light);
    text-align: right;
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 122, 61, 0.1);
    border: 1px solid rgba(255, 122, 61, 0.3);
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(255, 122, 61, 0.4);
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Responsywność - Mobile First */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 120px 30px 80px !important;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
        margin-bottom: 0 !important;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        max-width: 300px;
        margin: 2rem auto 0 !important;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }
  .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand .footer-logo {
        margin: 0 auto 1.5rem;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        border-bottom: 2px solid var(--primary-color);
    }

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

    .logo-text {
        font-size: 2.8rem;
    }

    .logo-subtitle {
        font-size: 0.9rem;
        margin-top: -3px;
        margin-left: 50px;
    }

    /* Header contact responsive */
    .header-contact {
        display: flex; /* Pokaż telefon na tabletach */
    }

    /* Hero responsive */
    .hero {
        min-height: 650px;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 120px 30px 0;
    }

    .hero-logo {
        width: 280px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Gallery responsive */
    .gallery::before {
        background-size: contain;
        background-position: center top;
        opacity: 0.1;
    }

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

    .gallery-filters {
        gap: 0.8rem;
    }

    .filter-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    /* Lightbox responsive */
    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .lightbox-counter {
        bottom: 20px;
        padding: 10px 24px;
        font-size: 1rem;
    }

    .play-overlay {
        width: 60px;
        height: 60px;
    }

    .play-overlay svg {
        width: 24px;
        height: 24px;
    }

    /* Category Tiles Responsive */
    .gallery-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-tile {
        height: 400px;
    }

    .category-tile-content {
        padding: 2rem;
    }

    .category-tile-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .category-tile-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .category-tile-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }

    /* Artists responsive - Tablet */
    .artist-card img {
        width: 180px;
        height: 180px;
    }

    /* Category Grid Modal Responsive */
    .category-grid-modal {
        padding: 100px 15px 30px;
    }

    .category-grid-header {
        margin-bottom: 2rem;
    }

    .category-grid-title {
        font-size: 2rem;
    }

    .category-grid-close {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

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

    .category-grid-container .gallery-item {
        height: 250px;
    }

    .about {
        padding: 100px 0 60px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 2.2rem;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .footer-section {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 40px;
    }

    .logo-text {
        font-size: 2.2rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
        margin-top: -1px;
        margin-left: 25px;
        letter-spacing: 1px;
    }

    /* Pokaż numer telefonu na mobile */
    .header-contact {
        display: flex;
    }

    .phone-link {
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding: 100px 20px 60px !important;
    }

    .hero-logo {
        width: 220px;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0 !important;
    }

    /* Gallery mobile - Category Tiles */
    .gallery::before {
        background-size: 120%;
        background-position: center center;
        opacity: 0.08;
    }

    .category-tile {
        height: 350px;
    }

    .category-tile-content {
        padding: 1.5rem;
    }

    .category-tile-title {
        font-size: 1.75rem;
        letter-spacing: 0.5px;
    }

    /* Artists responsive - Mobile */
    .artist-card img {
        width: 160px;
        height: 160px;
    }

    .artist-card h3 {
        font-size: 1.3rem;
    }

    /* Category Grid Modal Mobile */
    .category-grid-modal {
        padding: 80px 10px 20px;
    }

    .category-grid-title {
        font-size: 1.5rem;
    }

    .category-grid-close {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .category-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .category-grid-container .gallery-item {
        height: 200px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 1rem;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 375px) {
    .logo-subtitle {
        font-size: 0.65rem;
        margin-left: 20px;
    }

    .phone-link {
        font-size: 0.65rem;
    }

    /* Lightbox mobile */
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-prev svg,
    .lightbox-next svg {
        width: 22px;
        height: 22px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .lightbox-counter {
        bottom: 15px;
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .lightbox-content {
        max-width: 95vw;
    }

    .play-overlay {
        width: 50px;
        height: 50px;
    }

    .play-overlay svg {
        width: 20px;
        height: 20px;
    }
}

/* Kontakt - Style przywrócone z backupu */
.contact {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
}

/* Formularz */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 122, 61, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background-color: var(--bg-dark);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.contact-form button {
    width: 100%;
}
