/* ==========================================================================
   Rangla Ghar — Home Textiles, Geeta Colony, Delhi
   Design tokens
   ========================================================================== */

:root {
  --ivory: #FBF3E4;
  --ivory-deep: #F3E6CE;
  --maroon: #7A1236;
  --maroon-deep: #530C24;
  --teal: #0E4F51;
  --teal-deep: #093638;
  --gold: #C9962C;
  --gold-light: #E7BE5E;
  --indigo: #1B2A4A;
  --vermilion: #C1440E;
  --ink: #2B1B14;

  --display: 'Yatra One', serif;
  --body: 'Mukta', sans-serif;
  --utility: 'Mukta', sans-serif;

  --radius: 6px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

img { max-width: 100%; }

/* ------------------------------ Border motif ---------------------------- */

.jaali-divider {
  width: 100%;
  height: 22px;
  display: block;
}

/* ------------------------------- Header --------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory) 85%, rgba(251,243,228,0.85) 100%);
  border-bottom: 1px solid rgba(122,18,54,0.15);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--maroon-deep);
}

.brand .mandala-logo {
  width: 52px;
  height: 52px;
  animation: spin-slow 50s linear infinite;
  flex-shrink: 0;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand-text h1 {
  font-size: 1.5rem;
  color: var(--maroon-deep);
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--vermilion);
  transition: width 0.25s ease;
}

nav.main-nav a:hover::after,           
nav.main-nav a.active::after {
  width: 100%;
}

nav.main-nav a.active {
  color: var(--maroon-deep);
}

/* -------------------------------- Hero ----------------------------------- */

.hero {
  position: relative;
  padding: 70px 0 90px;
  background: radial-gradient(ellipse at 80% 20%, rgba(201,150,44,0.16), transparent 55%),
              radial-gradient(ellipse at 10% 90%, rgba(14,79,81,0.12), transparent 50%);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--utility);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--vermilion);
  background: rgba(193,68,14,0.08);
  border: 1px solid rgba(193,68,14,0.25);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.hero h2 {
  font-size: 3.1rem;
  line-height: 1.14;
  color: var(--maroon-deep);
  margin-bottom: 18px;
}

.hero h2 em {
  font-style: normal;
  color: var(--teal);
}

.hero p.lede {
  font-size: 1.12rem;
  max-width: 46ch;
  color: #4a352b;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--maroon);
  color: var(--ivory);
  box-shadow: 0 6px 18px rgba(122,18,54,0.3);
}

.btn-primary:hover { background: var(--maroon-deep); }

.btn-outline {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-outline:hover { background: var(--teal); color: var(--ivory); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art svg {
  width: 100%;
  max-width: 420px;
  animation: float-y 7s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

/* ---------------------------- Section shell ------------------------------ */

section.block {
  padding: 78px 0;
}

section.block.tinted {
  background: var(--ivory-deep);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  font-family: var(--utility);
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 2.2rem;
  color: var(--maroon-deep);
  margin-bottom: 12px;
}

.section-head p {
  color: #5a453a;
  font-size: 1.02rem;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------- About ----------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-art svg { width: 100%; max-width: 360px; display: block; margin: 0 auto; }

.about-copy p { color: #4a352b; margin: 0 0 16px; }

.about-copy .signature-line {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--maroon);
  margin-top: 22px;
}

/* ----------------------------- Quality ------------------------------------ */

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quality-card {
  background: var(--ivory);
  border: 1px solid rgba(122,18,54,0.14);
  border-radius: 10px;
  padding: 30px 26px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quality-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(27,42,74,0.12);
}

.quality-card svg { width: 42px; height: 42px; margin-bottom: 16px; }

.quality-card h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--indigo);
  margin-bottom: 8px;
}

.quality-card p { margin: 0; color: #5a453a; font-size: 0.95rem; }

/* --------------------------- Achievements / stats -------------------------- */

.stats-strip {
  background: linear-gradient(120deg, var(--maroon-deep), var(--maroon) 60%, var(--vermilion));
  border-radius: 14px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: var(--ivory);
}

.stat { text-align: center; border-right: 1px solid rgba(251,243,228,0.2); }
.stat:last-child { border-right: none; }

.stat .num {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--gold-light);
  display: block;
}

.stat .label {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.achievements-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.achievements-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #4a352b;
}

.achievements-list svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }

/* --------------------------------- Reviews --------------------------------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: var(--ivory);
  border-radius: 10px;
  padding: 28px 26px;
  border: 1px solid rgba(14,79,81,0.15);
  position: relative;
}

.review-card .stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p.quote { color: #4a352b; font-size: 0.96rem; margin-bottom: 18px; }
.review-card .who { font-weight: 700; color: var(--indigo); font-size: 0.9rem; }
.review-card .where { color: #8a7669; font-size: 0.82rem; }

/* -------------------------------- Future ------------------------------------ */

.future-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.future-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
}

