/* Gold Buyers Guwahati — single-page theme (high-contrast dark) */

:root {
  --bg-deep: #11151c;
  --bg-panel: #1a1f28;
  --bg-panel-2: #232a34;
  --gold: #d4af37;
  --gold-bright: #e8c84a;
  --gold-soft: #f5e9b8;
  --gold-muted: #d9bc5c;
  --text-primary: #f7f9fc;
  --text-body: #e8edf4;
  --text-soft: #dce3ed;
  /* Readable “secondary” on dark bg (replaces Bootstrap’s gray-on-light) */
  --text-secondary: #b4c0ce;
  --text-tertiary: #97a6b5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  background-color: var(--bg-deep);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

/* Bootstrap .text-muted is #6c757d — unreadable on dark; override sitewide */
.text-muted {
  color: var(--text-secondary) !important;
}

.lead {
  color: var(--text-soft);
}

.lead.text-muted {
  color: #cdd6e1 !important;
  font-weight: 400;
}

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

.font-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.navbar {
  background: linear-gradient(
    180deg,
    rgba(17, 21, 28, 0.98) 0%,
    rgba(17, 21, 28, 0.94) 100%
  );
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.navbar-brand {
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-primary) !important;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 0.45rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--gold-soft);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-body);
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--gold-bright);
}

.nav-social-wrap {
  gap: 0.25rem;
}

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.45rem;
  line-height: 1;
  color: var(--text-body);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 0.375rem;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease,
    transform 0.15s ease;
}

.nav-social:hover {
  color: var(--gold-bright);
  border-color: rgba(232, 200, 74, 0.65);
  background-color: rgba(232, 200, 74, 0.08);
  text-decoration: none;
}

.nav-social:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(232, 200, 74, 0.45);
  border-radius: 0.375rem;
}

.nav-social svg {
  display: block;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  border: none;
  color: #0d1117 !important;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gold:hover {
  color: #0d1117 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}

.btn-outline-gold {
  border: 1px solid var(--gold-bright);
  color: var(--gold-soft);
  font-weight: 600;
}

.btn-outline-gold:hover {
  background: rgba(232, 200, 74, 0.15);
  color: #fff8dc;
  border-color: var(--gold-bright);
}

.btn-outline-light:hover {
  color: var(--bg-deep);
}

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-deep) url("../images/bg.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(17, 21, 28, 0.92) 0%,
    rgba(17, 21, 28, 0.78) 48%,
    rgba(17, 21, 28, 0.72) 100%
  );
}

.hero .container {
  z-index: 1;
}

.text-light-soft {
  color: var(--text-soft);
}

.text-gold {
  color: var(--gold-soft);
}

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

.letter-space {
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.hero-card {
  background: rgba(26, 31, 40, 0.92);
  border: 1px solid rgba(232, 200, 74, 0.35);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

.hero-card .text-light-soft,
.hero-card .small {
  color: var(--text-soft) !important;
}

.hero-bullet {
  color: var(--gold-bright);
  font-weight: 700;
  flex-shrink: 0;
}

section[id] {
  scroll-margin-top: 80px;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.bg-section {
  background-color: var(--bg-panel);
}

.bg-section-alt {
  background-color: var(--bg-deep);
}

.display-5 {
  font-size: 2.35rem;
}

.feature-tile {
  background: var(--bg-panel-2);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 0.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-tile:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-3px);
}

.feature-icon {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}

.about-photo {
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.about-photo img {
  display: block;
  min-height: 260px;
  object-fit: cover;
}

.mission-block {
  background: linear-gradient(
    145deg,
    rgba(35, 42, 52, 0.98) 0%,
    rgba(26, 31, 40, 0.99) 100%
  );
  border-left: 4px solid var(--gold-bright);
  border-radius: 0.35rem;
}

.mission-block .text-muted {
  color: #c5d0dc !important;
}

/* Gallery: uniform 4:3 thumbnails, opens modal on click */
.gallery-thumb {
  display: block;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: var(--bg-panel-2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  border-color: rgba(232, 200, 74, 0.45);
}

.gallery-thumb:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 200, 74, 0.45);
}

.gallery-thumb-frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-thumb-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-modal .modal-content {
  background: var(--bg-panel);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 0.35rem;
}

.gallery-modal .modal-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery-modal .modal-title {
  color: var(--text-soft);
}

.gallery-modal .close {
  color: var(--text-primary);
  text-shadow: none;
  opacity: 0.9;
}

.gallery-modal .close:hover {
  color: var(--gold-soft);
  opacity: 1;
}

.gallery-modal .modal-body {
  padding: 1rem;
  text-align: center;
  background: var(--bg-deep);
}

.gallery-modal-img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.25rem;
}

.gallery-modal .modal-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

#galleryCounter {
  min-width: 5rem;
  text-align: center;
}

.contact-section .contact-list a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 200, 74, 0.45);
  transition: color 0.2s ease;
}

.contact-section .contact-list a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-bright);
}

.contact-section .contact-list span:not(.text-gold) {
  color: var(--text-body);
}

.contact-form-wrap {
  background: var(--bg-panel-2);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.contact-form-wrap label.text-muted {
  color: var(--text-secondary) !important;
  font-weight: 600;
}

.contact-form-wrap .form-control {
  background: #181d25;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--text-primary);
}

.contact-form-wrap .form-control::placeholder {
  color: var(--text-tertiary);
  opacity: 1;
}

.contact-form-wrap .form-control:focus {
  background: #181d25;
  border-color: var(--gold-bright);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(232, 200, 74, 0.2);
}

footer {
  background: var(--bg-deep);
}

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

/* Section headings: ensure serif titles stay bright */
.font-serif.display-5,
.font-serif.display-3 {
  color: var(--text-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#home .display-3 {
  color: var(--text-primary);
}

@media (max-width: 991px) {
  .display-3 {
    font-size: 2.5rem;
  }
}
