﻿/* =========================================
   1. ZMIENNE I RESET (BAZA)
   ========================================= */
:root {
    --bg-color: #050a14;         /* Głęboki granat */
    --card-bg: #0f1623;          /* Jaśniejszy granat dla kart */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent-color: #ff2e4d;     /* Czerwień Narrer */
    --accent-hover: #ff5c75;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; }
p {
    font-size: 1.05rem;    /* Nieco większy niż standard (ok. 17px) dla wygody czytania */
    line-height: 1.6;      /* Interlinia: kluczowa dla lekkości tekstu "bez ramki" */
    color: #4b5563;        /* Ciemny szary (Cool Gray 600) - lżejszy niż czarny, ale bardzo czytelny */
    margin-top: 12px;      /* Delikatny odstęp od tytułu (h3) */
    margin-bottom: 24px;   /* Wyraźny odstęp od sekcji wyników (linii na dole) */
    font-weight: 400;      /* Standardowa waga, lekki wygląd */
    max-width: 95%;
}
/* =========================================
   2. NAWIGACJA (NAVBAR)
   ========================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.4s;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

/* Logo */
.logo {
    z-index: 1002;
    display: flex;
    align-items: center;
}

/* Linki (Środek) */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover { color: var(--accent-color); }

/* --- Prawa Strona (Logowanie / User) --- */
.nav-user-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn-ghost {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    transition: 0.3s;
}

.login-btn-ghost:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.nav-cta {
    background-color: var(--accent-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(255, 46, 77, 0.3);
}

.nav-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Dropdown Użytkownika */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.user-btn:hover {
    background: rgba(255, 46, 77, 0.1);
    border-color: var(--accent-color);
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 15px; /* Odstęp */
    background-color: var(--card-bg);
    min-width: 250px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: visible; /* Ważne dla mostka */
    z-index: 1003;
    animation: fadeInDropdown 0.2s ease-in-out;
}

/* Niewidzialny mostek (naprawa znikającego menu) */
.user-dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    display: block;
}

.user-dropdown:hover .user-dropdown-content {
    display: block;
}

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

.dropdown-header {
    padding: 15px 20px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--border-color);
}
.dropdown-header small { display: block; color: var(--text-muted); font-size: 0.8rem; }
.user-balance { color: var(--accent-color); font-weight: 800; font-size: 1.1rem; }

.dropdown-list li a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: 0.2s;
}
.dropdown-list li a:hover { background: rgba(255,255,255,0.05); color: var(--accent-color); }

.dropdown-footer { border-top: 1px solid var(--border-color); }
.logout-link { color: #ff4d4d !important; font-weight: 600; }

/* Hamburger Mobile */
.mobile-menu-btn { display: none; font-size: 1.8rem; cursor: pointer; color: white; z-index: 1002; }
.mobile-user-actions { display: none; }

/* =========================================
   3. SEKCJA HERO (NAPRAWIONE 50+)
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 50px;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a2342 0%, var(--bg-color) 100%);
}

.hero-video-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0; opacity: 0.6;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(5,10,20,0.7) 0%, var(--bg-color) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(255, 46, 77, 0.3);
}

.cta-button:hover { transform: translateY(-3px); background-color: var(--accent-hover); }

.cta-secondary {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: none;
}
.cta-secondary:hover { background-color: white; color: var(--bg-color); }

/* --- HERO STATS (To co się posypało) --- */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-heading);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Kontener główny */
.about-stats {
    display: flex;
    justify-content: center; /* Wyśrodkowanie elementów */
    align-items: center;
    flex-wrap: wrap; /* Pozwala na zawijanie wierszy na mniejszych ekranach */
    gap: 40px; /* Odstęp między statystykami */
    padding: 60px 20px;
   /* Lekkie tło dla wyróżnienia sekcji */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Nowoczesny font */
}

