/* Desert Sand Theme - Motyw pustynny dla damprace.online */
:root {
    --primary-color: #D4A574;
    --secondary-color: #8B4513;
    --accent-color: #CD853F;
    --background-color: #FAF0E6;
    --text-color: #3E2723;
    --text-light: #5D4037;
    --border-color: #DEB887;
    --shadow-color: rgba(139, 69, 19, 0.15);
    --success-color: #8FBC8F;
    --warning-color: #DEB887;
    --error-color: #A0522D;
    
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: 'Arial', 'Helvetica', sans-serif;
    
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(205, 133, 63, 0.1) 0%, transparent 50%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--background-color) 0%, #F5DEB3 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A574' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Job Cards Grid */
.jobs-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.job-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.job-header {
    margin-bottom: 15px;
}

.job-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

.job-company {
    margin-bottom: 15px;
}

.company-link,
.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.company-link:hover {
    text-decoration: underline;
}

.job-location,
.job-salary,
.job-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.job-description {
    margin: 15px 0;
    color: var(--text-light);
    line-height: 1.5;
}

.job-footer {
    margin-top: 20px;
    text-align: right;
}

.btn-details {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-details:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Job Details Page */
.job-details {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.job-details-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.job-details-header .job-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.job-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1rem;
    color: var(--text-light);
}

.job-company-section {
    margin-bottom: 40px;
    text-align: center;
}

.company-info {
    display: inline-block;
    padding: 20px;
    background: var(--background-color);
    border-radius: var(--border-radius);
}

.job-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--background-color);
    border-radius: var(--border-radius);
}

.spec-icon {
    font-size: 1.5rem;
}

.spec-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.spec-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.job-description {
    margin-bottom: 40px;
}

.job-description h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.description-content {
    line-height: 1.8;
    color: var(--text-light);
}

.job-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-apply {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-apply:hover {
    background: #7CB37C;
    transform: translateY(-2px);
}

.btn-back {
    display: inline-block;
    background: var(--text-light);
    color: white;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--secondary-color);
}

/* Partners Section */
.partners-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 60px 0;
    margin-top: 60px;
}

.partners-title {
    text-align: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.partner-link {
    display: block;
    background: rgba(255,255,255,0.9);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

.partner-link:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Tips Section */
.tips-section {
    padding: 60px 0;
    background: #F5DEB3;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.tip-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tip-content {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-section p,
.footer-section a {
    color: #E6D2AA;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--primary-color);
    padding-top: 20px;
    color: #E6D2AA;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-specs {
        grid-template-columns: 1fr;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
