/*
Theme Name: Tashlih Jeddah
Theme URI: https://www.tashlihjeddah.com/
Author: Tashlih Jeddah
Author URI: https://www.tashlihjeddah.com/
Description: ثيم ووردبريس مخصص لموقع تشليح جدة - شراء سيارات مصدومة. تصميم صفحة واحدة (One Page) قابل للتعديل بالكامل من لوحة التخصيص (Customizer) ومتوافق مع Elementor. متجاوب مع جميع الشاشات.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tashlih-jeddah
Tags: one-page, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, translation-ready, threaded-comments, footer-widgets, full-width-template

Tashlih Jeddah WordPress Theme is released under the terms of GNU GPL
*/

/* =========================================================
   0) RESET & VARIABLES
========================================================= */
:root{
  --tj-red: #d81f26;
  --tj-red-dark: #a8151b;
  --tj-red-light: #ff4d54;
  --tj-black: #1b1b1b;
  --tj-gray: #6b6b6b;
  --tj-gray-light: #f5f5f5;
  --tj-white: #ffffff;
  --tj-border: #ececec;
  --tj-radius: 10px;
  --tj-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --tj-container: 1200px;
  --tj-font: 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--tj-font);
  color: var(--tj-black);
  background: var(--tj-white);
  direction: rtl;
  line-height:1.8;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ text-decoration:none; color:inherit; transition:.25s; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5{ margin:0 0 15px; font-weight:800; line-height:1.4; }
p{ margin:0 0 15px; color: var(--tj-gray); }
.container{
  max-width: var(--tj-container);
  margin:0 auto;
  padding:0 20px;
}
section{ padding:80px 0; }
.section-header{ text-align:center; max-width:700px; margin:0 auto 50px; }
.section-header .subtitle{
  display:inline-block; color:var(--tj-red); font-weight:700; letter-spacing:1px;
  background: #fdeceb; padding:6px 18px; border-radius:30px; margin-bottom:15px; font-size:14px;
}
.section-header h2{ font-size:36px; }
.section-header p{ margin-top:10px; }
.bg-light{ background: var(--tj-gray-light); }

