:root {
  --background: #0a1628;
  --foreground: #ffffff;
  --card:       #112040;
  --secondary:  #162b4d;
  --accent:     #f5a623;
  --muted:      #8fa3c0;
  --main-font:  'Cairo', sans-serif;
  --title-font: 'Amiri', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--background);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.055) 0px,
      rgba(255,255,255,.055) 1px,
      transparent 1px,
      transparent 56px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.028) 0px,
      rgba(255,255,255,.028) 1px,
      transparent 1px,
      transparent 56px
    );
  color: white;
  font-family: var(--main-font);
}

h1, h2, h3 { font-family: var(--title-font); }
p { line-height: 2; }


/* ================= NAVBAR ================= */

.navbar {
  height: 68px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(235, 242, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 235, 255, 0.25);
  box-shadow: 0 2px 24px rgba(10,22,40,0.2);
}

.navbar-inner {
  height: 100%;
  max-width: 1150px;
  margin: auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  direction: rtl;
  gap: 24px;
}

/* logo */
.logo { display: flex; align-items: center; }

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.site-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.logo-name {
  font-family: var(--title-font);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* navigation */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(200,220,255,0.80);
  font-size: 15px;
  transition: color .25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s;
}

.nav-links a:hover { color: #ffffff; }
.nav-links a:hover::after { width: 100%; }

/* buttons */
.btn-book,
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 10px 26px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--main-font);
  transition: background .25s, box-shadow .25s;
  white-space: nowrap;
}

.btn-book:hover,
.btn-primary:hover {
  background: #e0941a;
  box-shadow: 0 0 16px rgba(245,166,35,.45);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,.55);
  color: white;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  transition: border-color .25s, background .25s;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,.08);
}

/* hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* mobile menu */
#mobileMenu {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: rgba(10,24,52,0.96);
  padding: 16px 24px;
  border-top: 1px solid rgba(180,210,255,0.15);
  direction: rtl;
}

#mobileMenu.open { display: flex; }
#mobileMenu a { color: rgba(200,220,255,.85); text-decoration: none; font-size: 15px; }


/* ================= HERO ================= */

.hero {
  height: 600px;
  position: relative;
  overflow: hidden;
  margin-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: -30px;
  z-index: 0;
  transition: transform .1s linear;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to left,
    rgba(10,22,40,.95) 0%,
    rgba(10,22,40,.70) 40%,
    rgba(10,22,40,.40) 100%
  );
}

/* diagonal lines NOT inside hero — body background handles it below */
.hero-lines { display: none; }

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1150px;
  margin: auto;
  padding: 0 20px;
  padding-top: 140px;
  direction: rtl;
}

.hero-label {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 60px;
  color: white;
  margin-bottom: 18px;
  line-height: 1.25;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}


/* ================= ABOUT ================= */

.about {
  background: var(--secondary);
  padding: 70px 20px;
}

.about-inner {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.section-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title { font-size: 40px; }

.section-text { color: var(--muted); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.stat-box {
  border: 1px solid #ffffff20;
  padding: 25px;
  text-align: center;
  border-radius: 8px;
}

.stat-num {
  color: var(--accent);
  font-size: 35px;
}


/* ================= SERVICES ================= */

.services { padding: 70px 20px; }

.services-inner {
  max-width: 1150px;
  margin: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

/* Cards with glow effect */
.card {
  background: var(--card);
  border-radius: 12px;
  padding: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.06);
  outline: none;
  transition:
    transform .3s cubic-bezier(.22,.68,0,1.2),
    box-shadow .3s ease,
    border-color .3s ease;
}

.card:hover,
.card:focus {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(245,166,35,.35),
    0 6px 30px rgba(245,166,35,.25),
    0 0 60px rgba(245,166,35,.10);
  border-color: rgba(245,166,35,.45);
}

.card:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 0 0 2px rgba(245,166,35,.6),
    0 4px 20px rgba(245,166,35,.40),
    0 0 80px rgba(245,166,35,.20);
  border-color: rgba(245,166,35,.7);
}

/* full-width image at top, rectangular */
.icon-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 0;
  background: rgba(255,255,255,.05);
  overflow: hidden;
  border: none;
  transition: box-shadow .3s;
}

