/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Luxury Child Theme for Astra - Premium Indian Spices Exporter
Author: Niryat Business / Khushboo
Author URI: https://niryatbusiness.com/
Template: astra
Version: 2.0.0
Text Domain: astra-child
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ========================================================
   GLOBAL DESIGN TOKENS & ROOT VARIABLES
   ======================================================== */
:root {
  --primary-gold: #D97706;
  --primary-gold-hover: #B45309;
  --primary-gold-light: #FEF3C7;
  --gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --gold-glow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);

  --spice-red: #C0392B;
  --spice-red-gradient: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  --spice-green: #15803D;

  --dark-navy: #0F172A;
  --dark-card: #1E293B;
  --dark-charcoal: #18181B;

  --bg-cream: #FDFBF7;
  --bg-cream-alt: #F8F5EE;
  --bg-white: #FFFFFF;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  --border-light: rgba(226, 232, 240, 0.8);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-gold: rgba(217, 119, 6, 0.3);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.07), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.15), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================
   BASE RESETS & TYPOGRAPHY
   ======================================================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Astra Safe Reset */
.ast-container,
.site-content,
#primary {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.spice-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  box-sizing: border-box;
}

/* ========================================================
   SECTION HEADINGS & BADGES
   ======================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-gold-light);
  color: var(--primary-gold-hover);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(217, 119, 6, 0.2);
  margin-bottom: 14px;
}

.section-badge i {
  font-size: 12px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================================
   BUTTON DESIGN SYSTEM
   ======================================================== */
.btn-spice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  box-sizing: border-box;
}

.btn-spice-primary {
  background: var(--gold-gradient);
  color: #FFFFFF !important;
  box-shadow: var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.btn-spice-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(245, 158, 11, 0.5);
  color: #FFFFFF !important;
}

.btn-spice-secondary {
  background: #FFFFFF;
  color: var(--text-primary) !important;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

.btn-spice-secondary:hover {
  background: var(--dark-navy);
  color: #FFFFFF !important;
  border-color: var(--dark-navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.btn-spice-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-navy);
  color: #FFFFFF !important;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-right: 12px;
}

.btn-spice-quote:hover {
  background: var(--primary-gold);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.btn-spice-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF !important;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-spice-whatsapp:hover {
  background: #1EBE5B;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* ========================================================
   FLOATING WHATSAPP QUICK BUTTON (GLOBAL)
   ======================================================== */
.floating-spice-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: #25D366;
  color: #FFFFFF !important;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-spice-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: #FFFFFF !important;
}

.floating-spice-whatsapp::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseRipple 2.2s infinite;
  opacity: 0.8;
}

@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ========================================================
   GLOBAL ANIMATIONS & UTILITIES
   ======================================================== */
.spice-fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.spice-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card hover glow */
.card-spice {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.card-spice:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-gold);
}

/* ========================================================
   RESPONSIVENESS
   ======================================================== */
@media (max-width: 768px) {
  .spice-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .floating-spice-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}
