/*
Theme Name: Mashael - Luxury Tents & Equipment Rentals
Theme URI: https://mashael-riyadh.com
Author: Mashael
Description: Professional WordPress theme for luxury tent and equipment rentals
Version: 2.0.0
License: GPL v2 or later
Text Domain: mashael
Domain Path: /languages
*/

/* ========================================
   1. DESIGN TOKENS
   ======================================== */

:root {
    /* Primary Palette - Deep Navy */
    --primary: #091B30;
    --primary-light: #0F2847;
    --primary-lighter: #163560;

    /* Gold Palette - Refined Luxury */
    --gold: #C8A355;
    --gold-light: #D9BA6E;
    --gold-dark: #A6883F;
    --gold-muted: rgba(200, 163, 85, 0.15);
    --gold-glow: 0 4px 25px rgba(200, 163, 85, 0.35);

    /* Neutrals */
    --text: #1B1F2B;
    --text-secondary: #4A5568;
    --text-muted: #7A8599;
    --text-on-dark: #F0F2F7;
    --text-on-dark-muted: #A0AABE;

    /* Surfaces */
    --bg: #FFFFFF;
    --bg-alt: #F7F6F3;
    --bg-warm: #FAF8F5;
    --bg-dark: var(--primary);

    /* Borders */
    --border: #E5E3DE;
    --border-light: #F0EDE8;

    /* Elevation (Shadow System) */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.09);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);

    /* Typography */
    --font-heading: 'Tajawal', sans-serif;
    --font-body: 'Cairo', sans-serif;
    --leading: 1.7;

    /* Sizing */
    --container: 1200px;
    --section-py: 5.5rem;
    --header-h: 100px;

    /* Radius */
    --r-sm: 6px;
    --r: 12px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-full: 9999px;

    /* Motion */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.35s;
    --dur-slow: 0.7s;
}

/* ========================================
   2. RESET & BASE
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: var(--leading);
    color: var(--text);
    background: var(--bg);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

ul, ol { list-style: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ========================================
   4. LAYOUT
   ======================================== */

.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

section {
    padding: var(--section-py) 0;
    position: relative;
}

/* ========================================
   5. HEADER & NAVIGATION
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    transition: all var(--dur) var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.glass-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-light);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
    gap: 2rem;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
}

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* Navigation */
.site-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    display: block;
    position: relative;
    border-radius: var(--r-sm);
    transition: all var(--dur) var(--ease);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 1rem;
    left: 1rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--dur) var(--ease);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu .current-menu-item a,
.nav-menu a.active {
    color: var(--primary);
    font-weight: 700;
}

/* Header CTA */
.header-cta {
    flex-shrink: 0;
}

.header-cta .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    color: var(--primary);
    font-size: 1.4rem;
    padding: 0.5rem;
    transition: color var(--dur) var(--ease);
}

.menu-toggle:hover {
    color: var(--gold);
}

/* ========================================
   6. BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--gold-glow);
}

.btn-primary {
    background: var(--primary);
    color: var(--gold-light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--bg-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.05rem 2.8rem;
    font-size: 1.05rem;
}

.btn i {
    font-size: 0.85em;
    transition: transform var(--dur) var(--ease);
}

.btn:hover i.fa-arrow-left {
    transform: translateX(-3px);
}

/* ========================================
   7. SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.section-tag::before,
.section-tag::after {
    content: '';
    width: 30px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0.75rem auto 0;
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Dark section headers */
.bg-dark .section-tag { color: var(--gold-light); }
.bg-dark .section-title { color: #fff; }
.bg-dark .section-title::after { background: linear-gradient(90deg, var(--gold), transparent); }
.bg-dark .section-subtitle { color: var(--text-on-dark-muted); }

/* ========================================
   8. CARDS
   ======================================== */

.card {
    background: var(--bg);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--dur) var(--ease);
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease);
}

.card:hover .card-image img {
    transform: scale(1.06);
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.card:hover .card-image::after {
    opacity: 1;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.card-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.card-content .btn {
    margin-top: 0.5rem;
}

/* ========================================
   9. FEATURE CARDS
   ======================================== */

.feature-card {
    background: var(--bg);
    padding: 2.5rem 2rem;
    border-radius: var(--r);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--dur) var(--ease);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: var(--r) var(--r) 0 0;
    transform: scaleX(0);
    transition: transform var(--dur) var(--ease);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--r);
    background: var(--gold-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--gold);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ========================================
   10. STATS
   ======================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg);
    border-radius: var(--r);
    border: 1px solid var(--border-light);
    transition: all var(--dur) var(--ease);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: var(--gold);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ========================================
   11. ABOUT SECTION
   ======================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: -2rem;
    bottom: -2rem;
    border: 3px solid var(--gold);
    border-radius: var(--r-lg);
    z-index: -1;
    opacity: 0.4;
}

