:root {
    --primary-blue: #00d4ff;
    --dark-bg: #050a14;
    --darker-bg: #02050a;
    --card-bg: rgba(0, 20, 40, 0.7);
    --text-light: #e0e0ff;
    --neon-glow: 0 0 15px rgba(0, 212, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
section {
    position: relative;
    z-index: 5;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('background-circuits.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-light);
    overflow-x: hidden;
}

.hero-section::after,
.about-section,
.projects-grid,
.contact-section {
    background: rgba(5,10,20,0.65); /* półprzezroczysty, żeby było widać główne tło */
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    background: rgba(5,10,20,0.85);
    backdrop-filter: blur(6px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo-icon {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-right: 8px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--primary-blue);
    margin-left: 6px;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin: 0 15px;
}

nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.social-icons a {
    margin-left: 15px;
    color: var(--primary-blue);
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('background-circuits.jpg') no-repeat center / cover;
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5,10,20,0.65);
}

.energy-flow {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent 0%,
        transparent 40%,
        rgba(0,212,255,0.35) 45%,
        transparent 50%
    );
    background-size: 200% 200%;
    animation: flow 10s linear infinite;
    z-index: 1;
}

@keyframes flow {
    from { background-position: 0 0; }
    to { background-position: 200% 200%; }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero-image-container {
    max-width: 420px;
}

.person-image {
    width: 100%;
    filter: drop-shadow(0 0 20px rgba(0,212,255,0.3));
}

.hero-text {
    padding-left: 50px;
}

.title-prefix {
    font-size: 1.4rem;
    color: #aaa;
}

h1 {
    font-size: 3.3rem;
}

.highlight-blue {
    color: var(--primary-blue);
    margin: 10px 0 25px;
    text-shadow: var(--neon-glow);
}

.hero-tagline {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 35px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--darker-bg);
    box-shadow: var(--neon-glow);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.glow-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary-blue);
}

/* SERVICES */
.services-cards-container {
    margin-top: 80px;
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.service-card {
    flex: 1;
    background: var(--card-bg);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0,212,255,0.25);
}

.glow-card {
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    from { box-shadow: 0 0 10px rgba(0,212,255,0.15); }
    to { box-shadow: 0 0 25px rgba(0,212,255,0.35); }
}

.card-icon-box {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.card-divider {
    width: 50px;
    height: 2px;
    background: var(--primary-blue);
    margin: 15px auto;
}

/* FOOTER */
.bottom-bar {
    background: #02050a;
    padding: 20px 0;
}

.footer-items {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a0a0ff;
    font-size: 0.85rem;
}

.footer-divider {
    width: 1px;
    height: 20px;
    background: rgba(0,212,255,0.3);
    margin: 0 30px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-left: 0;
        margin-top: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-cards-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.4rem; }
    .highlight-blue { font-size: 1.3rem; }
    .hero-tagline { font-size: 1.1rem; }
}
/* ABOUT SECTION */
.about-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(
        to bottom,
        rgba(2,5,10,0.95),
        rgba(5,10,20,0.95)
    );
    border-top: 1px solid rgba(0,212,255,0.1);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 2;
}

.about-text h2 {
    font-size: 2.6rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.about-divider {
    width: 70px;
    height: 3px;
    background: var(--primary-blue);
    margin-bottom: 30px;
    box-shadow: var(--neon-glow);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #d0d0ff;
    margin-bottom: 20px;
}

.about-text strong {
    color: #ffffff;
}

/* STATS */
.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-box {
    background: rgba(0,20,40,0.6);
    border: 1px solid rgba(0,212,255,0.25);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(0,212,255,0.35);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: #a0a0ff;
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .stat-box {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .about-stats {
        flex-direction: column;
    }
}
.glow-card {
    background: rgba(0,20,40,0.7);
    border-radius: 10px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(0,212,255,0.25);
    box-shadow: 0 0 15px rgba(0,212,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(0,212,255,0.5);
}

.card-icon-box { font-size:3rem; color:var(--primary-blue); margin-bottom:20px; }
.card-divider { width:50px; height:2px; background:var(--primary-blue); margin:15px auto; }
.project-card h3, .service-card h3 { margin-bottom:10px; color:var(--primary-blue); }
.project-card p, .service-card p { color:#d0d0ff; }
/* Projekty w tym samym stylu co services */
.projects-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-card {
    flex: 1;
    min-width: 250px;
}

.glow-card {
    background: rgba(0,20,40,0.7);
    border-radius: 10px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(0,212,255,0.25);
    box-shadow: 0 0 15px rgba(0,212,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 4s infinite alternate;
}

.glow-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(0,212,255,0.5);
}

.project-card h3,
.service-card h3 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.project-card p,
.service-card p {
    color: #d0d0ff;
}

.card-icon-box {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.card-divider {
    width: 50px;
    height: 2px;
    background: var(--primary-blue);
    margin: 15px auto;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .projects-grid {
        flex-direction: column;
        align-items: center;
    }
}
.services-cards-container {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .services-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-cards-container {
        grid-template-columns: 1fr;
    }
}
