/*
Theme Name: Jobliks
Theme URI: https://www.jobliks.com
Author: Jobliks Team
Author URI: https://www.jobliks.com
Description: A modern job listing platform with multi-country support, resume builder, and monetization features. Perfect for AdSense integration and premium job listings.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jobliks
Tags: job-board, jobs, employment, recruitment, multi-country, adsense-ready

Jobliks - Your Global Job Search Platform
*/

/* ===============================================
   CSS RESET & BASE STYLES
   =============================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================================
   HEADER & NAVIGATION
   =============================================== */

.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.job-search-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-search {
    background: var(--accent-color);
    color: white;
    padding: 15px 40px;
    font-size: 16px;
}

.btn-search:hover {
    background: #d97706;
}

/* ===============================================
   AD ZONES
   =============================================== */

.ad-zone {
    background: var(--bg-light);
    border: 1px dashed var(--border-color);
    padding: 20px;
    text-align: center;
    margin: 30px 0;
    border-radius: 8px;
}

.ad-zone-label {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 10px;
}

.ad-header {
    margin: 20px auto;
    max-width: 728px;
    min-height: 90px;
}

.ad-sidebar {
    margin: 20px 0;
    min-height: 600px;
}

.ad-between-jobs {
    margin: 30px 0;
    min-height: 250px;
}

/* ===============================================
   JOB LISTINGS
   =============================================== */

.jobs-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
}

.jobs-layout {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 30px;
}

.job-filters {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    margin-right: 8px;
}

.filter-group select,
.filter-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.job-card.featured {
    border: 2px solid var(--accent-color);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.job-header {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.company-logo {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.job-info {
    flex: 1;
}

.job-title {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 5px;
    text-decoration: none;
}

.job-title:hover {
    color: var(--primary-color);
}

.company-name {
    color: var(--text-light);
    font-size: 16px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
    color: var(--text-light);
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.tag {
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-dark);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.job-salary {
    font-weight: 600;
    color: var(--success-color);
    font-size: 18px;
}

.job-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* ===============================================
   SIDEBAR
   =============================================== */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: var(--primary-color);
}

/* ===============================================
   FOOTER
   =============================================== */

.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 1024px) {
    .jobs-layout {
        grid-template-columns: 1fr;
    }
    
    .job-filters {
        order: 2;
    }
    
    .sidebar {
        order: 3;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .job-search-form {
        flex-direction: column;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .job-card {
        padding: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }