/* --- style.css (WERSJA HYBRYDOWA: BIAŁE PASKI + CIEMNE TŁO 3D) --- */
:root {
    --primary-blue: #1D3B63; /* Twój główny granat */
    --accent-blue: #357ABD;  /* Jaśniejszy niebieski do akcentów */
    
    --bg-deep-dark: #0a192f;     
    --bg-card-dark: rgba(17, 42, 70, 0.85); /* Półprzezroczyste karty */
    
    --white: #ffffff;
    --text-dark: #333333;        /* Ciemny tekst na białych paskach */
    --text-light-gray: #ccd6f6;  /* Jasny tekst na ciemnym tle */
    --text-white: #ffffff;
    
    --transition-speed: 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-light-gray); 
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    /* --- NOWE TŁO: DRUKARKA 3D --- */
    background-color: var(--bg-deep-dark);
    /* Zdjęcie głowicy drukarki 3D z nałożonym granatowym filtrem */
    background-image: 
        linear-gradient(to bottom, rgba(29, 59, 99, 0.85), rgba(10, 25, 47, 0.9)),
        url('https://images.unsplash.com/photo-1539264374208-58df3521ddd9?q=80&w=2010&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1, h2, h3, h4 { 
    font-family: 'Orbitron', sans-serif; 
    letter-spacing: 1px;
}

/* Kolor nagłówków w sekcji głównej (na ciemnym tle) */
main h1, main h2, main h3, main h4 {
    color: var(--text-white);
}

a { text-decoration: none; color: inherit; transition: var(--transition-speed); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- NAWIGACJA (BIAŁA) --- */
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 5%; 
    background-color: var(--white); /* Białe tło */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); /* Cień rzucany na ciemne tło */
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.logo img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 25px; }

/* Linki na białym pasku muszą być ciemne */
.nav-links a { 
    font-weight: 500; 
    font-size: 1rem; 
    color: var(--primary-blue); /* Ciemny granat */
    position: relative; 
    text-transform: uppercase; 
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--accent-blue); 
}

/* Pasek podkreślający linki */
.nav-links a::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: -5px; 
    left: 0; 
    background-color: var(--accent-blue); 
    transition: width 0.3s ease; 
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }


/* --- CONTENT & SECTIONS --- */
main { flex: 1; }

/* Nagłówek podstrony (tytuł na samej górze treści) */
.page-header { 
    text-align: center; 
    padding: 60px 20px 40px; 
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(0, 0, 0, 0.2); /* Lekkie przyciemnienie pod tytułem */
}
.page-header h1 { 
    text-shadow: 0 0 15px rgba(53, 122, 189, 0.6); 
}

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

/* HERO (Strona główna) */
.hero { 
    height: 85vh; 
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--text-white); padding: 20px; 
}
.hero-icon { width: 120px; margin-bottom: 20px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 15px rgba(53, 122, 189, 0.6)); }
.hero h1 { font-size: 3rem; margin-bottom: 15px; }
.btn { 
    padding: 12px 30px; 
    background-color: rgba(255,255,255,0.1); /* Półprzezroczysty guzik */
    color: var(--white); 
    font-weight: bold; 
    border-radius: 5px; 
    text-transform: uppercase; 
    display: inline-block; 
    margin-top: 20px; 
    border: 2px solid var(--accent-blue); 
    backdrop-filter: blur(5px);
}
.btn:hover { background-color: var(--accent-blue); color: var(--bg-deep-dark); box-shadow: 0 0 20px rgba(53, 122, 189, 0.6); }

/* --- KARTY (OFERTA, SKLEP) --- */
/* Karty pozostają ciemne, żeby pasowały do tła 3D */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card { 
    background: var(--bg-card-dark); 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6); 
    text-align: center; 
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.1); 
    backdrop-filter: blur(5px); /* Rozmycie tła pod kartą */
}
.card:hover { 
    transform: translateY(-5px); 
    border-color: var(--accent-blue); 
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.8);
}
.card i { font-size: 2.5rem; color: var(--accent-blue); margin-bottom: 15px; }
.card h3 { color: var(--text-white); }

