/*
Theme Name: ListingHive Child - JobHive Style
Theme URI: https://your-abuja-site.com
Description: Complete JobHive-style job board and artisan portal for Abuja Employment Ecosystem
Author: Your Name
Author URI: https://your-site.com
Template: listinghive
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: listinghive-child
*/

/* Import parent theme styles */
@import url("../listinghive/style.css");

/* ============================================
   JOBHIVE STYLE CUSTOMIZATIONS
   Replicates the exact look and feel of JobHive
   ============================================ */

/* Primary Colors - Match JobHive's clean blue/teal scheme */
:root {
    --hp-primary-color: #2c7da0;
    --hp-primary-color-dark: #1f5e7a;
    --hp-secondary-color: #61a5c2;
    --hp-success-color: #2ecc71;
    --hp-warning-color: #f39c12;
    --hp-danger-color: #e74c3c;
    --hp-gray-light: #f8f9fa;
    --hp-gray: #6c757d;
}

/* Hero Section - JobHive's prominent search bar */
.jobhive-hero {
    background: linear-gradient(135deg, #2c7da0 0%, #1f5e7a 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.jobhive-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.jobhive-hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Search Form - Like JobHive's main search */
.jobhive-search-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.jobhive-search-form input,
.jobhive-search-form select {
    border: none;
    padding: 15px 20px;
    width: 100%;
}

.jobhive-search-form .search-button {
    background: var(--hp-primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.jobhive-search-form .search-button:hover {
    background: var(--hp-primary-color-dark);
}

/* Listing Cards - JobHive style */
.hp-listing {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 25px;
    overflow: hidden;
}

.hp-listing:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hp-listing--featured {
    border-left: 4px solid var(--hp-primary-color);
    background: linear-gradient(90deg, rgba(44,125,160,0.05) 0%, white 5%);
}

.hp-listing__thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 20px;
}

.hp-listing__title a {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}

.hp-listing__title a:hover {
    color: var(--hp-primary-color);
}

.hp-listing__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--hp-gray);
    margin: 10px 0;
}

.hp-listing__meta i {
    margin-right: 5px;
    color: var(--hp-primary-color);
}

/* Job Type Badges */
.job-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--hp-gray-light);
    color: var(--hp-gray);
}

.job-type-badge.full-time { background: #e8f5e9; color: #2e7d32; }
.job-type-badge.part-time { background: #fff3e0; color: #f57c00; }
.job-type-badge.remote { background: #e3f2fd; color: #1976d2; }
.job-type-badge.contract { background: #f3e5f5; color: #7b1fa2; }

/* Buttons - JobHive style */
.hp-button {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.hp-button--primary {
    background: var(--hp-primary-color);
    color: white;
    border: none;
}

.hp-button--primary:hover {
    background: var(--hp-primary-color-dark);
    color: white;
    transform: translateY(-2px);
}

.hp-button--secondary {
    background: transparent;
    border: 2px solid var(--hp-primary-color);
    color: var(--hp-primary-color);
}

.hp-button--secondary:hover {
    background: var(--hp-primary-color);
    color: white;
}

/* User Dashboard - JobHive style */
.hp-dashboard {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hp-dashboard__sidebar {
    background: var(--hp-gray-light);
    border-radius: 12px;
    padding: 20px;
}

.hp-dashboard__menu a {
    display: block;
    padding: 12px 15px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.hp-dashboard__menu a:hover,
.hp-dashboard__menu a.active {
    background: var(--hp-primary-color);
    color: white;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-card i {
    font-size: 32px;
    color: var(--hp-primary-color);
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 28px;
    margin: 10px 0;
    color: #2c3e50;
}

.stat-card p {
    color: var(--hp-gray);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .jobhive-hero {
        padding: 50px 20px;
    }
    
    .jobhive-hero h1 {
        font-size: 32px;
    }
    
    .hp-listing__inner {
        flex-direction: column;
    }
    
    .hp-listing__thumbnail {
        margin-bottom: 15px;
    }
}