/* AIRKAM site overrides — loaded after theme.css, responsive.css, dark.css */

:root {
  --brand: #f24a00;       /* visual accent (focus outline, decorative bg) */
  --brand-pill: #d63a00;  /* pill bg — 4.67:1 with white text (WCAG AA) */
  --brand-on-dark: #ff6000; /* orange used as TEXT on dark — 5.18:1 on --bg, 4.67:1 on --bg-elev (WCAG AA) */
  --bg: #242323;
  --bg-elev: #2b2b2b;
  --text-muted: #b8b8b8;
}

/* ========== WCAG AA contrast fixes for brand-orange pills ==========
   White text on the original orange (#f14201) is 4.27:1 — just below
   the 4.5:1 minimum. Pills get a darker orange (4.67:1) below. */

.zoom-services__title,
.zoom-counter__subtitle,
.zoom-slider__title {
  background-color: var(--brand-pill) !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
}

.zoom-services__item:hover {
  background-color: var(--brand-pill);
}

.zoom-counter__read-more:hover,
.zoom-counter__read-more_active {
  color: var(--brand-on-dark);
}

/* Generic .link active/hover uses the original brand orange (#f24a00, 4.29:1
   on dark — fails AA). Override to the AA-compliant text-on-dark token. */
.link:hover,
.link_active {
  color: var(--brand-on-dark) !important;
}

/* The hero + about-counter elements are set to opacity:0 by theme.js as part of
   a scroll-pin fade-in. Accessibility scanners read computed text as fully
   transparent ("rgba(255,255,255,0) on #242323") and flag contrast failure.
   Force them visible — the entrance is no longer animated, but the page
   becomes WCAG-compliant. */
.zoom-image-head__subtitle,
.zoom-image-head__title,
.zoom-image-head__text,
.zoom-image-head__icon,
.zoom-counter__card,
.zoom-counter__title,
.zoom-counter__subtitle,
.zoom-counter__text,
.zoom-counter__read-more {
  opacity: 1 !important;
  transform: none !important;
}

/* Solid dark background for the page so the hero sits cleanly */
body, main { background: var(--bg); }
.page__inner { background: var(--bg); }

/* ========== Accessibility: focus, skip link, reduced motion ========== */
a:focus,
button:focus,
[role="button"]:focus,
input:focus,
[tabindex]:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
[tabindex]:focus-visible,
.zoom-services__item:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-pill);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== Header: structure + WCAG contrast ========== */

