/*
Theme Name: JobLoop Theme
Theme URI: https://jobloop.in
Author: JobLoop Team
Author URI: https://jobloop.in
Description: A modern, AI-powered recruitment theme for Gen Z talent matching.
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: jobloop
Tags: job-board, recruitment, ai, custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
}

h1,
h2,
h3,
h4,
.site-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Layout */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 24px;
    margin: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.main-navigation a {
    font-weight: 500;
    color: var(--text-muted);
}

.main-navigation a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.hero-search form {
    display: flex;
    gap: 10px;
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

/* Job Cards */
.job-loop {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

article.post-type-job {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

article.post-type-job:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.entry-title {
    font-size: 20px;
    margin: 0 0 10px 0;
}

.job-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Single Job */
.single-job .entry-header {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.company-name {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.entry-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.job-description {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.job-sidebar>div {
    background: var(--surface);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.skill-tag {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin: 0 5px 5px 0;
}

.ai-widget-placeholder {
    border: 2px dashed var(--primary) !important;
    background: #f0f9ff !important;
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-top: auto;
}

.site-info {
    font-size: 14px;
    opacity: 0.7;
}

/* Buttons */
.button,
button,
input[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.button:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .entry-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .single-job .entry-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}