/*
Theme Name: Abuo Orhan Premium
Description: Premium Arabic RTL theme for Abuo Orhan, Pakistani ceramic and tile installation in Kuwait. Black, white and orange (#FF9E3B). Includes the home page, nine service pages and an About page.
Author: Shabix
Author URI: https://shabix.com/
Version: 2.4.0
Text Domain: abuo-orhan
Language: ar
RTL: yes
License: GPL-2.0-or-later
*/

:root {
  --orange: #FF9E3B;
  --orange-dark: #e8862a;
  --black: #0b0b0b;
  --charcoal: #171717;
  --gray: #6b6b6b;
  --line: #e9e9e9;
  --soft: #f7f7f5;
  --white: #ffffff;
  --wa: #25d366;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.9;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 0; }
.skip-link:focus { inset-inline-start: 10px; top: 10px; background: var(--white); padding: 8px 12px; z-index: 99; }

h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(32px, 5vw, 58px); letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 20px; }
.accent { color: var(--orange); }

section { padding: 96px 0; }
.dark { background: var(--black); color: var(--white); }
.dark h2, .dark h3 { color: var(--white); }
.soft { background: var(--soft); }
.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-head { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-head p { color: var(--gray); margin: 12px 0 0; }
.dark .section-head p { color: #bdbdbd; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--black); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--charcoal); }
.btn-ghost { border-color: var(--white); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-line { border-color: var(--black); color: var(--black); background: transparent; }
.btn-line:hover { background: var(--black); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #1fb858; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Header */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 2px solid var(--orange);
}
.nav-wrap { display: flex; align-items: center; gap: 22px; padding: 16px 0; position: relative; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  text-decoration: none;
  color: var(--white);
  margin-inline-end: auto;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--black);
  font-weight: 800;
  font-size: 20px;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav a { text-decoration: none; color: var(--white); font-weight: 600; font-size: 15px; opacity: .9; }
.main-nav a:hover { color: var(--orange); opacity: 1; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 8px 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 158, 59, .18), transparent 40%),
    linear-gradient(160deg, #0b0b0b 0%, #1c1c1c 100%);
  color: var(--white);
  padding: 120px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: var(--orange);
}
.hero h1 { color: var(--white); max-width: 880px; }
.hero h1 .accent { display: inline-block; }
.hero p.lead-text { font-size: 19px; max-width: 720px; color: #d6d6d6; margin: 18px 0 0; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-badges span {
  border: 1px solid rgba(255, 158, 59, .5);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* Trust strip */
.trust { background: var(--orange); color: var(--black); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; text-align: center; }
.trust-grid strong { display: block; font-size: 19px; font-weight: 800; }
.trust-grid span { font-size: 14px; opacity: .85; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .08); border-color: var(--orange); }
.card p { margin: 0; color: var(--gray); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--black);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
}
.dark .card { background: var(--charcoal); border-color: #2a2a2a; }
.dark .card p { color: #b5b5b5; }
.dark .card:hover { border-color: var(--orange); }
.dark .card-icon { background: var(--orange); color: var(--black); }

/* Why us (dark) */
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 18px 0;
  padding-inline-start: 46px;
  position: relative;
  border-bottom: 1px solid #2a2a2a;
  font-size: 18px;
  color: #e6e6e6;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-box {
  background: var(--orange);
  color: var(--black);
  border-radius: 24px;
  padding: 48px 40px;
}
.quote-box h3 { color: var(--black); font-size: 28px; }
.quote-box p { margin: 0 0 20px; font-size: 17px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  background: var(--white);
  border-radius: 20px;
  padding: 34px 26px;
  border: 1px solid var(--line);
  position: relative;
  counter-increment: step;
}
.steps li::before {
  content: '0' counter(step);
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
}
.steps li p { margin: 0; color: var(--gray); }

/* Finish / quality */
.finish-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.finish-item {
  border-inline-start: 4px solid var(--orange);
  padding: 8px 20px;
}
.finish-item h3 { font-size: 18px; }
.finish-item p { margin: 0; color: var(--gray); }

/* Areas */
.areas-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 0; list-style: none; margin: 32px 0 0; }
.areas-list li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.areas-list li:hover { background: var(--black); color: var(--orange); border-color: var(--black); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 14px;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--orange); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; color: var(--gray); }

/* Final CTA */
.cta { background: var(--orange); color: var(--black); text-align: center; padding: 110px 0; }
.cta h2 { color: var(--black); max-width: 760px; margin-inline: auto; }
.cta p { font-size: 18px; margin: 0; }
.cta .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* Footer */
.site-footer { background: var(--black); color: #bdbdbd; padding: 80px 0 0; border-top: 2px solid var(--orange); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer h3 { color: var(--white); font-size: 17px; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-brand p { margin: 16px 0 0; font-size: 15px; }
.footer-contact-btn { margin-top: 22px; }
.copy {
  border-top: 1px solid #222;
  margin-top: 60px;
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}

/* Mobile sticky contact bar */
.mobile-bar { display: none; }

/* Inner pages */
.page-content { padding: 70px 0; }
.page-content .entry-content { max-width: 820px; margin: 0 auto; }

/* Responsive */
@media (max-width: 960px) {
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--black);
    border-bottom: 2px solid var(--orange);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 14px 4%; gap: 14px; }
  .header-cta .btn-line,
  .header-cta .btn-sm.btn-orange { display: none; }
  .hero { padding: 80px 0 70px; }
  section { padding: 70px 0; }
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 70;
    gap: 0;
    background: var(--black);
    border-top: 2px solid var(--orange);
  }
  .mobile-bar a {
    flex: 1;
    text-align: center;
    padding: 16px 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
  }
  .mobile-bar a.mb-orange { background: var(--orange); color: var(--black); }
  body { padding-bottom: 60px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .quote-box { padding: 36px 26px; }
}

