/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 60px;
    width: auto;
}

.tagline {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6b00;
}

.primary-btn {
    background: #ff6b00;
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

/* Hero sekce */
.hero {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

.search-box {
    display: flex;
    max-width: 800px;
    margin: 0 auto 2rem;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.search-input {
    flex: 2;
    border: none;
    padding: 16px 20px;
    font-size: 1rem;
    background: transparent;
    color: #333;
}

.search-input::placeholder {
    color: #94a3b8;
}

.location-select {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 1rem;
    background: transparent;
    color: #333;
    cursor: pointer;
}

.search-btn {
    background: #ff6b00;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

.job-count {
    font-size: 1.1rem;
    opacity: 0.9;
}

.job-count .count {
    font-weight: 700;
    font-size: 1.3rem;
    color: #fbbf24;
}

/* Města */
.cities {
    padding: 80px 0;
    background: #f8fafc;
}

.cities h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 600;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.city-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.city-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.city-card .job-count {
    color: #64748b;
    font-size: 1rem;
}

/* Kategorie */
.categories {
    padding: 80px 0;
}

.categories h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 600;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.category-card p {
    color: #64748b;
    font-size: 1rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.newsletter h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.subscribe-btn {
    background: #fbbf24;
    color: #1e293b;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

/* Reference */
.testimonials {
    padding: 80px 0;
    background: #f8fafc;
}

.testimonials h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #475569;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #ff6b00;
}

/* Partneři */
.partners {
    padding: 80px 0;
}

.partners h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 600;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #475569;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.partner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #ff6b00;
}

.footer-section p {
    line-height: 1.7;
    color: #94a3b8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff6b00;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Nové styly pro podstránky */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card, .benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover, .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon, .benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: white;
    color: #ff6b00;
}

.large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.process {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #ff6b00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.company-logo {
    background: white;
    padding: 2rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Výpis inzerátů styly */
.search-header {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    padding: 80px 0 60px;
    color: white;
    text-align: center;
}

.page-hero {
    margin-bottom: 3rem;
}

.hero-heading {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.hero-subheading {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    text-align: center;
    margin-bottom: 2rem;
}

.results-info {
    text-align: center;
    margin-top: 2rem;
    color: white;
    opacity: 0.9;
}

.listings-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.filters {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
    color: #475569;
}

.filter-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.job-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: #ff6b00;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.job-info {
    flex: 1;
}

.job-info h3 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.company {
    color: #64748b;
    margin: 0 0 0.5rem 0;
}

.salary {
    color: #ff6b00;
    font-weight: 600;
    margin: 0;
}

.job-date {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-left: auto;
}

.job-description {
    margin-bottom: 1rem;
    color: #475569;
    line-height: 1.6;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #475569;
    transition: all 0.3s ease;
}

.page-link:hover, .page-link.active {
    background: #ff6b00;
    color: white;
    border-color: #ff6b00;
}

/* Responzivní design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-box {
        flex-direction: column;
        gap: 8px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .categories-grid,
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .listings-layout {
        grid-template-columns: 1fr;
    }
    
    .filters {
        order: 2;
    }
    
    .job-list {
        order: 1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 1rem 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 2rem !important;
    }
}

/* Detail stránky styly */
.job-detail-header {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    padding: 80px 0 60px;
    color: white;
    text-align: center;
}

.detail-hero {
    margin-bottom: 0;
}

.job-detail-content {
    padding: 60px 0;
    background: #f8fafc;
}

.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.job-main-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.job-header-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.company-logo-large {
    width: 80px;
    height: 80px;
    background: #ff6b00;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 2rem;
    flex-shrink: 0;
}

.job-title-section h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    color: #1e293b;
}

.company-name {
    color: #64748b;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.job-salary {
    color: #ff6b00;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
}

.job-posted {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.job-tags-section {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.job-description-full {
    line-height: 1.7;
}

.job-description-full h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.job-description-full h4 {
    color: #374151;
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
}

.job-description-full ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.job-description-full li {
    margin-bottom: 0.5rem;
    color: #475569;
}

.apply-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
}

.apply-btn {
    background: #ff6b00;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.apply-btn:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

.save-btn {
    background: white;
    color: #ff6b00;
    border: 2px solid #ff6b00;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-btn:hover {
    background: #ff6b00;
    color: white;
}

.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-info-card,
.location-card,
.similar-jobs {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.company-info-card h3,
.location-card h3,
.similar-jobs h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-size: 1.3rem;
}

.company-details h4 {
    color: #374151;
    margin-bottom: 1rem;
}

.company-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b00;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

.map-placeholder {
    background: #f1f5f9;
    padding: 3rem 1rem;
    border-radius: 8px;
    text-align: center;
    color: #64748b;
    margin-top: 1rem;
    font-size: 2rem;
}

.similar-job {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.similar-job:last-child {
    border-bottom: none;
}

.similar-job a {
    text-decoration: none;
    color: #374151;
    transition: color 0.3s ease;
}

.similar-job a:hover {
    color: #ff6b00;
}

.similar-job strong {
    color: #1e293b;
}

.similar-job small {
    color: #64748b;
}

.job-card-link {
    text-decoration: none;
    color: inherit;
}

.job-card-link:hover .job-card {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .apply-section {
        flex-direction: column;
    }
}