/*
 * BASE
 */
:root {
  --darkGrey: rgba(43, 43, 43, 1);
  --black: rgba(15, 15, 15, 1);
  --black2: rgba(27, 27, 27, 1);
  --black3: rgba(58, 58, 58, 1);
  --blackOp5: rgba(27, 27, 27, 0.5);
  --blackOp7: rgba(27, 27, 27, 0.7);
  --blackOp9: rgba(27, 27, 27, 0.95);
  --gold: rgba(243, 230, 70, 1); /* KAD gold */
  --mediumGold: rgba(224, 187, 81, 1);
  --mediumGoldOp4: rgba(224, 187, 81, 0.4);
  --mediumGoldOp1: rgba(224, 187, 81, 0.1);
  --mediumGoldOp05: rgba(224, 187, 81, 0.05);
  --teal: rgba(89, 188, 248, 1);
  --tealOp4: rgba(89, 188, 248, 0.4);
  --tealOp1: rgba(89, 188, 248, 0.1);
  --magenta: rgba(234, 58, 143, 1);
  --magentaOp4: rgba(234, 58, 143, 0.4);
  --magentaOp1: rgba(234, 58, 143, 0.1);
  --white: rgba(235, 235, 235, 1);
  --whiteOp: rgba(255, 255, 255, 0.2);
  --warning: rgba(233, 107, 107, 1);
  --warning-light: rgba(219, 152, 152, 1);
  --warning-dark: rgba(86, 10, 10, 1);
  --max-width: 90vw;
  --success-dark-grn: rgba(5, 71, 29, 1);
  --success-light-grn: rgba(130, 164, 142, 1);
  --success-light-grnOp4: rgba(130, 164, 142, 0.4);
  --3d-effect: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.15)
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--white);
}

/*
 * BODY DEFAULTS
 */
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  line-height: 1.5;
  background-color: var(--black2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: auto;
}

html[lang="ar"] body {
  font-family: "Cairo", sans-serif;
}

/*
 * RTL + LTR
 */
[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

.arabic {
  text-align: right;
  direction: rtl;
  font-family: "Cairo", sans-serif;
}

.french {
  direction: ltr;
  color: inherit;
}

/*
 * REVEALS
 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Horizontal reveals */
.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.delay {
  transition-delay: 0.3s;
}

.reveal.delay-2 {
  transition-delay: 0.6s;
}

/*
 * LINKS
 */
a {
  color: var(--white);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}

a.btn:hover,
a.btn:focus {
  text-decoration: none;
}

/*
 * LISTS
 */
ul,
ol {
  list-style: none;
}

html[dir="rtl"] {
  direction: rtl;
}

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

.icon-wrapper {
  border-radius: 50%;
  width: 130px;
  height: 130px;
  background-color: var(--color);
  padding: 1em;
  margin: 0 auto 1em;
  /* filter: drop-shadow(0 0 6px var(--color)); */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 8px solid var(--blackOp5);

  i {
    font-size: 3rem;
  }
}

.card .fa-circle-user {
  font-size: 2.2rem;
  color: var(--mediumGold);
}

/*
 * FORMS
 */
input,
button,
.btn,
textarea,
select {
  font: inherit;
}

/*
 * BUTTONS
 */
.btn {
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform: translateZ(0);
  text-transform: uppercase;
  background-color: var(--color);
  background-image: var(--3d-effect);
  padding: 0.5em 1em;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--colorOp);
}

.btn:active {
  transform: scale(0.98);
}

/*
 * HEADER
 */
header {
  position: relative;
  background-position: center;
  background-size: cover;
  margin-bottom: 3em;
}

header.with-img {
  background-image: url(../images/hero1.png);
}

/* Darken ONLY the background image */
header.with-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

/* Keep header content above overlay */
header > * {
  position: relative;
  z-index: 1;
}

nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(15px) saturate(180%);
  background-color: rgba(27, 27, 27, 0.75);
  padding: 0.9em calc((100vw - var(--max-width)) / 2);
  border-bottom: 1px solid rgba(224, 187, 81, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25em;
  list-style: none;
}

.nav-menu li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4em 0.8em;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu li a:hover {
  color: var(--mediumGold);
  background-color: rgba(224, 187, 81, 0.1);
  text-decoration: none;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--mediumGold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu li a:hover::after,
.nav-menu li a[aria-current="page"]::after {
  width: 70%;
}

#languages {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4em 0.9em;
  background-color: rgba(58, 58, 58, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(224, 187, 81, 0.3);
}

#languages a {
  color: var(--mediumGold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#languages a:hover {
  background-color: rgba(224, 187, 81, 0.2);
  color: var(--gold);
}

#languages a[aria-current="page"] {
  background-color: var(--mediumGold);
  color: var(--black2);
}

#languages span {
  color: rgba(224, 187, 81, 0.5);
  font-weight: 300;
}

#logo-sub {
  width: 180px;
  filter: drop-shadow(0px 0px 1px var(--mediumGold));
}

nav a {
  color: var(--mediumGold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--mediumGold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5em;
}

/*
 * MAIN
 */
main {
  z-index: 5;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  margin: 64px auto 0;
  text-align: center;
  padding: 5em 2em;
}

main h1 {
  max-width: 700px;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 16px rgba(0, 0, 0, 0.7);
}

main p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 550px;
}

.cta-button {
  color: var(--black2);
  padding: 0.9em 2.2em;
  font-size: 0.95rem;
  display: inline-block;
  box-shadow: 0 4px 15px var(--colorOp);
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224, 187, 81, 0.6);
}

.cta-button:active {
  transform: translateY(0);
}

/*
 * BOXED SECTIONS
 */
