/* =========
   Base Styles
   ========= */
:root {
  --primary: #8b1e24;
  --primary-light: #c54d4c;
  --accent: #c79a34;
  --background: #f7f1e9;
  --text-dark: #3b3025;
  --text-muted: #7b6e60;
  --font-heading: "Playfair Display", serif;
  --font-body: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #fffdf8;
  line-height: 1.6;
}

/* =========
   Top Bar & Navbar
   ========= */

.top-bar {
  background: var(--primary);
}

.logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.3rem;
}

.navbar-light .navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: var(--primary);
}

/* =========
   Hero
   ========= */

.hero-section {
  background: radial-gradient(circle at top left, #ffe7c7 0, #fffdf8 40%, #fff 100%);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-text {
  color: var(--text-muted);
}

.hero-image {
  max-width: 420px;
}

/* =========
   Sections
   ========= */

.section-padding {
  padding: 4rem 0;
}

.bg-light-subtle {
  background-color: var(--background);
}

.section-title {
  font-family: var(--font-heading);
  color: var(--primary);
}

/* =========
   Icon boxes & steps
   ========= */

.icon-box {
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid #f0e4d4;
}

.icon-box-icon {
  font-size: 1.6rem;
}

.icon-box-title {
  margin-top: 0.4rem;
  font-weight: 600;
  color: var(--primary);
}

.step-box {
  border-radius: 10px;
  border: 1px dashed #dec8a5;
  background-color: #fffdf8;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* =========
   Cards
   ========= */

.product-card,
.kit-card,
.review-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0e4d4;
}

.product-card img,
.kit-card img {
  height: 297px;
  object-fit: cover;
}

.gallery-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

/* =========
   Reviews
   ========= */

.review-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* =========
   Forms
   ========= */

.form-label {
  font-weight: 500;
  color: var(--text-dark);
}

/* =========
   Footer
   ========= */

.footer {
  background: #3a1d1c;
  color: #f5e8da;
}

/* =========
   Floating Buttons
   ========= */

.floating-btn {
  position: fixed;
  z-index: 1050;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.floating-whatsapp {
  right: 20px;
  background-color: #25d366;
}

.floating-call {
  right: 80px;
  background-color: var(--primary);
}

/* =========
   Utility tweaks
   ========= */

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  color: #fff;
}

/* =========
   Responsive
   ========= */

@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
  }

  .floating-call {
    right: 20px;
    bottom: 80px;
  }

  .hero-title {
    font-size: 2.1rem;
  }
}


/* ===== Fancy styling for Puja Kits section ===== */

/* subtle background just for kits section */
#kits {
  position: relative;
  z-index: 1;
}
#kits::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, #ffe8c8 0, #f7f1e9 40%, #fffdf8 100%);
  opacity: 0.8;
  z-index: -1;
}

/* kit cards – more premium look + hover movement */
.kit-card {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #f0e4d4;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kit-card img {
  width: 100%;
  height: 230px;          /* a bit taller so image looks grand */
  object-fit: cover;
}

.kit-card .card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.kit-card .card-title {
  font-weight: 600;
  color: var(--primary);
}

/* hover effect for desktop/laptop */
@media (hover: hover) and (pointer: fine) {
  .kit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
  }
}

/* extra spacing on small screens */
@media (max-width: 767.98px) {
  .kit-card {
    margin-bottom: 1.25rem;
  }
}


/* ===== Auto-scrolling gallery ===== */

.gallery-slider {
  overflow: hidden;
  width: 100%;
  padding: 10px 0 20px;
}

.gallery-track {
  display: flex;
  gap: 18px;
  animation: scrollGallery 22s linear infinite;
}

.gallery-slider img {
  height: 180px;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* pause when hovering — desktop only */
@media (hover:hover) {
  .gallery-slider:hover .gallery-track {
    animation-play-state: paused;
  }
}

/* scrolling motion */
@keyframes scrollGallery {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* phone friendly */
@media (max-width: 768px) {
  .gallery-slider img {
    height: 140px;
  }
}

/* Order form buttons layout: desktop + mobile */
#order-form .col-12.text-center {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

#order-form .col-12.text-center .btn {
  min-width: 200px;
}

/* On small screens, stack buttons nicely */
@media (max-width: 576px) {
  #order-form .col-12.text-center {
    flex-direction: column;
    align-items: center;
  }

  #order-form .col-12.text-center .btn {
    width: 100%;
    max-width: 260px;
  }
}

.payment-section h3 {
  color: #7a1b1b;
  font-family: 'Playfair Display', serif;
}

.upi-id {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px;
}


