/* ====== ZNAJDZ PRACE - UNIKALNY DESIGN ====== */
/* Styl: modern-glassmorphism-blue-theme */

:root {
    /* Kolorystyka */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Tła i przezroczystość */
    --bg-primary: rgba(255, 255, 255, 0.95);
    --bg-secondary: rgba(241, 245, 249, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.25);
    --bg-glass-border: rgba(255, 255, 255, 0.18);
    
    /* Tekst */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Cienie */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Gradienty */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Czcionki */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'Consolas', monospace;
    
    /* Przejścia */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ====== RESET I PODSTAWY ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    background-attachment: fixed;
}

/* ====== KONTENER I UKŁAD ====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* ====== NAGŁÓWEK ====== */
.main-header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: "💼";
    font-size: 32px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ====== SEKCJA HERO ====== */
.hero-section {
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 18px;
    opacity: 0.8;
}

/* ====== SEKCJA OFERT ====== */
.jobs-section {
    background: var(--bg-primary);
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* ====== KARTY OFERT ====== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.job-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.job-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.job-work-mode {
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-company {
    margin-bottom: 20px;
}

.company-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color var(--transition-fast);
}

.company-link:hover {
    color: var(--primary-dark);
}

.job-location,
.job-salary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.job-description {
    color: var(--text-secondary);
    margin: 20px 0;
    line-height: 1.7;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-glass-border);
}

.job-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.job-details-link {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.job-details-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ====== IKONY ====== */
.icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* ====== SEKCJA PORAD ====== */
.tips-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tip-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.tip-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.tip-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ====== SEKCJA LINKÓW ====== */
.links-section {
    background: var(--bg-primary);
    padding: 60px 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.domain-link {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.domain-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* ====== PEŁNA OFERTA ====== */
.job-offer-full {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: 25px;
    padding: 50px;
    box-shadow: var(--shadow-xl);
    margin: 40px 0;
}

.job-offer-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bg-glass-border);
}

.job-offer-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.job-offer-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.work-mode-badge {
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.job-offer-company {
    text-align: center;
    margin: 30px 0;
}

.company-name {
    font-size: 28px;
    font-weight: 700;
}

.company-name a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.company-name a:hover {
    color: var(--primary-dark);
}

.job-offer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

.job-offer-description {
    margin: 40px 0;
}

.description-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.description-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 18px;
}

.description-content h1,
.description-content h2,
.description-content h3 {
    color: var(--text-primary);
    margin: 25px 0 15px;
}

.description-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.description-content li {
    margin: 10px 0;
}

.job-offer-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}

.apply-button,
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all var(--transition-normal);
}

.apply-button {
    background: var(--success-color);
    color: white;
}

.apply-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.back-button {
    background: var(--secondary-color);
    color: white;
}

.back-button:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ====== LISTA WSZYSTKICH OFERT ====== */
.all-jobs-header {
    text-align: center;
    margin-bottom: 50px;
}

.all-jobs-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.jobs-list-container {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* ====== STOPKA ====== */
.main-footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ====== KONTAKT I INFORMACJE ====== */
.contact-info {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
}

/* ====== RESPONSYWNOŚĆ ====== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .job-offer-actions {
        flex-direction: column;
    }
    
    .job-offer-full {
        padding: 30px;
    }
}

/* ====== ANIMACJE ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card,
.tip-card,
.domain-link {
    animation: fadeInUp 0.6s ease-out;
}

/* ====== STAN ŁADOWANIA ====== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ====== KOMUNIKATY BŁĘDÓW ====== */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.no-jobs {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-jobs p {
    font-size: 18px;
}
