/**
 * Time Management Theme - CzasNaPrace.online
 * Unikalny styl inspirowany zarządzaniem czasem i produktywnością
 */

:root {
    /* Kolorystyka inspirowana zarządzaniem czasem */
    --primary-color: #2E8B57; /* Sea Green - profesjonalizm i wzrost */
    --secondary-color: #4682B4; /* Steel Blue - zaufanie i stabilność */
    --accent-color: #FF6B35; /* Orange - energia i działanie */
    --success-color: #32CD32; /* Lime Green - sukces i realizacja */
    --warning-color: #FFD700; /* Gold - pilność i czas */
    --danger-color: #DC143C; /* Crimson - pilność i deadline */
    
    /* Neutralne kolory */
    --dark-color: #2C3E50; /* Dark Blue Gray - profesjonalizm */
    --light-color: #F8F9FA; /* Light Gray - przestrzeń i świeżość */
    --gray-color: #6C757D; /* Gray - neutralność */
    --white-color: #FFFFFF;
    
    /* Czcionki - modern i czytelne */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
    
    /* Cienie i efekty */
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 24px rgba(0,0,0,0.2);
    
    /* Gradienty */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--warning-color));
    --gradient-success: linear-gradient(135deg, var(--success-color), var(--primary-color));
}

/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    font-size: 16px;
}

/* Nagłówki */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Linki */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    text-decoration: none;
}

.btn-secondary {
    background: var(--white-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header i nawigacja */
.header {
    background: var(--white-color);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero sekcja */
.hero {
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--warning-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Sekcja z poradami */
.tips-section {
    padding: 4rem 2rem;
    background: var(--white-color);
}

.tips-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.tip-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tip-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Sekcja z ofertami */
.jobs-section {
    padding: 4rem 2rem;
    background: var(--light-color);
}

.jobs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.job-card {
    background: var(--white-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 139, 87, 0.1);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.3rem;
    margin-bottom: 0;
}

.job-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.job-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.job-time-badge {
    background: var(--gradient-accent);
    color: var(--white-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.job-company-info {
    margin-bottom: 1rem;
}

.company-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.job-location {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.work-mode {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.job-salary {
    color: var(--success-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-description {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.job-footer {
    display: flex;
    gap: 1rem;
}

/* Sekcja linków partnerskich */
.partners-section {
    padding: 3rem 2rem;
    background: var(--white-color);
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-link {
    display: block;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark-color);
}

.partner-link:hover {
    background: var(--gradient-primary);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--white-color);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--warning-color);
    text-decoration: underline;
}

/* Ikony */
.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.icon-clock::before { content: '⏰'; }
.icon-location::before { content: '📍'; }
.icon-money::before { content: '💰'; }
.icon-briefcase::before { content: '💼'; }
.icon-building::before { content: '🏢'; }
.icon-envelope::before { content: '✉️'; }
.icon-paper-plane::before { content: '🚀'; }
.icon-print::before { content: '🖨️'; }
.icon-facebook::before { content: '📘'; }
.icon-linkedin::before { content: '💼'; }
.icon-link::before { content: '🔗'; }
.icon-error::before { content: '⚠️'; }

/* Responsywność */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-card-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-footer {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Efekty hover dla kart */
.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(46, 139, 87, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover::before {
    opacity: 1;
}

/* Czasowe elementy */
.time-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-accent);
    color: var(--white-color);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.time-indicator::before {
    content: '⏱️';
    font-size: 1.1rem;
}

/* Progress bar efekt */
.progress-bar {
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: progress 2s ease-out;
}

@keyframes progress {
    from { width: 0; }
    to { width: 100%; }
}

/* Sekcja z poradami - rozwijane */
.tip-expandable {
    cursor: pointer;
    user-select: none;
}

.tip-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tip-expandable.active .tip-content {
    max-height: 500px;
}

.tip-expandable::after {
    content: '▼';
    float: right;
    transition: transform 0.3s ease;
}

.tip-expandable.active::after {
    transform: rotate(180deg);
}
