/* Główne ustawienia */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8fafc; /* bg-slate-50 */
    color: #0f172a; /* text-slate-900 */
    overflow-x: hidden;
}

/* Sekcja Hero z obrazem pracy */
.hero-bg {
    height: 100vh;
    display: flex; /* Kluczowe */
    align-items: center; /* Centrowanie góra-dół */
    justify-content: center; /* Centrowanie lewo-prawo */
    text-align: center;
    padding: 0 1.5rem;
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), 
                      url('https://images.unsplash.com/photo-1527011046414-4781f1f94f8c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Efekt gradientu na tekście */
.gradient-text {
    background: linear-gradient(90deg, #0ea5e9, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Przyciski szklane (Glassmorphism) */
.glass-card, .glass-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Navbar po scrollowaniu */
.nav-blur {
    backdrop-filter: blur(15px);
    background-color: rgba(255, 255, 255, 0.9);
}

/* Portfolio Hover Effects */
.portfolio-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

#lightbox.active {
    display: flex;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 0.5rem;
    border: 4px solid white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}