/* KorinthiaSpot Homepage - New Modern Design */

:root {
  --ks-blue: #1A56A0;
  --ks-blue-dark: #0F3870;
  --ks-blue-light: #E8F1FC;
  --ks-orange: #F5820D;
  --ks-orange-light: #FFF4E5;
  --ks-bg: #F4F6FB;
  --ks-white: #FFFFFF;
  --ks-text: #1A2340;
  --ks-muted: #6B7A99;
  --ks-border: #DDE3F0;
  --ks-card-shadow: 0 2px 12px rgba(26,86,160,0.08);
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  margin: 0 12px 14px;
  border-radius: 18px;
  overflow: hidden;
  height: 200px;
  background: var(--ks-blue-dark);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide-1 {
  background: linear-gradient(160deg, #0F3870 0%, #1A56A0 50%, #1E6BBA 100%);
}

.slide-2 {
  background: linear-gradient(160deg, #8B3A00 0%, #C25A0A 50%, #F5820D 100%);
}

.slide-3 {
  background: linear-gradient(160deg, #0A3D2E 0%, #136844 50%, #1A9A65 100%);
}

.slide-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(
    45deg,
    white 0, white 1px,
    transparent 0, transparent 50%
  );
  background-size: 20px 20px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  color: white;
  font-weight: 600;
  margin-bottom: 8px;
  width: fit-content;
}

.slide h2 {
  font-family: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 6px;
}

.slide p {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  font-weight: 500;
}

.slide-dots {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  gap: 5px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.35);
  transition: all 0.3s;
  cursor: pointer;
}

.dot.active {
  width: 18px;
  background: white;
}

/* SEARCH BAR */
.search-area {
  padding: 12px 12px 0;
}

.search-bar {
  background: var(--ks-white);
  border: 1.5px solid var(--ks-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  height: 42px;
  box-shadow: var(--ks-card-shadow);
}

.search-bar i {
  font-size: 16px;
  color: var(--ks-muted);
}

.search-bar span {
  font-size: 13px;
  color: var(--ks-muted);
  font-weight: 500;
  flex: 1;
}

.search-bar .filter-btn {
  margin-left: auto;
  background: var(--ks-blue-light);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-bar .filter-btn i {
  font-size: 14px;
  color: var(--ks-blue);
}

/* STATS ROW */
.stats-row {
  display: flex;
  gap: 10px;
  padding: 12px 12px 0;
}

.stat-pill {
  flex: 1;
  background: var(--ks-white);
  border: 1px solid var(--ks-border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--ks-card-shadow);
}

.stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.blue {
  background: var(--ks-blue-light);
}

.stat-icon.blue i {
  color: var(--ks-blue);
}

.stat-icon.orange {
  background: var(--ks-orange-light);
}

.stat-icon.orange i {
  color: var(--ks-orange);
}

.stat-icon i {
  font-size: 16px;
}

.stat-number {
  font-size: 15px;
  font-weight: 700;
  color: var(--ks-text);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  color: var(--ks-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* SECTION HEADER */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 12px 8px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 600;
  color: #727272
}

.section-title .dot-accent {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ks-orange);
}

.section-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--ks-blue);
  background: var(--ks-blue-light);
  padding: 4px 10px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.section-link:hover {
  opacity: 0.8;
}

/* CATEGORY PILLS */
.cat-scroll {
  display: flex;
  gap: 8px;
  padding: 0 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--ks-border);
  background: var(--ks-white);
  color: var(--ks-muted);
  transition: all 0.2s;
  box-shadow: var(--ks-card-shadow);
  white-space: nowrap;
}

.cat-pill:hover {
  border-color: var(--ks-blue);
  color: var(--ks-blue);
}

.cat-pill.active {
  background: var(--ks-blue);
  color: white;
  border-color: var(--ks-blue);
}

.cat-pill i {
  font-size: 14px;
}

/* BUSINESS CARDS */
.cards-list {
  padding: 8px 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.biz-card {
  background: var(--ks-white);
  border: 1px solid var(--ks-border);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--ks-card-shadow);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.biz-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,86,160,0.12);
}

.biz-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.biz-avatar.blue {
  background: var(--ks-blue-light);
}

.biz-avatar.blue i {
  color: var(--ks-blue);
}

.biz-avatar.orange {
  background: var(--ks-orange-light);
}

.biz-avatar.orange i {
  color: var(--ks-orange);
}

.biz-avatar.green {
  background: #EAF7F0;
}

.biz-avatar.green i {
  color: #1A8A55;
}

.biz-info {
  flex: 1;
  min-width: 0;
}

.biz-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.biz-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ks-text);
  line-height: 1.2;
  word-break: break-word;
}

.featured-badge {
  flex-shrink: 0;
  background: var(--ks-orange-light);
  color: #C25A0A;
  font-size: 7px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.1px;
  text-transform: uppercase;
}

.biz-cat {
  font-size: 10px;
  color: var(--ks-blue);
  font-weight: 700;
  margin-top: 1px;
}

.biz-meta {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
  font-size: 9px;
}

.biz-meta-item {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: var(--ks-muted);
  font-weight: 600;
}

.biz-meta-item i {
  font-size: 9px;
}

/* EMPTY STATE */
.empty-state {
  padding: 30px 16px;
  text-align: center;
  color: var(--ks-muted);
  font-size: 14px;
  background: rgba(107, 122, 153, 0.05);
  border-radius: 12px;
  border: 1px dashed var(--ks-border);
}

.empty-state i {
  font-size: 40px;
  color: var(--ks-border);
  margin-bottom: 10px;
  display: block;
  opacity: 0.5;
}

/* BOTTOM SPACER */
.homepage-spacer {
  height: 30px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 479px) {
  .cards-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .cards-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .cards-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-slider {
    height: 220px;
  }

  .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* PROMO BANNER */
.promo-section {
  padding: 0 12px;
}

.promo-banner {
  background: linear-gradient(135deg, var(--ks-blue) 0%, var(--ks-blue-dark) 100%);
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(26,86,160,0.2);
}

.promo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--ks-orange-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.promo-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.promo-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  margin: 0;
  line-height: 1.4;
}

.promo-btn {
  background: var(--ks-orange);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
  align-self: flex-start;
}

.promo-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* JOBS SECTION MINI */
.jobs-section-mini {
  padding: 0 12px;
}

.jobs-list-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.job-mini-card {
  background: var(--ks-white);
  border: 1px solid var(--ks-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--ks-card-shadow);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  color: inherit;
}

.job-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,86,160,0.12);
}

.job-mini-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ks-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ks-blue);
  font-size: 18px;
  flex-shrink: 0;
}

.job-mini-info {
  flex: 1;
  min-width: 0;
}

.job-mini-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ks-text);
  line-height: 1.2;
  margin-bottom: 2px;
}

.job-mini-meta {
  font-size: 11px;
  color: var(--ks-muted);
  font-weight: 500;
}

.job-mini-salary {
  font-size: 13px;
  font-weight: 700;
  color: var(--ks-orange);
  white-space: nowrap;
  margin-left: 8px;
}