/* ------------------------------------------------------------------
 * v2.1: service pages, About page, internal links, nav dropdown
 * ---------------------------------------------------------------- */

/* Inline links inside body text */
a.inline-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color .2s;
}
a.inline-link:hover { color: var(--orange-dark); }
.hero a.inline-link,
.page-hero a.inline-link,
.dark a.inline-link { color: var(--orange); }
.hero a.inline-link:hover,
.page-hero a.inline-link:hover,
.dark a.inline-link:hover { color: var(--white); }
.faq a.inline-link,
.card a.inline-link { color: var(--black); }
.faq a.inline-link:hover,
.card a.inline-link:hover { color: var(--orange-dark); }

/* Cards that link to a page (whole card is clickable) */
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.card-more { display: inline-block; margin-top: 16px; color: var(--orange-dark); font-weight: 700; font-size: 15px; }
.card h3 { margin-bottom: .4em; }

.text-link {
  display: inline-block;
  margin-inline-start: 18px;
  font-weight: 700;
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--white); }
.quote-box .text-link { margin-inline-start: 14px; }
.all-services { text-align: center; margin: 40px 0 0; }
.all-services .text-link { margin: 0; }
.all-services .text-link:hover { color: var(--orange-dark); }

/* Page hero for inner pages */
.page-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 158, 59, .18), transparent 40%),
    linear-gradient(160deg, #0b0b0b 0%, #1c1c1c 100%);
  color: var(--white);
  padding: 48px 0 80px;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: var(--orange);
}
.page-hero h1 { color: var(--white); max-width: 880px; font-size: clamp(30px, 4.4vw, 50px); }
.page-hero h1 .h1-phone { display: inline-block; color: var(--orange); text-decoration: none; white-space: nowrap; }
.page-hero h1 .h1-phone:hover { color: var(--orange-dark); }
.page-hero p.lead-text { font-size: 19px; max-width: 760px; color: #d6d6d6; margin: 18px 0 0; }
.page-hero .btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: #bdbdbd; margin-bottom: 28px; }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs [aria-current] { color: var(--orange); font-weight: 600; }

/* Navigation dropdown */
.main-nav li { position: relative; }
.main-nav .menu-item-has-children > a::after { content: '▾'; font-size: 11px; margin-inline-start: 6px; color: var(--orange); }
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-start: -14px;
  min-width: 280px;
  flex-direction: column;
  gap: 12px;
  background: var(--black);
  border: 1px solid #2a2a2a;
  border-top: 2px solid var(--orange);
  border-radius: 0 0 14px 14px;
  padding: 16px 20px;
  z-index: 80;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu { display: flex; }

@media (max-width: 860px) {
  .main-nav { max-height: calc(100vh - 140px); overflow-y: auto; }
  .main-nav .menu-item-has-children > a::after { display: none; }
  .main-nav .sub-menu {
    display: flex;
    position: static;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 4px 16px 0;
    gap: 10px;
  }
  .main-nav .sub-menu a { font-size: 14px; opacity: .75; }
  .page-hero { padding: 36px 0 64px; }
}

/* Developer credit */
.site-footer .dev-credit a { color: var(--orange); text-decoration: none; font-weight: 700; }
.site-footer .dev-credit a:hover { text-decoration: underline; }

/* Hero with photo */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-text { min-width: 0; }
.hero-media { margin: 0; border-radius: 24px; overflow: hidden; border: 2px solid rgba(255, 158, 59, .55); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Card thumbnails */
.card.has-thumb { padding-top: 0; overflow: hidden; }
.card-thumb { display: block; width: calc(100% + 56px); max-width: none; margin: 0 -28px 24px; aspect-ratio: 3 / 2; object-fit: cover; }

/* Photo gallery */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.gallery-6 { grid-template-columns: repeat(3, 1fr); }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--charcoal); }
.gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }

/* Video */
.video-wrap { max-width: 860px; margin: 0 auto; border-radius: 22px; overflow: hidden; border: 2px solid var(--orange); background: #000; }
.video-wrap video { display: block; width: 100%; max-height: 560px; background: #000; }

/* About story with photo */
.story-text { color: var(--gray); margin: 12px 0 0; }
.story-media { margin: 0; border-radius: 22px; overflow: hidden; }
.story-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { max-width: 640px; }
  .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery { gap: 10px; }
  .gallery figure { border-radius: 12px; }
}
