/* Aurora Borealis Theme - startpraca.online */

:root {
    --primary-color: #00D4AA;
    --secondary-color: #1E3A8A;
    --accent-color: #8B5CF6;
    --background-color: #0F172A;
    --text-color: #E2E8F0;
    --text-light: #94A3B8;
    --border-color: #334155;
    --card-background: #1E293B;
    --header-background: #0F172A;
    --footer-background: #0A0F1F;
    --success-color: #10B981;
    --hover-color: #00F5D4;
    --shadow-color: rgba(0, 212, 170, 0.2);
    --gradient-primary: linear-gradient(135deg, #00D4AA 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #1E3A8A 0%, #00D4AA 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-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: var(--header-background);
    color: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.header::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><linearGradient id="aurora" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2300D4AA;stop-opacity:0.1"/><stop offset="50%" style="stop-color:%238B5CF6;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%231E3A8A;stop-opacity:0.1"/></linearGradient></defs><rect width="100" height="100" fill="url(%23aurora)"/></svg>');
    opacity: 0.3;
    animation: aurora 20s ease-in-out infinite;
}

@keyframes aurora {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(10px) translateY(5px); }
    75% { transform: translateX(-5px) translateY(10px); }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    font-weight: 300;
}

.nav {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.05);
}

.nav a:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* Hero Section */
.hero {
    background: var(--gradient-secondary);
    padding: 5rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, white 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 170, 0.4);
}

/* Jobs Section */
.jobs-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    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: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.job-card:hover::before {
    opacity: 1;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.job-title {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.job-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.job-company {
    margin-bottom: 1.5rem;
}

.company-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.company-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.job-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.job-location, .job-remote, .job-salary, .job-contact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
}

.location-icon, .remote-icon, .salary-icon, .contact-icon {
    font-size: 1.2rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.job-description {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.7;
}

.job-footer {
    text-align: center;
}

.details-link {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.details-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* Partners Section */
.partners-section {
    background: var(--card-background);
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.partner-link {
    display: block;
    text-align: center;
    padding: 1.2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.partner-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* Tips Section */
.tips-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(0, 212, 170, 0.1) 100%);
    border-radius: 30px;
    margin: 4rem 0;
    border: 1px solid var(--border-color);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tip-card {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.tip-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.tip-content {
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--footer-background);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.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: 3rem;
    border-top: 1px solid var(--border-color);
    color: rgba(255,255,255,0.6);
}

/* Full Job Page */
.job-full {
    background: var(--card-background);
    border-radius: 30px;
    padding: 4rem;
    margin: 3rem 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.job-full-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
}

.job-full-title {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.job-full-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    color: var(--text-light);
}

.job-full-company {
    margin-bottom: 3rem;
    text-align: center;
}

.company-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.job-full-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.detail-icon {
    font-size: 1.8rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.detail-value {
    font-weight: 600;
    color: var(--text-color);
}

.job-full-description {
    margin-bottom: 3rem;
}

.description-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.description-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.job-full-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.apply-button {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
    border: none;
}

.apply-button:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

.back-button {
    display: inline-block;
    background: var(--text-light);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--text-color);
    transform: translateY(-3px);
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* 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: 2.5rem;
    }
    
    .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;
    }
}