/* Pojedynczy element statystyki */
.stat-item {
    text-align: center;
    min-width: 150px; /* Minimalna szerokość, żeby się nie ściskały */
    flex: 1; /* Elementy będą zajmować równą przestrzeń */
    max-width: 250px;
}

/* Liczba (np. 50+, 100%) */
.stat-number {
    font-size: 3rem; /* Duży rozmiar czcionki */
    font-weight: 800; /* Bardzo pogrubione */
    color: #2563eb; /* Kolor akcentu (np. niebieski) */
    line-height: 1.2;
    margin-bottom: 10px;
    transition: transform 0.3s ease; /* Płynna animacja przy najechaniu */
}

/* Etykieta (np. Projektów, Skuteczności) */
.stat-label {
    font-size: 1.1rem;
    color: #4b5563; /* Ciemnoszary kolor tekstu */
    font-weight: 500;
    text-transform: uppercase; /* Wielkie litery dla stylu */
    letter-spacing: 1px; /* Lekkie rozstrzelenie liter */
}

/* Opcjonalnie: Efekt po najechaniu myszką */
.stat-item:hover .stat-number {
    transform: translateY(-5px); /* Lekkie uniesienie liczby */
    color: #1d4ed8; /* Ciemniejszy odcień przy najechaniu */
}

/* Dostosowanie do telefonów (RWD) */
@media (max-width: 768px) {
    .about-stats {
        gap: 30px;
        padding: 40px 15px;
    }

    .stat-number {
        font-size: 2.5rem; /* Nieco mniejsze liczby na mobilu */
    }
}
/* =========================================
   4. SEKCJE SPECJALNE (Tech, Workflow, Showreel)
   ========================================= */

/* Tech Stack */
.tech-stack {
    background: #020408;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.tech-label {
    text-align: center; color: var(--text-muted);
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 30px;
}
.tech-logos-wrapper {
    display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center;
}
.tech-logo {
    font-weight: 700; font-family: var(--font-heading); font-size: 1.1rem;
    color: #555; display: flex; align-items: center; gap: 12px;
    transition: 0.3s; padding: 10px 20px; border-radius: 50px;
}
.tech-logo:hover { color: white; background: rgba(255, 255, 255, 0.05); transform: scale(1.05); }

/* Showreel */
.showreel-section {
    position: relative; height: 500px; overflow: hidden; background: black; margin: 50px 0;
}
.video-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1.5s ease-in-out;
}
.video-slide.active { opacity: 1; }
.video-slide video {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.5;
    filter: contrast(1.1) brightness(0.8);
}
.showreel-overlay {
    position: relative; z-index: 2; text-align: center; width: 100%; top: 35%;
}
.play-btn {
    width: 80px; height: 80px; background: rgba(255, 46, 77, 0.9);
    border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white; box-shadow: 0 0 30px rgba(255, 46, 77, 0.4);
}
.slider-dots { display: flex; gap: 10px; justify-content: center; margin-top: 15px; }
.dot { width: 10px; height: 10px; background: rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; }
.dot.active { background: var(--accent-color); }

/* Proces (Workflow) */
.process-section { padding: 80px 5%; }
.process-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px;
}
.step-card {
    background: var(--card-bg); padding: 30px; border-radius: 12px;
    border: 1px solid var(--border-color); position: relative; transition: 0.3s; min-height: 200px;
    display: flex; flex-direction: column; justify-content: center;
}
.step-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.step-number {
    font-size: 4rem; font-weight: 900; color: rgba(255, 255, 255, 0.03);
    position: absolute; top: 0; right: 20px; font-family: var(--font-heading);
}
.step-card h3 { font-size: 1.3rem; margin-bottom: 10px; position: relative; z-index: 2; }
.step-card p { font-size: 0.95rem; color: var(--text-muted); position: relative; z-index: 2; }

/* =========================================
   5. STANDARDOWE SEKCJE (O nas, Usługi, Kontakt)
   ========================================= */
