:root {
    --primary-color: #000000;
    --secondary-color: #8A2BE2;
    --accent-color: #ae00ff;
    --neon-yellow: #fddfae;
    --text-color: #ffffff;
    --light-bg: #000000;
    --white: #ffffff;
    --dark-bg: #000000;
    --neon-glow: 0 0 10px;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--dark-bg);
}

/* Navbar Styles */
.navbar {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--secondary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-toggler {
    border-color: var(--accent-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 20, 147, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-weight: 700;
    color: var(--accent-color) !important;
    text-shadow: var(--neon-glow) var(--accent-color);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    text-shadow: var(--neon-glow) var(--accent-color);
}

/* Hero Section */
.hero {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding-top: 120px;
    position: relative;
    height: 100vh;
    width: 100%;
    min-height: 600px;
}

.hero h1 {
    color: var(--neon-yellow);
    text-shadow: 0 0 5px var(--neon-yellow),
                 0 0 10px var(--neon-yellow),
                 0 0 15px rgba(138, 43, 226, 0.7);
    animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 5px var(--neon-yellow),
                     0 0 10px var(--neon-yellow),
                     0 0 15px rgba(138, 43, 226, 0.7);
    }
    to {
        text-shadow: 0 0 7px var(--neon-yellow),
                     0 0 12px var(--neon-yellow),
                     0 0 17px rgba(138, 43, 226, 0.7);
    }
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(138, 43, 226, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

.hero .container * {
    pointer-events: auto;
}

/* Network Section */
.network-section {
    position: relative;
    min-height: 400px;
    width: 100%;
    background-color: var(--dark-bg);
    z-index: 1;
}

.network-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 400px;
    pointer-events: auto;
}

.network-animation #network-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px var(--secondary-color))
           drop-shadow(0 0 10px var(--accent-color));
    pointer-events: auto;
}

.network-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.network-content * {
    pointer-events: auto;
}

/* Service Cards */
.service-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.5);
}

.service-card i {
    font-size: 3rem;
    color: var(--neon-yellow);
    margin-bottom: 1.5rem;
    text-shadow: var(--neon-glow) var(--neon-yellow);
}

.service-card h3 {
    color: var(--accent-color);
    text-shadow: var(--neon-glow) var(--accent-color);
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid var(--secondary-color);
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(138, 43, 226, 0.8);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.portfolio-overlay h4 {
    color: var(--neon-yellow);
    text-shadow: var(--neon-glow) var(--neon-yellow);
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 15px var(--secondary-color);
}

/* Contact Form */
.contact-form .form-control {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 0;
    border-bottom: 2px solid var(--secondary-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    color: var(--white);
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.7);
}

.contact-info i {
    color: var(--neon-yellow);
    text-shadow: var(--neon-glow) var(--neon-yellow);
    margin-right: 10px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(29, 0, 92, 0.95) 100%);
    color: var(--white);
    box-shadow: 0 -5px 15px rgba(138, 43, 226, 0.2);
    position: relative;
    z-index: 10;
}

.footer p {
    color: var(--neon-yellow);
    opacity: 0.9;
    text-shadow: var(--neon-glow) var(--secondary-color);
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-links a:hover {
    color: var(--accent-color);
    text-shadow: var(--neon-glow) var(--accent-color);
    opacity: 1;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.2);
    position: relative;
    z-index: 2;
}

.stat-item h3 {
    color: var(--neon-yellow);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: var(--neon-glow) var(--neon-yellow);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-step {
        margin-bottom: 2rem;
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: var(--neon-glow) var(--accent-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Tech Items */
.tech-item {
    /* 
    Kontrola koloru tła kafelków:
    - Pierwsza wartość rgba(40, 40, 40, 0.95) to kolor początkowy gradientu
    - Druga wartość rgba(50, 50, 50, 0.95) to kolor końcowy gradientu
    - Możesz zmienić wartości RGB (np. 40,40,40 na jaśniejsze wartości)
    - Ostatnia wartość (0.95) kontroluje przezroczystość
    */
    background: linear-gradient(145deg, rgba(29, 0, 92, 0.75), rgba(29, 7, 92, 0.75));
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    color: var(--white);
    height: 100%;
    backdrop-filter: blur(5px);
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--accent-color);
}

.tech-item i {
    color: var(--accent-color);
    text-shadow: var(--neon-glow) var(--accent-color);
    transition: transform 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.1);
}

.tech-item h4 {
    color: var(--neon-yellow);
    margin: 1rem 0;
    font-weight: 600;
    text-shadow: var(--neon-glow) var(--neon-yellow);
}

.tech-item p {
    color: var(--white);
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Background Styles */
.bg-light {
    background-color: var(--light-bg) !important;
}

/* Form placeholder color */
::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}
