/* ═══════════════════════════════════════════
   OnlyMantra Theme - Original Design
   Version: 2.0.0
   ═══════════════════════════════════════════ */

/* ═══ CSS VARIABLES ═══ */
:root {
  --saffron: #FF6B00;
  --saffron-light: #FFF3E6;
  --saffron-dark: #E55A00;
  --maroon: #8B1A1A;
  --gold: #D4A017;
  --bg: #FAFAFA;
  --bg-white: #FFFFFF;
  --bg-warm: #FFF8F0;
  --text: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #8A8A8A;
  --border: #E8E8E8;
  --border-light: #F0F0F0;
  --green: #2E7D32;
  --blue: #1565C0;
  --red: #C62828;
  --purple: #6A1B9A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 16px;
}

/* ═══ RESET & BASE ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══ HEADER ═══ */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--saffron);
}
.logo-icon {
  font-size: 28px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--saffron);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-search {
  width: 200px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
}
.header-search:focus {
  border-color: var(--saffron);
}
.lang-btn {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}
.signin-btn {
  padding: 8px 16px;
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.signin-btn:hover {
  background: var(--saffron-dark);
}

/* ═══ HERO ═══ */
.hero {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D0 100%);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-content {
  flex: 1;
}
.hero h1 {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.hero-search {
  margin-bottom: 16px;
}
.search-box-hero {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  max-width: 560px;
  transition: border-color 0.2s;
}
.search-box-hero:focus-within {
  border-color: var(--saffron);
}
.search-icon {
  padding: 0 12px;
  font-size: 18px;
  color: var(--text-muted);
}
.search-input-hero {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 12px 0;
  background: transparent;
}
.search-btn-hero {
  padding: 12px 24px;
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.search-btn-hero:hover {
  background: var(--saffron-dark);
}
.popular-searches {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.popular-label {
  font-size: 13px;
  color: var(--text-muted);
}
.popular-searches a {
  font-size: 13px;
  color: var(--saffron);
  font-weight: 500;
  padding: 4px 12px;
  background: rgba(255,107,0,0.1);
  border-radius: 20px;
  transition: all 0.2s;
}
.popular-searches a:hover {
  background: var(--saffron);
  color: #fff;
}
.hero-illustration {
  flex: 0 0 400px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, rgba(212,160,23,0.1) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-temple {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.3;
}

/* ═══ QUICK ACTIONS ═══ */
.quick-actions {
  padding: 40px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}
.actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.action-card:hover {
  border-color: var(--saffron);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.action-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
}
.chant-icon { background: #FFF3E6; }
.pray-icon { background: #E8F5E9; }
.learn-icon { background: #E3F2FD; }
.explore-icon { background: #F3E5F5; }
.action-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.action-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ SECTION HEADER ═══ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section-header h2 {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
}
.view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--saffron);
}
.view-all:hover {
  text-decoration: underline;
}

/* ═══ TODAY'S SPIRITUAL JOURNEY ═══ */
.today-section {
  padding: 48px 0;
}
.today-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.today-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: all 0.2s;
}
.today-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.today-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}
.today-card h4 {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.today-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.today-meta {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  position: absolute;
  bottom: 20px;
  right: 20px;
  transition: transform 0.2s;
}
.play-btn:hover {
  transform: scale(1.1);
}
.explore-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--saffron);
}

/* ═══ WHAT DO YOU SEEK ═══ */
.seek-section {
  padding: 48px 0;
  background: var(--bg-white);
}
.seek-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
}
.seek-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s;
}
.seek-item:hover {
  background: var(--saffron-light);
}
.seek-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
}
.seek-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* ═══ EXPLORE THE DIVINE ═══ */
.deities-section {
  padding: 48px 0;
}
.deities-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}
.deity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s;
}
.deity-item:hover {
  background: var(--saffron-light);
}
.deity-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
}
.deity-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.deity-item.more .deity-icon {
  background: var(--saffron-light);
  color: var(--saffron);
}

/* ═══ POPULAR CHANTS ═══ */
.popular-section {
  padding: 48px 0;
  background: var(--bg-white);
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.popular-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.popular-card:hover {
  box-shadow: var(--shadow-sm);
}
.popular-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--saffron-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.popular-info {
  flex: 1;
  min-width: 0;
}
.popular-info h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.popular-info p {
  font-size: 12px;
  color: var(--text-muted);
}
.play-btn-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ═══ LEARN THE MEANING ═══ */
.meaning-section {
  padding: 48px 0;
}
.meaning-card {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D0 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.meaning-left {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.om-symbol {
  font-size: 72px;
  color: var(--saffron);
  font-family: 'Noto Sans Devanagari', sans-serif;
}
.meaning-text h3 {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}
.meaning-transliteration {
  font-size: 16px;
  color: var(--saffron);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.meaning-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.meaning-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg-white);
  border: 2px solid var(--saffron);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--saffron);
  transition: all 0.2s;
}
.meaning-btn:hover {
  background: var(--saffron);
  color: #fff;
}
.meaning-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.meaning-features span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ═══ THREE COLUMN SECTION ═══ */
.three-col-section {
  padding: 48px 0;
  background: var(--bg-white);
}
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.col-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
}
.col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.col-header h3 {
  font-size: 16px;
  font-weight: 700;
}
.view-all-sm {
  font-size: 13px;
  font-weight: 600;
  color: var(--saffron);
}
.col-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.col-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-white);
  border-radius: 8px;
  transition: all 0.2s;
}
.col-item:hover {
  box-shadow: var(--shadow-sm);
}
.col-item-icon {
  font-size: 20px;
}
.col-item-text {
  flex: 1;
}
.col-item-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.col-item-text p {
  font-size: 12px;
  color: var(--text-muted);
}
.col-arrow {
  color: var(--text-muted);
  font-size: 14px;
}

/* Festival Card */
.festival-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 8px;
}
.festival-card h4 {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.festival-date {
  font-size: 14px;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 12px;
}
.festival-list {
  list-style: none;
  margin-bottom: 16px;
}
.festival-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.festival-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--saffron);
}
.festival-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--saffron);
}

/* Journey Card */
.journey-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.journey-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-white);
  border-radius: 8px;
}
.journey-icon {
  font-size: 20px;
}
.journey-text {
  flex: 1;
}
.journey-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.journey-text p {
  font-size: 12px;
  color: var(--text-muted);
}
.journey-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}
.progress-bar {
  width: 60px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--saffron);
  border-radius: 3px;
}
.journey-progress span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.completed {
  color: var(--green) !important;
}

/* ═══ TRUST SECTION ═══ */
.trust-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
}
.trust-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}
.trust-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: #1A1A1A;
  color: #fff;
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-brand {
  max-width: 300px;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--saffron);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 13px;
  color: #999;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #666;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-illustration { display: none; }
  .hero h1 { font-size: 32px; }
  .seek-grid { grid-template-columns: repeat(5, 1fr); }
  .deities-grid { grid-template-columns: repeat(5, 1fr); }
  .three-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-search { display: none; }
  .hero { padding: 40px 20px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .search-box-hero { flex-direction: column; padding: 8px; }
  .search-input-hero { width: 100%; padding: 12px; }
  .search-btn-hero { width: 100%; margin-top: 8px; }
  .popular-searches { justify-content: center; }
  .actions-grid { grid-template-columns: repeat(2, 1fr); }
  .today-grid { grid-template-columns: 1fr; }
  .seek-grid { grid-template-columns: repeat(3, 1fr); }
  .deities-grid { grid-template-columns: repeat(5, 1fr); }
  .popular-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { font-size: 12px; }
}
