﻿/* ==========================================================================
   WPNOVA Theme - Newcomer Canada Job Board Layout Styles
   ========================================================================== */

:root {
  --wpnova-red: #b91c1c;
  --wpnova-dark-red: #8B0000;
  --wpnova-deep-red: #700000;
  --wpnova-charcoal: #1e293b;
  --wpnova-blush: #fff5f5;
  --wpnova-card-radius: 16px;
  --wpnova-pill-radius: 50px;
}

/* --------------------------------------------------------------------------
   Header Navigation Styles
   -------------------------------------------------------------------------- */
.site-header.custom-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s ease;
}

.site-header .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px !important;
  transition: all 0.2s ease;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus,
.site-header .navbar-nav .nav-item.active .nav-link {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.site-header .dropdown-menu {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 8px;
}

.site-header .dropdown-item {
  color: #334155;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.site-header .dropdown-item:hover {
  background: #fff5f5;
  color: var(--wpnova-red);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  background-color: var(--wpnova-blush);
}

.hero-search-pill-card input:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Job Cards (Featured & Latest Opportunities)
   -------------------------------------------------------------------------- */
.jobboard-job-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.jobboard-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: #e2e8f0 !important;
}

.jobboard-job-card h5 a:hover {
  color: var(--wpnova-red) !important;
}

/* --------------------------------------------------------------------------
   Browse by Category Cards
   -------------------------------------------------------------------------- */
.jobboard-category-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

.jobboard-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(185, 28, 28, 0.3) !important;
}

.jobboard-category-card:hover h6 {
  color: var(--wpnova-red) !important;
}

/* --------------------------------------------------------------------------
   Company Logos Showcase
   -------------------------------------------------------------------------- */
.jobboard-companies-showcase .company-logo-item a {
  transition: all 0.25s ease !important;
}

/* --------------------------------------------------------------------------
   Footer Styles
   -------------------------------------------------------------------------- */
.site-footer {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer h4,
.site-footer h5 {
  color: #ffffff !important;
  font-weight: 700;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: #ffffff;
  color: var(--wpnova-dark-red) !important;
  transform: translateY(-2px);
}

.copyright-footer p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .hero-search-pill-card {
    border-radius: 20px !important;
    padding: 15px !important;
  }
}