/* =============================================
   AmarEla — Design System
   ============================================= */

:root {
  --yellow-50:  #fffbeb;
  --yellow-100: #fef3c7;
  --yellow-400: #fbbf24;
  --yellow-500: #f59e0b;
  --yellow-600: #d97706;
  --yellow-700: #b45309;
  --yellow-800: #92400e;
  --page-bg:    #fffdf7;
  --ink:        #1c1917;
  --muted:      #78716c;
  --border:     #f0ede3;
  --card-bg:    #ffffff;
  --radius-lg:  16px;
  --radius-md:  10px;
  --shadow-card: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow-hover: 0 8px 32px rgba(245,158,11,.14);
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--page-bg);
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

/* --- Header --- */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--yellow-100);
  position: sticky;
  top: 0;
  z-index: 50;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #fffbeb 0%, #fff7f0 60%, #fef3c7 100%);
  border-bottom: 1px solid var(--yellow-100);
}

/* --- Search / filter bar --- */
.filter-bar input,
.filter-bar select {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}

.filter-bar input:focus,
.filter-bar select:focus {
  outline: none;
  border-color: var(--yellow-400);
  box-shadow: 0 0 0 3px rgba(251,191,36,.2);
}

/* Icon inside input/select */
.icon-input { position: relative; }
.icon-input svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #a8a29e;
  width: 15px;
  height: 15px;
}
.icon-input input,
.icon-input select { padding-left: 34px; }

/* --- Cards --- */
.service-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow-400), var(--yellow-500));
  opacity: 0;
  transition: opacity .2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--yellow-200, #fde68a);
}

.service-card:hover::before { opacity: 1; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

/* Category badge */
.badge-yellow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--yellow-100);
  color: var(--yellow-700);
  border-radius: 99px;
  padding: 2px 10px;
}

.badge-gray {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  background: #f5f5f4;
  border-radius: 99px;
  padding: 2px 10px;
}

/* --- Pagination --- */
.pagination-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover {
  border-color: var(--yellow-400);
  color: var(--yellow-700);
}

.pagination-btn.active {
  background: var(--yellow-500);
  border-color: var(--yellow-500);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245,158,11,.35);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fff7f0 100%);
  border: 1.5px solid var(--yellow-100);
  border-radius: var(--radius-lg);
}

/* --- Form --- */
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.form-input:focus {
  outline: none;
  border-color: var(--yellow-400);
  box-shadow: 0 0 0 3px rgba(251,191,36,.2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-500);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(245,158,11,.3);
}

.btn-primary:hover {
  background: var(--yellow-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,158,11,.4);
}

.btn-primary:active { transform: translateY(0); }

/* --- Footer --- */
.site-footer {
  background: #1c1917;
  color: #a8a29e;
  font-size: 0.85rem;
}

.site-footer a { color: var(--yellow-400); }
.site-footer a:hover { color: var(--yellow-300, #fcd34d); }
