/* ============================================================
   Shree Balaji Sarees – Custom Stylesheet
   ============================================================ */

/* ---------- 1. Root Variables ---------- */
:root {
  --burgundy: #6D1028;
  --maroon: #42101D;
  --gold: #C6A15B;
  --ivory: #FFF9F0;
  --beige: #F2E8D9;
  --charcoal: #292329;
  --white: #FFFFFF;
  --gold-light: #E4CB93;
  --shadow-soft: 0 6px 24px rgba(66, 16, 29, 0.08);
  --shadow-hover: 0 12px 36px rgba(66, 16, 29, 0.18);
  --radius: 1rem;
  --transition: all 0.35s ease;
}

/* ---------- 2. Base & Typography ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  font-family: 'Poppins', 'Lato', sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.section-heading,
.hero-heading,
.brand-text,
.cta-heading {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.25;
}

section{
    overflow: hidden;
}

a { text-decoration: none; transition: var(--transition); }

img { max-width: 100%; height: auto; }

.section-padding { padding: 80px 0; }

.bg-ivory { background-color: var(--ivory); }

.section-heading {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #6c5b5f;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- 3. Buttons ---------- */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  border-radius: 50px;
  padding: 0.65rem 1.6rem;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b28c47);
  color: var(--white);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 14px rgba(198, 161, 91, 0.35);
}
.btn-gold:hover,
.btn-gold:focus {
  background: linear-gradient(135deg, #b28c47, #9a7638);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 161, 91, 0.45);
}


.enquiry-card,
.contact-info-card {
    background: #ffffff;
    border: 1px solid #f2e8d9;
    box-shadow: 0 8px 30px rgba(66, 16, 29, 0.06);
}

.enquiry-card h3,
.contact-info-card h3 {
    color: #6D1028;
    font-weight: 700;
}

.enquiry-card .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #292329;
}

.enquiry-card .form-control,
.enquiry-card .form-select {
    padding: 13px 15px;
    border: 1px solid #e5dcd3;
    border-radius: 8px;
    background: #fffdfb;
    font-size: 14px;
}

.enquiry-card .form-control:focus,
.enquiry-card .form-select:focus {
    border-color: #C6A15B;
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.15);
    outline: none;
}

.enquiry-card textarea {
    resize: vertical;
    min-height: 110px;
}

.enquiry-card .btn-gold {
    background: #C6A15B;
    color: #42101D;
    border: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.enquiry-card .btn-gold:hover {
    background: #6D1028;
    color: #ffffff;
}

@media (max-width: 767px) {
    .enquiry-card {
        padding: 25px 20px !important;
    }
}


.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border: 1px solid #25D366;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #1ebe5a;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-maroon {
  border: 1.5px solid var(--burgundy);
  color: var(--burgundy);
  background: transparent;
}
.btn-outline-maroon:hover,
.btn-outline-maroon:focus {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover,
.btn-outline-light:focus {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 4. Top Header ---------- */
.top-header {
  background-color: var(--maroon);
  color: var(--ivory);
  padding: 8px 0;
  font-size: 0.86rem;
}
.top-header .top-link {
  color: var(--ivory);
  transition: var(--transition);
}
.top-header .top-link:hover { color: var(--gold-light); }
.top-social a {
  color: var(--ivory);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.top-social a:hover {
  color: var(--maroon);
  background: var(--gold);
  transform: translateY(-2px);
}

/* ---------- 5. Navbar ---------- */
.main-navbar {
  background-color: var(--ivory);
  padding: 12px 0;
  box-shadow: 0 2px 18px rgba(66, 16, 29, 0.08);
  transition: var(--transition);
  border-bottom: 1px solid rgba(198, 161, 91, 0.35);
  z-index: 1030;
}
.main-navbar .brand-text {
  font-size: 1.25rem;
  color: var(--burgundy);
  white-space: nowrap;
}
.logo-img {
  border-radius: 50%;
  object-fit: cover;
  background: var(--beige);
}
.main-navbar .nav-link {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  position: relative;
}
.main-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--burgundy); }
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { transform: scaleX(1); }

/* ---------- 6. Hero Slider ---------- */
.hero-section { position: relative; }

.hero-slide {
  position: relative;
  min-height: 82vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 100px 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(66, 16, 29, 0.82) 0%, rgba(66, 16, 29, 0.55) 45%, rgba(66, 16, 29, 0.25) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-heading {
  color: var(--white);
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-desc {
  color: rgba(255, 249, 240, 0.92);
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  max-width: 560px;
  margin-bottom: 1.6rem;
}

/* Carousel indicators */
#heroCarousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  border: 2px solid transparent;
  transition: var(--transition);
}
#heroCarousel .carousel-indicators .active {
  background-color: var(--gold);
  transform: scale(1.25);
}
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  width: 2.4rem;
  height: 2.4rem;
  background-color: rgba(66, 16, 29, 0.45);
  border-radius: 50%;
  background-size: 50%;
  transition: var(--transition);
}
#heroCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#heroCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--burgundy);
}

