/* =========================================================================
   Sri Vijaya Madhavi Jewellers — Luxury Jewellery Theme
   Palette inspiration: white/light background with warm gold accents,
   loosely evoking premium jewellery retail sites (original design only).
   ========================================================================= */

:root {
  --svm-gold: #b8860b;
  --svm-gold-light: #d4af37;
  --svm-gold-dark: #8a6508;
  --svm-cream: #faf6ef;
  --svm-ivory: #fffdf9;
  --svm-charcoal: #2b2620;
  --svm-text-muted: #6f665a;
  --svm-border: #ece3d2;
  --svm-maroon: #5c0d16;
  --svm-maroon-dark: #430a10;
  --svm-magenta: #5c0a3f;
  --svm-magenta-dark: #3f0729;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--svm-charcoal);
  background-color: var(--svm-ivory);
  font-weight: 300;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--svm-charcoal);
}

a { color: inherit; }
a:hover { color: var(--svm-gold-dark); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--svm-gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn-gold {
  background: linear-gradient(135deg, var(--svm-gold-light), var(--svm-gold-dark));
  border: none;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.75rem;
  border-radius: 2px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-gold:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(184, 134, 11, 0.35);
}

.btn-gold-outline {
  background: transparent;
  border: 1.5px solid var(--svm-gold);
  color: var(--svm-gold-dark);
  font-weight: 500;
  padding: 0.6rem 1.7rem;
  border-radius: 2px;
  transition: all .2s ease;
}
.btn-gold-outline:hover {
  background: var(--svm-gold);
  color: #fff;
}

/* ---------------------------------------------------------------------
   Header / Navigation
   --------------------------------------------------------------------- */
.top-strip {
  background-color: var(--svm-magenta);
  color: #f2e3ec;
  letter-spacing: 0.03em;
}

.site-header {
  background: var(--svm-maroon);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* Belt-and-braces: force the nav bar's background to maroon regardless of
   which Bootstrap utility classes are present on the <nav> element, so a
   stale cached stylesheet or a missing class name can't leave it unstyled. */
.site-header .navbar {
  background-color: var(--svm-maroon) !important;
}

.bg-maroon {
  background-color: var(--svm-maroon) !important;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--svm-gold-light);
  color: var(--svm-gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.brand-mark-img {
  height: 48px;
  width: auto;
  display: block;
}
.brand-text {
  line-height: 1.15;
  font-size: 1.15rem;
  color: var(--svm-cream) !important;
}
.brand-text small {
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  font-size: 0.62rem;
  color: var(--svm-gold-light) !important;
}

/* !important here beats Bootstrap's own .navbar-dark .navbar-nav .nav-link
   rule, which is MORE specific (3 classes) than a plain .navbar-nav .nav-link
   (2 classes) and would otherwise silently win and repaint these links
   semi-transparent white instead of our cream/gold. */
.navbar-nav .nav-link {
  color: var(--svm-cream) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--svm-gold-light) !important;
}

.navbar-toggler {
  border-color: rgba(250, 246, 239, 0.4);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.4);
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero-section {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 85% 15%, #fbf1de 0%, var(--svm-ivory) 55%);
}
.hero-heading {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}
.hero-logo {
  display: block;
  height: 150px;
  width: auto;
  margin-bottom: 1.25rem;
}
.hero-subheading {
  font-size: 1.15rem;
  color: var(--svm-text-muted);
  margin-bottom: 0.5rem;
}
.hero-address {
  color: var(--svm-gold-dark);
  font-weight: 500;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image-frame {
  border: 1px solid var(--svm-border);
  border-radius: 4px;
  padding: 1rem;
  background: #fff;
}
.hero-image-frame img { width: 100%; height: auto; display: block; border-radius: 2px; }

/* ---------------------------------------------------------------------
   Homepage image slider (Bootstrap carousel)
   --------------------------------------------------------------------- */
.home-slider-section {
  background: var(--svm-charcoal);
}
.home-slide {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3e9d2, var(--svm-cream));
}
.home-slide img {
  max-height: 320px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.home-slider-section .carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(43,38,32,0.85), transparent);
  padding: 1.5rem 1rem 1.25rem;
  border-radius: 0;
}
.home-slider-section .carousel-caption h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.home-slider-section .carousel-caption p {
  color: #e8dcc4;
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
}
.home-slider-section .carousel-control-prev,
.home-slider-section .carousel-control-next {
  width: 5%;
}
.home-slider-section .carousel-control-prev-icon,
.home-slider-section .carousel-control-next-icon {
  background-color: rgba(184, 134, 11, 0.85);
  border-radius: 50%;
  padding: 1.1rem;
  background-size: 55%;
  background-position: center;
}
.home-slider-section .carousel-indicators [data-bs-target] {
  background-color: var(--svm-gold-light);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.5;
}
.home-slider-section .carousel-indicators .active {
  opacity: 1;
}

@media (max-width: 575.98px) {
  .home-slide { height: 300px; }
  .home-slide img { max-height: 220px; }
}

/* ---------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------- */
.section-block { padding: 4.5rem 0; }
.section-heading { margin-bottom: 3rem; }
.section-heading h2 { font-size: 2.1rem; }

.page-header {
  padding: 3.5rem 0 2.5rem;
  background: var(--svm-cream);
  border-bottom: 1px solid var(--svm-border);
}
.page-header h1 { font-size: 2.4rem; }

.heritage-section { background-color: var(--svm-cream); }

/* ---------------------------------------------------------------------
   Category / Product cards
   --------------------------------------------------------------------- */
.category-card, .product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--svm-border);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease;
}
.category-card:hover, .product-card:hover {
  box-shadow: 0 14px 30px rgba(43, 38, 32, 0.1);
  transform: translateY(-4px);
}
.category-card-image, .product-card-image {
  background: var(--svm-cream);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-card-image img, .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}