.card:hover .icon-wrapper,
.card:focus .icon-wrapper {
  box-shadow: 0 0 18px rgba(245,166,35,.2);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text area below image */
.card-body {
  padding: 16px 18px;
}

.card h3 { font-size: 18px; margin-bottom: 4px; }

.card p { color: var(--muted); font-size: 13px; line-height: 1.5; }


/* ================= FOOTER ================= */

.footer {
  padding: 28px 40px;
  background: rgba(235, 242, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(220, 235, 255, 0.25);
}

.footer-inner {
  max-width: 1150px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand { text-align: right; }

.footer-brand h3 { font-size: 15px; color: #dce8ff; }

.footer-brand p { font-size: 13px; color: var(--muted); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact p { font-size: 13px; color: var(--muted); }


/* ================= MOBILE ================= */

@media(max-width: 768px) {
  .nav-links, .btn-book { display: none; }
  .hamburger { display: block; }
  .hero-title { font-size: 40px; }
  .about-inner, .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 15px; }
}

/* ================= GITHUB PAGES ADDITIONS ================= */
html { scroll-behavior: smooth; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1150px; margin: auto; padding: 0 28px; }
.section { padding: 72px 0; }
.text-link { color: var(--accent); text-decoration: none; font-weight: 700; }
.page-hero { padding: 145px 0 70px; text-align: center; background: rgba(17,32,64,.35); border-bottom: 1px solid rgba(220,235,255,.15); }
.page-hero h1 { font-size: 52px; margin: 12px 0; }
.page-hero p { color: var(--muted); }
.services-preview { display: none !important; }
.packages-highlight { border-top: 1px solid rgba(220,235,255,.15); }
.service-icons-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; margin-top:30px; }
.service-mini-card { min-height:225px; background:var(--card); border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:22px 18px; text-align:center; cursor:pointer; transition:transform .3s cubic-bezier(.22,.68,0,1.2), box-shadow .3s ease, border-color .3s ease; position:relative; overflow:hidden; }
.service-mini-card:hover,.service-mini-card:focus{ transform:translateY(-6px) scale(1.02); box-shadow:0 0 0 1px rgba(245,166,35,.35),0 6px 30px rgba(245,166,35,.25),0 0 60px rgba(245,166,35,.10); border-color:rgba(245,166,35,.45); outline:none; }
.service-mini-card span{ font-size:34px; display:block; margin-bottom:18px; }
.service-mini-card h3{ font-size:24px; margin-bottom:10px; color:#fff; }
.service-mini-card p{ color:var(--muted); font-size:15px; line-height:1.9; }
.service-mini-card small{ position:absolute; top:16px; right:16px; background:rgba(245,166,35,.16); color:var(--accent); border:1px solid rgba(245,166,35,.35); padding:3px 10px; border-radius:999px; font-size:12px; font-weight:700; }
.content-grid { display:grid; grid-template-columns:1.35fr .9fr; gap:24px; align-items:start; }
.booking-form,.info-box { background:linear-gradient(180deg, rgba(17,32,64,.96), rgba(13,28,54,.96)); border:1px solid rgba(220,235,255,.18); border-radius:18px; padding:30px; box-shadow:0 20px 55px rgba(0,0,0,.22); }
.booking-form h2,.info-box h2 { font-size:38px; margin-bottom:22px; text-align:center; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.booking-form label { display:block; color:#fff; font-weight:700; margin-bottom:6px; }
.booking-form input,.booking-form select,.booking-form textarea { width:100%; margin-top:8px; border:1px solid rgba(220,235,255,.22); background:#071425; color:#fff; border-radius:10px; padding:14px 16px; font-family:var(--main-font); font-size:15px; outline:none; transition:border-color .25s, box-shadow .25s, background .25s; }
.booking-form input:focus,.booking-form select:focus,.booking-form textarea:focus { border-color:rgba(245,166,35,.7); box-shadow:0 0 0 3px rgba(245,166,35,.14); background:#091a30; }
.booking-form textarea { min-height:120px; resize:vertical; }
.booking-form .btn-primary { width:100%; border:0; cursor:pointer; margin-top:10px; }
.note { color:var(--muted); font-size:12px; margin-top:14px; text-align:center; }
.info-box { min-height:340px; text-align:right; }
.info-box p { margin:12px 0; color:#dce8ff; }
.footer-links { display:none; }
.floating-whatsapp { position:fixed; left:18px; bottom:18px; z-index:60; background:#25d366; color:white; padding:10px 16px; border-radius:999px; text-decoration:none; font-size:14px; box-shadow:0 8px 24px rgba(0,0,0,.25); }
@media(max-width: 950px){ .service-icons-grid{grid-template-columns:repeat(2,1fr)} .content-grid{grid-template-columns:1fr} }
@media(max-width: 768px){ .container{padding:0 20px} .section{padding:55px 0} .page-hero h1{font-size:38px} .form-row,.service-icons-grid{grid-template-columns:1fr} .booking-form h2,.info-box h2{font-size:32px} }

/* ================= SAMYA FINAL ADJUSTMENTS ================= */
.services-showcase { padding-top: 80px; padding-bottom: 80px; }
.services-showcase .section-label,
.services-showcase .section-title { text-align: right; }
.services-showcase .section-title { font-size: 46px; margin-bottom: 26px; }

.cards-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 18px;
  scrollbar-width: thin;
}
.cards-scroll::-webkit-scrollbar { height: 7px; }
.cards-scroll::-webkit-scrollbar-thumb { background: rgba(245,166,35,.45); border-radius: 999px; }

.service-image-card {
  flex: 0 0 330px;
  scroll-snap-align: start;
  min-height: 350px;
}
.service-image-card .icon-wrapper { height: 210px; }
.service-image-card .card-body { min-height: 138px; padding: 20px 22px 22px; }
.service-image-card h3 { font-size: 25px; color: #fff; }
.service-image-card p { font-size: 14px; color: #a9bdd8; line-height: 1.8; }

/* Hide old emoji service card style if it appears anywhere */
.service-card span,
.service-mini-card span { display: none !important; }

/* CTA area fix */
.cta { border-top: 1px solid rgba(220,235,255,.14); border-bottom: 1px solid rgba(220,235,255,.14); }
.cta-box {
  background: linear-gradient(135deg, rgba(17,32,64,.74), rgba(10,22,40,.88));
  border: 1px solid rgba(220,235,255,.18);
  border-radius: 22px;
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 18px 55px rgba(0,0,0,.20);
}
.cta-box h2 { font-size: 38px; margin-bottom: 8px; }
.cta-box p:not(.section-label) { color: #dce8ff; max-width: 680px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
.cta-actions .btn-primary,
.cta-actions .btn-outline { min-width: 130px; text-align: center; }

/* Booking form enhancement */
.booking-section { padding-top: 70px; }
.booking-layout { align-items: stretch; }
.enhanced-booking,
.contact-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    linear-gradient(180deg, rgba(17,32,64,.98), rgba(9,22,43,.98));
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 24px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}
.enhanced-booking h2 { margin-bottom: 6px; }
.form-intro { text-align: center; color: #dce8ff; margin-bottom: 24px; }
.enhanced-booking label { color: #f7fbff; }
.enhanced-booking input,
.enhanced-booking select,
.enhanced-booking textarea {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.enhanced-booking input::placeholder,
.enhanced-booking textarea::placeholder { color: rgba(220,235,255,.52); }
.enhanced-booking input:focus,
.enhanced-booking select:focus,
.enhanced-booking textarea:focus {
  background: rgba(255,255,255,.12);
  border-color: rgba(245,166,35,.78);
  box-shadow: 0 0 0 3px rgba(245,166,35,.16), 0 0 22px rgba(245,166,35,.12);
}
.contact-card { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.contact-card h2 { text-align: right; margin-bottom: 10px; }
.contact-line {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}
.contact-line strong { display: block; color: #fff; margin-bottom: 5px; }
.contact-line a { color: #dce8ff; text-decoration: none; }
.contact-line:hover { border-color: rgba(245,166,35,.45); box-shadow: 0 0 24px rgba(245,166,35,.10); }

@media (min-width: 1180px) {
  .service-image-card { flex-basis: 350px; }
}
@media (max-width: 768px) {
  .services-showcase .section-title { font-size: 36px; }
  .service-image-card { flex-basis: 82%; min-height: 320px; }
  .service-image-card .icon-wrapper { height: 185px; }
  .cta-box { padding: 28px 22px; flex-direction: column; align-items: stretch; text-align: right; }
  .cta-actions { justify-content: stretch; }
  .cta-actions .btn-primary, .cta-actions .btn-outline { width: 100%; }
}

/* Contact form and phone display fixes */
a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.booking-form input[name="phone"] {
  direction: ltr;
  text-align: left;
}

.booking-form select,
.booking-form select option {
  color: #000;
  background-color: #fff;
}


/* Strong cross-browser fixes for phone direction and service options */
.phone-number,
a[href^="tel:"] {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: left !important;
  display: inline-block !important;
  white-space: nowrap;
}

.booking-form .phone-input,
.booking-form input[name="phone"] {
  direction: ltr !important;
  unicode-bidi: plaintext !important;
  text-align: left !important;
}

.booking-form .service-select,
.booking-form select[name="service"] {
  color: #000000 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  -webkit-text-fill-color: #000000 !important;
  color-scheme: light;
}

.booking-form .service-select option,
.booking-form select[name="service"] option {
  color: #000000 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Display the published phone number in the requested reversed order. */
.reversed-phone {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block !important;
  text-align: left !important;
}
