/* ====== CAREER PATH GRADIENT THEME ====== */
/* Unikalny design dla domeny sciezkapracy.online */

:root {
    /* Kolorystyka */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    
    /* Podstawowe kolory */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #4facfe;
    --success-color: #43e97b;
    --warning-color: #f093fb;
    --danger-color: #f5576c;
    
    /* Neutralne kolory */
    --dark-bg: #1a1a2e;
    --dark-secondary: #16213e;
    --dark-card: #0f3460;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-light: #ffffff;
    --text-muted: #95a5a6;
    
    /* Cienie */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;
}

/* ====== GLOBAL STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== NAVIGATION ====== */
.career-path-nav {
    background: var(--primary-gradient);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.brand-link {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.brand-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ====== HERO SECTION ====== */
.hero-section {
    background: var(--primary-gradient);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ====== JOBS GRID ====== */
.career-path-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.career-path-job-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.career-path-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.career-path-job-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.career-path-job-card:hover::before {
    transform: scaleX(1);
}

.job-card-header {
    margin-bottom: 20px;
}

.job-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.job-company {
    font-size: 16px;
}

.company-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.company-name {
    color: var(--text-secondary);
    font-weight: 500;
}

.job-card-details {
    margin-bottom: 20px;
}

.job-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-location, .job-posted-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 14px;
}

.remote-tag, .hybrid-tag, .office-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.remote-tag {
    background: var(--success-gradient);
    color: white;
}

.hybrid-tag {
    background: var(--accent-gradient);
    color: white;
}

.office-tag {
    background: var(--warning-gradient);
    color: white;
}

.job-salary {
    font-weight: 600;
    color: var(--success-color);
}

.salary-range, .salary-from, .salary-to {
    color: var(--success-color);
    font-weight: 600;
}

.salary-negotiable {
    color: var(--text-muted);
    font-style: italic;
}

.job-card-description {
    margin-bottom: 25px;
}

.job-card-description p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.job-card-actions {
    display: flex;
    gap: 12px;
}

/* ====== BUTTONS ====== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.btn-details {
    background: var(--accent-gradient);
    color: white;
}

.btn-apply {
    background: var(--success-gradient);
    color: white;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--text-secondary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ====== CAREER ADVICE SECTION ====== */
.career-advice-section {
    padding: 80px 0;
    background: white;
    margin: 40px 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 18px;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advice-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.advice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advice-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.advice-card-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ====== JOB DETAIL PAGE ====== */
.career-path-job-detail {
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px;
    margin: 40px 0;
    box-shadow: var(--shadow-lg);
}

.job-detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.job-detail-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.job-detail-company {
    font-size: 20px;
}

.job-detail-info {
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-size: 14px;
}

.info-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.job-detail-short {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--success-gradient);
    color: white;
    border-radius: var(--radius-lg);
}

.job-detail-short h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.short-description {
    font-size: 18px;
    line-height: 1.6;
}

.job-detail-description {
    margin-bottom: 40px;
}

.job-detail-description h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.description-content {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 16px;
}

.description-content p {
    margin-bottom: 20px;
}

.job-detail-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 30px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
}

/* ====== SIMILAR JOBS ====== */
.similar-jobs-section {
    margin: 60px 0;
}

.similar-jobs-title {
    font-family: var(--font-heading);
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.similar-jobs-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.similar-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* ====== FOOTER ====== */
.career-path-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--success-color);
}

/* ====== ERROR STATES ====== */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.error-message {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 500px;
}

.error-message h2 {
    color: var(--danger-color);
    margin-bottom: 20px;
}

.no-jobs-container {
    text-align: center;
    padding: 60px 20px;
}

.no-jobs-text {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ====== CROSS-LINKING SECTION ====== */
.cross-linking-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    margin: 60px 0;
    border-radius: var(--radius-xl);
}

.cross-linking-title {
    font-family: var(--font-heading);
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.cross-linking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.cross-linking-grid a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.cross-linking-grid a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .nav-menu {
        margin-top: 20px;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .career-path-jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-card-actions {
        flex-direction: column;
    }
    
    .job-detail-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .cross-linking-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .career-path-job-card {
        padding: 20px;
    }
    
    .career-path-job-detail {
        padding: 30px 20px;
    }
    
    .cross-linking-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.career-path-job-card,
.advice-card,
.info-item {
    animation: fadeInUp 0.6s ease forwards;
}

.career-path-job-card:nth-child(2) { animation-delay: 0.1s; }
.career-path-job-card:nth-child(3) { animation-delay: 0.2s; }
.career-path-job-card:nth-child(4) { animation-delay: 0.3s; }
.advice-card:nth-child(2) { animation-delay: 0.1s; }
.advice-card:nth-child(3) { animation-delay: 0.2s; }
