/* Import Nerd Font */
@import url('https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/css/webfont.css');

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: transparent;
    overflow-x: hidden;
}

/* Canvas dla animacji grafu */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    opacity: 1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

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

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007bff;
}

/* Main Content */
main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.hero img {
    max-height: 250px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #666;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Services Section */
.services {
    padding: 80px 0;
    backdrop-filter: blur(5px);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
}

.service-icon {
    font-family: 'FiraCode Nerd Font', 'Symbols Nerd Font', monospace;
    font-size: 3rem;
    color: #007bff;
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #0056b3;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    text-align: center;
    backdrop-filter: blur(5px);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    color: #0056b3;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    font-family: 'FiraCode Nerd Font', 'Symbols Nerd Font', monospace;
    font-size: 2.5rem;
    color: #007bff;
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    word-break: break-word;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Footer */
footer {
    background: rgba(51, 51, 51, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.company-info h3,
.legal-info h3,
.social-info h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.company-info p,
.legal-info p,
.social-info p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.company-info a {
    color: #4db8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-info a:hover {
    color: #66c2ff;
    text-decoration: underline;
}

.company-info a:hover .footer-icon {
    color: #66c2ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

.legal-info a,
.social-info a {
    color: #4db8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-info a:hover,
.social-info a:hover {
    color: #66c2ff;
    text-decoration: underline;
}

.footer-icon {
    font-family: 'FiraCode Nerd Font', 'Symbols Nerd Font', monospace;
    font-size: 1.2rem;
    color: #4db8ff;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
    vertical-align: middle;
}

/* Matrix SVG icon styles */
.matrix-icon-svg {
    width: 2.5rem;
    height: 2.5rem;
    background-image: url('https://matrix.org/images/matrix-favicon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    filter: brightness(0) saturate(100%) invert(27%) sepia(88%) saturate(1729%) hue-rotate(200deg) brightness(100%) contrast(101%);
    transition: transform 0.3s ease, filter 0.3s ease;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.matrix-icon-svg-small {
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('https://matrix.org/images/matrix-favicon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    filter: brightness(0) saturate(100%) invert(49%) sepia(96%) saturate(1729%) hue-rotate(183deg) brightness(103%) contrast(101%);
    transition: filter 0.3s ease;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.contact-item:hover .matrix-icon-svg {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(18%) sepia(100%) saturate(1729%) hue-rotate(200deg) brightness(100%) contrast(101%);
}

.social-info a:hover .matrix-icon-svg-small {
    filter: brightness(0) saturate(100%) invert(60%) sepia(96%) saturate(1729%) hue-rotate(183deg) brightness(110%) contrast(101%);
}

.social-info a:hover .footer-icon {
    color: #66c2ff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero, .services, .contact {
    animation: fadeIn 1s ease-out;
} 