/* ---------- 7. About Section ---------- */
.about-section img { width: 100%; object-fit: cover; }
.about-text { color: #4a3d41; font-size: 0.98rem; }

.feature-highlight {
  background: var(--beige);
  border: 1px solid rgba(198, 161, 91, 0.45);
  border-radius: 0.75rem;
  padding: 0.9rem 0.6rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--maroon);
  height: 100%;
  transition: var(--transition);
}
.feature-highlight i {
  display: block;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.feature-highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

/* ---------- 8. Services ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(198, 161, 91, 0.25);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img { transform: scale(1.06); }
.service-body { padding: 1.4rem 1.3rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.service-title { font-size: 1.25rem; margin-bottom: 0.6rem; }
.service-desc { font-size: 0.9rem; color: #5b4c50; flex: 1; }

/* ---------- 9. Why Choose Us ---------- */
.why-section {
  background-color: var(--ivory);
  background-image:
    radial-gradient(circle at 12% 20%, rgba(198, 161, 91, 0.10) 0%, transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(109, 16, 40, 0.07) 0%, transparent 32%);
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(198, 161, 91, 0.30);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.why-card i {
  font-size: 2.2rem;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 0.9rem;
  transition: var(--transition);
}
.why-card h4 { font-size: 1.12rem; margin-bottom: 0.55rem; }
.why-card p { font-size: 0.89rem; color: #5b4c50; margin: 0; }
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.why-card:hover i { transform: scale(1.15) rotate(-4deg); color: var(--burgundy); }

/* ---------- 10. Featured Collections ---------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(198, 161, 91, 0.25);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img { transform: scale(1.07); }
.product-body { padding: 1.2rem 1.1rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-body h4 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.product-body p { font-size: 0.86rem; color: #5b4c50; flex: 1; }

/* ---------- 11. Shopping Process ---------- */
.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1rem 1.5rem;
  position: relative;
  height: 100%;
  border: 1px solid rgba(198, 161, 91, 0.30);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--maroon));
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}
.step-icon {
  font-size: 2rem;
  color: var(--gold);
  display: inline-block;
  margin: 0.6rem 0 0.8rem;
}
.process-step h5 { font-size: 1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.84rem; color: #5b4c50; margin: 0; }

/* Connecting line between steps (desktop) */
@media (min-width: 768px) {
  .process-row { position: relative; }
  .process-row::before {
    content: "";
    position: absolute;
    top: 2.4rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px);
    z-index: 0;
    opacity: 0.55;
  }
  .process-row .process-step { position: relative; z-index: 1; }
}

/* ---------- 12. Testimonials ---------- */
.testimonial-placeholder {
  background: var(--white);
  border: 1px solid rgba(198, 161, 91, 0.45);
  box-shadow: var(--shadow-soft);
}
.text-gold { color: var(--gold) !important; }

/* ---------- 13. Gallery ---------- */
.gallery-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 0.8rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow-soft);
}
.gallery-section a { display: block; overflow: hidden; border-radius: 0.8rem; }
.gallery-section a:hover .gallery-img {
  transform: scale(1.06);
  box-shadow: var(--shadow-hover);
}

/* ---------- 14. Contact Section ---------- */
.contact-info-card {
  background: var(--white);
  border: 1px solid rgba(198, 161, 91, 0.40);
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-info-card a { color: var(--burgundy); }
.contact-info-card a:hover { color: var(--gold); }

.map-wrapper {
  min-height: 400px;
  height: 100%;
  border: 1px solid rgba(198, 161, 91, 0.40);
}
.map-wrapper iframe { display: block; width: 100%; height: 100%; min-height: 400px; }

/* ---------- 15. FAQ ---------- */
.faq-section { background: var(--white); }
.accordion-item {
  border: 1px solid rgba(198, 161, 91, 0.40);
  border-radius: 0.8rem !important;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--ivory);
}
.accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--maroon);
  background: var(--ivory);
  padding: 1.1rem 1.3rem;
  transition: var(--transition);
}
.accordion-button:not(.collapsed) {
  color: var(--white);
  background: linear-gradient(135deg, var(--burgundy), var(--maroon));
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(198, 161, 91, 0.35);
  border-color: var(--gold);
}
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}
.accordion-body {
  font-size: 0.92rem;
  color: #4a3d41;
  padding: 1.1rem 1.3rem 1.3rem;
  background: var(--white);
}

