:root {
    --main-bg: #ffffff;
    --text-color: #1a1a1a;
    --accent: #00ffcc; /* Miętowy akcent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--main-bg);
    color: var(--text-color);
    line-height: 1.6;
}

/* Nawigacja */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span { color: var(--accent); }

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li { margin-left: 40px; }

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-list a:hover { color: var(--accent); }

/* Hero */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color);
}

/* Portfolio Grid */
.section { padding: 100px 5%; }

.section-title {
    font-size: 2rem;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    cursor: pointer;
    transition: 0.4s;
}

.project-card:hover { filter: grayscale(100%); }

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    
    .nav-list {
        display: none; /* Ukryte w wersji mobile, obsłużone przez JS */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .nav-list.active { display: flex; }

    .nav-list li { margin: 15px 0; }

    .hero-section { text-align: center; justify-content: center; }
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
}