/* style.css - Styl Bright Data */



.text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}




:root {
    --bg-dark: #050507;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(59, 130, 246, 0.3); /* Niebieski akcent */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

/* Tło z gridem i szumem */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.background-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Glassmorphism - karty */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Bento Grid - różne rozmiary kart */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Przykłady różnych rozmiarów kart */
.bento-card.large {
    grid-column: span 2;
}

.bento-card.tall {
    grid-row: span 2;
}

/* Gradientowy tekst */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Przyciski w stylu Bright Data */
.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}










/* ========================================== */
/* ACCORDION STYLES (Bright Data Inspired) */
/* ========================================== */

.glass-accordion {
    border: none;
    background: transparent;
}

.glass-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-accordion-item:hover {
    border-color: rgb(42, 42, 106);
    box-shadow: 0 4px 15px rgba(40, 86, 97, 0.935);
}



.glass-accordion-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(236, 243, 255, 0.606) !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.2rem;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-accordion-btn:hover {
    background: rgba(1, 220, 254, 0.05) !important;
    color: var(--accent-primary);
}


/* Opcjonalnie: Jeśli masz tam inne klasy szarości, też je napraw */
.glass-accordion-body p,
.glass-accordion-body span {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Zmień kolor tekstu wewnątrz akordeonu na prawie biały */
.glass-accordion-body {
    color: rgb(255, 0, 0) !important; /* Prawie biały, bardzo czytelny */
    font-weight: 1400;
    line-height: 1.7;
}


.glass-accordion .accordion-body {
    color: #ffffff !important;
}

.glass-accordion-btn:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233b82f6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.glass-accordion-btn::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-size: 1rem;
    transition: transform 0.3s ease;
}

.glass-accordion-body {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    color: #ffffff !important; /* Czysty biały */
    font-weight: 500; /* Lekko pogrub, żeby lepiej czytać */
    line-height: 1.6;
}

/* Animacja otwierania */
.accordion-collapse {
    transition: max-height 0.3s ease-in-out;
}






/* ========================================== */
/* FOOTER STYLES */
/* ========================================== */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-primary) !important;
    padding-left: 5px;
}

.footer-divider {
    border-color: var(--border-color);
    opacity: 0.5;
}

.social-link-footer {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-link-footer:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Responsywność */
@media (max-width: 768px) {
    .footer {
        padding-top: 2rem;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
}





/* ========================================== */
/* POPRAWKA KONTRASTU TEKSTU W STOPCE */
/* ========================================== */

/* Zwiększ jasność tekstu w stopce */
.footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important; /* Zamiast 0.55 -> 0.8 */
}

/* Jeszcze jaśniejszy tekst dla opisów (jeśli trzeba) */
.footer p.text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6;
}

/* Linki w stopce - upewnij się, że są czytelne */
.footer-links a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer-links a:hover {
    color: var(--accent-primary) !important; /* Kolor akcentu przy najechaniu */
    opacity: 1;
}

/* Ikony w stopce */
.footer .bi {
    color: rgba(255, 255, 255, 0.8) !important;
}





/* ========================================== */
/* COOKIE BANNER STYLES */
/* ========================================== */

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Ciemne, półprzezroczyste tło */
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    max-width: 500px;
    width: 90%;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease-out;
}

.cookie-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

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

/* Responsywność */
@media (max-width: 576px) {
    .cookie-content {
        padding: 1.5rem;
    }
    
    .cookie-content h4 {
        font-size: 1.25rem;
    }
}



/* Ukrywa zawartość main, ale zachowuje wysokość flexa */
#main-wrapper.locked {
    display: none !important; /* Ukrywa treść */
    /* Uwaga: display: none usuwa element z flow, więc stopka może "wyskoczyć" do góry,
       jeśli nie ma nic innego. Ale ponieważ body ma min-vh-100 i flex,
       stopka powinna pozostać na dole, bo body zajmuje całą wysokość. */
}

/* Jeśli chcesz, żeby stopka była zawsze na dole, nawet gdy main jest ukryty:
   To działa dzięki temu, że body ma min-vh-100 i flex-direction: column.
   main (flex-grow-1) zajmuje resztę miejsca, nawet jeśli jest pusty. */

/* Styl banera */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}





/* ========================================== */
/* TECH STACK STYLES */
/* ========================================== */

.tech-icon-wrapper {
    transition: all 0.3s ease;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-icon-wrapper:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tech-icon-wrapper i {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tech-icon-wrapper:hover i {
    filter: grayscale(0%);
    opacity: 1;
}

/* Glass card hover effect helper */
.glass-card-hover {
    cursor: default;
}