.box-sections {
  max-width: var(--max-width);
  margin: 0 auto 6em;
  padding: 3em 0;
  display: flex;
  flex-direction: column;
  gap: 5em;
}

.color-section {
  display: flex;
  gap: 1em;
  align-items: center;
}

.color-section > section {
  flex: 1;
  border: 2px solid var(--color);
  box-shadow: 0 0 8px var(--colorOp);
  padding: 1.5em;
  position: relative;
  border-radius: 0.25em;
}

.teal {
  --color: var(--teal);
}

.tealOp4 {
  --colorOp: var(--tealOp4);
}

.magenta {
  --color: var(--magenta);
}

.magentaOp4 {
  --colorOp: var(--magentaOp4);
}

.medium-gold {
  --color: var(--mediumGold);
}

.medium-goldOp4 {
  --colorOp: var(--mediumGoldOp4);
}

/*
 * FOOTER
 */
footer {
  background-color: var(--black);
  border-top: 1px solid var(--black3);
  padding: 3em 0 1.5em;
}

.footer-top {
  max-width: var(--max-width);
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: 3em;
}

.footer-logo {
  max-width: 124px;
  margin-bottom: 1em;
}

.footer-col h4 {
  margin-bottom: 1em;
  color: var(--mediumGold);
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-col p,
.footer-col li {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-description {
  opacity: 0.85;
  max-width: 280px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65em;
}

.footer-col ul li {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.footer-col ul li i {
  color: var(--mediumGold);
  font-size: 0.9rem;
  min-width: 18px;
}

.footer-contact a:hover,
.footer-col ul a:hover {
  color: var(--mediumGold);
  text-decoration: none;
  cursor: pointer;
}

.footer-socials {
  display: flex;
  gap: 1em;
  margin-top: 1.25em;
}

.footer-socials a,
.copy-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black3);
  border-radius: 50%;
  color: var(--mediumGold);
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.footer-socials a:hover,
.copy-link:hover {
  background-color: var(--mediumGold);
  transform: translateY(-3px);

  i {
    color: var(--black2);
  }
}

.copy-link.copied {
  background-color: var(--teal);
}

.footer-badges {
  max-width: var(--max-width);
  margin: 2em auto 0;
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  padding: 1.5em 0;
  border-top: 1px solid var(--black3);
}

.footer-badges span {
  font-size: 0.85rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.footer-badges i {
  color: var(--mediumGold);
}

.footer-review-link {
  color: var(--teal);
}

.footer-review-link:hover {
  color: var(--mediumGold);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5em;
  border-top: 1px solid var(--black3);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-bottom a {
  opacity: 0.65;
  margin-left: 0.35em;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.footer-bottom a:hover {
  opacity: 1;
  color: var(--mediumGold);
  text-decoration: none;
}

.footer-hours {
  margin-top: 1em;
  font-size: 0.85rem;
}

.footer-hours i {
  color: var(--mediumGold);
  margin-right: 0.4em;
}

.footer-hours .hours-link {
  display: block;
  margin-top: 0.35em;
  font-size: 0.8rem;
  color: var(--mediumGold);
  text-decoration: none;
}

.footer-hours .hours-link:hover {
  text-decoration: underline;
}

.status-open {
  color: var(--teal);
  font-weight: 600;
  margin-left: 0.4em;
  white-space: nowrap;
}

.status-closed {
  color: var(--warning);
  font-weight: 600;
  margin-left: 0.4em;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal);
  margin-right: 6px;
  vertical-align: middle;
}

/* RTL flips directions */

html[dir="rtl"] .reveal-right.visible,
html[dir="rtl"] .reveal-left.visible,
.reveal-left.visible,
.reveal-right.visible {
  transform: translateX(0);
}

html[dir="rtl"] {
  .reveal-left {
    transform: translateX(40px);
  }
  .reveal-right {
    transform: translateX(-40px);
  }

  .status-dot {
    margin-right: 0;
    margin-left: 6px;
  }
}

.google-review-btn {
  gap: 0.6em;
  color: var(--black2);
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform: translateZ(0);
  text-transform: uppercase;
  background-color: var(--color);
  background-image: var(--3d-effect);
  padding: 0.75em 1.25em;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

.google-review-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--colorOp);
  text-decoration: none;
}

.google-review-btn i {
  font-size: 1.25rem;
  color: inherit;
}

/*
 * TABLET
 */
@media screen and (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  nav {
    padding: 0.25em 1em;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(27, 27, 27, 0.98);
    backdrop-filter: blur(15px);
    padding: 1.5em;
    gap: 0.5em;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(224, 187, 81, 0.2);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu li {
    width: 100%;
    order: 1;
  }

  .nav-menu li a {
    display: block;
    padding: 0.8em 1em;
    text-align: center;
  }

  .nav-menu li a:hover::after,
  .nav-menu li a[aria-current="page"]::after {
    width: 50%;
  }

  #languages {
    margin-top: 1em;
    max-width: fit-content;
    order: 0;
  }

  main h1 {
    font-size: 1.8rem;
  }

  main p {
    font-size: 1rem;
  }

  #logo-sub {
    width: 140px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5em;
  }

  .footer-logo {
    max-width: 140px;
  }

  .footer-description {
    max-width: 100%;
  }
}

/*
 * MOBILE
 */
@media screen and (max-width: 600px) {
  main {
    padding: 5em 0;
  }

  header {
    margin-bottom: 1em;
  }

  .box-sections {
    margin-bottom: 2.5em;
  }

  .google-review-btn {
    font-size: 0.7rem;
  }

  .footer-badges {
    gap: 1em;
  }
}
