
/*
Theme Name: Almsreya Dynamic Towing
Author: Ahmed Samih / ChatGPT
Description: Dynamic RTL WordPress theme for towing and roadside assistance company. Services, areas, stats and gallery are editable from the dashboard.
Version: 2.0.0
Text Domain: almsreya
*/
:root{--navy:#07111f;--gold:#f2aa00;--gold2:#ffcd3c;--text#101828;--muted:#667085;--line:#e7eaf0;--soft:#f7f9fc;--shadow:0 24px 70px rgba(7,17,31,.14)}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:"Cairo",Arial,sans-serif;background:#fff;color:var(--text);overflow-x:hidden}a{text-decoration:none;color:inherit}.container{width:min(1240px,92%);margin:auto}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:14px;padding:14px 24px;font-weight:900;transition:.25s;border:0;cursor:pointer;white-space:nowrap;font-family:inherit}.btn:hover{transform:translateY(-3px)}.btn-gold{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#111;box-shadow:0 16px 34px rgba(242,170,0,.24)}.btn-dark{background:var(--navy);color:#fff;box-shadow:0 16px 34px rgba(7,17,31,.2)}.btn-outline{background:#fff;border:1px solid #d7dde7;color:var(--navy)}
.topbar{background:#fff;border-bottom:1px solid var(--line);color:#697386;font-size:13px}.topbar-wrap{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:18px}.top-info{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.social{display:flex;gap:9px}.social span{width:28px;height:28px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--navy);font-size:12px;font-weight:900}
.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}.nav{min-height:98px;display:flex;align-items:center;justify-content:space-between;gap:30px}.logo{display:flex;align-items:center;gap:14px}.logo-mark{width:82px;height:72px;border-radius:24px;border:2px solid var(--gold);background:linear-gradient(145deg,#fff,#f4f6fb);display:grid;place-items:center;box-shadow:0 14px 34px rgba(242,170,0,.15)}.logo-mark svg{width:58px;height:58px}.logo-text strong{display:block;font-size:42px;font-weight:900;line-height:1;letter-spacing:-2px;color:#0a1730}.logo-text span{display:block;margin-top:6px;color:#475569;font-size:13px;font-weight:800}.menu{display:flex;align-items:center;gap:26px;font-weight:800;font-size:15px;color:#1f2937}.menu a:hover,.menu a.active{color:var(--gold)}
.hero{position:relative;min-height:720px;overflow:hidden;background:#fff}.hero-bg{position:absolute;inset:0 0 0 34%;background:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.78) 21%,rgba(7,17,31,.16) 46%,rgba(7,17,31,.58) 100%),var(--hero-img) center/cover}.hero-bg:after{content:"";position:absolute;inset:auto 0 0 0;height:180px;background:linear-gradient(180deg,transparent,rgba(7,17,31,.2))}.hero-wrap{position:relative;z-index:2;min-height:720px;display:grid;grid-template-columns:.86fr 1.14fr;align-items:center}.hero-copy{max-width:590px;padding-bottom:56px}.hero h1{font-size:92px;line-height:.92;font-weight:900;color:#fff;-webkit-text-stroke:1px #cfd4dd;text-shadow:0 16px 40px rgba(7,17,31,.13);margin-bottom:16px}.brand-line{display:flex;align-items:center;gap:12px;color:#b47b00;font-weight:900;font-size:25px;margin-bottom:18px}.brand-line:before,.brand-line:after{content:"";width:54px;height:3px;border-radius:9px;background:var(--gold)}.hero p{color:#465265;font-size:18px;line-height:2;margin-bottom:26px}.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-bottom:22px}.rating{display:flex;gap:13px;align-items:center;color:#788395;font-weight:700}.stars{color:var(--gold);font-size:20px;letter-spacing:4px}.side-badge{position:absolute;left:0;top:50%;transform:translateY(-50%);background:linear-gradient(135deg,var(--gold2),var(--gold));color:#111;padding:22px 15px;border-radius:18px 0 0 18px;font-weight:900;writing-mode:vertical-rl;box-shadow:var(--shadow)}
.service-strip{position:relative;z-index:4;margin-top:-88px}.service-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.service-card{min-height:150px;padding:22px 16px;border-radius:20px;text-align:center;background:linear-gradient(180deg,#132238,#08111f);color:#fff;border:1px solid rgba(255,255,255,.14);box-shadow:var(--shadow);transition:.25s}.service-card:hover{transform:translateY(-6px)}.service-icon{width:54px;height:54px;border-radius:16px;margin:0 auto 12px;display:grid;place-items:center;background:rgba(242,170,0,.13);font-size:28px;color:var(--gold)}.service-card h3{font-size:16px;margin-bottom:5px}.service-card p{font-size:12px;line-height:1.65;color:#c8d0dc}
.stats{margin-top:38px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}.stat{padding:28px 20px;display:flex;justify-content:center;align-items:center;gap:16px;border-left:1px solid var(--line)}.stat:last-child{border-left:0}.stat-icon{width:48px;height:48px;border:2px solid #cfd6e2;border-radius:50%;display:grid;place-items:center;color:var(--gold);font-size:24px}.stat strong{display:block;font-size:38px;color:var(--gold);line-height:1}.stat span{font-size:13px;color:#717b8c;font-weight:800}
.section{padding:82px 0}.section-title{text-align:center;margin-bottom:42px}.section-title small{color:var(--gold);font-weight:900}.section-title h2{font-size:44px;color:#0a1730;margin-top:6px}.section-title p{color:var(--muted);line-height:1.85;font-size:17px;max-width:780px;margin:10px auto 0}
.booking-section{background:var(--soft)}.booking-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:stretch}.gallery{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.photo{border-radius:26px;overflow:hidden;position:relative;min-height:250px;background-size:cover;background-position:center;box-shadow:0 18px 45px rgba(7,17,31,.1)}.photo.large{grid-row:span 2;min-height:526px}.photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 38%,rgba(7,17,31,.78))}.photo b{position:absolute;right:22px;bottom:18px;z-index:2;color:#fff;font-size:22px}
.booking-card{background:#fff;border:1px solid var(--line);border-radius:30px;padding:30px;box-shadow:var(--shadow);position:relative;overflow:hidden}.booking-card:before{content:"";position:absolute;inset:auto -80px -90px auto;width:220px;height:220px;border-radius:50%;background:rgba(242,170,0,.12)}.booking-card h3{font-size:34px;color:var(--navy);margin:8px 0 8px}.booking-card p{color:var(--muted);line-height:1.8;margin-bottom:22px}.form-grid{display:grid;gap:13px;position:relative;z-index:2}.input{width:100%;padding:15px 16px;border-radius:14px;border:1px solid #d8dee9;font-family:inherit;font-size:15px;outline:none;background:#fff}textarea.input{height:112px;resize:none}.form-note{margin-top:14px;color:#7a8597;font-size:13px;line-height:1.7}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.why-card{border:1px solid var(--line);border-radius:24px;background:#fff;padding:25px;box-shadow:0 16px 44px rgba(7,17,31,.06)}.why-card span{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:rgba(242,170,0,.13);color:var(--gold);font-weight:900;margin-bottom:14px}.why-card h3{font-size:21px;margin-bottom:8px}.why-card p{color:var(--muted);line-height:1.85;font-size:14px}
.coverage{background:linear-gradient(135deg,#07111f,#11243c);color:#fff}.coverage .section-title h2{color:#fff}.coverage .section-title p{color:#cbd5e1}.areas{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.area{padding:13px 20px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);color:#fff;font-weight:900}
.cta{padding:76px 0;background:#fff}.cta-box{border-radius:32px;padding:44px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:25px;color:#111;background:linear-gradient(135deg,rgba(255,205,60,.95),rgba(242,170,0,.95)),var(--cta-img) center/cover;box-shadow:var(--shadow)}.cta-box h2{font-size:40px}.cta-box p{font-size:18px;line-height:1.8;font-weight:800;margin-top:6px}.cta-actions{display:flex;gap:12px;flex-wrap:wrap}
footer{background:var(--navy);color:#cbd5e1;padding:30px 0;text-align:center}.float{position:fixed;left:18px;bottom:18px;z-index:200;display:flex;flex-direction:column;gap:10px}.float a{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;box-shadow:0 18px 35px rgba(0,0,0,.22);font-size:23px}.float .call{background:var(--gold);color:#111}.float .wa{background:#22c55e;color:#fff}
@media(max-width:1100px){.menu{display:none}.hero-bg{inset:0;background:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,.84) 50%,rgba(7,17,31,.2) 100%),var(--hero-img) center/cover}.hero-wrap{grid-template-columns:1fr}.service-grid{grid-template-columns:repeat(3,1fr)}.booking-layout,.why-grid,.cta-box{grid-template-columns:1fr}}
@media(max-width:720px){.topbar-wrap,.top-info{justify-content:center;text-align:center}.nav{min-height:auto;padding:14px 0}.logo-mark{width:64px;height:58px;border-radius:18px}.logo-mark svg{width:45px;height:45px}.logo-text strong{font-size:32px}.header .btn{display:none}.hero,.hero-wrap{min-height:auto}.hero-wrap{padding:65px 0 130px}.hero h1{font-size:56px}.brand-line{font-size:20px}.brand-line:before,.brand-line:after{width:32px}.service-grid,.stats-grid,.gallery{grid-template-columns:1fr}.photo.large{min-height:300px}.section-title h2,.cta-box h2{font-size:32px}.side-badge{display:none}}

/* ===============================
   Almsreya Premium Fleet Slider
================================ */

.almsreya-fleet-section {
  background: #ffffff;
  overflow: hidden;
}

.almsreya-slider-wrap {
  position: relative;
}

.almsreya-slider-viewport {
  overflow: hidden;
  width: 100%;
  padding: 8px 0 18px;
}

.almsreya-slider-track {
  display: flex !important;
  flex-direction: row !important;
  gap: 22px;
  transition: transform 0.55s ease;
  will-change: transform;
  direction: ltr;
}

.almsreya-slide {
  flex: 0 0 calc((100% - 44px) / 3);
  max-width: calc((100% - 44px) / 3);
  direction: rtl;
}

.almsreya-slide-card {
  position: relative;
  height: 430px;
  border-radius: 32px;
  overflow: hidden;
  background: #dfe6ef;
  box-shadow: 0 22px 60px rgba(7, 17, 31, 0.16);
}

.almsreya-slide-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.almsreya-slide-card:hover img {
  transform: scale(1.07);
}

.almsreya-slide-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(7, 17, 31, 0.05) 20%,
      rgba(7, 17, 31, 0.88) 100%
    );
  z-index: 1;
}

.almsreya-slide-content {
  position: absolute;
  right: 24px;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: #ffffff;
}

.almsreya-slide-content span {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(242, 170, 0, 0.18);
  border: 1px solid rgba(242, 170, 0, 0.35);
  color: #ffcd3c;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 12px;
}

.almsreya-slide-content h3 {
  font-size: 25px;
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 8px;
}

.almsreya-slide-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #dbe3ef;
  margin: 0;
}

.almsreya-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  color: #07111f;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(7, 17, 31, 0.24);
  transition: 0.25s ease;
}

.almsreya-slider-btn:hover {
  background: #f2aa00;
  color: #111111;
}

.almsreya-slider-prev {
  right: -18px;
}

.almsreya-slider-next {
  left: -18px;
}

.almsreya-slider-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
}

.almsreya-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: 0.25s;
}

.almsreya-dot.active {
  width: 34px;
  border-radius: 999px;
  background: #f2aa00;
}

/* Tablet */
@media (max-width: 1000px) {
  .almsreya-slide {
    flex: 0 0 calc((100% - 22px) / 2);
    max-width: calc((100% - 22px) / 2);
  }

  .almsreya-slide-card {
    height: 390px;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .almsreya-slider-track {
    gap: 0;
  }

  .almsreya-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 2px;
  }

  .almsreya-slide-card {
    height: 360px;
    border-radius: 24px;
  }

  .almsreya-slider-prev {
    right: 10px;
  }

  .almsreya-slider-next {
    left: 10px;
  }

  .almsreya-slider-btn {
    width: 46px;
    height: 46px;
    font-size: 34px;
  }

  .almsreya-slide-content h3 {
    font-size: 22px;
  }

  .almsreya-slide-content p {
    font-size: 13px;
  }
}