/* Step Progression Theme - Krokdopracy.online */
:root {
    --primary-color: #2E8B57;
    --primary-light: #3CB371;
    --primary-dark: #1F5F3F;
    --secondary-color: #4682B4;
    --accent-color: #FFD700;
    --text-dark: #2C3E50;
    --text-light: #5D6D7E;
    --background-light: #F8F9FA;
    --background-white: #FFFFFF;
    --border-color: #E8E8E8;
    --success-color: #27AE60;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
    --gradient-secondary: linear-gradient(135deg, #4682B4 0%, #5DADE2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow-medium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.logo span {
    color: var(--accent-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-secondary);
    color: white;
    padding: 4rem 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"><path d="M10,50 Q30,30 50,50 T90,50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    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;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Jobs Section */
.jobs-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-card {
    background: var(--background-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-header {
    margin-bottom: 1.5rem;
}

.job-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.company-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: var(--primary-dark);
}

.job-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.job-location, .job-mode, .job-salary, .job-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.location-icon, .mode-icon, .salary-icon, .date-icon {
    font-size: 1.1rem;
}

.job-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.job-footer {
    text-align: right;
}

.job-details-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.job-details-link:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
}

/* Advice Section */
.advice-section {
    background: var(--background-white);
    padding: 4rem 0;
    margin: 4rem 0;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advice-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.advice-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.advice-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.advice-content {
    color: var(--text-light);
    line-height: 1.6;
}

.advice-content ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.advice-content li {
    margin-bottom: 0.5rem;
}

/* Network Links Section */
.network-section {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    margin: 4rem 0;
}

.network-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.network-link {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.network-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-details {
        grid-template-columns: 1fr;
    }
    
    .network-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Job Details Page Specific Styles */
.job-details-container {
    background: var(--background-white);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px var(--shadow-light);
}

.job-details-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.job-title-large {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.company-link-large {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
}

.company-link-large:hover {
    color: var(--primary-dark);
}

.job-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.meta-content {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.meta-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.job-description-full {
    margin: 3rem 0;
}

.job-description-full h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.description-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.job-application {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.job-application h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.job-application p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.apply-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Jobs List Page */
.jobs-list-container {
    background: var(--background-white);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px var(--shadow-light);
}

.jobs-list-header {
    text-align: center;
    margin-bottom: 3rem;
}

.jobs-list-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.jobs-list-grid {
    display: grid;
    gap: 2rem;
}

/* Error Page Styles */
.error-container {
    text-align: center;
    padding: 4rem 2rem;
}

.error-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
