/* =============================================================
   RAJARAJESHWARA RAKHI STORE — STYLESHEET
   Design tokens: deep maroon + marigold gold + mango-leaf green
   on a warm saffron-cream base. Signature element: the "toran"
   (hanging festive garland) used as a divider motif.
============================================================= */

:root {
  /* Colors */
  --maroon-deep: #4A0C18;
  --maroon: #7A1029;
  --maroon-soft: #93233F;
  --gold: #C9971F;
  --gold-light: #E8C468;
  --cream: #FFF6E9;
  --cream-warm: #FBEAD1;
  --green: #194A3A;
  --ink: #2B1210;
  --ink-soft: #5B3A34;
  --white: #FFFFFF;

  /* Typography */
  --font-display-en: 'Marcellus', serif;
  --font-display-te: 'Ramaraja', serif;
  --font-body-en: 'Poppins', sans-serif;
  --font-body-te: 'Anek Telugu', sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius: 14px;
  --shadow-card: 0 10px 30px rgba(74, 12, 24, 0.14);
  --transition: 0.3s ease;
}

/* =============================================================
   RESET & BASE
============================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body-en);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Telugu inline text helper — used next to English labels throughout */
.te {
  font-family: var(--font-body-te);
  opacity: 0.85;
  font-size: 0.92em;
  display: inline-block;
  margin-left: 0.35em;
}

.te-block {
  font-family: var(--font-body-te);
  color: var(--ink-soft);
  margin-top: 1rem;
}

/* Scroll-reveal animation base state (activated via JS) */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =============================================================
   BUTTONS
============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #B07E17 100%);
  color: var(--maroon-deep);
  box-shadow: 0 8px 20px rgba(201, 151, 31, 0.35);
}

.btn-whatsapp {
  background: #1FA855;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.3);
}

/* =============================================================
   HEADER / NAVIGATION
============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
  border-bottom: 1px solid rgba(74, 12, 24, 0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-en {
  font-family: var(--font-display-en);
  font-size: 1.05rem;
  color: var(--maroon-deep);
  font-weight: 700;
}

.brand-te {
  font-family: var(--font-display-te);
  font-size: 0.85rem;
  color: var(--maroon-soft);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-link .te {
  font-size: 0.85em;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active-link {
  color: var(--maroon-deep);
}

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

.nav-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--maroon-deep);
  color: var(--cream);
  transition: transform var(--transition);
}

.icon-btn.whatsapp {
  background: #1FA855;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--maroon-deep);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* =============================================================
   TORAN — signature decorative garland element
   Rendered with layered CSS gradients: mango-leaf bunting on a
   string, with hanging marigold "bells" and gold beads.
============================================================= */
.toran {
  height: 46px;
  width: 100%;
  background-repeat: repeat-x;
  background-size: 64px 46px;
  background-image:
    /* string */
    linear-gradient(var(--gold-light), var(--gold-light));
  background-position: center top;
  background-size: 100% 2px;
  position: relative;
}

.toran::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 7px at 12px 8px, var(--gold) 98%, transparent 100%),
    linear-gradient(135deg, var(--green) 45%, transparent 46%),
    linear-gradient(-135deg, var(--green) 45%, transparent 46%);
  background-repeat: repeat-x;
  background-size: 64px 46px;
  background-position: 0 0, 32px 2px, 32px 2px;
}

.toran::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle 5px at 44px 14px, var(--maroon) 96%, transparent 100%);
  background-repeat: repeat-x;
  background-size: 64px 46px;
}

/* =============================================================
   HERO
============================================================= */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top, var(--maroon-soft) 0%, var(--maroon-deep) 55%, #34060F 100%);
  color: var(--cream);
  padding-bottom: 5.5rem;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    radial-gradient(circle, var(--gold-light) 1.5px, transparent 1.6px);
  background-size: 34px 34px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding-top: 4.5rem;
  max-width: 780px;
}

