/* ===================================
   Sri Subbiahpillai Santhi Sweets
   Main Stylesheet
   =================================== */

/* Base Styles */
body { 
  font-family: 'Poppins', sans-serif; 
}

/* Navbar Brand Two-Line Text */
.navbar-custom {
  background: url("../images/bulk-bg.jpeg") no-repeat center center;
  background-size: cover;
  border-bottom: 3px solid #c8a415;
  position: relative;
}

.navbar-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(80, 0, 0, 0.30);
  z-index: 0;
}

.navbar-custom .container {
  position: relative;
  z-index: 1;
}

.navbar-custom .navbar-nav .nav-link {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

.navbar-custom .navbar-brand {
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: none;
  opacity: 1;
}

.brand-main {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.ta { 
  font-family: 'Noto Serif Tamil', serif; 
}

/* Section Titles */
.section-title { 
  color: #b22222; 
  font-weight: 600;
  letter-spacing: 1px;
}

/* Carousel Styles */
.carousel-item img {
  height: 70vh;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0,0,0,.55);
  border-radius: 10px;
  padding: 20px;
}

/* Product Cards */
.product-card img {
  height: 220px;
  object-fit: cover;
  cursor: pointer;
}

/* Language Toggle Pill Switcher */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
}

.lang-pill {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.80);
  padding: 5px 13px;
  border-radius: 22px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.4px;
  line-height: 1.4;
}

.lang-pill .lang-flag {
  font-size: 13px;
  margin-right: 3px;
}

.lang-pill.active {
  background: #ffffff;
  color: #b22222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.lang-pill:hover:not(.active) {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-float img {
  width: 55px;
}

/* About Section Images */
.about-founder-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  border: 4px solid #b22222;
  border-radius: 140px 140px 20px 20px;
}

.founder-name {
  white-space: nowrap;
  font-size: clamp(12px, 1.3vw, 15px);
}

.founder-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 4px solid #b22222;
}

/* About Section Background */
#about {
  position: relative;
  background-color: #fffaf5;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/logo-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 55%;
  opacity: 0.3;
  z-index: 0;
}

#about .container {
  position: relative;
  z-index: 1;
}

/* Bulk Orders Section */
.bulk-orders-section {
  background: url("../images/bulk-bg.jpeg") no-repeat center center;
  background-size: cover;
  padding: 80px 0;
  position: relative;
}

.bulk-orders-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.bulk-orders-section .container {
  position: relative;
  z-index: 2;
}

/* Certification Section */
.certification-section {
  padding: 10px 0;
  background-color: #fffaf5;
}

/* Yaali decorative images in certification section */
.yaali-cert {
  max-height: 160px;
  width: auto;
  opacity: 0.85;
}

.yaali-flip {
  transform: scaleX(-1);
}

.certification-section .section-title {
  color: #b22222;
  font-weight: 700;
  letter-spacing: 1px;
}

.certification-img {
  max-width: 140px;
  height: auto;
  transition: transform 0.3s ease;
}

.certification-img:hover {
  transform: scale(1.05);
}

.certification-section p {
  color: #333;
  font-size: 15px;
}

/* Nandi Blessing Section */
.nandi-blessing-section {
  padding: 40px 0;
  background-color: #fffaf5;
  isolation: isolate;
}

.footer-custom {
  background: url("../images/bulk-bg.jpeg") no-repeat center center;
  background-size: cover;
  position: relative;
  border-top: 3px solid #c8a415;
}

.footer-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.footer-custom > * {
  position: relative;
  z-index: 1;
}

.footer-text {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.nandi-img {
  max-width: 90px;
  height: auto;
  mix-blend-mode: multiply;
  filter: brightness(1.15) contrast(1.25);
}

.nandi-text {
  font-family: 'Noto Serif Tamil', serif;
  font-size: 22px;
}