/* Reviews slider (auto-moving like gallery) */
.reviews-slider {
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-reviews 35s linear infinite;
}

.review-card {
  min-width: 260px;
  max-width: 260px;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(120, 60, 40, 0.08);
}

.review-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.review-stars {
  font-size: 0.8rem;
  color: #f4b400; /* star yellow */
}

/* Make slider a bit slower on larger screens if you like */
@keyframes scroll-reviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .review-card {
    min-width: 85%;
    max-width: 85%;
  }
}


/* Engineer / Developer section */
.engineer-photo {
  max-width: 220px;
  object-fit: cover;
}

/* Slightly smaller padding on very small screens */
@media (max-width: 576px) {
  #engineer .section-title {
    text-align: center;
  }
  #engineer p,
  #engineer ul {
    text-align: left;
  }
}

.review-form-card {
  max-width: 800px;
  margin: 0 auto;
}

.product-list {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}


.product-list {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}
/* === Product overlay (instead of Bootstrap modal) === */
.product-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1050;
}

.product-overlay.open {
  display: flex;
}

.product-panel {
  background: #ffffff;
  border-radius: 8px;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.product-panel h6 {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.product-list {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-list li {
  margin-bottom: 4px;
}

/* prevent background scroll when overlay is open */
body.no-scroll {
  overflow: hidden;
}

.engineer-photo {
  max-width: 220px;
  border-radius: 10px;
}

.engineer-card {
  max-width: 900px;
  margin: auto;
}

.footer-credit button{
  font-size: 13px;
  opacity: 0.75;
  text-decoration: none;
}

.footer-credit button:hover{
  opacity: 1;
}


/*Phone */
/*
html, body {
  max-width: 100%;
  overflow-x: hidden;   
}*/

body {
  overflow-x: hidden;   /* just stop sideways scroll, nothing fancy */
}

/* General modal width – keep it inside the screen */
.modal-dialog {
  max-width: 95vw;      /* 95% of viewport width */
  margin: 1rem auto;
}

/* Mobile optimisation for all modals (product list + Powered by) */
@media (max-width: 576px) {
  .modal-dialog {
    max-width: 95vw;
    margin: 0.75rem auto;
  }

  .modal-content {
    border-radius: 12px;
  }
}

/* Centered card-style modals for product list + Powered by */
#productListModal .modal-dialog,
#poweredByModal .modal-dialog {
  max-width: 900px;      /* maximum width on laptop/desktop */
  width: 95%;            /* take up to 95% of screen on small screens */
  margin: 1.5rem auto;   /* center horizontally and give some top/bottom space */
}

/* Keep content scrollable inside, not the whole page */
#productListModal .modal-body,
#poweredByModal .modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Extra safety for mobile */
@media (max-width: 576px) {
  #productListModal .modal-dialog,
  #poweredByModal .modal-dialog {
    width: 96%;
    margin: 0.75rem auto;
  }
}

/* Flash / Pulse effect for CTA button */
/* Space between list items (your old rule) */
.product-list li {
  margin-bottom: 6px;
}

/* Flash / pulse animation for the View Full Product List button */
@keyframes cta-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(148, 17, 17, 0.6);
    transform: translateY(0);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(148, 17, 17, 0);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(148, 17, 17, 0);
    transform: translateY(0);
  }
}

.cta-animate {
  font-weight: 600;
  animation: cta-pulse 1.6s infinite;
}

/* Respect “reduced motion” setting on some devices */
@media (prefers-reduced-motion: reduce) {
  .cta-animate {
    animation: none;
  }
}