.eyebrow,
.section-eyebrow {
  font-family: var(--font-body-en);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.section-eyebrow {
  color: var(--maroon-soft);
  text-align: center;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.4rem;
}

.hero-en {
  font-family: var(--font-display-en);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 400;
  color: var(--white);
}

.hero-te {
  font-family: var(--font-display-te);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--cream-warm);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-address {
  font-size: 0.92rem;
  color: var(--gold-light);
  opacity: 0.9;
}

/* =============================================================
   SECTION TITLES (shared)
============================================================= */
.section-title {
  font-family: var(--font-display-en);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: var(--maroon-deep);
  text-align: center;
  margin-bottom: 1rem;
}

.section-title .te {
  display: block;
  font-family: var(--font-display-te);
  font-size: 0.7em;
  color: var(--maroon-soft);
  margin-top: 0.3rem;
  margin-left: 0;
}

.section-title.light {
  color: var(--cream);
}

.section-title.light .te {
  color: var(--gold-light);
}

.section-desc {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
  color: var(--ink-soft);
}

.br-desktop {
  display: none;
}

@media (min-width: 700px) {
  .br-desktop { display: inline; }
}

/* =============================================================
   COLLECTION SECTION
============================================================= */
.collection {
  padding: 5rem 0 4rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(74, 12, 24, 0.2);
}

.cat-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cat-body {
  padding: 1.3rem 1.4rem 1.6rem;
}

.cat-body h3 {
  font-family: var(--font-display-en);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--maroon-deep);
  margin-bottom: 0.4rem;
}

.cat-body p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* divider between sections, echoes the toran motif at smaller scale */
.divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.5;
  margin: 0 auto;
  width: 92%;
  max-width: var(--max-width);
}

/* =============================================================
   ABOUT SECTION
============================================================= */
.about {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 3px solid var(--gold-light);
}

.about-text .section-eyebrow {
  text-align: left;
}

.about-text .section-title {
  text-align: left;
}

.about-text .section-title .te {
  margin-left: 0;
}

.about-text p {
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-text .section-eyebrow,
  .about-text .section-title {
    text-align: center;
  }
}

/* =============================================================
   WHY CHOOSE US
============================================================= */
.why-us {
  padding: 5rem 0;
  background: var(--cream-warm);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.why-card h3 {
  font-family: var(--font-display-en);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--maroon-deep);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* =============================================================
   STORE TIMINGS
============================================================= */
.timings {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  color: var(--cream);
  padding: 4.5rem 0;
  text-align: center;
}

.timings-content {
  max-width: 560px;
}

.timings-icon {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.timings-hours {
  font-family: var(--font-display-en);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--gold-light);
  margin: 0.6rem 0 0.3rem;
}

.timings-days {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.timings-note {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* =============================================================
   CONTACT
============================================================= */
.contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-display-en);
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--maroon-deep);
  margin-bottom: 0.15rem;
}

.contact-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-item em {
  font-size: 0.8rem;
  opacity: 0.7;
}

.contact-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.contact-map {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 3px solid var(--gold-light);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.map-link {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  background: var(--maroon-deep);
  color: var(--cream);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   FOOTER
============================================================= */
.site-footer {
  background: var(--maroon-deep);
  color: var(--cream-warm);
  position: relative;
  padding-top: 0;
}

.toran-footer {
  filter: brightness(1.1);
}

.footer-content {
  padding: 3rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.footer-name {
  font-family: var(--font-display-en);
  font-size: 1.05rem;
}

.footer-name .te {
  font-family: var(--font-display-te);
  display: block;
  margin-left: 0;
  margin-top: 0.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact {
  font-size: 0.88rem;
  opacity: 0.9;
}

.footer-contact a {
  color: var(--gold-light);
}

.footer-bottom {
  font-size: 0.8rem;
  opacity: 0.7;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.2rem;
  width: 100%;
}

/* =============================================================
   FLOATING ACTION BUTTONS
============================================================= */
.fab {
  position: fixed;
  right: 1.3rem;
  z-index: 300;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  transition: transform var(--transition);
}

.fab:hover {
  transform: scale(1.08);
}

.fab-whatsapp {
  bottom: 5.6rem;
  background: #1FA855;
}

.fab-call {
  bottom: 1.3rem;
  background: var(--maroon-deep);
}

.back-to-top {
  position: fixed;
  left: 1.3rem;
  bottom: 1.3rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--maroon-deep);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 300;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =============================================================
   MOBILE RESPONSIVE NAV
============================================================= */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    max-height: 480px;
  }

  .nav-link {
    padding: 0.9rem 1.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(74,12,24,0.06);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .brand-text { display: none; }
  .hero-content { padding-top: 3rem; }
}