/* PRODUKTY W SKLEPIE */
.product-card { 
    background: var(--bg-card-dark); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6); 
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}
.product-card:hover { transform: translateY(-5px); border-color: var(--accent-blue); }
.product-img { height: 250px; background-color: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img img { opacity: 0.85; transition: opacity 0.3s, transform 0.5s; }
.product-card:hover .product-img img { opacity: 1; transform: scale(1.05); }
.product-info { padding: 20px; text-align: center; }
.product-info h3 { color: var(--text-white); }
.price { font-size: 1.2rem; font-weight: bold; color: var(--accent-blue); display: block; margin: 10px 0; }
.btn-small { padding: 8px 15px; background: transparent; color: var(--accent-blue); border: 1px solid var(--accent-blue); border-radius: 4px; font-size: 0.9rem; transition: var(--transition-speed); }
.btn-small:hover { background: var(--accent-blue); color: var(--bg-deep-dark); }

/* TAGI MATERIAŁÓW */
.tags-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.tag { 
    background: rgba(29, 59, 99, 0.4); 
    border: 1px solid var(--accent-blue); 
    color: var(--text-white); 
    padding: 10px 20px; 
    border-radius: 50px; 
    font-weight: 500;
    transition: var(--transition-speed);
}
.tag:hover { background: var(--accent-blue); color: var(--bg-deep-dark); box-shadow: 0 0 15px rgba(53, 122, 189, 0.6); }

/* GALERIA */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; transition: transform 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.gallery-item img:hover { transform: scale(1.03); z-index: 2; position: relative; border: 2px solid var(--accent-blue); }

/* --- STOPKA (BIAŁA) --- */
footer { 
    background-color: var(--white); /* Białe tło */
    color: var(--text-dark); /* Ciemny tekst */
    padding: 50px 20px 20px; 
    margin-top: auto; 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05); /* Cień idący w górę */
}
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-around; max-width: 1200px; margin: 0 auto 30px; gap: 30px; }

/* Nagłówki w stopce na granatowo */
.footer-content h4 { color: var(--primary-blue); margin-bottom: 15px; }

.social-btn { 
    font-size: 1.5rem; 
    margin: 0 10px; 
    transition: all 0.3s; 
    color: var(--primary-blue); /* Ciemne ikony */
}
.social-btn:hover { color: var(--accent-blue); transform: translateY(-3px); }

.copyright { 
    text-align: center; 
    border-top: 1px solid #eee; /* Jasna linia podziału */
    padding-top: 20px; 
    font-size: 0.9rem; 
    color: #666; 
}

/* ANIMACJE */
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
@media (max-width: 768px) { .nav-links { display: none; } .hero h1 { font-size: 2rem; } }

/* --- NOWY STYL DLA ZAKŁADKI SKLEP (DUŻE KAFLE) --- */