/* --- View Full Product List CTA --- */
.cta-animate {
  border-width: 2px;
  border-color: #b22222;        /* maroon – match your theme */
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* Soft pulsing highlight */
@keyframes cta-soft-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(178,34,34,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(178,34,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(178,34,34,0); }
}

/* Run pulse every few seconds */
.cta-animate {
  animation: cta-soft-pulse 2s ease-out infinite;
}

/* Hover state (desktop) */
.cta-animate:hover {
  background-color: #b22222;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
/* ⭐ View Full Product List CTA Button */
.star-cta {
  border-width: 2px;
  border-color: #b22222;     /* maroon theme */
  color: #b22222;
  font-weight: 700;
  letter-spacing: .03em;
  background-color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: all .25s ease;
  animation: starPulse 2.5s ease-in-out infinite;
  border-radius: 50px;
box-shadow: 0 8px 18px rgba(0,0,0,.08);

}

/* soft glowing pulse */
@keyframes starPulse {
  0%   { box-shadow: 0 0 0 0 rgba(178,34,34,.45); }
  60%  { box-shadow: 0 0 0 14px rgba(178,34,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(178,34,34,0); }
}

/* hover (desktop) */
.star-cta:hover {
  background:#b22222;
  color:#fff;
  transform: translateY(-1px);
}

/*New recommended*/
.navbar.sticky-top {
  z-index: 1030; /* Bootstrap recommended */
}


/* Slightly smoother body text */
body {
  line-height: 1.6;
}

/* Section titles */
.section-title {
  letter-spacing: 0.03em;
}

/* Hero paragraph slightly narrower on big screens for readability */
@media (min-width: 992px) {
  .hero-text {
    max-width: 36rem;
  }
}

/* fix image issue */
.hero-image {
  /* remove ANY width in px or vw that I gave earlier */
  /* width: 480px; */
  /* max-width: 110%; */
  /* margin-left: -10px; */
}

/* --- Prevent horizontal scroll on mobile --- */
html, body {
  width: 100%;
  max-width: 100%;

}

/* Make all images respect the screen width */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Hero image: always fit inside column */
.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Product card images: never wider than card 
.product-card .card-img-top,
.card-img-top {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}*/

/* Make sure product cards don't leak outside */
.product-card {
  overflow: hidden;
}
.container {
  max-width: 1200px;
  padding-left: 1rem;
  padding-right: 1rem;
}
.trust-icon {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.trust-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-text {
  color: #6c757d;
}

.trust-title {
  font-weight: 700;
}
.trust-divider {
  width: 60px;
  height: 3px;
  background-color: #8a1c20; /* same maroon brand color */
  margin: 6px auto 12px;
  border-radius: 999px;
}


/* Trust Section Wrapper */
.trust-wrapper .container{
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 25px 20px;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Title styling */
.trust-wrapper .small{
  letter-spacing: 1px;
  font-weight: 600;
}

/* Icons align + size */
.trust-icon{
  font-size: 26px;
  margin-bottom: 10px;
}

/* Each item card feel */
.trust-wrapper .col-4{
  text-align:center;
}

/* subtle hover glow */
.trust-wrapper .col-4:hover{
  transform: translateY(-3px);
  transition: 0.2s;
}
.trust-wrapper .container{
  background: linear-gradient(135deg,#fffdf7,#fff9eb);
}
.trust-wrapper .container{
  background: linear-gradient(135deg,#fffdf7,#fff9eb);
}
.trust-wrapper {
  background: linear-gradient(135deg, #fffaf2, #fff7e5);
  border-radius: 12px;
  padding: 1.75rem 1.25rem 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}
/* Contact Section Styling */
#contact {
  background: #fffdf7; /* soft cream */
}

.contact-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border: 1px solid #eee2d8;
}

/* Title */
#contact h3 {
  color: #7a1c1c;
  font-weight: 600;
}

/* Contact labels */
#contact strong {
  color: #444;
  font-size: 16px;
}

/* Text spacing */
#contact p {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 15px;
}

/* Clickable - Phone + WhatsApp */
#contact a {
  color: #7a1c1c;
  font-weight: 600;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* Small note text */
#contact .text-muted {
  font-size: 13px;
}

/* Icons */
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Round icon badge */
.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.icon-phone { background:#8b1e2a; }
.icon-whatsapp { background:#25D366; }
.icon-location { background:#d4a017; }

/* Map styling */
#contact iframe {
  border-radius: 14px;
  border: 1px solid #e6d8c9;
}
.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* icon + text row */
.contact-row {
  position: relative;
  padding-left: 2.8rem;   /* space for icon */
  margin-bottom: 1.1rem;
}

/* icon circle */
.contact-icon {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

/* MATCH YOUR EXISTING COLORS 
.contact-icon--address  { background:#f4b000; }
.contact-icon--phone    { background:#a31629; }
.contact-icon--whatsapp { background:#25d366; }
.contact-icon--clock    { background:#ff9800; }*/

.contact-row strong { margin-bottom: 2px; display:inline-block; }

.contact-row a {
  color:#a31629;
  text-decoration:none;
}
.contact-row a:hover { text-decoration:underline; }

/* Mobile adjustments */
@media(max-width:576px){
  .contact-card { padding:1.25rem; }
  .contact-row  { padding-left:2.6rem; }
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}
.contact-card {
  border-radius: 16px;
  background: #fffdf6;
  border: 1px solid #f4e4c4;
  padding: 1.5rem;
}

.contact-row {
  margin-bottom: 0.75rem;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* keep your existing icon colours here 
.contact-icon--address { background: #fbbf24; }
.contact-icon--phone   { background: #dc2626; }
.contact-icon--whatsapp{ background: #16a34a; }
.contact-icon--clock   { background: #f97316; }*/

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}