/* Always-on translucent dark bg so header text is readable on any hero photo */
.header__container {
  background: rgba(36, 35, 35, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0;
  padding-bottom: 0;
}

/* Desktop: single-row header (logo | nav | lang). Mobile: top row (logo + burger). */
.header__logo_desktop { display: none; }

@media (min-width: 992px) {
  .header__menu-button { display: none; }
  .header__wrapper { display: none; }

  /* Take .header-fixed out of absolute flow so it occupies actual header space */
  .header-fixed {
    position: static;
    bottom: auto;
  }

  .header-fixed__bottom {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 60px;
  }

  .header__logo_desktop {
    display: inline-flex;
    align-items: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    line-height: 0;
  }

  /* Nav fills the middle and centers its items between logo and lang */
  .header-fixed__bottom > nav {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
  }

  .header-fixed__bottom .top-menu {
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .header-fixed__bottom .top-menu__menu-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 8px 0;
  }

  .header-fixed__bottom > .top-menu__lang {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 24px;
  }

  /* Pinned/scrolled state already gets dark bg from dark.css — keep it solid there.
     theme.css adds padding-top: 28px here; drop it and tighten the row. */
  .header_is_fixed .header__container {
    padding-top: 0;
    padding-bottom: 0;
    background: #242323;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 991px) {
  .header__container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .header__wrapper { margin-bottom: 0; }
  .header_is_fixed .header__container {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

/* ========== Logo (square image) ========== */
.header__logo {
  display: inline-block;
  line-height: 0;
  letter-spacing: 0;
}

.logo__image {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 575px) {
  .logo__image {
    width: 36px;
    height: 36px;
  }
}

.footer-studio__logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 18px;
  transition: opacity 0.3s;
}

.footer-studio__logo:hover {
  opacity: 0.85;
}

.footer-studio__logo-image {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

/* ========== Top menu: force white text in desktop header ========== */
.header__container .top-menu__menu-link {
  color: #fff;
}

.header__container .top-menu__menu-link:hover,
.header__container .top-menu__menu-link_active {
  color: var(--brand-on-dark);
}

/* Even after scroll-pinned state */
.header_is_fixed .header__container .top-menu__menu-link {
  color: #fff;
}

/* ========== Top menu: language switcher ========== */
.top-menu__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-transform: uppercase;
}

.top-menu__lang-link {
  color: #d9d9d9;
  text-decoration: none;
  padding: 6px 6px;
  transition: color 0.3s;
}

.top-menu__lang-link:hover {
  color: var(--brand-on-dark);
}

.top-menu__lang-link_active {
  color: var(--brand-on-dark);
}

.top-menu__lang-sep {
  color: #999;
  user-select: none;
}

@media (max-width: 991px) {
  .top-menu__lang-link {
    padding: 10px 8px;
  }
}

/* ========== Service items: smaller, accessible text ========== */
.zoom-services__item {
  padding: 30px 24px;
}

.zoom-services__item-head {
  display: block;
  margin-bottom: 14px;
}

.zoom-services__item-head .zoom-services__item-icon {
  margin-bottom: 18px;
  font-size: 36px;
}

.zoom-services__item-title {
  font-size: 22px;
  line-height: 1.1;
  margin: 0;
  font-family: 'Teko', Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.zoom-services__item-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.zoom-services__item:hover .zoom-services__item-text {
  color: #fff;
}

/* ========== List column modifiers ========== */
.zoom-services__list_3-col .zoom-services__item {
  width: 33.3333%;
}

/* 5-col: 2 items on top row (50%) + 3 items on bottom row (33.33%) */
.zoom-services__list_5-col .zoom-services__item {
  width: 33.3333%;
}

.zoom-services__list_5-col .zoom-services__item:nth-child(1),
.zoom-services__list_5-col .zoom-services__item:nth-child(2) {
  width: 50%;
}

@media (max-width: 991px) {
  .zoom-services__list_3-col .zoom-services__item,
  .zoom-services__list_5-col .zoom-services__item,
  .zoom-services__list_5-col .zoom-services__item:nth-child(1),
  .zoom-services__list_5-col .zoom-services__item:nth-child(2) {
    width: 50%;
  }
}

/* Keep 2 columns at small tablets, single column only on phones */
@media (max-width: 767px) {
  .zoom-services__list,
  .zoom-services__list_3-col,
  .zoom-services__list_5-col {
    display: -ms-flexbox;
    display: flex;
  }
  .zoom-services__item,
  .zoom-services__list_3-col .zoom-services__item,
  .zoom-services__list_5-col .zoom-services__item,
  .zoom-services__list_5-col .zoom-services__item:nth-child(1),
  .zoom-services__list_5-col .zoom-services__item:nth-child(2) {
    width: 50%;
  }
}

@media (max-width: 575px) {
  .zoom-services__list,
  .zoom-services__list_3-col,
  .zoom-services__list_5-col {
    display: block;
  }
  .zoom-services__item,
  .zoom-services__list_3-col .zoom-services__item,
  .zoom-services__list_5-col .zoom-services__item,
  .zoom-services__list_5-col .zoom-services__item:nth-child(1),
  .zoom-services__list_5-col .zoom-services__item:nth-child(2) {
    width: 100%;
    padding: 22px 22px 26px;
  }
  .zoom-services__item-head {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
  }
  .zoom-services__item-head .zoom-services__item-icon {
    font-size: 28px;
    margin-bottom: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    line-height: 1;
  }
  .zoom-services__item-head .zoom-services__item-title {
    font-size: 22px;
  }
}

/* ========== Hero title: smaller for long Greek copy ========== */
.zoom-image-head__title,
.zoom-counter__title,
.zoom-services__item-title,
.zoom-services__title {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 1199px) {
  .zoom-image-head__title { font-size: 84px; }
}

@media (max-width: 991px) {
  .zoom-image-head__title { font-size: 60px; }
  .zoom-image-head__content { padding-top: 80px; }
}

@media (max-width: 575px) {
  .zoom-image-head__title { font-size: 40px; margin-bottom: 22px; }
  .zoom-image-head__subtitle { font-size: 16px; margin-bottom: 16px; }
  .zoom-image-head__icon { margin-top: 5vh; font-size: 36px; }
}

/* ========== Counter section: better mobile spacing ========== */
@media (max-width: 575px) {
  .zoom-counter { padding: 70px 0 30px; }
  .zoom-counter__title { font-size: 44px; margin-bottom: 26px; line-height: 1; }
  .zoom-counter__card { padding: 38px 30px 44px 36px; margin-bottom: 36px; }
  .zoom-counter__card-title { font-size: 22px; margin-bottom: 50px; }
  .zoom-counter__card-description { font-size: 18px; }
  .zoom-counter__text { margin-bottom: 36px; }
}

/* ========== Body text contrast on dark bg (WCAG AA) ========== */
.zoom-counter__text {
  color: var(--text-muted);
}

.zoom-counter__text p {
  color: inherit;
}

/* Indent the bullet list so bullets don't touch the container edge */
.zoom-counter__text ul {
  list-style: disc outside;
  margin: 14px 0 24px;
  padding-left: 24px;
}

.zoom-counter__text li {
  padding-left: 6px;
  margin-bottom: 8px;
  color: inherit;
}

/* Card-title labels need more padding-right inside the dark inner frame */
.zoom-counter__card-title {
  padding-right: 8px;
}

@media (max-width: 575px) {
  .zoom-counter__card-title {
    padding-right: 12px;
  }
}

.zoom-counter__title { color: #fff; }
.zoom-services__title { color: #fff; }
.zoom-services__item-title { color: #fff; }
.zoom-services__item:hover .zoom-services__item-title { color: #fff; }

/* Hero text on light hero photo: keep dark contrast unless image is dark */
.zoom-image-head { color: #fff; position: relative; }
.zoom-image-head__title {
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
.zoom-image-head__subtitle {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}
.zoom-image-head__text {
  color: #f0f0f0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* Dark gradient overlay — guarantees AA contrast over any hero photo */
.zoom-image-head__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(0, 0, 0, 0.55) 0%,
              rgba(0, 0, 0, 0.30) 35%,
              rgba(0, 0, 0, 0.55) 100%);
  z-index: 2;
  pointer-events: none;
}

.zoom-image-head__content {
  position: relative;
  z-index: 4;
}

/* ========== Footer text wrapping for long copy ========== */
.footer-studio__group-title,
.footer-studio__list-link,
.footer-studio p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Footer link contrast on dark bg */
.footer-studio__list-link,
.footer-studio p a {
  color: #d9d9d9;
}

.footer-studio__list-link:hover,
.footer-studio p a:hover {
  color: #fff;
}

/* ========== Zoom slider polish on dark ========== */
.zoom-slider {
  margin-bottom: 100px;
}

.zoom-slider__title {
  color: #fff;
}

/* Bottom-fade gradient so the thumb-button labels stay readable on any photo */
.zoom-slider__slide {
  position: relative;
}

.zoom-slider__slide::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  background: linear-gradient(to bottom,
              rgba(0, 0, 0, 0) 0%,
              rgba(0, 0, 0, 0.35) 45%,
              rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Thumb buttons must sit above the gradient */
.zoom-slider__buttons {
  z-index: 3;
}

.zoom-slider__filter-link {
  color: var(--text-muted);
}

.zoom-slider__filter-link:hover,
.zoom-slider__filter-link.link_active {
  color: var(--brand-on-dark);
}

.zoom-slider__head-link {
  color: #d9d9d9;
}

.zoom-slider__head-link:hover {
  color: var(--brand-on-dark);
}

.zoom-slider__button {
  color: #d9d9d9;
}

.zoom-slider__button-title {
  color: #fff;
}

@media (max-width: 991px) {
  .zoom-slider__filter {
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 18px 0;
  }
}

/* ========== Visually-hidden helper (for screen-reader-only text) ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Mobile menu fixes ========== */

/* The desktop nav row (.header-fixed) is position:absolute inside the header,
   so wherever it is visible it stacks on top of the mobile logo/burger row.
   theme's responsive.css only hides it below 768px, which left it overlapping
   the burger across the whole 768–991px range (iPad portrait, big Androids). */
@media (max-width: 991px) {
  .header-fixed__bottom {
    display: none;
  }
}

/* Panel links: 44px minimum tap target, and room to breathe on narrow phones
   (the theme's 60px side padding leaves ~240px of content on a 360px screen). */
.menu-panel__menu-link {
  padding: 6px 0;
}

@media (max-width: 575px) {
  .menu-panel__inner {
    padding-left: 28px;
    padding-right: 28px;
  }

  .menu-panel__menu-link {
    font-size: 26px;
  }
}

/* Anchor targets clear the pinned header, so a menu tap does not drop the
   section heading underneath it. */
main section[id] {
  scroll-margin-top: calc(76px + var(--banner-h));
}

@media (min-width: 992px) {
  main section[id] {
    scroll-margin-top: calc(84px + var(--banner-h));
  }
}

/* ========== Contact details: footer list ========== */
.footer-contact {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  margin-bottom: 12px;
}

.footer-contact a {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #d9d9d9;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact__icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--brand-on-dark);
}

.footer-contact__icon svg {
  width: 18px;
  height: 18px;
}

/* Map in place of the photo card in #contact — stretches to the info column's height */
.contact-map {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -ms-flex-item-align: stretch;
  align-self: stretch;
  width: 40%;
  min-height: 420px;
  margin-right: 8%;
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
}

.contact-map__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Dark-tone the light Google map so it sits in the dark page */
  filter: invert(0.9) hue-rotate(180deg) saturate(0.7) contrast(0.95);
}

@media (max-width: 1199px) {
  .contact-map {
    width: 45%;
    margin-right: 5%;
  }
}

@media (max-width: 767px) {
  .contact-map {
    width: 100%;
    min-height: 0;
    height: 320px;
    margin: 0 0 40px;
  }
}

/* Compact sticky header once the page is scrolled */
@media (min-width: 992px) {
  .header_is_fixed .header-fixed__bottom {
    padding-top: 4px;
    padding-bottom: 4px;
    min-height: 52px;
  }

  .header_is_fixed .logo__image {
    width: 34px;
    height: 34px;
  }
}

/* Keep the accounting-note colour used in the footer */
.footer-contact__note {
  color: var(--text-muted);
}

/* ========== Contact details: single panel in #contact ========== */
.zoom-counter_contact .zoom-counter__text {
  margin-bottom: 28px;
}

.contact-panel {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
}

.contact-row {
  display: grid;
  grid-template-columns: 40px 104px minmax(0, 1fr);
  align-items: start;
  column-gap: 16px;
  padding: 22px 26px;
}

.contact-row + .contact-row {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(242, 74, 0, 0.12);
  color: var(--brand-on-dark);
}

.contact-row__label {
  padding-top: 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-row__values {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 32px;
  padding-top: 7px;
  min-width: 0;
}

.contact-row__values_split {
  justify-content: space-between;
  align-items: center;
}

.contact-row__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-row__sub {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

.contact-row__value {
  margin: 0;
  font-size: 17px;
  font-style: normal;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

address.contact-row__value {
  white-space: normal;
}

a.contact-row__value:hover {
  color: var(--brand-on-dark);
}

.contact-row__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-on-dark);
  text-decoration: none;
  border: 1px solid var(--brand-on-dark);
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}

.contact-row__button:hover {
  background: var(--brand-pill);
  border-color: var(--brand-pill);
  color: #fff;
}

/* Tighter rows: label moves above the values */
@media (max-width: 1199px) {
  .contact-row {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 20px 22px;
  }

  .contact-row__label {
    padding-top: 0;
    align-self: center;
  }

  .contact-row__values {
    grid-column: 2;
    padding-top: 8px;
  }
}

@media (max-width: 575px) {
  .contact-row { padding: 18px 16px; column-gap: 14px; }
  .contact-row__value { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
}

/* ========== Funding banner (ΕΣΠΑ publicity): fixed top-left under the menu, not dismissible ==========
   The inline script sets --banner-top to the menu bar's bottom edge (it moves
   as theme.js scrolls/pins the header) and --banner-h to the banner height,
   used to keep anchor targets clear of it. The values below are fallbacks. */
:root {
  --banner-top: 62px;
  --banner-h: 52px;
}

.funding-banner {
  position: fixed;
  top: var(--banner-top);
  left: 0;
  z-index: 1000;
  padding: 6px 10px;
  background: #fff;
  border-radius: 0 0 4px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.funding-banner__link {
  display: block;
  line-height: 0;
  color: #1a1a1a; /* the sr-only text is still contrast-checked by WAVE */
}

.funding-banner__image {
  display: block;
  width: 340px;
  height: auto;
}

@media (max-width: 575px) {
  .funding-banner { padding: 4px 8px; }
  .funding-banner__image { width: 250px; }
}

/* The open mobile menu panel sits under the banner — keep its GR/EN links clear of it */
.menu-panel__locales {
  margin-top: calc(var(--banner-h) + 12px);
}

/* ========== Mobile menu panel: really hidden while closed ==========
   theme.css only slides the panel off-screen and fades its contents to
   opacity 0, so its links stayed keyboard-focusable and checkers (WAVE)
   reported them as invisible text. Hide it after the slide-out finishes. */
.menu-panel {
  visibility: hidden;
  transition: transform 0.6s, visibility 0s linear 0.6s;
}

.menu-panel.header__menu_opened {
  visibility: visible;
  transition: transform 0.6s, visibility 0s linear 0s;
}
