/* ===================================================================
   VrindaGo - Classic Design System
   Elegant, timeless spiritual tourism platform
   =================================================================== */

:root {
  /* ===== Brand Colors - Classic & Spiritual ===== */
  --primary: #1e3a5f;           /* Deep Blue - Trust & Spirituality */
  --primary-light: #2d5a8c;
  --primary-dark: #152840;
  
  --secondary: #d4a574;         /* Warm Gold - Spiritual Warmth */
  --secondary-light: #e8b88a;
  --secondary-dark: #b89060;
  
  --accent: #8b6f47;            /* Bronze - Elegance */
  
  /* ===== Neutral Colors ===== */
  --white: #ffffff;
  --off-white: #fafaf9;
  --light-gray: #f5f5f3;
  --medium-gray: #e0ddd8;
  --dark-gray: #5a5653;
  --black: #1a1714;
  
  /* ===== Semantic Colors ===== */
  --success: #2d7f4f;
  --warning: #c97e27;
  --danger: #a63d39;
  --info: #2d5a8c;
  
  /* ===== Typography - Classic ===== */
  --font-serif: 'Georgia', 'Garamond', serif;
  --font-sans: 'Segoe UI', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Courier New', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  
  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  
  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;
  --lh-loose: 2;
  
  /* ===== Spacing Scale ===== */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* ===== Border Radius - Classic ===== */
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  
  /* ===== Shadows - Subtle & Elegant ===== */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* ===== Transitions ===== */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* ===== Z-Index Scale ===== */
  --z-hide: -1;
  --z-auto: auto;
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1050;
  --z-tooltip: 1070;
}

/* ===================================================================
   Reset & Base Styles
   =================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ===================================================================
   Typography
   =================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--primary);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
}

p {
  margin-bottom: var(--space-4);
  color: var(--dark-gray);
  line-height: var(--lh-relaxed);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

strong, b {
  font-weight: var(--fw-bold);
}

em, i {
  font-style: italic;
}

/* ===================================================================
   Lists
   =================================================================== */

ul, ol {
  margin-bottom: var(--space-4);
  margin-left: var(--space-6);
  color: var(--dark-gray);
  line-height: var(--lh-relaxed);
}

li {
  margin-bottom: var(--space-2);
}

/* ===================================================================
   Forms
   =================================================================== */

input,
textarea,
select {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--black);
  transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: var(--medium-gray);
}

button {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-block;
}

/* Button Variants */
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--primary);
}

.btn-ghost:hover {
  background-color: var(--light-gray);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===================================================================
   Layout
   =================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.col {
  flex: 1;
  min-width: 250px;
}

.col-full {
  flex: 0 0 100%;
}

.col-half {
  flex: 0 0 calc(50% - var(--space-3));
}

.col-third {
  flex: 0 0 calc(33.333% - var(--space-4));
}

/* ===================================================================
   Cards
   =================================================================== */

.card {
  background-color: var(--white);
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.card-image {
  width: 100%;
  height: 200px;
  background-color: var(--light-gray);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.card-text {
  color: var(--dark-gray);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

/* ===================================================================
   Utilities
   =================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

.bg-primary { background-color: var(--primary); color: var(--white); }
.bg-secondary { background-color: var(--secondary); color: var(--white); }
.bg-light-gray { background-color: var(--light-gray); }
.bg-off-white { background-color: var(--off-white); }

.font-serif { font-family: var(--font-serif); }
.font-bold { font-weight: var(--fw-bold); }
.font-semibold { font-weight: var(--fw-semibold); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.transition { transition: all var(--transition-base); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
