/*
Theme Name: Albarq Theme
Theme URI: https://albaarq.com
Author: Al-Barq Company
Author URI: https://albaarq.com
Description: قالب شركة البرق للخدمات المنزلية الذكية - تصميم عصري واحترافي
Version: 3.0
Text Domain: albarq
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ===== CSS Variables ===== */
:root {
  --navy: #1a2b4a;
  --navy-dark: #0f1b2e;
  --green: #27ae60;
  --green-light: #2ecc71;
  --green-dark: #1e8449;
  --orange: #f39c12;
  --orange-light: #f5b041;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6ea;
  --gray-300: #ced4da;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-900);
  background: var(--white);
  direction: rtl;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }

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

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Utility ===== */
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}
.section-title p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.5;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}
.btn-cta {
  background: var(--orange);
  color: var(--white);
  font-size: 1.1rem;
  padding: 14px 36px;
}
.btn-cta:hover {
  background: var(--orange-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img {
  height: 45px;
  width: auto;
}
.site-logo span {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
}

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; list-style: none; }
.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.main-nav > li > a:hover,
.main-nav > li.current > a {
  color: var(--green);
  background: rgba(39,174,96,0.08);
}
.main-nav > li > a .nav-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.main-nav > li:hover > a .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  list-style: none;
  z-index: 100;
}
.main-nav > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu-inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
}
.sub-menu li a {
  display: block;
  padding: 10px 16px;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
}
.sub-menu li a:hover {
  background: rgba(39,174,96,0.08);
  color: var(--green);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile Nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}
.menu-toggle svg { width: 28px; height: 28px; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
}
.mobile-nav.active { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav > ul > li > a:hover,
.mobile-nav > ul > li.current > a {
  color: var(--green);
  background: rgba(39,174,96,0.05);
}
.mobile-sub-menu {
  display: none;
  padding-right: 16px;
}
.mobile-sub-menu.active { display: block; }
.mobile-sub-menu li a {
  display: block;
  padding: 12px 16px;
  color: var(--gray-500);
  font-size: 1rem;
  border-radius: 8px;
}
.mobile-sub-menu li a:hover { color: var(--green); background: rgba(39,174,96,0.05); }
.mobile-nav-cta {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.mobile-nav-cta .btn { flex: 1; justify-content: center; }

@media (max-width: 991px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(39,174,96,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; }
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.hero-content h1 span { color: var(--green-light); }
.hero-content p {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.9;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: 'Cairo', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-light);
  display: block;
}
.hero-stat .label {
  font-size: 0.9rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .hero { padding: 50px 0 40px; }
  .hero .container { flex-direction: column-reverse; text-align: center; }
  .hero-content p { margin: 0 auto 1.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-image img { max-width: 300px; }
  .hero-stats { gap: 20px; justify-content: center; }
}

/* ===== Glass Cards ===== */
.glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.glass-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ===== Services Cards ===== */
.services-section { padding: 80px 0; background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(39,174,96,0.1), rgba(39,174,96,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
}
.service-card h3 { margin-bottom: 0.8rem; font-size: 1.15rem; }
.service-card p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 1.2rem; }

/* ===== Why Us ===== */
.why-us { padding: 80px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.why-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.why-card .icon-wrap {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}
.why-card h4 { margin-bottom: 4px; }
.why-card p { color: var(--gray-500); font-size: 0.9rem; }

/* ===== Testimonials ===== */
.testimonials { padding: 80px 0; background: var(--navy); color: var(--white); }
.testimonials .section-title h2 { color: var(--white); }
.testimonials .section-title h2::after { background: var(--green-light); }
.testimonials .section-title p { color: rgba(255,255,255,0.6); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-card .stars { color: var(--orange); margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-card p { opacity: 0.9; margin-bottom: 16px; font-size: 0.95rem; }
.testimonial-card .author { font-weight: 700; color: var(--green-light); }

/* ===== Articles ===== */
.articles-section { padding: 80px 0; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.article-card .thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-card .card-body { padding: 20px; }
.article-card .category {
  display: inline-block;
  background: rgba(39,174,96,0.1);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.article-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--green); }
.article-card .excerpt { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 12px; }
.article-card .meta { color: var(--gray-500); font-size: 0.8rem; }

/* ===== Blog Page ===== */
.blog-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  padding: 60px 0 40px;
  text-align: center;
}
.blog-hero h1 { color: var(--white); margin-bottom: 12px; }
.blog-hero p { opacity: 0.7; }

.blog-filters {
  padding: 30px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.filters-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Tajawal', sans-serif;
  outline: none;
  transition: border-color var(--transition);
}
.search-box input:focus { border-color: var(--green); }
.search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
}
.cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-filter {
  padding: 8px 18px;
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: 'Cairo', sans-serif;
}
.cat-filter:hover, .cat-filter.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.blog-content { padding: 50px 0 80px; }

/* ===== Single Post ===== */
.single-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  padding: 60px 0;
}
.single-hero .category-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.single-hero h1 { color: var(--white); margin-bottom: 12px; max-width: 700px; }
.single-meta { display: flex; gap: 20px; opacity: 0.7; font-size: 0.9rem; flex-wrap: wrap; }

.single-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}
.single-content p { margin-bottom: 1.2rem; }
.single-content h2 { margin: 2rem 0 1rem; }
.single-content h3 { margin: 1.5rem 0 0.8rem; }
.single-content ul, .single-content ol { margin: 1rem 0; padding-right: 1.5rem; }
.single-content li { margin-bottom: 0.5rem; }
.single-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.single-content blockquote {
  border-right: 4px solid var(--green);
  padding: 16px 24px;
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--gray-700);
}

.share-buttons {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  transition: opacity var(--transition);
}
.share-btn:hover { opacity: 0.85; color: var(--white); }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0a66c2; }