.category-card-body, .product-card-body { padding: 1.25rem 1.4rem 1.5rem; }
.category-card-body h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.product-card-body h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.category-card-body p, .product-card-body p {
  font-size: 0.9rem;
  color: var(--svm-text-muted);
  margin-bottom: 0.6rem;
}
.category-card-link {
  color: var(--svm-gold-dark);
  font-weight: 500;
  font-size: 0.88rem;
}

/* ---------------------------------------------------------------------
   Heritage timeline
   --------------------------------------------------------------------- */
.heritage-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--svm-border);
}
.heritage-item { position: relative; margin-bottom: 2.2rem; padding-left: 1.2rem; }
.heritage-item:last-child { margin-bottom: 0; }
.heritage-marker {
  position: absolute;
  left: -2.45rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--svm-gold);
  border: 3px solid var(--svm-ivory);
  box-shadow: 0 0 0 2px var(--svm-gold);
}
.heritage-generation {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svm-gold-dark);
  margin-bottom: 0.2rem;
}
.heritage-content h4 { font-size: 1.3rem; margin-bottom: 0.1rem; }
.heritage-content p { color: var(--svm-text-muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   Our Promise (About page)
   --------------------------------------------------------------------- */
.promise-section {
  background: linear-gradient(135deg, var(--svm-maroon), var(--svm-maroon-dark));
  color: #f6e9ee;
  padding: 4.5rem 0;
  text-align: center;
}
.promise-section .eyebrow { color: var(--svm-gold-light); }
.promise-heading {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #fff;
  line-height: 1.6;
  margin: 0.5rem 0 2rem;
}
.promise-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--svm-gold-light);
  margin-bottom: 0;
}
.promise-tagline span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d8c9a6;
  margin-top: 0.4rem;
}

/* ---------------------------------------------------------------------
   CTA
   --------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--svm-charcoal), #46392a);
  color: #f4ead3;
  padding: 4rem 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-section p { color: #d8c9a6; margin-bottom: 1.75rem; }

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
.enquiry-form-card {
  background: #fff;
  border: 1px solid var(--svm-border);
  border-radius: 6px;
  padding: 2rem;
}
.enquiry-form-card h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.form-label { font-size: 0.85rem; font-weight: 500; color: var(--svm-charcoal); }
.form-control, .form-select {
  border-radius: 3px;
  border: 1px solid var(--svm-border);
  padding: 0.6rem 0.85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--svm-gold);
  box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.15);
}

.contact-address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--svm-magenta);
  color: #e3d0dc;
}
.footer-brand { color: #fff; margin-bottom: 1rem; }
.footer-heading {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #e3d0dc; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--svm-gold-light); }
.footer-divider { border-color: rgba(255,255,255,0.15); margin: 1.5rem 0; }

/* Bootstrap's .text-muted utility carries !important and paints a mid-gray
   meant for LIGHT backgrounds - on our dark footer it was nearly invisible.
   Use this instead of .text-muted anywhere inside the footer. */
.footer-muted {
  color: #e3d0dc !important;
  opacity: 0.85;
}

/* ---------------------------------------------------------------------
   Responsive tweaks
   --------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-section { padding: 3rem 0 2.5rem; text-align: center; }
  .hero-actions { justify-content: center; }
  .section-block { padding: 3rem 0; }
}

@media (max-width: 575.98px) {
  .page-header h1 { font-size: 1.9rem; }
  .enquiry-form-card { padding: 1.25rem; }
}