.about-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: var(--primary);
    padding: 1.25rem 1.75rem;
    border-radius: var(--r);
    box-shadow: var(--shadow-xl);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(200,163,85,0.2);
}

.about-badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    font-family: var(--font-heading);
}

.about-badge-text {
    font-size: 0.85rem;
    color: var(--text-on-dark-muted);
    line-height: 1.4;
    font-weight: 600;
}

.about-content .section-header {
    text-align: right;
    margin-bottom: 1.5rem;
}

.about-content .section-title::after {
    margin: 0.75rem 0 0;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.about-mini-card {
    background: var(--bg-warm);
    border-radius: var(--r);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    transition: all var(--dur) var(--ease);
}

.about-mini-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.about-mini-card .icon {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-mini-card h4 {
    color: var(--primary);
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.about-mini-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========================================
   12. CTA SECTION
   ======================================== */

.section-cta-block {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
    padding: var(--section-py) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(200,163,85,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-inner h2 {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-inner p {
    color: var(--text-on-dark-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-inner .btn-gold {
    font-size: 1rem;
    padding: 1rem 2.5rem;
}

/* ========================================
   13. FOOTER
   ======================================== */

.site-footer {
    background: var(--primary);
    color: var(--text-on-dark);
    padding: 4.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-column h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-about p {
    color: var(--text-on-dark-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
}

.footer-contact-info i {
    color: var(--gold);
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-contact-info a {
    color: var(--text-on-dark-muted);
    transition: color var(--dur) var(--ease);
}

.footer-contact-info a:hover {
    color: var(--gold-light);
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-on-dark-muted);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--dur) var(--ease);
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--gold);
    opacity: 0;
    transform: translateX(5px);
    transition: all var(--dur) var(--ease);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-right: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    padding: 1.75rem 0;
    text-align: center;
    color: var(--text-on-dark-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    color: var(--text-on-dark-muted);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.footer-bottom strong {
    color: var(--gold);
}

/* ========================================
   14. GRID SYSTEM
   ======================================== */

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ========================================
   15. FORMS
   ======================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    transition: all var(--dur) var(--ease);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-muted);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input[type="search"] {
    flex: 1;
}

/* ========================================
   16. BREADCRUMBS
   ======================================== */

.breadcrumbs {
    padding: 1.25rem 0;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
    justify-content: flex-end;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 0.6rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumbs a {
    color: var(--text-muted);
    transition: color var(--dur) var(--ease);
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs .current {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   17. ARCHIVE LAYOUT
   ======================================== */

.archive-content {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    margin: 2rem 0;
}

.archive-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--r);
    border: 1px solid var(--border-light);
}

.widget-title {
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold);
    font-size: 1rem;
}

.categories-list li {
    margin-bottom: 0.5rem;
}

.categories-list a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    transition: all var(--dur) var(--ease);
}

.categories-list a:hover,
.categories-list a.active {
    color: var(--gold);
}

.count {
    background: var(--gold-muted);
    color: var(--gold-dark);
    padding: 0.1rem 0.5rem;
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 600;
}

/* ========================================
   18. SERVICE DETAIL
   ======================================== */

.service-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--r-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.service-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.service-title {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-badge {
    display: inline-block;
    background: var(--gold-muted);
    color: var(--gold-dark);
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-full);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--dur) var(--ease);
}

.category-badge:hover {
    background: var(--gold);
    color: #fff;
}

.service-details-box {
    background: var(--bg-warm);
    padding: 2rem;
    border-radius: var(--r);
    border-right: 4px solid var(--gold);
    margin: 2.5rem 0;
}

.service-details-box h3 {
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.details-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.details-list li:last-child { border-bottom: none; }

.details-list strong {
    color: var(--primary);
    display: inline-block;
    min-width: 120px;
}

.related-services {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.related-services h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.service-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 3rem;
    border-radius: var(--r-lg);
    text-align: center;
    margin: 3rem 0;
}

.service-cta h3 {
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.service-cta p {
    color: var(--text-on-dark-muted);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   19. INNER PAGE HERO
   ======================================== */

.inner-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
    padding: 5rem 0 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(200,163,85,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.inner-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.inner-hero .page-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.inner-hero .breadcrumbs {
    position: relative;
    z-index: 2;
}

.inner-hero .breadcrumbs ul {
    justify-content: center;
}

.inner-hero .breadcrumbs a {
    color: var(--text-on-dark-muted);
}

.inner-hero .breadcrumbs .current {
    color: var(--gold-light);
}

/* Premium Page Canvas */
.premium-page-canvas {
    background: var(--bg);
    padding: 3.5rem;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.premium-page-canvas img {
    border-radius: var(--r);
}

.premium-inner-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.premium-inner-content h2,
.premium-inner-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* ========================================
   20. 404 PAGE
   ======================================== */

.error-404-content {
    text-align: center;
    padding: 5rem 2rem;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.error-title {
    font-size: 5rem;
    color: var(--primary);
    margin: 0;
    line-height: 1;
    font-weight: 800;
}

.error-404-content h2 {
    color: var(--text-secondary);
    margin: 1rem 0 1.5rem;
    font-weight: 600;
}

.error-message {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 550px;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-search {
    background: var(--bg-warm);
    padding: 2rem;
    border-radius: var(--r);
    max-width: 550px;
    width: 100%;
}

.error-search h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ========================================
   21. ACCORDION
   ======================================== */

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--dur) var(--ease);
}

.accordion-item.active {
    border-color: var(--gold);
}

.accordion-header {
    background: var(--bg-warm);
    color: var(--primary);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--dur) var(--ease);
}

.accordion-header:hover {
    background: var(--bg-alt);
}

.accordion-item.active .accordion-header {
    background: var(--gold-muted);
    color: var(--primary);
}

.accordion-header::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s var(--ease);
    font-size: 0.85rem;
    color: var(--gold);
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ========================================
   22. BACK TO TOP
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
}

.back-to-top a,
[data-scroll-top] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: #fff;
    border-radius: var(--r-full);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--dur) var(--ease);
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.back-to-top a.visible,
[data-scroll-top].visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top a:hover,
[data-scroll-top]:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: var(--gold-glow);
}

/* ========================================
   23. BACKGROUNDS
   ======================================== */

.bg-light { background: var(--bg-warm); }
.bg-white { background: var(--bg); }
.bg-dark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
    color: var(--text-on-dark);
}

/* ========================================
   24. SKIP LINK
   ======================================== */

.skip-to-content {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 0 var(--r-sm);
    z-index: 10000;
    transition: top 0.2s;
    font-size: 0.9rem;
}

.skip-to-content:focus {
    top: 0;
    outline: 2px solid var(--gold);
}

/* ========================================
   25. NO POSTS
   ======================================== */

.no-posts-found {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts-found i {
    font-size: 3.5rem;
    color: var(--border);
    margin-bottom: 1rem;
}

.no-posts-found h2 {
    margin-bottom: 0.5rem;
}

.no-posts-found p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ========================================
   26. TESTIMONIALS
   ======================================== */

.testimonials-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.testimonials-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--bg);
    border-radius: var(--r);
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: all var(--dur) var(--ease);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--gold-muted);
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: var(--gold);
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.98rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--r-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-info h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.testimonial-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Testimonial featured/highlight */
.testimonial-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(200,163,85,0.03) 0%, rgba(255,255,255,1) 100%);
}

.testimonial-card.featured::after {
    content: 'مميز';
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--r-full);
}

/* Stats summary bar */
.testimonials-summary {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2.5rem;
    background: var(--bg-warm);
    border-radius: var(--r-lg);
    margin-bottom: 3rem;
    border: 1px solid var(--border-light);
}

.summary-item {
    text-align: center;
}

.summary-item .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.summary-item .number span {
    color: var(--gold);
}

.summary-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* CTA in testimonials */
.testimonials-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
    border-radius: var(--r-lg);
    margin-top: 2rem;
}

.testimonials-cta h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.testimonials-cta p {
    color: var(--text-on-dark-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-summary {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .summary-item .number {
        font-size: 1.5rem;
    }
}

/* ========================================
   27. UTILITIES
   ======================================== */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Page Hero */
.page-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--r-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.page-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.archive-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.archive-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Category cards */
.category-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--r);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--dur) var(--ease);
}

.category-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.category-count {
    display: inline-block;
    background: var(--gold-muted);
    color: var(--gold-dark);
    padding: 0.2rem 0.65rem;
    border-radius: var(--r-full);
    font-size: 0.82rem;
    font-weight: 600;
}

/* Section CTA Link */
.section-cta-link {
    text-align: center;
    padding-top: 2.5rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--r);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform var(--dur) var(--ease);
}

.lightbox-close:hover {
    transform: scale(1.2);
}

/* Value Cards (About Page) */
.core-values-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
    padding: var(--section-py) 0;
}

.value-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem 2rem;
    border-radius: var(--r);
    text-align: center;
    transition: all var(--dur) var(--ease);
}

.value-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-on-dark-muted);
    font-size: 0.92rem;
    margin: 0;
}

/* About split layout */
.about-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-side { position: relative; }
.about-content-side .premium-text-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.premium-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
    margin: 1rem 0;
}

.floating-highlight-box {
    position: absolute;
    bottom: 5%;
    left: -5%;
    background: var(--primary);
    padding: 1.25rem 1.75rem;
    border-radius: var(--r);
    box-shadow: var(--shadow-xl);
    z-index: 2;
    border-right: 4px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    font-family: var(--font-heading);
}

.highlight-text {
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
    line-height: 1.4;
    font-weight: 600;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.premium-border-radius {
    border-radius: var(--r-lg);
}

/* Animation helpers */
[data-aos] {
    will-change: transform, opacity;
}




