/* Astro Naksh — Premium Vedic Aesthetic Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #0A0202;
  --bg-card: #160608;
  --bg-card-hover: #22090C;
  --border-color: rgba(139, 26, 46, 0.35);
  --border-gold: rgba(201, 146, 26, 0.4);
  --gold-primary: #C9921A;
  --gold-light: #F4C453;
  --orange-accent: #E8621A;
  --text-main: #F5E6D0;
  --text-muted: rgba(245, 230, 208, 0.65);
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 2, 2, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--orange-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(201, 146, 26, 0.3);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #C9921A, #E8621A);
  color: #0A0202;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(232, 98, 26, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 98, 26, 0.4);
  background: linear-gradient(135deg, #F4C453, #E8621A);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(22, 6, 8, 0.8);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 146, 26, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5E6D0 60%, #C9921A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Live Panchanga Widget */
.panchanga-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  margin: 3rem auto 0;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  text-align: left;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.card-title {
  font-family: var(--font-serif);
  color: var(--gold-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.panchanga-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.panchanga-item {
  background: rgba(10, 2, 2, 0.6);
  border: 1px solid rgba(139, 26, 46, 0.2);
  padding: 1rem;
  border-radius: 0.75rem;
}

.panchanga-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange-accent);
  margin-bottom: 0.25rem;
}

.panchanga-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.panchanga-subvalue {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Feature Grid */
.features {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(201, 146, 26, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

.feature-box h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Content Page Layout (Privacy / Support) */
.page-container {
  max-width: 840px;
  margin: 4rem auto 6rem;
  padding: 0 1.5rem;
}

.page-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.meta-info {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--orange-accent);
  margin-bottom: 1rem;
}

.content-section p, .content-section ul {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-section ul {
  padding-left: 1.5rem;
}

.content-section li {
  margin-bottom: 0.5rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

/* Contact Form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(10, 2, 2, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(201, 146, 26, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: #060101;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(139, 26, 46, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .nav-links { display: none; }
}
