/* Warm Professional Theme - zawodnapoczatek.online */

:root {
    --primary-color: #D4A574;
    --secondary-color: #8B4513;
    --accent-color: #CD853F;
    --background-color: #FDF8F0;
    --text-color: #3E2723;
    --text-light: #6D4C41;
    --border-color: #D7CCC8;
    --card-background: #FFFFFF;
    --header-background: #8B4513;
    --footer-background: #5D4037;
    --success-color: #8BC34A;
    --hover-color: #A0522D;
    --shadow-color: rgba(139, 69, 19, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--header-background) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 2.2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    font-style: italic;
}

.nav {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav a:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
    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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: var(--hover-color);
    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(--secondary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Job Card */
.job-card {
    background: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.job-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.job-company {
    margin-bottom: 1rem;
}

.company-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.company-link:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.company-name {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.job-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.job-location, .job-remote, .job-salary, .job-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.location-icon, .remote-icon, .salary-icon, .contact-icon {
    font-size: 1.1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-link:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.job-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.job-footer {
    text-align: center;
}

.details-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.details-link:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

/* Partners Section */
.partners-section {
    background-color: var(--card-background);
    padding: 3rem 0;
    margin: 3rem 0;
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-link {
    display: block;
    text-align: center;
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.partner-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

/* Tips Section */
.tips-section {
    padding: 4rem 0;
    background-color: rgba(212, 165, 116, 0.1);
    border-radius: 20px;
    margin: 3rem 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
    border-left: 5px solid var(--primary-color);
}

.tip-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tip-content {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--footer-background);
    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(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-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.6);
}

/* Full Job Page */
.job-full {
    background: var(--card-background);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.job-full-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.job-full-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.job-full-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-light);
}

.job-full-company {
    margin-bottom: 2rem;
    text-align: center;
}

.company-title {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.job-full-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: 10px;
}

.detail-icon {
    font-size: 1.5rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.detail-value {
    font-weight: bold;
    color: var(--text-color);
}

.job-full-description {
    margin-bottom: 2rem;
}

.description-title {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.description-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.job-full-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.apply-button {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.apply-button:hover {
    background-color: #7CB342;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.back-button {
    display: inline-block;
    background-color: var(--text-light);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: var(--text-color);
    transform: translateY(-2px);
}

/* Error Message */
.error-message {
    background-color: #FFEBEE;
    color: #C62828;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
    border-left: 4px solid #C62828;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-full-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .job-full-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card, .job-full, .tip-card {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .header, .footer, .nav, .job-full-actions {
        display: none;
    }
    
    .job-full {
        box-shadow: none;
        border: 1px solid #000;
    }
}