/* Buttons (same button style as original site) */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--tj-red);
  color:#fff !important;
  padding:14px 34px;
  border-radius: 50px;
  font-weight:700;
  font-size:16px;
  border:2px solid var(--tj-red);
  cursor:pointer;
  transition:.3s;
}
.btn:hover{ background: var(--tj-red-dark); border-color:var(--tj-red-dark); transform:translateY(-2px); }
.btn-outline{
  background:transparent; color:var(--tj-red) !important; border:2px solid var(--tj-red);
}
.btn-outline:hover{ background:var(--tj-red); color:#fff !important; }
.btn-white{ background:#fff; color:var(--tj-red) !important; border-color:#fff; }
.btn-white:hover{ background:transparent; color:#fff !important; border-color:#fff; }

/* =========================================================
   1) TOPBAR
========================================================= */
.tj-topbar{
  background: var(--tj-black);
  color:#eee;
  font-size:14px;
  padding:8px 0;
}
.tj-topbar .container{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.tj-topbar a{ color:#eee; }
.tj-topbar .tj-topbar-item{ display:inline-flex; align-items:center; gap:6px; margin-inline-end:20px; }
.tj-topbar .tj-social a{ margin-inline-start:10px; color:#fff; }

/* =========================================================
   2) HEADER
========================================================= */
.tj-header{
  background:#fff;
  box-shadow:0 2px 15px rgba(0,0,0,.06);
  position:sticky; top:0; z-index:999;
}
.tj-header .container{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; }
.tj-logo{ display:flex; align-items:center; gap:10px; font-size:22px; font-weight:800; color:var(--tj-red); }
.tj-logo img{ max-height:55px; width:auto; }
.tj-main-nav ul{ display:flex; gap:28px; align-items:center; }
.tj-main-nav a{ font-weight:700; color:var(--tj-black); padding:8px 0; position:relative; }
.tj-main-nav a:hover, .tj-main-nav .current-menu-item > a{ color:var(--tj-red); }
.tj-header-actions{ display:flex; align-items:center; gap:14px; }
.tj-header-phone{ display:flex; align-items:center; gap:8px; font-weight:800; color:var(--tj-black); }
.tj-header-phone svg{ fill:var(--tj-red); }
.tj-menu-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.tj-menu-toggle span{ width:26px; height:3px; background:var(--tj-red); border-radius:3px; }

/* =========================================================
   3) HERO
========================================================= */
.tj-hero{
  background: linear-gradient(120deg, #fff 45%, #fdeceb 100%);
  padding:90px 0;
  position:relative;
  overflow:hidden;
}
.tj-hero .container{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; }
.tj-hero h1{ font-size:46px; color:var(--tj-black); }
.tj-hero h1 span{ color:var(--tj-red); }
.tj-hero p{ font-size:18px; max-width:520px; }
.tj-hero-buttons{ display:flex; gap:15px; margin-top:25px; flex-wrap:wrap; }
.tj-hero-image{
  background: linear-gradient(135deg,var(--tj-red),var(--tj-red-dark));
  border-radius: var(--tj-radius);
  min-height:360px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:20px; font-weight:700;
  box-shadow: var(--tj-shadow);
  overflow:hidden;
}
.tj-hero-image img{ width:100%; height:100%; object-fit:cover; }

/* =========================================================
   4) ABOUT
========================================================= */
.tj-about .container{ display:grid; grid-template-columns:.9fr 1.1fr; gap:50px; align-items:center; }
.tj-about-image{
  background: linear-gradient(135deg,#f5f5f5,#e9e9e9);
  border-radius: var(--tj-radius);
  min-height:340px;
  box-shadow: var(--tj-shadow);
  display:flex;align-items:center;justify-content:center;color:var(--tj-gray);
  overflow:hidden;
}
.tj-about-image img{ width:100%; height:100%; object-fit:cover; }
.tj-about-content .subtitle{
  display:inline-block; color:var(--tj-red); font-weight:700; background:#fdeceb; padding:6px 18px; border-radius:30px; margin-bottom:12px; font-size:14px;
}
.tj-about-content h2{ font-size:32px; }
.tj-about-highlight{
  border-inline-start:4px solid var(--tj-red);
  background: var(--tj-gray-light);
  padding:14px 18px;
  border-radius:8px;
  font-weight:700;
  margin:18px 0;
  color: var(--tj-black);
}

/* =========================================================
   5) SERVICES (values)
========================================================= */
.tj-services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.tj-service-card{
  background:#fff; border:1px solid var(--tj-border); border-radius: var(--tj-radius);
  padding:35px 28px; text-align:center; transition:.3s; box-shadow: 0 5px 15px rgba(0,0,0,.03);
}
.tj-service-card:hover{ box-shadow: var(--tj-shadow); transform:translateY(-6px); border-color:transparent; }
.tj-service-icon{
  width:75px; height:75px; margin:0 auto 20px; border-radius:50%;
  background: linear-gradient(135deg,var(--tj-red),var(--tj-red-dark));
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:30px;
}
.tj-service-card h3{ font-size:20px; }

/* stats */
.tj-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:60px; text-align:center; }
.tj-stat-item h3{ font-size:40px; color:var(--tj-red); margin-bottom:5px; }
.tj-stat-item p{ margin:0; font-weight:700; color:var(--tj-black); }

/* =========================================================
   6) FEATURES
========================================================= */
.tj-features .container{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.tj-features-image{
  background: linear-gradient(135deg,#f5f5f5,#e9e9e9);
  border-radius: var(--tj-radius);
  min-height:420px;
  box-shadow: var(--tj-shadow);
  overflow:hidden;
}
.tj-features-image img{ width:100%; height:100%; object-fit:cover; }
.tj-feature-list{ display:grid; gap:22px; }
.tj-feature-item{ display:flex; gap:15px; align-items:flex-start; }
.tj-feature-icon{
  min-width:46px; height:46px; border-radius:50%; background:#fdeceb; color:var(--tj-red);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px;
}
.tj-feature-item h4{ margin-bottom:4px; font-size:17px; }
.tj-feature-item p{ margin:0; font-size:15px; }

.tj-more-features{ margin-top:70px; }
.tj-more-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:25px; }
.tj-more-card{ background:#fff; border:1px solid var(--tj-border); border-radius:var(--tj-radius); padding:26px; }
.tj-more-card h4{ color:var(--tj-red); font-size:17px; }
.tj-more-card p{ margin:0; font-size:14px; }

/* =========================================================
   7) FAQ
========================================================= */
.tj-faq-list{ max-width:850px; margin:0 auto; display:grid; gap:14px; }
.tj-faq-item{ border:1px solid var(--tj-border); border-radius:10px; overflow:hidden; background:#fff; }
.tj-faq-question{
  display:flex; align-items:center; justify-content:space-between; padding:18px 22px; cursor:pointer; font-weight:700; font-size:17px;
}
.tj-faq-question .icon{ color:var(--tj-red); font-size:20px; transition:.3s; flex-shrink:0; margin-inline-start:12px; }
.tj-faq-item.active .tj-faq-question .icon{ transform:rotate(45deg); }
.tj-faq-answer{ max-height:0; overflow:hidden; transition:.3s; padding:0 22px; }
.tj-faq-item.active .tj-faq-answer{ max-height:400px; padding:0 22px 20px; }
.tj-faq-answer p{ margin:0; }

/* =========================================================
   8) TESTIMONIALS
========================================================= */
.tj-testimonials-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.tj-testimonial-card{
  background:#fff; border:1px solid var(--tj-border); border-radius: var(--tj-radius); padding:30px; box-shadow:0 5px 15px rgba(0,0,0,.03);
}
.tj-testimonial-card .stars{ color:#ffb400; margin-bottom:12px; }
.tj-testimonial-author{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.tj-testimonial-avatar{ width:50px; height:50px; border-radius:50%; background:linear-gradient(135deg,var(--tj-red),var(--tj-red-dark)); overflow:hidden; }
.tj-testimonial-avatar img{ width:100%; height:100%; object-fit:cover; }
.tj-testimonial-author h5{ margin:0; font-size:16px; }

/* =========================================================
   9) CLIENTS / PARTNERS
========================================================= */
.tj-clients-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:25px; align-items:center; }
.tj-client-logo{ background:#fff; border:1px solid var(--tj-border); border-radius:8px; padding:18px; display:flex; align-items:center; justify-content:center; height:80px; filter:grayscale(100%); opacity:.7; transition:.3s; }
.tj-client-logo:hover{ filter:none; opacity:1; }

/* =========================================================
   10) CONTACT
========================================================= */
.tj-contact .container{ display:grid; grid-template-columns:1fr 1.2fr; gap:40px; }
.tj-contact-info{ display:grid; gap:20px; align-content:start; }
.tj-contact-item{ display:flex; gap:15px; background:#fff; border:1px solid var(--tj-border); border-radius:10px; padding:20px; align-items:flex-start; }
.tj-contact-item .tj-contact-icon{ width:46px; height:46px; border-radius:50%; background:var(--tj-red); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.tj-contact-item h4{ margin:0 0 4px; font-size:16px; }
.tj-contact-item p{ margin:0; }
.tj-map{ border-radius:10px; overflow:hidden; box-shadow: var(--tj-shadow); min-height:100%; }
.tj-map iframe{ width:100%; height:100%; min-height:380px; border:0; }

/* =========================================================
   11) FOOTER
========================================================= */
.tj-footer{ background: var(--tj-black); color:#c9c9c9; padding-top:70px; }
.tj-footer a{ color:#c9c9c9; }
.tj-footer a:hover{ color:var(--tj-red-light); }
.tj-footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid #333; }
.tj-footer-logo{ font-size:24px; font-weight:800; color:#fff; margin-bottom:15px; display:block; }
.tj-footer h5{ color:#fff; font-size:18px; margin-bottom:20px; }
.tj-footer-widget ul li{ margin-bottom:12px; }
.tj-footer-social{ display:flex; gap:10px; margin-top:15px; }
.tj-footer-social a{ width:38px; height:38px; border-radius:50%; background:#2a2a2a; display:flex; align-items:center; justify-content:center; }
.tj-footer-social a:hover{ background:var(--tj-red); color:#fff; }
.tj-footer-bottom{ text-align:center; padding:22px 0; font-size:14px; }
.tj-footer-bottom a{ color:var(--tj-red-light); font-weight:700; }

/* =========================================================
   12) WHATSAPP FLOAT BUTTON
========================================================= */
.tj-whatsapp-float{
  position:fixed; bottom:25px; inset-inline-end:25px; z-index:9999;
  width:60px; height:60px; border-radius:50%; background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center; box-shadow:0 5px 20px rgba(0,0,0,.25);
  font-size:30px; animation: tj-pulse 2s infinite;
}
@keyframes tj-pulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow:0 0 0 15px rgba(37,211,102,0);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

/* =========================================================
   13) RESPONSIVE
========================================================= */
@media(max-width:991px){
  .tj-hero .container, .tj-about .container, .tj-features .container, .tj-contact .container{ grid-template-columns:1fr; }
  .tj-hero-image, .tj-about-image{ order:-1; }
  .tj-services-grid, .tj-testimonials-grid, .tj-more-grid{ grid-template-columns:repeat(2,1fr); }
  .tj-clients-grid{ grid-template-columns:repeat(4,1fr); }
  .tj-stats{ grid-template-columns:repeat(2,1fr); gap:35px; }
  .tj-footer-grid{ grid-template-columns:1fr 1fr; }
}
@media(max-width:768px){
  .tj-main-nav{
    position:fixed; inset-inline-start:0; top:0; height:100vh; width:280px; background:#fff;
    transform:translateX(100%); transition:.3s; padding:90px 25px 25px; box-shadow:-5px 0 20px rgba(0,0,0,.1); z-index:1000;
  }
  body.rtl .tj-main-nav{ transform:translateX(-280px); }
  .tj-main-nav.active{ transform:translateX(0); }
  .tj-main-nav ul{ flex-direction:column; align-items:flex-start; gap:18px; }
  .tj-menu-toggle{ display:flex; }
  .tj-header-phone span{ display:none; }
  .tj-hero h1{ font-size:32px; }
  .section-header h2{ font-size:26px; }
  .tj-services-grid, .tj-testimonials-grid, .tj-more-grid{ grid-template-columns:1fr; }
  .tj-clients-grid{ grid-template-columns:repeat(3,1fr); }
  .tj-stats{ grid-template-columns:1fr 1fr; }
  .tj-footer-grid{ grid-template-columns:1fr; text-align:center; }
  .tj-footer-social{ justify-content:center; }
  section{ padding:55px 0; }
}
