/*
Theme Name: Womantra
Theme URI: https://womantra.example
Author: Womantra
Author URI: https://womantra.example
Description: A warm, handloom-inspired WordPress theme for Womantra, a saree boutique serving Andhra Pradesh. Includes a hero enquiry form that routes every query straight to WhatsApp (+91 99161 89811).
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: womantra
Tags: e-commerce, custom-colors, custom-menu, one-column, translation-ready
*/

/* =========================================================
   0. DESIGN TOKENS
   ========================================================= */
:root{
  --ivory:        #FBF8F2;   /* page background */
  --beige:        #EFE4D2;   /* section / card background */
  --beige-dark:   #D9C6A3;   /* borders, dividers */
  --white:        #FFFFFF;
  --ink:          #3B2E22;   /* primary text, warm near-black */
  --ink-soft:     #6B5C48;   /* secondary text */
  --gold:         #A9782F;   /* zari-thread accent, used sparingly */
  --gold-deep:    #8C5F22;
  --maroon:       #7A2E2E;   /* rare accent, links/hover only */

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body:    "Jost", "Segoe UI", sans-serif;

  --radius: 2px;
  --container: 1180px;
}

/* =========================================================
   1. RESET / BASE
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.15;
}
p{ margin: 0 0 1em; }
button, input, select, textarea{ font-family: inherit; font-size: inherit; }

:focus-visible{
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

/* =========================================================
   2. SIGNATURE ELEMENT — temple-border motif
   A slim repeating zig-zag strip, in the spirit of the
   temple ("gopuram") borders woven into Venkatagiri and
   Dharmavaram silk sarees. Used as a section divider and to
   frame the hero enquiry card.
   ========================================================= */
.temple-border{
  width: 100%;
  height: 14px;
  background-image:
    linear-gradient(135deg, var(--gold) 25%, transparent 25%),
    linear-gradient(225deg, var(--gold) 25%, transparent 25%);
  background-position: 0 0;
  background-size: 14px 14px;
  background-repeat: repeat-x;
  opacity: .85;
}
.temple-border.flip{ transform: scaleY(-1); }

/* =========================================================
   3. SITE HEADER
   ========================================================= */
.site-header{
  background: var(--white);
  border-bottom: 1px solid var(--beige-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.site-branding{
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.site-title{
  margin: 0;
  font-size: 26px;
  letter-spacing: .12em;
}
.site-title a{ color: var(--ink); }
.site-tagline{
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
}
.primary-nav ul{
  display: flex;
  gap: 32px;
}
.primary-nav a{
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.primary-nav a:hover{ color: var(--gold-deep); }
.nav-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: .04em;
}
.nav-whatsapp:hover{ background: var(--gold-deep); color: var(--white) !important; }
.menu-toggle{ display: none; }

/* =========================================================
   4. HERO SECTION + ENQUIRY FORM
   ========================================================= */
.hero{
  background: var(--beige);
  position: relative;
  overflow: hidden;
}
.hero .container{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-top: 74px;
  padding-bottom: 74px;
}
.hero-copy h1{
  font-size: 52px;
  max-width: 12ch;
}
.hero-copy .lede{
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 26px;
}
.hero-stats{
  display: flex;
  gap: 34px;
  margin-top: 34px;
}
.hero-stats div strong{
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-deep);
}
.hero-stats div span{
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* enquiry card */
.enquiry-card{
  background: var(--white);
  padding: 6px;
  box-shadow: 0 24px 48px -24px rgba(59,46,34,.28);
}
.enquiry-card-inner{
  padding: 34px 32px 30px;
}
.enquiry-card h2{
  font-size: 24px;
  margin-bottom: 4px;
}
.enquiry-card .sub{
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.field{
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select{
  border: 1px solid var(--beige-dark);
  background: var(--ivory);
  padding: 12px 13px;
  border-radius: var(--radius);
  color: var(--ink);
}
.field input:focus,
.field select:focus{
  border-color: var(--gold);
  background: var(--white);
}
.field-error{
  font-size: 12px;
  color: var(--maroon);
  min-height: 1em;
}
.enquiry-submit{
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--gold-deep);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s ease, transform .15s ease;
}
.enquiry-submit:hover{ background: #7A4E1B; }
.enquiry-submit:active{ transform: translateY(1px); }
.enquiry-note{
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}
.enquiry-note a{ color: var(--gold-deep); text-decoration: underline; }

/* =========================================================
   5. COLLECTIONS / WHY / TESTIMONIAL / CONTACT SECTIONS
   ========================================================= */
section{ padding: 74px 0; }
.section-head{
  max-width: 640px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-head h2{ font-size: 36px; }
.section-head p{ color: var(--ink-soft); }

.collections-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.collection-card{
  background: var(--white);
  border: 1px solid var(--beige-dark);
  padding: 30px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.collection-card:hover{
  border-color: var(--gold);
  transform: translateY(-4px);
}
.collection-card .mark{
  width: 38px; height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.collection-card h3{ font-size: 20px; }
.collection-card p{ color: var(--ink-soft); font-size: 14.5px; margin-bottom: 0; }

.why-womantra{ background: var(--beige); }
.why-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.why-item{ text-align: center; }
.why-item .num{
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold-deep);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.why-item h3{ font-size: 18px; }
.why-item p{ font-size: 14px; color: var(--ink-soft); margin-bottom: 0; }

.contact-strip{
  background: var(--ink);
  color: var(--ivory);
}
.contact-strip .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.contact-strip h2{ color: var(--white); font-size: 28px; margin-bottom: 6px; }
.contact-strip p{ color: #D9C6A3; margin-bottom: 0; }
.contact-strip .nav-whatsapp{ white-space: nowrap; }

/* =========================================================
   6. FOOTER
   ========================================================= */
.site-footer{
  background: var(--ivory);
  padding: 46px 0 30px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-grid h4{
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.footer-grid p, .footer-grid a{ color: var(--ink-soft); font-size: 14.5px; }
.footer-grid li{ margin-bottom: 8px; }
.footer-bottom{
  border-top: 1px solid var(--beige-dark);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* =========================================================
   7. GENERIC PAGE / SINGLE / BLOG FALLBACKS
   ========================================================= */
.page-content, .single-content, .archive-content{
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 28px 90px;
}
.page-content h1, .single-content h1{ font-size: 40px; }
.entry-meta{
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

/* =========================================================
   8. RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; padding-top: 46px; padding-bottom: 46px; }
  .hero-copy h1{ font-size: 38px; max-width: none; }
  .collections-grid{ grid-template-columns: 1fr 1fr; }
  .why-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .primary-nav{ display: none; }
}
@media (max-width: 560px){
  .collections-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .site-header .wrap{ padding: 14px 20px; }
  .hero-stats{ gap: 22px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
}
