/* Zmienne globalne i reset */
:root {
    --primary: #0f172a;
    --secondary: #2563eb;
    --text: #334155;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
}

/* Nawigacja */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

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

.nav-links a{
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Moje hiperłącza*/

a.free-links:link {
    color: default;
}

a.free-links:visited {
    color: #64748b;
}

a.free-links:focus {
    color: #64748b;
}

a.free-links:hover {
    color: #f00;
}

a.free-links:active {
    color: #f00;
}

/* Sekcja główna (Hero) */
.hero {
    background-color: var(--white);
    padding: 5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 2.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #1d4ed8;
}

/* Sekcje */
section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Siatka usług */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Oś czasu / Doświadczenie */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    margin-bottom: 1.2rem;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 1rem;
}

.py-tech-stack, .student-subjects, .training, .cooperation {
    font-size: 0.75rem;
    list-style-type: square;
    color: var(--text);
    font-weight: 500;
    text-align: left;
    margin-top: 0.25rem;
    margin-left: 1rem;
}

/* Kontakt */
.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.contact-link {
    font-size: 1.25rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Stopka */
footer {
    background-color: var(--primary);
    color: #94a3b8;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.875rem;
    border-top: 1px solid #1e293b;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .nav-container { flex-direction: column; gap: 1rem; text-align: center; }
    .nav-links { gap: 1.25rem; }
    section { padding: 3.5rem 1.5rem; }
}