.future-step { text-align: center; padding: 0 20px; position: relative; }

.future-step .dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--display);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--ivory-deep);
}

.future-step h3 { font-size: 1.02rem; color: var(--maroon-deep); margin-bottom: 8px; font-family: var(--body); font-weight: 700; }
.future-step p { color: #5a453a; font-size: 0.9rem; margin: 0; }

/* ---------------------------------- Footer ----------------------------------- */

footer.site-footer {
  background: var(--indigo);
  color: var(--ivory);
  padding: 46px 0 26px;
}

footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

footer.site-footer h3 {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

footer.site-footer p, footer.site-footer a {
  color: rgba(251,243,228,0.75);
  font-size: 0.9rem;
  text-decoration: none;
}

footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 8px; }

.foot-bottom {
  border-top: 1px solid rgba(251,243,228,0.15);
  padding-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(251,243,228,0.55);
}

/* ------------------------------ Floating buttons ------------------------------ */

.floating-social {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-social a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-social a:hover { transform: scale(1.08); }

.floating-social .whatsapp { background: #25D366; }
.floating-social .instagram {
  background: radial-gradient(circle at 30% 110%, #ffdb8c 0%, #ee2a7b 45%, #6228d7 90%);
}

.floating-social svg { width: 28px; height: 28px; }

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 8px 20px rgba(0,0,0,0.25); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0), 0 8px 20px rgba(0,0,0,0.25); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 8px 20px rgba(0,0,0,0.25); }
}

.floating-social .whatsapp { animation: pulse-ring 2.8s ease-out infinite; }

/* ---------------------------------- Catalogue page ----------------------------------- */

.page-header {
  padding: 56px 0 20px;
  text-align: center;
}

.page-header .eyebrow {
  font-family: var(--utility);
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.page-header h2 { font-size: 2.4rem; color: var(--maroon-deep); margin: 10px 0 12px; }
.page-header p { color: #5a453a; max-width: 560px; margin: 0 auto; }

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 0 80px;
}

.product-card {
  background: var(--ivory);
  border: 1px solid rgba(122,18,54,0.14);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(27,42,74,0.15);
}

.product-swatch {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-swatch svg { width: 84px; height: 84px; }

.product-info { padding: 20px 22px 24px; }

.product-info .tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--vermilion);
  font-weight: 700;
}

.product-info h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--indigo);
  margin: 8px 0 6px;
}

.product-info p.desc { color: #5a453a; font-size: 0.88rem; margin: 0 0 14px; }

.product-info .price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.product-info .price { font-family: var(--display); font-size: 1.3rem; color: var(--maroon-deep); }
.product-info .mrp { text-decoration: line-through; color: #b09b8d; font-size: 0.82rem; margin-left: 8px; }

.product-info .add-btn {
  display: inline-block;
  margin-top: 14px;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: var(--teal);
  color: var(--ivory);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.product-info .add-btn:hover { background: var(--teal-deep); }

/* ---------------------------------- Contact page ----------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-bottom: 80px;
}

.contact-card {
  background: var(--ivory-deep);
  border-radius: 12px;
  padding: 34px;
}

.contact-card h3 { color: var(--maroon-deep); font-size: 1.3rem; margin-bottom: 18px; }

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-detail svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal); }
.contact-detail div { font-size: 0.94rem; color: #4a352b; }
.contact-detail strong { display: block; color: var(--indigo); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 6px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(122,18,54,0.25);
  background: var(--ivory);
  font-family: var(--body);
  font-size: 0.95rem;
  margin-bottom: 18px;
  color: var(--ink);
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(122,18,54,0.14);
  height: 260px;
}

/* ------------------------------------ Responsive ------------------------------------ */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h2 { font-size: 2.3rem; }
  .about-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .achievements-list { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .future-timeline { grid-template-columns: 1fr; }
  .future-timeline::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  nav.main-nav ul { gap: 18px; }
}

@media (max-width: 600px) {
  .site-header .wrap { flex-direction: column; gap: 10px; }
  .quality-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 30px 20px; }
  .stat { border-right: none; }
}
