/* =========================================================
   Digital Hamza - main menu with dropdowns (all pages)
   ========================================================= */
.nav-links { align-items: center; gap: 30px; }
.dd { position: relative; }
.dd-btn {
  position: relative; display: flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer; padding: 6px 0;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--t2); transition: color .3s;
}
.dd-btn i { font-size: 10px; transition: transform .35s var(--ease); }
.dd-btn:hover, .dd.open .dd-btn, .dd-btn.cur { color: var(--t1); }
.dd.open .dd-btn i { transform: rotate(180deg); }
.dd-btn.cur::after { content: ''; position: absolute; left: 0; right: 16px; bottom: -4px; height: 1px; background: var(--g); }
.dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 320px; padding: 10px;
  background: var(--d2); border: 1px solid var(--br2); border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .35s var(--ease), visibility .25s; z-index: 120;
}
.dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }   /* hover bridge */
@media (hover: hover) { .dd:hover .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .dd:hover .dd-btn i { transform: rotate(180deg); } }
.dd.open .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-links .dd-menu a {
  display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 14px; color: var(--t1); transition: background .25s;
}
.nav-links .dd-menu a::after { display: none; }
.nav-links .dd-menu a:hover, .nav-links .dd-menu a[aria-current="page"] { background: var(--d3); }
.dd-menu .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; background: var(--gs); border: 1px solid var(--gb); color: var(--gt); }
.dd-menu a[aria-current="page"] .ic { background: var(--g); border-color: var(--g); color: #fff; }
.dd-menu b { display: block; font-size: 14px; font-weight: 600; }
.dd-menu small { display: block; font-size: 12px; color: var(--t3); font-weight: 500; margin-top: 1px; }
.dd-menu .dd-head { padding: 8px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t3); }

@media (max-width: 1180px) and (min-width: 861px) { .nav-links { gap: 20px; } .nav-right .btn { padding: 0 16px; } }

/* phones / tablets: menu opens as a full-height grouped list */
@media (max-width: 860px) {
  .nav.open .nav-links { max-height: calc(100vh - 84px); overflow-y: auto; align-items: stretch; gap: 0; }
  .nav.open .nav-links .dd { border-bottom: 1px solid var(--br); padding: 6px 0 12px; }
  .nav.open .dd-btn { width: 100%; justify-content: space-between; font-size: 22px; font-weight: 600; color: var(--t1); padding: 12px 0; }
  .nav.open .dd-btn.cur::after { display: none; }
  .nav.open .dd-menu { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 0; display: none; }
  .nav.open .dd.open .dd-menu { display: grid; }
  .nav.open .nav-links .dd-menu a { font-size: 15px; padding: 8px 6px; border-bottom: 0; }
}

/* pictures keep their shape when width and height are given in the page */
img { height: auto; }

.foot-col h3 { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--t3); margin-bottom: 20px; }

/* ---------- MORE LOCATIONS strip (bottom of location and SEO pages) ---------- */
.loc-more { padding: 84px 0; border-top: 1px solid var(--br); }
.loc-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.loc-group h3 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t3); margin-bottom: 16px; }
.loc-more .areas { display: flex; flex-wrap: wrap; gap: 10px; }
.loc-more a.area { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--t1); background: var(--d2); border: 1px solid var(--br); transition: border-color .3s, background .3s; }
.loc-more a.area i { color: var(--gt); font-size: 13px; }
.loc-more a.area:hover { border-color: var(--g); background: var(--gs); }
/* ---------- MORE FROM THE BLOG (bottom of each post) ---------- */
.b-more { margin: -70px 0 110px; padding: 30px 34px; border-radius: 24px; background: var(--d2); border: 1px solid var(--br); }
.b-more h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.b-more li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--br); font-size: 17px; font-weight: 500; color: var(--t1); transition: color .3s; }
.b-more li a:hover { color: var(--gt); }
.b-more li a i { color: var(--gt); font-size: 13px; flex-shrink: 0; }
.b-more .b-all { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--gt); }
@media (max-width: 860px) { .loc-groups { grid-template-columns: 1fr; gap: 28px; } .loc-more { padding: 64px 0; } }
@media (max-width: 720px) { .b-more { margin: -50px 0 80px; padding: 24px 20px; } .b-more li a { font-size: 16px; } }
/* ---------- PAGE TRANSITION: columns ----------
   Leaving a page: five dark bars with a green leading edge rise from the bottom, one after another,
   until they cover the screen. Arriving: the next page starts covered and the bars sink back
   down the way they came, in the same order. One element draws all five bars as background layers, so they can be staggered.
   nav.js adds .pt-leave on a link click; a one-line script in each page's head adds .pt-enter on arrival. */
