/* ===================================
   PROFESSIONAL VELKI AGENT DIRECTORY
   Modern WordPress-style Design
   =================================== */

:root {
  --primary-color: #FFB800;        /* Warm Yellow/Gold */
  --secondary-color: #1f6feb;      /* Premium Blue */
  --accent-color: #25D366;         /* WhatsApp Green */
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --border-color: #e9ecef;
  --text-dark: #212529;
  --text-muted: #6c757d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: #1fa854;
}

/* ===================================
   HEADER
   =================================== */

.site-header {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.header-top {
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top a {
  color: #fff;
  transition: all 0.3s ease;
}

.header-top a:hover {
  color: var(--primary-color);
}

.navbar {
  padding: 12px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark) !important;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-color), #ffc107);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 24px;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-section .lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  border-radius: 6px;
  font-weight: 600;
  padding: 12px 30px;
  border: none;
  transition: all 0.3s ease;
}

.btn-success {
  background-color: var(--primary-color);
  color: #1a1a1a;
  border: none;
}

.btn-success:hover {
  background-color: #e6a500;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
  transform: translateY(-2px);
  color: #1a1a1a;
}

.btn-outline-primary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-primary:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* ===================================
   SEARCH & FILTER
   =================================== */

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

.form-control-lg {
  padding: 16px 20px;
  font-size: 16px;
}

/* ===================================
   AGENT CARDS
   =================================== */

#agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.agent-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.agent-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.agent-card-header {
  background: linear-gradient(135deg, var(--primary-color), #ffc107);
  color: #1a1a1a;
  padding: 20px;
  text-align: center;
}

.agent-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.agent-type {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.agent-card-body {
  padding: 20px;
  flex-grow: 1;
}

.agent-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.agent-city {
  color: var(--primary-color);
  font-weight: 600;
}

.agent-rating {
  color: #ff9800;
  font-weight: 600;
}

.agent-platforms {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.agent-platforms .badge {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
}

.agent-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.agent-actions .btn {
  flex: 1;
  font-size: 14px;
  padding: 10px 12px;
}

/* ===================================
   STEP CARDS
   =================================== */

.step-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.step-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 14px;
}

/* ===================================
   REGION CARDS
   =================================== */

.region-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.region-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.region-card h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.region-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ===================================
   ACCORDION (FAQ)
   =================================== */

.accordion-button {
  background-color: white;
  color: var(--text-dark);
  font-weight: 600;
  border: 1px solid var(--border-color);
  padding: 16px 20px;
}

.accordion-button:not(.collapsed) {
  background-color: var(--light-color);
  color: var(--text-dark);
  border-color: var(--primary-color);
}

.accordion-button:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

.accordion-body {
  padding: 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===================================
   SIDEBAR WIDGETS
   =================================== */

.sidebar-widget {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.sidebar-widget .card-header {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--primary-color);
  color: #1a1a1a;
}

.sidebar-widget .card-body {
  padding: 20px;
}

/* Quick Agent Items */
.quick-agent-item {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.quick-agent-item:last-child {
  border-bottom: none;
}

.agent-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.agent-id {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.agent-platforms {
  margin-bottom: 12px;
}

.agent-platforms .badge {
  font-size: 11px;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
  background-color: var(--accent-color);
  color: white;
}

/* ===================================
   CTA SECTION
   =================================== */

.bg-success {
  background-color: var(--primary-color) !important;
  color: #1a1a1a !important;
}

.bg-success h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
}

/* ===================================
   FOOTER
   =================================== */

footer {
  background-color: var(--dark-color);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 16px;
}

footer p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.8;
}

footer a {
  color: #ccc;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--primary-color);
}

footer ul li {
  margin-bottom: 8px;
}

footer .list-unstyled li a {
  color: #ccc;
  font-size: 14px;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 32px;
  }

  .hero-section .lead {
    font-size: 16px;
  }

  #agents-grid {
    grid-template-columns: 1fr;
  }

  .navbar-brand {
    font-size: 18px;
  }

  .nav-link {
    margin: 0;
    padding: 8px 0 !important;
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.rounded {
  border-radius: 8px;
}

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

.fw-bold {
  font-weight: 700;
}

.fw-semibold {
  font-weight: 600;
}

.fs-small {
  font-size: 13px;
}