.shop-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.shop-big-card {
    background: var(--bg-card-dark); /* Ciemne tło zgodne z resztą */
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.shop-big-card h2 {
    font-size: 2.5rem;
    margin: 20px 0 10px;
    color: var(--text-white);
}

.shop-big-card p {
    color: var(--text-light-gray);
    margin-bottom: 30px;
    max-width: 80%;
}

.icon-wrapper {
    font-size: 4rem;
    margin-bottom: 10px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shop-btn {
    padding: 12px 30px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: var(--text-white);
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
}

/* --- SPECIFICZNE KOLORY DLA ALLEGRO --- */
.allegro-card .icon-wrapper { color: #ff5a00; } /* Oryginalny pomarańcz Allegro */

.allegro-card:hover {
    border-color: #ff5a00;
    box-shadow: 0 0 30px rgba(255, 90, 0, 0.2);
    transform: translateY(-10px);
}

.allegro-card:hover .shop-btn {
    background-color: #ff5a00;
    border-color: #ff5a00;
    color: white;
}

/* --- SPECIFICZNE KOLORY DLA ETSY --- */
.etsy-card .icon-wrapper { color: #F1641E; } /* Oryginalny kolor Etsy */

.etsy-card:hover {
    border-color: #F1641E;
    box-shadow: 0 0 30px rgba(241, 100, 30, 0.2);
    transform: translateY(-10px);
}

.etsy-card:hover .shop-btn {
    background-color: #F1641E;
    border-color: #F1641E;
    color: white;
}

/* Animacja ikony przy najechaniu */
.shop-big-card:hover .icon-wrapper {
    transform: scale(1.2) rotate(5deg);
}

/* --- WYRÓŻNIENIE LINKU EMAIL --- */
.email-link {
    color: var(--accent-blue); /* Twój akcentowy niebieski */
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 5px; /* Kreska nieco niżej tekstu - wygląda nowocześniej */
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--white); /* Po najechaniu robi się biały */
    text-shadow: 0 0 15px var(--accent-blue); /* ...i świeci na niebiesko */
    cursor: pointer;
}

/* --- STYLE DLA PODSTRONY MATERIAŁY --- */

.material-section {
    background: var(--bg-card-dark);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Orbitron', sans-serif; /* Lub Nexokora/Audiowide jeśli zmieniłeś */
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-blue), transparent);
    margin: 40px 0;
    opacity: 0.5;
}

h3 { margin-bottom: 15px; color: var(--text-white); }

/* Grid dla kolorów */
.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light-gray);
}

