/**
 * ManpasandJodidar - Premium Indian Matrimony Design System
 * Domain: manpasandjodidar.in
 * Palette:
 *  - Primary Brown: #B5651D
 *  - Cream Background: #F5F5DC
 *  - Dark Teal: #162B2E
 *  - Pink Accent: #F80F69
 *  - Orange Accent: #F8942C
 *  - White: #FFFFFF
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --mj-primary-brown: #B5651D;
  --mj-primary-brown-hover: #9c5516;
  --mj-primary-brown-light: #f7ede3;
  --mj-cream-bg: #F5F5DC;
  --mj-cream-surface: #FCFCF7;
  --mj-dark-teal: #162B2E;
  --mj-dark-teal-light: #234347;
  --mj-pink-accent: #F80F69;
  --mj-pink-accent-hover: #d80b59;
  --mj-pink-subtle: #fee7f0;
  --mj-orange-accent: #F8942C;
  --mj-orange-subtle: #fef4ea;
  --mj-white: #FFFFFF;
  --mj-text-main: #1F2426;
  --mj-text-muted: #5E696B;
  --mj-border: #E5E1D5;
  --mj-border-focus: #B5651D;
  --mj-shadow-sm: 0 2px 8px rgba(22, 43, 46, 0.06);
  --mj-shadow-md: 0 8px 24px rgba(22, 43, 46, 0.08);
  --mj-shadow-lg: 0 16px 40px rgba(22, 43, 46, 0.12);
  --mj-radius-sm: 8px;
  --mj-radius-md: 14px;
  --mj-radius-lg: 22px;
  --mj-radius-pill: 9999px;
  --mj-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mj-font-serif: 'Playfair Display', Georgia, serif;
}

/* Base Reset & Typography */
body {
  font-family: var(--mj-font-sans);
  background-color: var(--mj-cream-bg);
  color: var(--mj-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--mj-font-serif);
  color: var(--mj-dark-teal);
  letter-spacing: -0.02em;
}

a {
  color: var(--mj-primary-brown);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--mj-pink-accent);
}

/* Header & Navbar */
.mj-navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mj-border);
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: all 0.3s ease;
}

.mj-brand-logo {
  font-family: var(--mj-font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--mj-dark-teal) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mj-brand-logo .brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--mj-primary-brown), var(--mj-orange-accent));
  color: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(181, 101, 29, 0.3);
}

.mj-brand-logo span.accent {
  color: var(--mj-pink-accent);
}

.nav-link {
  font-weight: 500;
  color: var(--mj-dark-teal);
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--mj-radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--mj-primary-brown) !important;
  background-color: rgba(181, 101, 29, 0.08);
}

