/*
Theme Name: OM Astro AI Theme
Theme URI: https://omastro.ai/theme
Author: Om Astro AI Team
Author URI: https://omastro.ai
Description: A premium, ultra-responsive WordPress theme designed specifically for integration with the OM Astro AI Vedic Astrology ecosystem. Features highly-optimized layouts, customizer controls, page title overrides, and gorgeous typography.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omastro-theme
*/

/* ═══════════════════════════════════════════════════════════
   OM ASTRO AI THEME — CORE DESIGN SYSTEM
   ════════════════════════════════════════════════════════════ */

:root {
  --bg-dark: #0D0500;
  --bg-dark-card: rgba(31, 13, 0, 0.85);
  --saffron: #FF6B00;
  --saffron-gradient: linear-gradient(135deg, #FF6B00, #FF8C00, #FFB300);
  --gold: #D4AF37;
  --gold-gradient: linear-gradient(135deg, #B8860B, #D4A017, #FFD700);
  --border-gold: rgba(200, 160, 48, 0.35);
  --text-white: #ffffff;
  --text-muted: #d0c0a8;
  --glow-saffron: 0 0 15px rgba(255, 107, 0, 0.35);
  --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* Reset and Globals */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Rajdhani', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Cosmic Sacred Geometry Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(255, 107, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(184, 134, 11, 0.05) 0%, transparent 50%);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--saffron);
  text-shadow: var(--glow-saffron);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

/* Layout Container */
.om-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Premium Segmented Layout Blocks */
.site-content {
  padding: 40px 0;
  z-index: 10;
  position: relative;
}

/* Standard WP Alignments */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px auto; text-align: center; }
.alignwide { max-width: 1400px; }
.alignfull { width: 100vw; max-width: 100vw; position: relative; margin-left: -50vw; left: 50%; }

/* Navigation Styles */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-menu a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-menu li.current-menu-item a,
.nav-menu a:hover {
  color: #fff;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  box-shadow: var(--glow-saffron);
}

/* Standard WP Post Cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.post-card {
  background: var(--bg-dark-card);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-dark);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--saffron);
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.15);
}

.post-meta {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
}

.post-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: var(--saffron-gradient);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: var(--glow-saffron);
  transition: all 0.25s ease;
}

.read-more-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
  color: #fff;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination .page-numbers {
  padding: 8px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  background: var(--bg-dark-card);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--saffron-gradient);
  color: #fff;
  border-color: var(--saffron);
  box-shadow: var(--glow-saffron);
}

/* Responsive adjust */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .alignfull { margin-left: 0; left: 0; width: 100%; }
}