/* Kółeczko z kolorem (Swatch) */
.swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.color-item:hover .swatch {
    transform: scale(1.15);
    border-color: var(--white);
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

/* --- DEFINICJE KOLORÓW (HEXY I GRADIENTY) --- */

/* Monokolory */
.c-black { background-color: #111; }
.c-white { background-color: #fff; }
.c-white-dual { background: linear-gradient(90deg, #fff 50%, #ddd 50%); } /* Biały dwustronny symulacja */
.c-grey { background-color: #666; }
.c-light-grey { background-color: #bbb; }
.c-silver { background: linear-gradient(135deg, #ccc, #fff, #999); } /* Efekt metaliczny */
.c-red { background-color: #d32f2f; }
.c-red-shiny { background: radial-gradient(circle at 30% 30%, #ff6659, #d32f2f); } /* Błyszczący */
.c-orange { background-color: #f57c00; }
.c-yellow { background-color: #fbc02d; }
.c-light-green { background-color: #76ff03; }
.c-green { background-color: #388e3c; }
.c-light-blue { background-color: #4fc3f7; }
.c-blue { background-color: #1976d2; }
.c-purple { background-color: #7b1fa2; }
.c-fuchsia { background-color: #d500f9; }
.c-pink { background-color: #f48fb1; }
.c-brown { background-color: #5d4037; }
.c-wood { background-color: #d7c49e; } /* Kolor sklejki */
.c-old-gold { background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728); }
.c-marble { 
    background-color: #f0f0f0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23999999' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.c-skin { background-color: #ffccbc; }
.c-beige-pastel { background-color: #f5f5dc; }
.c-blue-pastel { background-color: #aec6cf; }

/* Gradienty (Filamenty dwukolorowe) */
.g-pink-black { background: linear-gradient(135deg, #f48fb1, #000); }
.g-red-black { background: linear-gradient(135deg, #d32f2f, #000); }
.g-yellow-green { background: linear-gradient(135deg, #fbc02d, #388e3c); }
.g-yellow-red { background: linear-gradient(135deg, #fbc02d, #d32f2f); }
.g-gold-silver { background: linear-gradient(135deg, #ffd700, #c0c0c0); }
.g-green-black { background: linear-gradient(135deg, #388e3c, #000); }
.g-blue-black { background: linear-gradient(135deg, #1976d2, #000); }
.g-purple-black { background: linear-gradient(135deg, #7b1fa2, #000); }
.g-blue-red { background: linear-gradient(135deg, #1976d2, #d32f2f); }
.g-blue-yellow { background: linear-gradient(135deg, #1976d2, #fbc02d); }

/* --- UKŁAD DWUKOLUMNOWY DLA MATERIAŁÓW --- */
.materials-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwie równe kolumny */
    gap: 30px; /* Odstęp między kolumnami */
    align-items: start; /* Wyrównanie do góry */
}

/* Na telefonach i tabletach wracamy do jednej kolumny */
/* --- STYLIZACJA MENU MOBILNEGO (HAMBURGER) --- */

/* Domyślnie hamburger jest ukryty na komputerach */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-blue); /* Kolor kresek hamburgera */
}

/* --- POPRAWIONE MENU MOBILNE (WKLEJ NA SAM DÓŁ STYLE.CSS) --- */

@media (max-width: 768px) {
    /* Pokaż hamburgera */
    .hamburger {
        display: block;
        z-index: 2000; /* Hamburger musi być na samym wierzchu */
    }

    /* Animacja hamburgera */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Stylizacja rozwijanego menu */
    .nav-links {
        display: flex !important; /* WYMUSZENIE widoczności */
        flex-direction: column;
        position: fixed;
        left: -100%; /* Schowane poza ekranem */
        top: 80px; /* Wysokość paska nawigacji */
        width: 100%;
        background-color: var(--white); /* Białe tło */
        border-top: 1px solid #eee;
        text-align: center;
        transition: 0.3s ease-in-out;
        z-index: 1999; /* Menu musi być nad treścią strony */
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    /* Klasa dodawana przez JS - wysuwa menu */
    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
        width: 100%;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        display: block;
        width: 100%;
    }

    /* Dopasowanie reszty elementów na telefonie */
    .hero h1 { font-size: 2rem; }
    .materials-wrapper { grid-template-columns: 1fr; }
    .shop-platforms { grid-template-columns: 1fr; }
}

/* --- STYLE DLA ZAKŁADKI OFERTA --- */

/* Lista usług */
.offer-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left; /* Wyrównanie tekstu do lewej */
}

.offer-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-light-gray);
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Delikatna linia pod każdym punktem */
    padding-bottom: 5px;
}

/* Własny "ptaszek" lub znacznik przy liście */
.offer-list li::before {
    content: '\f058'; /* Kod ikony "Check circle" z FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Box z wymiarami technicznymi */
.tech-specs {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed var(--accent-blue); /* Przerywana linia techniczna */
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.tech-specs h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-specs p {
    font-family: 'Orbitron', sans-serif; /* Techniczna czcionka dla wymiarów */
    color: var(--text-light-gray);
    margin-bottom: 5px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between; /* Rozsuwa etykietę i wymiar na boki */
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.tech-specs strong {
    color: var(--accent-blue);
}

/* Baner o personalizacji na dole */
.personalization-banner {
    background: linear-gradient(135deg, var(--bg-card-dark), var(--primary-blue));
    border: 1px solid var(--accent-blue);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 0 20px rgba(53, 122, 189, 0.2);
}

.personalization-banner i {
    font-size: 4rem;
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.personalization-banner h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

/* Dostosowanie banera na telefonach */
@media (max-width: 768px) {
    .personalization-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

/* --- GALERIA ZDJĘĆ --- */

/* Kontener dla ręcznej galerii */
.manual-gallery {
    display: grid;
    /* Automatyczne dopasowanie kolumn, min. szerokość zdjęcia 300px */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px; /* Stała wysokość kafelka */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zdjęcie wypełnia kafelek bez zniekształceń */
    transition: transform 0.5s ease;
}

/* Efekt najechania: przybliżenie zdjęcia */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Nakładka z napisem */
.gallery-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(10, 25, 47, 0.7); /* Półprzezroczysty granat */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    color: var(--white);
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    border: 1px solid var(--accent-blue);
    padding: 10px 20px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}