/* Custom Buttons */
.btn-mj-primary {
  background: linear-gradient(135deg, var(--mj-primary-brown), #c97525);
  color: var(--mj-white) !important;
  font-weight: 600;
  border: none;
  border-radius: var(--mj-radius-pill);
  padding: 0.65rem 1.6rem;
  box-shadow: 0 4px 14px rgba(181, 101, 29, 0.28);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-mj-primary:hover {
  background: linear-gradient(135deg, var(--mj-primary-brown-hover), var(--mj-primary-brown));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(181, 101, 29, 0.38);
}

.btn-mj-pink {
  background: linear-gradient(135deg, var(--mj-pink-accent), #ff307f);
  color: var(--mj-white) !important;
  font-weight: 600;
  border: none;
  border-radius: var(--mj-radius-pill);
  padding: 0.65rem 1.6rem;
  box-shadow: 0 4px 14px rgba(248, 15, 105, 0.28);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-mj-pink:hover {
  background: linear-gradient(135deg, var(--mj-pink-accent-hover), var(--mj-pink-accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(248, 15, 105, 0.38);
}

.btn-mj-outline {
  border: 2px solid var(--mj-primary-brown);
  color: var(--mj-primary-brown) !important;
  background: transparent;
  font-weight: 600;
  border-radius: var(--mj-radius-pill);
  padding: 0.55rem 1.5rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-mj-outline:hover {
  background: var(--mj-primary-brown);
  color: var(--mj-white) !important;
  transform: translateY(-1px);
}

.btn-mj-outline-teal {
  border: 1.5px solid var(--mj-dark-teal);
  color: var(--mj-dark-teal) !important;
  background: transparent;
  font-weight: 600;
  border-radius: var(--mj-radius-pill);
  padding: 0.55rem 1.4rem;
  transition: all 0.2s ease;
}

.btn-mj-outline-teal:hover {
  background: var(--mj-dark-teal);
  color: var(--mj-white) !important;
}

/* Hero Section */
.mj-hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mj-cream-bg) 100%);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--mj-border);
}

.mj-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mj-orange-subtle);
  color: var(--mj-primary-brown);
  border: 1px solid rgba(248, 148, 44, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: var(--mj-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.mj-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.2rem;
}

.mj-hero-title .highlight {
  color: var(--mj-primary-brown);
  position: relative;
  display: inline-block;
}

.mj-hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(248, 148, 44, 0.25);
  border-radius: 4px;
  z-index: -1;
}

.mj-hero-subtitle {
  font-size: 1.2rem;
  color: var(--mj-text-muted);
  max-width: 620px;
  margin-bottom: 2.2rem;
}

/* Quick Search Card */
.mj-quicksearch-card {
  background: var(--mj-white);
  border-radius: var(--mj-radius-lg);
  padding: 1.8rem;
  box-shadow: var(--mj-shadow-lg);
  border: 1px solid var(--mj-border);
}

.form-label-custom {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mj-dark-teal);
  margin-bottom: 0.4rem;
}

.form-control-custom, .form-select-custom {
  border: 1.5px solid var(--mj-border);
  border-radius: var(--mj-radius-sm);
  padding: 0.65rem 0.95rem;
  font-size: 0.95rem;
  background-color: #FAFAFA;
  transition: all 0.2s ease;
}

.form-control-custom:focus, .form-select-custom:focus {
  border-color: var(--mj-primary-brown);
  box-shadow: 0 0 0 3px rgba(181, 101, 29, 0.15);
  background-color: var(--mj-white);
}

/* Profile Cards */
.mj-profile-card {
  background: var(--mj-white);
  border-radius: var(--mj-radius-md);
  border: 1px solid var(--mj-border);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--mj-shadow-sm);
  position: relative;
}

.mj-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--mj-shadow-md);
  border-color: var(--mj-primary-brown);
}

.mj-profile-img-wrap {
  position: relative;
  height: 240px;
  background: linear-gradient(135deg, #1A2D2A, #2C4A4E);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mj-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mj-profile-card:hover .mj-profile-img {
  transform: scale(1.04);
}

.mj-badge-demo {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(22, 43, 46, 0.88);
  color: #FFD54F;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--mj-radius-pill);
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
  z-index: 2;
  border: 1px solid rgba(255, 213, 79, 0.3);
}

.mj-badge-vip {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #D4AF37, #AA771C);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--mj-radius-pill);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 2;
}

.mj-badge-premium {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--mj-pink-accent), #c2185b);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--mj-radius-pill);
  z-index: 2;
}

.mj-profile-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mj-profile-name {
  font-family: var(--mj-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mj-dark-teal);
  margin-bottom: 0.25rem;
}

.mj-profile-meta {
  font-size: 0.88rem;
  color: var(--mj-text-muted);
  margin-bottom: 0.75rem;
}

.mj-profile-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-size: 0.86rem;
}

.mj-profile-details-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  color: var(--mj-text-main);
}

.mj-profile-details-list li i {
  color: var(--mj-primary-brown);
  width: 16px;
  text-align: center;
}

/* Step / How It Works Cards */
.mj-step-card {
  background: var(--mj-white);
  border-radius: var(--mj-radius-md);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--mj-border);
  box-shadow: var(--mj-shadow-sm);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.mj-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mj-shadow-md);
  border-color: var(--mj-orange-accent);
}