section { padding: 100px 5%; position: relative; width: 100%; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin: 0 auto 60px; }
.section-badge { color: var(--accent-color); font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.section-title { font-size: 2.5rem; font-family: var(--font-heading); line-height: 1.2; }

/* Usługi (NAPRAWA GRID) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--card-bg); padding: 40px; border-radius: 16px;
    border: 1px solid var(--border-color); transition: 0.3s;
}
.service-card:hover { transform: translateY(-10px); border-color: var(--accent-color); }
.service-icon { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 25px; }

/* O nas (NAPRAWA GRID) */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    background: linear-gradient(45deg, var(--card-bg), #1a2342); min-height: 400px;
    border-radius: 20px; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center;
}
/* about.css - Narrer Agency Custom Style */
.about-section {
    padding: 100px 0;
    background-color: #050a14;
    color: #ffffff;
    overflow: hidden;
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-header .subtitle {
    color: #ff2e4d;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
}

.about-header h2 {
    font-size: 3rem;
    margin: 20px 0;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff, #ff2e4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Bento Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 25px;
}

.about-card {
    background: #0f1623;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: #ff2e4d;
}

/* Karta Główna */
.card-main {
    grid-column: span 2;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.icon-main {
    font-size: 3rem;
    color: #ff2e4d;
    margin-bottom: 20px;
}

/* Karty Małe */
.card-small i {
    font-size: 2rem;
    color: #ff2e4d;
    margin-bottom: 20px;
}

.card-small h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Karta ze statystykami */
.card-medium {
    grid-column: span 1;
    background: linear-gradient(135deg, #0f1623 0%, #1a2342 100%);
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: #ff2e4d;
    line-height: 1;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
}
/* Styl dla Wartości */
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 50px;
}

.value-num {
    color: #ff2e4d;
    font-weight: 900;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.value-box h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.value-box p {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Styl dla Logotypów */
.trusted-by {
    margin-top: 100px;
    text-align: center;
    opacity: 0.6;
}

.logos-flex {
    display: flex;
    justify-content: center;
    gap: 50px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.logos-flex:hover {
    filter: grayscale(0%);
}

.client-logo {
    height: 40px;
}
/* Footer sekcji */
.about-footer {
    margin-top: 60px;
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid #ff2e4d;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #ff2e4d;
    box-shadow: 0 0 20px rgba(255, 46, 77, 0.4);
}

/* Responsywność */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .card-main, .card-medium {
        grid-column: span 1;
    }
    .about-header h2 {
        font-size: 2.2rem;
    }
}
/* Portfolio Grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
/* Główny kontener elementu portfolio - BEZ TŁA */
.portfolio-item {
    padding: 0; /* Brak wewnętrznych odstępów, bo nie ma ramki */
    margin-bottom: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 400px; /* Opcjonalne: ograniczenie szerokości */
}

/* Część wizualna (zdjęcie/ikona) */
.portfolio-img {
    position: relative; /* Potrzebne do pozycjonowania nakładki */
    height: 220px; /* Stała wysokość */
    background-color: #f3f4f6; /* Szare tło TYLKO dla miejsca na obrazek */
    border-radius: 12px; /* Zaokrąglone rogi zdjęcia */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px; /* Odstęp od tekstu */
    transition: transform 0.3s ease;
}

/* Ikona w miejscu zdjęcia (placeholder) */
.portfolio-img i {
    font-size: 4rem;
    color: #cbd5e1; /* Jasny szary kolor ikony */
}

/* Nakładka "Zobacz detale" */
.portfolio-hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 99, 235, 0.9); /* Niebieski, półprzezroczysty */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    opacity: 0; /* Domyślnie ukryte */
    transition: opacity 0.3s ease;
}

/* Efekty po najechaniu na obrazek */
.portfolio-img:hover .portfolio-hover-info {
    opacity: 1; /* Pokazuje napis */
}

.portfolio-img:hover {
    transform: translateY(-5px); /* Lekkie uniesienie samego obrazka */
}

/* Kategoria (nad tytułem) */
.portfolio-category {
    display: block;
    color: #2563eb; /* Główny kolor marki */
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Tytuł projektu */
.portfolio-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827; /* Bardzo ciemny szary/czarny */
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* Opis */
.portfolio-item p {
    font-size: 1rem;
    color: #6b7280; /* Spokojny szary */
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Sekcja wyników (liczby na dole) */
.portfolio-results {
    display: flex;
    gap: 30px; /* Odstęp między wynikami */
    border-top: 1px solid #e5e7eb; /* Cienka linia oddzielająca */
    padding-top: 15px;
}

/* Pojedynczy wynik */
.portfolio-result-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
}

.portfolio-result-label {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Kontakt (NAPRAWA GRID) */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}
.contact-form { background: var(--card-bg); padding: 40px; border-radius: 16px; border: 1px solid var(--border-color); }
.form-control {
    width: 100%; padding: 15px; background: #050a14; border: 1px solid var(--border-color);
    border-radius: 8px; color: white; margin-bottom: 20px;
}
.submit-btn {
    width: 100%; padding: 15px; background: var(--accent-color); border: none;
    color: white; font-weight: 700; border-radius: 8px; cursor: pointer; font-size: 1rem;
}
/* Kontener dla danych kontaktowych */
/* Kontener dla danych kontaktowych */
.contact-details {
    display: flex;
    flex-wrap: wrap; /* Zawijanie na mniejszych ekranach */
    justify-content: space-between; /* Rozłożenie elementów szeroko */
    gap: 30px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto; /* Wyśrodkowanie kontenera na stronie */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Pojedynczy element kontaktu */
.contact-item {
    display: flex;
    align-items: flex-start; /* Wyrównanie do góry (ikona vs tekst) */
    gap: 15px; /* Odstęp między ikoną a tekstem */
    flex: 1;
    min-width: 250px; /* Minimalna szerokość kolumny */
}

/* Kontener na ikonę (kółko) */
.contact-icon-container {
    width: 50px;
    height: 50px;
    background-color: #eff6ff; /* Bardzo jasny niebieski (tło) */
    border-radius: 50%; /* Robi kółko */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Zapobiega zgniataniu kółka */
    transition: background-color 0.3s ease;
}

/* Sama ikona (FontAwesome) */
.contact-icon {
    font-size: 1.2rem;
    color: #2563eb; /* Główny kolor (taki sam jak w statystykach) */
    transition: transform 0.3s ease;
}

/* Stylizacja etykiety (np. ADRES, EMAIL) */
.contact-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af; /* Szary, subtelny kolor */
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

/* Stylizacja właściwych danych (linków) */
.contact-value {
    display: block; /* Każdy link w nowej linii */
    font-size: 1rem;
    color: #1f2937; /* Ciemny, czytelny kolor tekstu */
    text-decoration: none; /* Usunięcie podkreślenia */
    line-height: 1.6; /* Odstępy między liniami */
    transition: color 0.2s ease;
}

/* Efekty po najechaniu na cały element */
.contact-item:hover .contact-icon-container {
    background-color: #2563eb; /* Kółko zmienia się na niebieskie */
}

.contact-item:hover .contact-icon {
    color: #ffffff; /* Ikona zmienia się na białą */
    transform: rotate(15deg); /* Lekki obrót ikony */
}

/* Efekt po najechaniu na link */
.contact-value:hover {
    color: #2563eb; /* Tekst zmienia się na niebieski */
}

/* Responsywność (Mobilki) */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column; /* Układ pionowy na telefonach */
        gap: 40px;
    }
    
    .contact-item {
        border-bottom: 1px solid #f3f4f6; /* Linie oddzielające na mobilu */
        padding-bottom: 20px;
    }

    .contact-item:last-child {
        border-bottom: none;
    }
}
/* Footer */
footer {
        background-color: #050a14;
        color: #ffffff;
        padding: 80px 0 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        font-family: 'Montserrat', sans-serif;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 40px;
        padding: 0 20px 60px 20px;
    }

    .footer-column h3 {
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 25px;
        position: relative;
    }

    .footer-about h3 span {
        color: #ff2e4d;
    }

    .footer-about p {
        color: #94a3b8;
        line-height: 1.6;
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    /* Social Links - Twoje ikony w nowoczesnym wydaniu */
    .social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
    }

    .social-link {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .social-link:hover {
        background: #ff2e4d;
        color: #fff;
        transform: translateY(-3px);
        border-color: #ff2e4d;
        box-shadow: 0 5px 15px rgba(255, 46, 77, 0.3);
    }

    .social-links hr {
        width: 100%;
        border: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        margin: 10px 0;
    }

    /* Listy linków */
    .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-links ul li {
        margin-bottom: 12px;
    }

    .footer-links ul li a {
        color: #94a3b8;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s;
    }

    .footer-links ul li a:hover {
        color: #ff2e4d;
        padding-left: 5px;
    }

    /* Kontakt */
    .footer-contact-item {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
        align-items: flex-start;
    }

    .footer-contact-icon {
        color: #ff2e4d;
        font-size: 1.1rem;
        margin-top: 3px;
    }

    .footer-contact-text {
        color: #94a3b8;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Sekcja Copyright */
    .copyright {
        background: rgba(0, 0, 0, 0.3);
        padding: 25px 20px;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .copyright p {
        margin: 0;
        font-size: 0.85rem;
        color: #64748b;
    }

    .created-by {
        margin-top: 20px;
        font-size: 0.8rem;
        color: #475569;
        display: block;
    }

    /* Responsywność */
    @media (max-width: 992px) {
        .footer-content {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 600px) {
        .footer-content {
            grid-template-columns: 1fr;
            text-align: center;
        }
        .footer-contact-item {
            justify-content: center;
        }
        .social-links {
            justify-content: center;
        }
    }
/* =========================================
   6. RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================= */

/* --- TABLET (Poniżej 992px) --- */
@media (max-width: 992px) {
    .about-content, .contact-content, .footer-content { grid-template-columns: 1fr; gap: 50px; }
    .nav-links { gap: 15px; }
    .hero-stats { gap: 30px; }
    .about-image { min-height: 300px; }
}

/* --- MOBILE (Poniżej 768px) --- */
@media (max-width: 768px) {
    
    /* Ukrycie elementów desktopowych */
    .desktop-only, .nav-user-area { display: none !important; }

    /* Pokaż Hamburgera */
    .mobile-menu-btn { display: block; }

    /* Menu wysuwane */
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 80%; height: 100vh;
        background-color: var(--card-bg); border-left: 1px solid var(--accent-color);
        flex-direction: column; justify-content: center; align-items: center;
        transition: 0.4s ease-in-out; z-index: 1001; box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        gap: 30px;
    }

    .nav-links.active { right: 0; }

    .nav-links a { font-size: 1.3rem; width: 100%; text-align: center; padding: 10px; }

    /* Sekcja użytkownika wewnątrz menu mobilnego */
    .mobile-user-actions {
        display: flex; flex-direction: column; width: 80%; gap: 15px;
        margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
    }

    .mobile-login-link {
        text-align: center; padding: 12px; background: rgba(255,255,255,0.05);
        border-radius: 8px; color: white; font-size: 1rem;
    }

    .mobile-login-link.logout { color: var(--accent-color); border: 1px solid var(--accent-color); background: transparent; }

    /* Typografia Mobile */
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .cta-container { flex-direction: column; }
    .cta-button { width: 100%; text-align: center; }
    
    /* Tech Stack na telefonie */
    .tech-logos-wrapper { gap: 20px; }
    .tech-logo { flex-basis: 45%; justify-content: center; font-size: 0.9rem; }
    
    /* Hero Stats na telefonie */
    .hero-stats { gap: 20px; }
    .hero-stat-item { width: 45%; }
    .hero-stat-number { font-size: 2rem; }
}