:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --surface-2: #1a1a25;
    --text: #e0e0e0;
    --text-muted: #8888a0;
    --accent: #6c5ce7;
    --accent-glow: rgba(108, 92, 231, 0.4);
    --accent-2: #00cec9;
    --border: #1f1f2e;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(10,10,15,0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 0.7rem 2rem;
    background: rgba(10,10,15,0.92);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.logo {
    font-size: 1.5rem; font-weight: 700; color: #fff;
    text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.logo-dot {
    width: 10px; height: 10px; background: var(--accent);
    border-radius: 50%; box-shadow: 0 0 12px var(--accent-glow);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100%{box-shadow: 0 0 8px var(--accent-glow);}
    50%{box-shadow: 0 0 22px var(--accent-glow),0 0 40px rgba(108,92,231,0.25);}
}
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-weight: 500;
    font-size: 0.95rem; transition: var(--transition); position: relative; padding: 0.3rem 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
    background: var(--accent); border-radius: 2px; transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.btn-nav {
    background: var(--accent); color: #fff !important; padding: 0.55rem 1.4rem !important;
    border-radius: 50px; font-weight: 600; box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-nav:hover { background: #7d6ff0; box-shadow: 0 6px 28px rgba(108,92,231,0.55); transform: translateY(-1px); }
.btn-nav::after { display: none !important; }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.mobile-menu-btn span { display: block; width: 26px; height: 2.5px; background: #fff; border-radius: 3px; transition: var(--transition); }
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 8rem 2rem 4rem; position: relative; overflow: hidden;
}
.hero-bg-glow {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(108,92,231,0.12) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
    animation: float-glow 8s infinite;
}
@keyframes float-glow {
    0%,100%{ transform: translate(-50%,-50%) scale(1); }
    33%{ transform: translate(-48%,-52%) scale(1.15); }
    66%{ transform: translate(-52%,-48%) scale(0.9); }
}
.hero-content { position: relative; z-index: 1; max-width: 750px; }
.hero-badge { display: inline-block; padding: 0.4rem 1.2rem; border: 1px solid var(--border); border-radius: 50px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.8rem,6vw,4.5rem); font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 1.2rem; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 550px; margin: 0 auto 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.75rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 28px var(--accent-glow); }
.btn-primary:hover { background: #7d6ff0; box-shadow: 0 8px 35px rgba(108,92,231,0.6); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid var(--border); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.03); }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; z-index: 1; }
.scroll-indicator span { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }
.arrow { width: 24px; height: 24px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(12px);} }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .tag { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 0.6rem; }
.section-header h2 { font-size: clamp(2rem,4vw,2.8rem); font-weight: 700; color: #fff; }

.gallery-section { padding: 6rem 2rem; max-width: 1300px; margin: 0 auto; }
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 3rem; }
.filter-btn {
    padding: 0.55rem 1.5rem; border-radius: 50px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text-muted); cursor: pointer;
    font-weight: 500; font-size: 0.9rem; transition: var(--transition); font-family: var(--font);
}
.filter-btn:hover { border-color: var(--accent); color: #fff; background: var(--surface-2); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 18px var(--accent-glow); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    position: relative; border-radius: var(--radius); overflow: hidden;
    background: var(--surface); aspect-ratio: 4/3; cursor: pointer;
    transition: var(--transition); border: 1px solid transparent; display: block;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); border-color: var(--border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.5rem; opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay h3 { font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 0.2rem; }
.gallery-item-overlay .cat-tag { font-size: 0.8rem; color: var(--accent-2); }

.lightbox {
    position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.92);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
    backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-content {
    position: relative; max-width: 90vw; max-height: 85vh;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.7);
    animation: zoomIn 0.35s cubic-bezier(0.4,0,0.2,1);
}
@keyframes zoomIn { from{transform:scale(0.85);opacity:0;} to{transform:scale(1);opacity:1;} }
.lightbox-content img { display: block; max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close, .lightbox-nav {
    position: absolute; background: rgba(0,0,0,0.6); border: none; color: #fff;
    cursor: pointer; transition: var(--transition); z-index: 2001;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; }
.lightbox-prev { left: 1.5rem; } .lightbox-next { right: 1.5rem; }

.lightbox-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7));
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    z-index: 2001;
    backdrop-filter: blur(4px);
}
.lightbox-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.lightbox-description {
    font-size: 1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 0.8rem;
    line-height: 1.6;
}
.lightbox-counter {
    font-size: 0.9rem;
    color: var(--accent-2);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.about-section { padding: 6rem 2rem; max-width: 900px; margin: 0 auto; text-align: center; }
.about-section p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; max-width: 650px; margin: 0 auto; }
.stats-row { display: flex; gap: 3rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.stat-number { font-size: 3rem; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; margin-top: 0.3rem; }

.creative-section { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }
.creative-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.creative-card {
    background: var(--surface); border-radius: var(--radius); padding: 1.8rem;
    border: 1px solid var(--border); transition: var(--transition);
}
.creative-card:hover { border-color: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.creative-card h3 { color: #fff; margin-bottom: 1rem; font-size: 1.2rem; }
.creative-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.writing-placeholder {
    background: var(--surface-2); border-radius: var(--radius-sm); padding: 1rem;
    min-height: 150px; color: var(--text-muted); font-style: italic;
    border: 1px dashed var(--border); outline: none;
}
.mini-gallery {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem;
}
.mini-gallery img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-sm);
    cursor: pointer; transition: transform 0.2s;
}
.mini-gallery img:hover { transform: scale(1.05); }
.creative-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.hint { font-size: 0.75rem; color: #555; }
.video-placeholder { background: #000; border-radius: var(--radius-sm); overflow: hidden; }

.footer-contact {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
    align-items: start;
}
.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
.footer-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.footer-details span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.footer-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}
.footer-social a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s;
}
.footer-social a:hover { transform: scale(1.2); }

.footer-form h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}
.footer-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    resize: vertical;
}
.footer-form input:focus,
.footer-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}
.footer-form textarea { min-height: 100px; }
.footer-form .btn { align-self: flex-start; }

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 1100px;
    margin: 0 auto;
}
.footer-bottom a { color: var(--accent); text-decoration: none; }