.mj-step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--mj-primary-brown-light);
  color: var(--mj-primary-brown);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
}

/* Pricing Cards */
.mj-plan-card {
  background: var(--mj-white);
  border-radius: var(--mj-radius-lg);
  border: 2px solid var(--mj-border);
  padding: 2.4rem 2rem;
  box-shadow: var(--mj-shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mj-plan-card.popular {
  border-color: var(--mj-pink-accent);
  box-shadow: 0 12px 36px rgba(248, 15, 105, 0.15);
  transform: scale(1.02);
}

.mj-plan-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--mj-pink-accent), #ff307f);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1.2rem;
  border-radius: var(--mj-radius-pill);
}

.mj-plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--mj-dark-teal);
  line-height: 1;
  margin: 1.2rem 0 0.5rem;
}

.mj-plan-original-price {
  font-size: 1.1rem;
  color: #9e9e9e;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.mj-plan-features {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0;
  flex-grow: 1;
}

.mj-plan-features li {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.mj-plan-features li i {
  color: #2e7d32;
  font-size: 1.1rem;
  margin-top: 2px;
}

/* Member Dashboard */
.mj-dashboard-sidebar {
  background: var(--mj-white);
  border-radius: var(--mj-radius-md);
  border: 1px solid var(--mj-border);
  padding: 1.5rem;
  box-shadow: var(--mj-shadow-sm);
}

.mj-nav-pills-custom .nav-link {
  color: var(--mj-dark-teal);
  font-weight: 600;
  padding: 0.75rem 1.1rem !important;
  border-radius: var(--mj-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.mj-nav-pills-custom .nav-link.active,
.mj-nav-pills-custom .nav-link:hover {
  background: var(--mj-primary-brown-light);
  color: var(--mj-primary-brown) !important;
}

.mj-card {
  background: var(--mj-white);
  border-radius: var(--mj-radius-md);
  border: 1px solid var(--mj-border);
  padding: 1.6rem;
  box-shadow: var(--mj-shadow-sm);
  margin-bottom: 1.5rem;
}

.mj-progress-bar-custom {
  background-color: #E0E0E0;
  border-radius: var(--mj-radius-pill);
  height: 10px;
  overflow: hidden;
}

.mj-progress-fill {
  background: linear-gradient(90deg, var(--mj-orange-accent), var(--mj-pink-accent));
  height: 100%;
  border-radius: var(--mj-radius-pill);
  transition: width 0.6s ease;
}

/* Admin Theme */
.mj-admin-topbar {
  background: var(--mj-dark-teal);
  color: #FFFFFF;
  padding: 0.8rem 1.5rem;
}

.mj-admin-sidebar {
  background: #0E1C1E;
  min-height: 100vh;
  color: #B5C2C4;
}

.mj-admin-sidebar .nav-link {
  color: #B5C2C4;
  padding: 0.8rem 1.2rem !important;
  border-radius: var(--mj-radius-sm);
  margin-bottom: 0.3rem;
}

.mj-admin-sidebar .nav-link:hover,
.mj-admin-sidebar .nav-link.active {
  background: rgba(181, 101, 29, 0.2);
  color: #FFFFFF !important;
}

.mj-stat-card {
  background: var(--mj-white);
  border-radius: var(--mj-radius-md);
  padding: 1.4rem;
  border: 1px solid var(--mj-border);
  box-shadow: var(--mj-shadow-sm);
}

.mj-stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Footer */
.mj-footer {
  background: var(--mj-dark-teal);
  color: #CFD7D8;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--mj-primary-brown);
}

.mj-footer h5 {
  font-family: var(--mj-font-serif);
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

.mj-footer a {
  color: #A6B4B6;
  transition: color 0.2s ease;
}

.mj-footer a:hover {
  color: #FFD54F;
}

.mj-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: #8C9C9E;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .mj-hero-title {
    font-size: 2.3rem;
  }
  .mj-plan-card.popular {
    transform: none;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}