/* ---------- 16. CTA Banner ---------- */
.cta-section {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--burgundy) 100%);
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(198, 161, 91, 0.18) 0%, transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(198, 161, 91, 0.14) 0%, transparent 30%);
  animation: pulseGlow 9s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 0l6 24 24 6-24 6-6 24-6-24-24-6 24-6z" fill="%23C6A15B" fill-opacity="0.05"/></svg>');
  opacity: 0.9;
  pointer-events: none;
}
.cta-heading {
  color: var(--white);
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  margin-bottom: 1rem;
}
.cta-desc {
  color: rgba(255, 249, 240, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.02rem;
}

/* ---------- 17. Footer ---------- */
.footer-section {
  background: var(--maroon);
  color: var(--ivory);
  padding: 70px 0 0;
  font-size: 0.9rem;
}
.footer-heading {
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.3px;
}
.footer-text { color: rgba(255, 249, 240, 0.75); font-size: 0.88rem; }
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a,
.footer-contact a {
  color: rgba(255, 249, 240, 0.82);
  font-size: 0.88rem;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold); padding-left: 3px; }
.footer-contact li {
  color: rgba(255, 249, 240, 0.82);
  font-size: 0.86rem;
  margin-bottom: 0.65rem;
}
.footer-contact i { color: var(--gold); }
.footer-social a {
  color: var(--ivory);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(198, 161, 91, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--maroon);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer-divider {
  border-color: rgba(198, 161, 91, 0.3);
  margin: 2.5rem 0 1.2rem;
  opacity: 1;
}
.footer-bottom {
  padding-bottom: 1.4rem;
  font-size: 0.82rem;
  color: rgba(255, 249, 240, 0.65);
}

/* ---------- 18. Floating Buttons ---------- */
.floating-buttons {
  position: fixed;
  right: 18px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1040;
}
.floating-buttons a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: var(--transition);
}
.float-call { background: linear-gradient(135deg, var(--burgundy), var(--maroon)); }
.float-whatsapp { background: #25D366; }
.floating-buttons a:hover,
.floating-buttons a:focus {
  transform: translateY(-4px) scale(1.06);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

/* ---------- 19. Responsive Tweaks ---------- */
@media (max-width: 991.98px) {
  html { scroll-padding-top: 90px; }
  .hero-slide { min-height: 72vh; }
  .main-navbar .nav-link { padding: 0.6rem 0.4rem !important; }
  .main-navbar .btn-gold { margin-top: 0.6rem; width: 100%; }
  .process-row::before { display: none; }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 60px 0; }
  .hero-slide { min-height: 78vh; padding: 80px 0; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(66, 16, 29, 0.85) 0%, rgba(66, 16, 29, 0.55) 60%, rgba(66, 16, 29, 0.35) 100%);
  }
  .service-img,
  .product-img { height: 200px; }
  .gallery-img { height: 180px; }
  .top-header { font-size: 0.78rem; }
  .top-social a { width: 26px; height: 26px; font-size: 0.8rem; }
  .cta-section { padding: 80px 0; }
  .footer-section { padding: 55px 0 0; text-align: left; }
  .floating-buttons { right: 12px; bottom: 14px; gap: 10px; }
  .floating-buttons a { width: 48px; height: 48px; font-size: 1.3rem; }
  .map-wrapper,
  .map-wrapper iframe { min-height: 320px; }
}

@media (max-width: 575.98px) {
  .hero-heading { font-size: 1.65rem; }
  .hero-desc { font-size: 0.92rem; }
  .hero-slide .btn { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
  .service-img,
  .product-img { height: 190px; }
  .why-card { padding: 1.6rem 1.1rem; }
  .product-body,
  .service-body { padding: 1rem; }
}

/* ---------- 20. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .carousel { scroll-behavior: auto; }
  .hero-slide,
  .cta-section::before { animation: none !important; }
}