@media (max-width: 768px) {
    .nav-links { position: fixed; top:0; right:-100%; width:280px; height:100vh; background:var(--surface); flex-direction:column; padding:6rem 2rem; gap:1.5rem; transition:right var(--transition); }
    .nav-links.open { right:0; }
    .mobile-menu-btn { display: flex; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); }
    .hero h1 { font-size:2.2rem; }
    .stats-row { gap:2rem; } .stat-number { font-size:2.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-form .btn { width: 100%; text-align: center; }
    .lightbox-info { padding: 1.5rem 1rem; }
    .lightbox-title { font-size: 1.3rem; }
    .lightbox-description { font-size: 0.9rem; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width:100%; text-align:center; }
}

.footer-simple {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-simple a {
    color: var(--accent);
    text-decoration: none;
}

.poem-container {
    background: #fdf6e3;
    background-image: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 100% 2rem;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin: 1.5rem auto 0 auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 0 20px rgba(0,0,0,0.02);
    border: 1px solid #e6d7b4;
    
   
    max-width: 500px;   
    min-height: 250px;      
    width: 90%;      
    
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 2rem;
    color: #3b3b3b;
    text-align: left;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
}

.poem-text {
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .poem-container {
        padding: 1.5rem;
        max-width: 90%;
        min-height: 200px;
        background-size: 100% 1.8rem;
        line-height: 1.8rem;
    }
}

.carousel-container {
    position: relative;
    max-width: 850px;
    margin: 0 auto 2rem;
    background: transparent;     
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none; 
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0.8rem 0.5rem;
    opacity: 0.5;
    transform: scale(0.97);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: none;
    box-shadow: none;
}
.carousel-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.carousel-prev { left: 0.3rem; }
.carousel-next { right: 0.3rem; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.3rem 0 0.5rem;
}
.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.carousel-dot:hover { background: rgba(255,255,255,0.3); }
.carousel-dot.active {
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent-glow);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .carousel-slide {
        padding: 0.6rem 0.3rem;
    }
    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    background-image:
        /* Poziome linie */
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        /* Pionowe linie */
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}