/*
Theme Name: Al Quran Guide
Theme URI: https://alquran.guide
Description: A production-ready Holy Quran reading and Islamic resources theme. Ported from Nuxt.js to WordPress with 100% UI fidelity.
Version: 1.0.0
Author: AlQuran Guide Team
Author URI: https://alquran.guide
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alquran-guide
*/

/* --- Global Variables (Sync with Nuxt project) --- */
:root {
  --primary-color: #0d3b2e;
  --primary-light: #165241;
  --primary-dark: #07251d;
  --accent-color: #c9a227;
  --accent-light: #dfb841;
  --text-color: #2d3436;
  --text-muted: #636e72;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --border-color: #e9ecef;
  --header-height: 64px;
  --sidebar-width: 280px;
  --transition-base: all 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
}

.dark {
  --bg-color: #051410;
  --card-bg: #0a251e;
  --text-color: #e0e0e0;
  --text-muted: #a0a0a0;
  --border-color: #1a3d34;
  --primary-light: #1a4a3b;
}

/* Base resets and WordPress defaults */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

/* WordPress Admin Bar adjustment */
body.admin-bar .header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}
