/*!
 * SMJ Senthil Murugan Jewellers - Unified Custom CSS
 * Combines Business Casual theme with SMJ-specific styles
 */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&family=Poppins:wght@500;600&display=swap');

/* ===== BASE ===== */
html { font-size: 100%; } /* 1rem = 16px */

body {
  font-family: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: url('../img/bg.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  color: #000;
  line-height: 1.65;
  margin: 0;
}

p, li {
  font-size: 1.0625rem; /* ~17px */
  line-height: 1.7;
  color: #222;
  margin: 0 0 1rem;
}

hr {
  max-width: 400px;
  border: 0;
  border-top: 1px solid #999999;
  margin: 2rem auto;
}

/* ===== HEADINGS ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0 0 0.6rem;
  color: #111;
  letter-spacing: 0;
}

h1 { font-size: 1.75rem;  font-weight: 500; line-height: 1.35; }
h2 { font-size: 1.5rem;   font-weight: 500; line-height: 1.35; }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.40; }
h4 { font-size: 1.125rem; font-weight: 400; line-height: 1.40; }
h5 { font-size: 1rem;     font-weight: 400; line-height: 1.40; }
h6 { font-size: 0.9375rem; font-weight: 400; line-height: 1.40; }






/* ===== BRANDING ===== */
.brand,
.address-bar { display: none; }

.brand-name {
  margin: 0;
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.25;
}

.sub-brand {
  font-weight: 400;
  letter-spacing: 0.2px;
}

.box h2 small strong { font-weight: 400 !important; }

.navbar-brand {
  font-weight: 700; 
  letter-spacing: 1px;
}

.navbar-nav {
  font-weight: 400;
  letter-spacing: 3px;
}

.tagline-divider {
  margin: 15px auto 3px;
  max-width: 250px;
  border: 0;
  border-top: 1px solid #999999;
}

.brand-before { margin: 15px 0; }

/* ===== LAYOUT ===== */
.img-full { min-width: 100%; display: block; height: auto; }

.box {
  margin-bottom: 20px;
  padding: 30px 15px;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(15,23,42,0.06);
}

/* Contact Boxes */
.box_br {
  background: #fff;
  border: 1px solid #ccc;
  padding: 30px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-radius: 8px;
}

.box_br h4,
.box_br .box_br_heading {
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 0.3px;
}

.box_br p {
  font-size: 1rem;
  color: #222;
  margin: 8px 0;
}

.list-tight { margin: 0 0 1rem; padding-left: 18px; }
.list-tight li { margin: 4px 0; }

/* ===== SMJ-Specific Styles ===== */
.policy-note {
  background: #fff8e1; /* pale yellow */
  border-left: 4px solid #d4af37; /* gold border */
  padding: 12px 14px;
  border-radius: 6px;
  color: #333;
  margin: 15px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.policy-note i {
  color: #d4af37;
  margin-right: 6px;
}

/* App badge links */
.app-links {
  margin: 15px 0 5px;
  text-align: center;
}
.app-links a {
  display: inline-block;
  margin: 0 8px;
}
.app-links img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}
@media (max-width: 480px) {
  .app-links img { height: 36px; }
}

/* ===== FOOTER ===== */
footer {
  background: rgba(255,255,255,0.95);
  padding: 20px 0;
  border-top: 1px solid #ddd;
  text-align: center;
}

.footer-links a {
  margin: 0 10px;
  color: #337ab7;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover { text-decoration: underline; }

footer .copyright {
  font-size: 0.875rem;
  color: #444;
  margin-top: 10px;
}

.social-icons { margin-top: 10px; }
.social-icons a {
  margin: 0 8px;
  display: inline-block;
  font-size: 24px;
  transition: transform 0.3s;
  color: #444;
}
.social-icons a:hover { transform: scale(1.2); }
.social-icons a.facebook:hover i { color: #3b5998; }
.social-icons a.instagram:hover i { color: #E1306C; }

/* ===== CARDS / BUTTONS ===== */
.card {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  border: 1px solid #e6e8ec;
  border-radius: 8px;
}
.btn.btn-outline-dark {
  border-color: #111;
  color: #111;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
}
.btn.btn-outline-dark:hover {
  background: #111;
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media screen and (min-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }
  

  .brand {
    display: inherit;
    margin: 0;
    padding: 30px 0 10px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.25;
    color: #fff;
  }

  .brand-name { font-size: 2.375rem; }

  .top-divider { margin-top: 0; }

  .navbar {
    border-radius: 0;
    min-height: 0;
  }

  .navbar-default {
    border: none;
    background: rgba(255,255,255,0.9);
  }

  .nav > li > a { padding: 35px; }

  .navbar-nav {
    display: table;
    float: none;
    margin: 0 auto;
    table-layout: fixed;
    font-size: 1.125rem;
  }

  /* Equal height for contact cards */
  #contact .box .row {
    display: flex;
    flex-wrap: wrap;
  }
  #contact .box .row > .col-md-4 {
    display: flex;
  }
  #contact .box_br {
    flex: 1;
    height: 100%;
  }
}

@media screen and (min-width: 1200px) {
  h1 { font-size: 2.125rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
  

  .brand-name { font-size: 2.75rem; }

  .box:after { content: ''; display: table; clear: both; }
}

/* ===== HERO CAROUSEL CONTROLS ===== */
#heroCarousel { position: relative; }

#heroCarousel .carousel-inner > .item > img {
  width: 100%;
  height: auto;
  display: block;
}

#heroCarousel .carousel-control {
  position: absolute;
  top: 50%;
  bottom: auto;                /* override BS default */
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,.35);
  border-radius: 50%;
  opacity: 1;                  /* always visible */
  z-index: 5;                  /* sit above image */
  text-shadow: none;
}

#heroCarousel .left.carousel-control  { left: 12px; }
#heroCarousel .right.carousel-control { right: 12px; }

#heroCarousel .carousel-control .glyphicon,
#heroCarousel .carousel-control i {
  font-size: 20px;
  line-height: 44px;           /* center icon in pill */
  color: #fff;
}

#heroCarousel .carousel-indicators {
  bottom: 12px;
}

@media (max-width: 480px) {
  #heroCarousel .carousel-control {
    width: 38px; height: 38px;
  }
  #heroCarousel .carousel-control .glyphicon,
  #heroCarousel .carousel-control i {
    font-size: 18px; line-height: 38px;
  }
}

