/* ==========================================================================
   GLOBAL STYLES & DESIGN TOKENS - DeepLaxmi Textiles
   Traditional motifs, rich colors, gold accents, elegant typography
   ========================================================================== */

/* Import Google Fonts: Playfair Display (Serif Headings) & Poppins (Sans-serif Body) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  /* Color Palette (Logo Themed) */
  --primary-red: #C62828;      /* Primary Deep Red from logo text */
  --primary-red-hover: #A51D1D;
  --secondary-gold: #D4A017;   /* Secondary Gold/Yellow from diya flame */
  --secondary-gold-hover: #B8860B;
  --accent-orange: #E8871E;    /* Accent Saffron/Orange from diya body */
  
  /* Neutral Backgrounds & Tones */
  --bg-light: #FFF8F0;         /* Cream/Beige page background */
  --bg-warm: #FDF2E9;          /* Light saffron alternate section background */
  --bg-white: #FFFFFF;
  --bg-dark: #1F0D05;          /* Rich maroon-black for dark section/footer */
  
  /* Text Tones */
  --text-dark: #3B1F0B;        /* Earthy dark brown body text */
  --text-muted: #6B4226;       /* Muted brown for subheadings */
  --text-light: #FFF8F0;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 4px rgba(59, 31, 11, 0.05);
  --shadow-md: 0 8px 16px rgba(59, 31, 11, 0.08);
  --shadow-lg: 0 16px 32px rgba(59, 31, 11, 0.12);
  --glass-bg: rgba(255, 248, 240, 0.85);
  --glass-border: rgba(212, 160, 23, 0.15);
  
  /* Borders & Radii */
  --border-gold: 1px solid rgba(212, 160, 23, 0.3);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Layout Spacing */
  --section-padding: 80px 24px;
  --section-padding-mobile: 48px 16px;
  --max-width: 1200px;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1.3;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

/* Underline design with a traditional Diya-like golden leaf accent */
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-gold);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Common Interactive Elements */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--bg-light);
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198, 40, 40, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background-color: var(--primary-red);
  color: var(--bg-light);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--secondary-gold);
  color: var(--bg-dark);
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.2);
}

.btn-gold:hover {
  background-color: var(--secondary-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 160, 23, 0.35);
}

/* Traditional Gold Border Accent Container */
.gold-border-box {
  border: var(--border-gold);
  padding: 24px;
  border-radius: var(--radius-md);
  position: relative;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.gold-border-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-gold);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red-hover);
}
