/*
Theme Name: أحلام مشتركة (Dreams Arabic Book)
Theme URI: https://jesralkalimat.com/dreams-book
Author: دار جسر الكلمات
Author URI: https://jesralkalimat.com
Description: قالب ووردبريس ملكي وفاخر مخصص لكتاب وسيرة "أحلام مشتركة – قصة نجاح هدى جناحي" بقلم فوزي علي تلفت. مصمم بدقة وفق نظام Google Stitch بنمط Royal Arabian Editorial، متكامل مع لوحة تحكم ووردبريس لإدارة وحجز الطلبات.
Version: 1.0.2
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: dreams-book
Tags: rtl-language-support, dark-theme, custom-colors, custom-menu, featured-images, theme-options, translation-ready, one-column, grid-layout
*/

/* ==========================================================================
   Root Design System Variables (Royal Arabian Editorial)
   ========================================================================== */
:root {
  --color-canvas-base: #03182d;
  --color-surface-lowest: #0e0e0c;
  --color-surface-container: #1f201d;
  --color-surface-high: #2a2a27;
  --color-primary: #b5c8e4;
  --color-secondary-gold: #ddb64f;
  --color-secondary-gold-dark: #c69a3d;
  --color-secondary-accent: #eac259;
  --color-text-light: #f5f3ee;
  --color-text-muted: #c4c6cd;
  --color-outline: #8e9197;
  --color-crimson: #b82d36;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: #03182d;
  color: #e4e2dd;
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

::selection {
  background-color: #eac259;
  color: #03182d;
}

/* Material Symbols Outlined settings */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* Luxury Gold Gradients & Visual Effects */
.gold-gradient-bg {
  background: linear-gradient(135deg, #ddb64f 0%, #c69a3d 100%);
}

.gold-border-gradient {
  border-image: linear-gradient(to bottom, rgba(221, 182, 79, 0.45), rgba(221, 182, 79, 0.05)) 1;
}

.perspective-mockup {
  perspective: 1200px;
}

.book-3d-transform {
  transform: rotateY(-12deg) rotateX(4deg) translateZ(10px);
  box-shadow: -20px 25px 40px -10px rgba(0, 0, 0, 0.8), 0 0 50px rgba(221, 182, 79, 0.2);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}

.book-3d-transform:hover {
  transform: rotateY(-4deg) rotateX(2deg) scale(1.02);
  box-shadow: -25px 30px 50px -8px rgba(0, 0, 0, 0.85), 0 0 65px rgba(221, 182, 79, 0.32);
}

.crimson-glow {
  box-shadow: 0 0 24px rgba(184, 45, 54, 0.35);
}

.gold-ambient-radial {
  background: radial-gradient(ellipse at 50% 0%, rgba(221, 182, 79, 0.12) 0%, transparent 70%);
}

/* WordPress Core Alignment Fallbacks */
.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);
}

.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;
  width: 1px;
  word-wrap: normal !important;
}
