/* Shared look for the Sikh Matrimonials pages — same navy / gold / cream
   poster layout as the rest of sikhsinindia.com (see
   03-nitnem/03-06-akhand-path/style.css). */

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

:root {
  --navy: #0d1b3e;
  --navy-mid: #162147;
  --gold: #F7941D;
  --gold-light: #F7941D;
  --cream: #f5f0e8;
  --white: #ffffff;
}

body {
  font-family: 'Lato', sans-serif;
  background: #1a1a2e;
  color: var(--navy);
  display: flex;
  justify-content: center;
  padding: 20px 8px;
  min-height: 100vh;
}

/* MAIN CONTAINER */
.poster {
  width: 100%;
  max-width: 900px;
  background: var(--cream);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  overflow: hidden;
  align-self: flex-start;
}
.poster.wide { max-width: 1400px; }
.poster.narrow { max-width: 480px; }

/* HEADER */
.header { display: flex; background: var(--navy); }
.logo-wrap { padding: 16px 20px; display: flex; align-items: center; }
.logo-img { height: 90px; background: #fff; padding: 4px; border-radius: 6px; display: block; }
.hero {
  flex: 1;
  text-align: center;
  padding: 24px;
  background: linear-gradient(160deg, var(--navy), #1a2a5e);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 900;
  color: #fff;
}
.hero-title span { color: var(--gold); }
.hero-sub { color: rgba(255, 255, 255, .75); margin-top: 6px; font-style: italic; font-size: 14px; }

.intro {
  background: linear-gradient(90deg, var(--gold), #ffb347, var(--gold));
  padding: 12px 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  text-align: center;
}

.wrapper { padding: 24px 30px; }

h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 20px;
  margin: 8px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}
h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 16px;
  margin: 14px 0 8px;
}

/* LINK CARDS (menu pages) */
.link-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.link-card:hover { transform: translateX(4px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); }
.link-card-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--navy); }
.link-card-sub { display: block; font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 400; color: #777; margin-top: 3px; }
.link-card-arrow { color: var(--gold); font-weight: bold; font-size: 20px; margin-left: 10px; }

/* CARDS */
.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.muted { color: #777; font-size: 13px; }

/* FORM CONTROLS */
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--gold); }
input[type="file"] { padding: 9px 12px; background: #fffaf2; }
input::placeholder, textarea::placeholder { color: #8a8f9c; }
input[readonly] { background: #f7f4ee; }
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.15);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* BUTTONS — 3D gold, same as the rest of the site */
button, .btn-action, .btn-back, .btn-control, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light) 0%, #e8830a 100%);
  border: none;
  border-radius: 5px;
  padding: 10px 16px;
  margin: 4px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 120, 0.5),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 0 0 2px #9a5800,
    0 0 0 3.5px var(--gold);
  transition: filter 0.15s, transform 0.1s;
}
button:hover, .btn-action:hover, .btn-back:hover, .btn-control:hover, input[type="submit"]:hover { filter: brightness(1.08); }
button:active, .btn-action:active, .btn-back:active, .btn-control:active, input[type="submit"]:active { transform: scale(0.97); filter: brightness(0.93); }
.btn-action, input[type="submit"] { font-size: 12px; padding: 13px 20px; width: 100%; margin: 8px 0 0; }
.btn-back { font-size: 10px; padding: 9px 16px; margin: 0; flex-shrink: 0; }
.btn-back svg { width: 12px; height: 12px; }
.btn-admin {
  display: inline-flex;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 8px 16px;
  margin: 0;
  box-shadow: none;
}
.extra-buttons { text-align: right; padding: 10px 16px 14px; background: var(--navy-mid); }

/* TABLES */
.table-container {
  width: 100%;
  overflow: auto;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; background: #fff; }
th, td { padding: 10px 14px; border-bottom: 1px solid #e0e0e0; vertical-align: top; }
th {
  background-color: var(--navy-mid);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}
tr:hover td { background-color: #f9f6f0; }
td a { color: var(--navy); font-weight: 700; }
td a:hover { color: var(--gold); }

/* PROFILE CARDS (reports) */
.profile-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  page-break-inside: avoid;
}
.profile-top { display: flex; gap: 16px; align-items: flex-start; }
.profile-photo:empty { display: none !important; }
.profile-photo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 3px solid var(--gold);
  border-radius: 10px;
  display: block;
}
.profile-details { flex: 1; line-height: 1.8; font-size: 13px; color: #333; }
.line { margin-bottom: 4px; }
.label { font-weight: 700; color: var(--navy); }
.links { margin-top: 8px; }
.links a {
  display: inline-block;
  margin: 0 8px 6px 0;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--cream);
  border: 1px solid rgba(247, 148, 29, 0.5);
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}
.links a:hover { background: var(--gold); }
.loading-text, .no-data { text-align: center; padding: 18px; font-weight: 700; color: var(--navy); }

/* FILTER BAR */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.filter-bar select { width: auto; min-width: 140px; padding: 8px 12px; font-size: 14px; }
.filter-bar label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }

/* FOOTER */
.footer { background: var(--navy-mid); padding: 16px 30px; border-top: 2px solid var(--gold); margin-top: 20px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-left { font-size: 10px; color: rgba(255, 255, 255, 0.45); letter-spacing: 2px; text-transform: uppercase; }
.footer-right { font-size: 10px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }

/* SOCIAL SHARE BAR */
.gsb-share-container {
  text-align: center;
  margin: 24px 0 10px;
  padding: 16px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 5px solid #F7941D;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.gsb-share-title { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 700; color: #0d1b3e; margin-bottom: 12px; }
.gsb-share-buttons { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.gsb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin: 0;
  border-radius: 4px;
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: none;
  transition: transform 0.2s, filter 0.2s;
}
.gsb-share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }
.gsb-btn-whatsapp { background: #25D366; }
.gsb-btn-facebook { background: #1877F2; }
.gsb-btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.gsb-share-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* LANGUAGE SWITCHER */
.gsb-lang-switcher {
  position: fixed; top: 10px; right: 10px; z-index: 9999;
  background: rgba(13,27,62,0.92); border: 1px solid #F7941D; border-radius: 20px;
  padding: 6px 14px; font-family: Arial, sans-serif; font-size: 12px; font-weight: 700;
  display: flex; gap: 8px; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.gsb-lang-switcher a { color: rgba(255,255,255,0.75); text-decoration: none; }
.gsb-lang-switcher a:hover { color: #F7941D; }
.gsb-lang-switcher .gsb-lang-current { color: #F7941D; }
.gsb-lang-switcher .gsb-lang-sep { color: rgba(255,255,255,0.35); }

/* MOBILE */
@media (max-width: 700px) {
  .header { flex-direction: column; align-items: center; }
  .logo-wrap { padding: 16px 20px 4px; }
  .hero { padding: 16px; width: 100%; }
  .wrapper { padding: 16px 14px; }
  .link-card { padding: 12px 14px; }
  .link-card-title { font-size: 15px; }
  .profile-top { flex-direction: column; }
  .footer { padding: 14px 12px; }
  .footer-content { flex-direction: column; text-align: center; gap: 14px; }
  .gsb-lang-switcher { top: 4px; right: 4px; padding: 4px 8px; font-size: 10px; gap: 5px; }
}

@media print {
  body { background: #fff; padding: 0; }
  .poster { box-shadow: none; max-width: none; }
  .footer, .extra-buttons, .gsb-share-container, .gsb-lang-switcher, .filter-bar { display: none; }
  .profile-details { font-size: 11px; }
  .profile-photo img { width: 90px; height: 90px; }
}
