/*
Theme Name: Rajeshwari Crystal Park
Theme URI: https://shrirajeshwariproperties.com
Author: Shri Rajeshwari Properties
Author URI: https://shrirajeshwariproperties.com
Description: Premium Gated Community Residential Plotted Layout Theme for Rajeshwari Crystal Park, Hubballi. Features 100% HDUDA approved residential plots, modern architecture, interactive SVG masterplan, blog engine, lead generation forms, and responsive corporate design.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: crystal-park
Tags: real-estate, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark-theme
*/

/* ==========================================================================
   WordPress Core Classes & Base Typography Support
   ========================================================================== */

:root {
  --color-brand-dark: #0D1113;
  --color-brand-surface: #141A1D;
  --color-brand-surface-elevated: #1A2226;
  --color-brand-champagne: #C5A880;
  --color-brand-champagne-light: #E3D2BA;
  --color-brand-gold: #D4AF37;
  --color-brand-gold-light: #FFF2A3;
  --color-brand-ivory: #F7F7F4;
  --color-brand-green: #234B3B;
  --color-brand-maroon: #5E1934;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-brand-dark);
  color: #F3F4F6;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* Alignments */
.alignnone {
  margin: 1.5em 0;
}
.aligncenter, div.aligncenter {
  display: block;
  margin: 1.5em auto;
  text-align: center;
}
.alignright {
  float: right;
  margin: 0.5em 0 1.5em 1.5em;
}
.alignleft {
  float: left;
  margin: 0.5em 1.5em 1.5em 0;
}
.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Captions */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5em;
  text-align: center;
  background: var(--color-brand-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px;
}
.wp-caption img {
  border-radius: 6px;
  height: auto;
  max-width: 100%;
}
.wp-caption-text {
  font-size: 0.825rem;
  color: #9CA3AF;
  margin-top: 6px;
  font-style: italic;
}

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* WordPress Standard Block Content */
.entry-content {
  line-height: 1.8;
  font-size: 1.05rem;
  color: #D1D5DB;
}
.entry-content p {
  margin-bottom: 1.6em;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #FFFFFF;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.8em;
  letter-spacing: -0.01em;
}
.entry-content h2 {
  font-size: 1.85rem;
  color: var(--color-brand-gold-light);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 0.4em;
}
.entry-content h3 {
  font-size: 1.45rem;
}
.entry-content a {
  color: var(--color-brand-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.entry-content a:hover {
  color: var(--color-brand-gold-light);
}
.entry-content blockquote {
  border-left: 4px solid var(--color-brand-gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(20, 26, 29, 0.6);
  border-radius: 0 8px 8px 0;
  color: #E5E7EB;
  font-style: italic;
}
.entry-content ul,
.entry-content ol {
  margin: 1.5em 0;
  padding-left: 1.8em;
}
.entry-content li {
  margin-bottom: 0.6em;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  background: var(--color-brand-surface);
  border-radius: 8px;
  overflow: hidden;
}
.entry-content th,
.entry-content td {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.entry-content th {
  background: var(--color-brand-surface-elevated);
  color: var(--color-brand-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* Pagination */
.pagination, .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 3rem 0;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-brand-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #D1D5DB;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.page-numbers.current,
.page-numbers:hover {
  background: linear-gradient(135deg, #FFDF73, #D4AF37, #AA7C11);
  color: #0D1113;
  border-color: #D4AF37;
  font-weight: 700;
}

/* Comments */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.comment-body {
  background: var(--color-brand-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.comment-author img {
  border-radius: 50%;
  border: 2px solid var(--color-brand-gold);
}
.comment-metadata a {
  color: #9CA3AF;
  font-size: 0.8rem;
  text-decoration: none;
}
.reply a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brand-gold);
  text-decoration: none;
}
