/*
Theme Name: Pakistan Jobs Portal
Description: A professional job portal theme for Pakistan with custom post types for jobs, companies, and locations.
Version: 1.0
Author: Pakistan Jobs Portal
Text Domain: pakistan-jobs
*/

/* Import Tailwind CSS - You'll need to compile this */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Custom CSS Variables */
:root {
  --pakistan-green: #1a5f3f;
  --pakistan-green-dark: #0f3d2a;
  --pakistan-green-light: #2d7a5f;
}

/* Custom Pakistan Green Colors */
.bg-pakistan-green {
  background-color: var(--pakistan-green) !important;
}

.hover\:bg-pakistan-green-dark:hover {
  background-color: var(--pakistan-green-dark) !important;
}

.text-pakistan-green {
  color: var(--pakistan-green) !important;
}

.border-pakistan-green {
  border-color: var(--pakistan-green) !important;
}

/* Gradient Hero Background */
.gradient-hero {
  background: linear-gradient(135deg, var(--pakistan-green) 0%, var(--pakistan-green-dark) 100%);
}

/* Typography Styles */
.prose {
    max-width: none;
    color: #374151;
    line-height: 1.75;
}

.prose h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: #111827;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    margin-top: 2rem;
    color: #111827;
    border-bottom: 2px solid var(--pakistan-green);
    padding-bottom: 0.5rem;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: #111827;
}

.prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
    color: #111827;
}

.prose h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: #111827;
}

.prose h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: #111827;
}

.prose p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.75;
}

.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.prose li::marker {
    color: var(--pakistan-green);
}

.prose strong {
    font-weight: 600;
    color: #111827;
}

.prose em {
    font-style: italic;
}

.prose blockquote {
    border-left: 4px solid var(--pakistan-green);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 0.375rem;
}

.prose img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
    max-width: 100%;
    height: auto;
}

.prose a {
    color: var(--pakistan-green);
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover {
    color: var(--pakistan-green-dark);
    text-decoration: none;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #dc2626;
    font-family: 'Courier New', monospace;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.prose th, .prose td {
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    text-align: left;
}

.prose th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.prose hr {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 2rem 0;
}

/* Custom Styles */
body {
  font-family: 'Inter', sans-serif;
}

.job-card {
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Hover Color Fixes */
.hover\:text-pakistan-green:hover {
    color: var(--pakistan-green) !important;
}

.hover\:bg-pakistan-green:hover {
    background-color: var(--pakistan-green) !important;
}

.hover\:bg-pakistan-green-dark:hover {
    background-color: var(--pakistan-green-dark) !important;
}

.hover\:border-pakistan-green:hover {
    border-color: var(--pakistan-green) !important;
}

/* Button and Link Transitions */
button, a, .btn {
    transition: all 0.3s ease;
}

/* Icon Fixes */
svg {
    flex-shrink: 0;
}

.w-4 {
    width: 1rem;
    height: 1rem;
}

.w-5 {
    width: 1.25rem;
    height: 1.25rem;
}

.w-6 {
    width: 1.5rem;
    height: 1.5rem;
}

/* Card Hover Effects */
.company-card {
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

/* Link hover effects */
a:hover {
    text-decoration: none;
}

/* Modal backdrop */
.modal-backdrop {
    backdrop-filter: blur(4px);
}

/* Notification animation */
.notification {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* WordPress Admin Bar Compatibility */
.admin-bar .sticky {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .sticky {
    top: 46px;
  }
}