/* ===== Service Page ===== */
.service-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.service-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,27,46,0.88), rgba(26,43,74,0.85));
}
.service-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 40px 20px;
}
.service-hero-content .service-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(39,174,96,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2.2rem;
}
.service-hero-content h1 { color: var(--white); margin-bottom: 12px; }
.service-hero-content p { opacity: 0.8; max-width: 600px; margin: 0 auto; }

.service-features { padding: 60px 0; }
.features-list { max-width: 800px; margin: 0 auto; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: all var(--transition);
}
.feature-item:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.feature-item .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(39,174,96,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.8rem;
  margin-top: 2px;
}
.feature-item span { font-size: 0.98rem; }

.service-why { padding: 60px 0; background: var(--gray-50); }
.service-why .features-list { max-width: 800px; margin: 0 auto; }

/* Prices */
.prices-section { padding: 60px 0; }
.prices-table {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.prices-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--green);
  color: var(--white);
  padding: 14px 20px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-100);
}
.price-row:nth-child(even) { background: var(--gray-50); }
.price-row .price-val { font-weight: 700; color: var(--green); }

/* FAQ */
.faq-section { padding: 60px 0; background: var(--gray-50); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  text-align: right;
}
.faq-question .arrow {
  transition: transform var(--transition);
  font-size: 0.8rem;
  color: var(--gray-500);
}
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== Savings Calculator ===== */
.calculator-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
}
.calculator-section .section-title h2 { color: var(--white); }
.calculator-section .section-title h2::after { background: var(--green-light); }
.calc-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.calc-field { margin-bottom: 20px; }
.calc-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.calc-field input, .calc-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
  font-family: 'Tajawal', sans-serif;
  outline: none;
}
.calc-field input::placeholder { color: rgba(255,255,255,0.4); }
.calc-field select option { color: var(--gray-900); background: var(--white); }
.calc-result {
  text-align: center;
  padding: 20px;
  background: rgba(39,174,96,0.15);
  border-radius: var(--radius);
  margin-top: 20px;
}
.calc-result .amount {
  font-family: 'Cairo', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-light);
}
.calc-result p { opacity: 0.7; font-size: 0.9rem; margin-top: 4px; }

/* ===== Booking Form ===== */
.booking-section {
  padding: 60px 0;
  background: var(--gray-50);
}
.booking-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Tajawal', sans-serif;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== Pricing Page ===== */
.pricing-section { padding: 80px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--green);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}
.pricing-card .plan-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(39,174,96,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price {
  font-family: 'Cairo', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  margin: 12px 0;
}
.pricing-card .price span { font-size: 1rem; color: var(--gray-500); font-weight: 400; }
.pricing-card .features-list-pricing {
  list-style: none;
  text-align: right;
  margin: 20px 0;
}
.pricing-card .features-list-pricing li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-card .features-list-pricing li i { color: var(--green); }
.pricing-card .features-list-pricing li.disabled { color: var(--gray-300); text-decoration: line-through; }
.pricing-card .features-list-pricing li.disabled i { color: var(--gray-300); }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: none; }
}