html::before {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-repeat: no-repeat;
  background-image: linear-gradient(#05BC05 0 4px, #0f0f0f 4px), linear-gradient(#05BC05 0 4px, #121412 4px), linear-gradient(#05BC05 0 4px, #0f0f0f 4px), linear-gradient(#05BC05 0 4px, #121412 4px), linear-gradient(#05BC05 0 4px, #0f0f0f 4px);
  background-position: 0% 100%, 25% 100%, 50% 100%, 75% 100%, 100% 100%;
  background-size: 20.3% 0, 20.3% 0, 20.3% 0, 20.3% 0, 20.3% 0;
}
html.pt-leave::before { animation: pt-rise .5s linear both; }
html.pt-enter::before { animation: pt-lift .54s .04s linear both; }
html.pt-enter main { animation: pt-settle .5s .18s ease-out both; }
@keyframes pt-rise {
  0% { background-size: 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0%; }
  5% { background-size: 20.3% 0.2%, 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0%; }
  10% { background-size: 20.3% 1.9%, 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0%; }
  15% { background-size: 20.3% 6.3%, 20.3% 0.2%, 20.3% 0%, 20.3% 0%, 20.3% 0%; }
  20% { background-size: 20.3% 14.9%, 20.3% 1.9%, 20.3% 0%, 20.3% 0%, 20.3% 0%; }
  25% { background-size: 20.3% 29.1%, 20.3% 6.3%, 20.3% 0.2%, 20.3% 0%, 20.3% 0%; }
  30% { background-size: 20.3% 50.2%, 20.3% 14.9%, 20.3% 1.9%, 20.3% 0%, 20.3% 0%; }
  35% { background-size: 20.3% 71.4%, 20.3% 29.1%, 20.3% 6.3%, 20.3% 0.2%, 20.3% 0%; }
  40% { background-size: 20.3% 85.6%, 20.3% 50.2%, 20.3% 14.9%, 20.3% 1.9%, 20.3% 0%; }
  45% { background-size: 20.3% 94.2%, 20.3% 71.4%, 20.3% 29.1%, 20.3% 6.3%, 20.3% 0.2%; }
  50% { background-size: 20.3% 98.6%, 20.3% 85.6%, 20.3% 50.2%, 20.3% 14.9%, 20.3% 1.9%; }
  55% { background-size: 20.3% 100.3%, 20.3% 94.2%, 20.3% 71.4%, 20.3% 29.1%, 20.3% 6.3%; }
  60% { background-size: 20.3% 100.5%, 20.3% 98.6%, 20.3% 85.6%, 20.3% 50.2%, 20.3% 14.9%; }
  65% { background-size: 20.3% 100.5%, 20.3% 100.3%, 20.3% 94.2%, 20.3% 71.4%, 20.3% 29.1%; }
  70% { background-size: 20.3% 100.5%, 20.3% 100.5%, 20.3% 98.6%, 20.3% 85.6%, 20.3% 50.2%; }
  75% { background-size: 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.3%, 20.3% 94.2%, 20.3% 71.4%; }
  80% { background-size: 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 98.6%, 20.3% 85.6%; }
  85% { background-size: 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.3%, 20.3% 94.2%; }
  90% { background-size: 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 98.6%; }
  95% { background-size: 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.3%; }
  100% { background-size: 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%; }
}
@keyframes pt-lift {
  0% { background-size: 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%; }
  5% { background-size: 20.3% 100.3%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%; }
  10% { background-size: 20.3% 98.6%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%; }
  15% { background-size: 20.3% 94.2%, 20.3% 100.3%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%; }
  20% { background-size: 20.3% 85.6%, 20.3% 98.6%, 20.3% 100.5%, 20.3% 100.5%, 20.3% 100.5%; }
  25% { background-size: 20.3% 71.4%, 20.3% 94.2%, 20.3% 100.3%, 20.3% 100.5%, 20.3% 100.5%; }
  30% { background-size: 20.3% 50.2%, 20.3% 85.6%, 20.3% 98.6%, 20.3% 100.5%, 20.3% 100.5%; }
  35% { background-size: 20.3% 29.1%, 20.3% 71.4%, 20.3% 94.2%, 20.3% 100.3%, 20.3% 100.5%; }
  40% { background-size: 20.3% 14.9%, 20.3% 50.2%, 20.3% 85.6%, 20.3% 98.6%, 20.3% 100.5%; }
  45% { background-size: 20.3% 6.3%, 20.3% 29.1%, 20.3% 71.4%, 20.3% 94.2%, 20.3% 100.3%; }
  50% { background-size: 20.3% 1.9%, 20.3% 14.9%, 20.3% 50.2%, 20.3% 85.6%, 20.3% 98.6%; }
  55% { background-size: 20.3% 0.2%, 20.3% 6.3%, 20.3% 29.1%, 20.3% 71.4%, 20.3% 94.2%; }
  60% { background-size: 20.3% 0%, 20.3% 1.9%, 20.3% 14.9%, 20.3% 50.2%, 20.3% 85.6%; }
  65% { background-size: 20.3% 0%, 20.3% 0.2%, 20.3% 6.3%, 20.3% 29.1%, 20.3% 71.4%; }
  70% { background-size: 20.3% 0%, 20.3% 0%, 20.3% 1.9%, 20.3% 14.9%, 20.3% 50.2%; }
  75% { background-size: 20.3% 0%, 20.3% 0%, 20.3% 0.2%, 20.3% 6.3%, 20.3% 29.1%; }
  80% { background-size: 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 1.9%, 20.3% 14.9%; }
  85% { background-size: 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0.2%, 20.3% 6.3%; }
  90% { background-size: 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 1.9%; }
  95% { background-size: 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0.2%; }
  100% { background-size: 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0%, 20.3% 0%; }
}
@keyframes pt-settle { from { opacity: .3; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html::before { display: none; }
  html.pt-enter main { animation: none; }
}