/* ===== Offers Page ===== */
.offers-section { padding: 80px 0; }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.offer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  transition: all var(--transition);
}
.offer-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); }
.offer-card .offer-header {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  padding: 24px;
  text-align: center;
}
.offer-card .offer-header h3 { color: var(--white); margin-bottom: 4px; }
.offer-card .offer-header .discount {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Cairo', sans-serif;
}
.offer-card .offer-body { padding: 24px; }
.offer-card .offer-body ul { list-style: none; margin-bottom: 20px; }
.offer-card .offer-body li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.offer-card .offer-body li i { color: var(--green); }
.offer-timer {
  text-align: center;
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--orange);
}

/* ===== About Page ===== */
.about-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}
.about-hero h1 { color: var(--white); margin-bottom: 12px; }
.about-hero p { opacity: 0.7; max-width: 600px; margin: 0 auto; }

.about-content { padding: 60px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--gray-500); margin-bottom: 1rem; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.about-values { padding: 60px 0; background: var(--gray-50); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ===== Contact Page ===== */
.contact-section { padding: 60px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
}
.contact-info-card .icon-circle {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  margin-top: 20px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
}
.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-top: 8px;
}
.footer-col p { font-size: 0.9rem; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green-light); }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 40px; }
.payment-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.payment-icon {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
}
.footer-legal { margin-top: 4px; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Order Page ===== */
.order-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.order-hero h1 { color: var(--white); margin-bottom: 12px; }

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.pagination a {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .current {
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
}

/* ===== WP Content from editor ===== */
.wp-editor-content { margin: 40px 0; }
.wp-editor-content p { margin-bottom: 1rem; }
.wp-editor-content h2 { margin: 2rem 0 1rem; }
.wp-editor-content img { border-radius: var(--radius); margin: 1rem 0; }

/* ===== Print ===== */
@media print {
  .site-header, .site-footer, .booking-section, .calculator-section { display: none; }
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
  /* Prevent horizontal overflow globally */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Header - fix logo cutoff */
  .header-inner {
    height: 60px;
    padding: 0 4px;
  }
  .site-logo img {
    height: 35px;
  }
  .site-logo span {
    font-size: 1rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .menu-toggle svg {
    width: 24px;
    height: 24px;
  }
  .mobile-nav {
    top: 60px;
  }

  /* Single post hero - prevent text overflow */
  .single-hero {
    padding: 40px 0 30px;
  }
  .single-hero h1 {
    font-size: 1.4rem;
    max-width: 100%;
    word-wrap: break-word;
  }
  .single-meta {
    gap: 10px;
    font-size: 0.8rem;
  }

  /* Share buttons - wrap and fit mobile */
  .share-buttons {
    flex-wrap: wrap;
    gap: 8px;
  }
  .share-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    flex: 1 1 auto;
    min-width: auto;
    justify-content: center;
    text-align: center;
  }

  /* Article cards - single column, no overflow */
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .article-card .thumb {
    height: 180px;
  }
  .article-card h3 {
    font-size: 1rem;
  }

  /* Single content */
  .single-content {
    padding: 30px 16px 60px;
  }
  .single-content img {
    width: 100%;
    height: auto;
  }

  /* Service hero icon */
  .service-hero-content .service-icon {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
  }
  .service-hero {
    min-height: 280px;
  }

  /* Service features */
  .feature-item {
    padding: 14px 16px;
  }

  /* Booking form */
  .booking-form {
    padding: 24px 16px;
  }

  /* Container padding on mobile */
  .container {
    padding: 0 16px;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  /* Prices table */
  .prices-head,
  .price-row {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  /* Calculator */
  .calc-wrapper {
    padding: 24px 16px;
  }

  /* Blog filters */
  .filters-inner {
    flex-direction: column;
    gap: 12px;
  }
  .search-box {
    min-width: 100%;
  }
  .cat-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .cat-filter {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Section padding reduction */
  .articles-section,
  .services-section,
  .pricing-section,
  .offers-section {
    padding: 50px 0;
  }

  /* Offers grid */
  .offers-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .share-buttons > span {
    grid-column: 1 / -1;
  }
  .site-logo span {
    display: none;
  }
}
