/* ========== HEADER / MENU ========== */
.container {
  margin: 0 auto;
  padding-inline: 100px;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: color 0.3s ease, filter 0.3s ease;
}

.header__inner {
  display: flex;
  align-items:center;
  justify-content:space-between;
}

.header__logo img {
  display: block;
  max-height: 36px;
  margin-top: 25px;
}

/* MENU button  */
.header__menu-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family:"Ancizar Serif" ,serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, color 0.25s ease-out;
}

.header__menu-label {
  display: inline-block;
}
/* ================= HEADER THEMES ================= */
.header--light .header__menu-btn {
    color: #ffff;
    padding-top: 28px;
}

.header--dark .header__menu-btn {
    color: #1330b4;
    padding-top: 25px;
}

body.is-hero-loaded .header__logo img,
body.is-hero-loaded .header__menu-btn {
  opacity: 1;
}
/* Hamburger Icon */
.header__menu-icon {
  display: none;
  width: 24px;
  height: 18px;
  position: relative;
}
.header__menu-icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 1px;
  background-color: currentColor;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55),
              opacity 0.3s ease;
}

.header__menu-icon span:nth-child(1) {top: 0;}

.header__menu-icon span:nth-child(2) {top: 8px;}

.header__menu-icon span:nth-child(3) {top: 16px;}

body.is-menu-open .header__menu-icon span:nth-child(1) {transform: translateY(8px) rotate(45deg);}

body.is-menu-open .header__menu-icon span:nth-child(2) {opacity: 0;}

body.is-menu-open .header__menu-icon span:nth-child(3) {transform: translateY(-8px) rotate(-45deg);}
/* ========== FULLSCREEN MENU OVERLAY ========== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  background-color: #13309f;
  color: #ffffff;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: height 1s ease, opacity 0.3s ease-out;
}

body.is-menu-open .menu-overlay {
  height: 100vh;
  opacity: 1;
  pointer-events: auto;
}
.menu-col__title a{
    text-decoration: none;
    color: #ffffff;
}
.menu-overlay__top {
  height: 70vh;
  background-image: url("../img/header/waves.png");
  background-size: cover;
  background-position: center top;
}


.menu-overlay__top-inner {
  display: flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom: 34px;
  padding-top: 30px;
}

.menu-overlay__logo img {
  display:inline-block;
  max-height: 36px;
  transform: translateY(-10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  transition-delay: 0.9s;
}

.menu-overlay__close-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Ancizar Serif" ,serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  padding-bottom: 40px;
}

.menu-overlay__nav {
  margin-top: 60px;
  padding-bottom: 124px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 80px;
  row-gap: 56px;
}

.menu-col--news {
  grid-column: 1 / span 1;
  grid-row: 2;
}

.menu-col--contact {
  grid-column: 2 / span 1;
  grid-row: 2;
}

.menu-col__title {
  margin: 0 0 16px;
  font-family: "Ancizar Serif", serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
}

.menu-col__list {
  list-style: none;
  margin-left: 20px;
  padding: 0;
}

.menu-col__list li + li {
  margin-top: 6px;
}

.menu-col__list a {
  position: relative;
  display: inline-block;
  font-family: "Ancizar Serif", serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.6;
  color: #ffffff;
  text-decoration: none;
  padding-left: 14px;
}

.menu-col__list a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
}

.menu-overlay__bottom {
  position: relative;
  width: 100%;
  height: 30vh;
  overflow: hidden;
  background-image: url("../img/contact-us.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 100%;
}
/* ========== MOBILE MENU ========== */

.mobile-menu {
   position: fixed;
   inset: 0;
   width: 100vw;
   height: 100vh;
   background: linear-gradient(180deg, #021567 41%, rgba(11, 29, 108, 0) 67%), url(../img/kito-wave/wave-BG-mobile.png);
   background-size: cover;
   background-position: center top;
   color: #fff;
   z-index: 9999;
   overflow: hidden;
   transform: translateY(-100%);
   pointer-events: none;transition: transform 1100ms cubic-bezier(.22,1,.36,1), opacity 220ms ease;
}

.mobile-menu--open {
     transform: translateY(0);
     pointer-events: auto;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.95;
  pointer-events: none;
}

/* Panel styles moved to MOBILE MENU ANIMATIONS section below */

.mobile-menu__panel {
  position: absolute;
  inset: 0;
  padding: 24px 24px 32px;
  display: none;
  flex-direction: column;
}

.mobile-menu__panel--active {
  display: flex;
}

/* -------------------------------------------------- */
/* Top bar                                            */
/* -------------------------------------------------- */

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  margin-right:20px;
  z-index: 1;
}

.mobile-menu__top--sub {
  margin-bottom: 24px;
}

.mobile-menu__logo img {
  max-height: 64px;
  width: auto;
  position: relative;
  right: 40px;
}

.mobile-menu__close {
    border: none;
    background: transparent;
    color: #fff;
    margin-right: -12px;
    cursor: pointer;
    transition: transform 0.4s ease;
    font-size: 24px;
}

.mobile-menu__close:hover {
    transform: scale(1.05);
}

.mobile-menu__close:active {
    transform: scale(0.98);
}

.mobile-menu__back {
  border: none;
  background: transparent;
  cursor: pointer;
  margin-right: 12px;
}

.mobile-menu__back-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #fff;
  font-size: 18px;
  line-height: 1;
  color: #ffffff !important;
}

.mobile-menu__section-title {
  font-family: "Ancizar Serif", serif;
  font-weight: 600;
  font-size: 24px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 1;
  font-size: 24px!important;
}

.mobile-menu__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-family: "Ancizar Serif", serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu__item:nth-child(n+4) {
  font-size: 40px;
}

.mobile-menu__circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #fff;
  font-size: 18px;
  line-height: 1;
}

.mobile-menu__item[href] .mobile-menu__circle-arrow {
  display: none;
}

.mobile-menu__nav--sub {
  margin-top: 8px;
  gap: 16px;
}

.mobile-menu__subitem {
  font-family: "Ancizar Serif", serif;
  font-weight: 400;
  font-size: 40px;
  color: #fff;
  text-decoration: none;
  padding: 4px 0;
}

.mobile-menu__item:active,
.mobile-menu__subitem:active {
    opacity: 0.7;
}
/* ========== MOBILE MENU ANIMATIONS ========== */

.mobile-menu__x {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    position: relative;
}

.mobile-menu__x span {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.5s ease,
    opacity 0.4s ease;
}

.mobile-menu__x span:first-child {
    transform: rotate(45deg);
}

.mobile-menu__x span:last-child {
    transform: rotate(-45deg);
}

/* Hover effect on X */
.mobile-menu__close:hover .mobile-menu__x span {
    transform: rotate(0deg);
}

.mobile-menu__close:hover .mobile-menu__x span:first-child {
    transform: translateY(-4px);
}

.mobile-menu__close:hover .mobile-menu__x span:last-child {
    transform: translateY(4px);
}

.mobile-menu__panel {
    position: absolute;
    inset: 0;
    padding: 24px 24px 32px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.5s ease,
    transform 0.5s ease,
    visibility 0.5s ease;
}

.mobile-menu__panel--root {
    transform: translateX(-20px);
}

.mobile-menu__panel--active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu__panel--active .mobile-menu__item,
.mobile-menu__panel--active .mobile-menu__subitem {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.mobile-menu__panel--active .mobile-menu__item:nth-child(1),
.mobile-menu__panel--active .mobile-menu__subitem:nth-child(1) { animation-delay: 0.15s; }
.mobile-menu__panel--active .mobile-menu__item:nth-child(2),
.mobile-menu__panel--active .mobile-menu__subitem:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu__panel--active .mobile-menu__item:nth-child(3),
.mobile-menu__panel--active .mobile-menu__subitem:nth-child(3) { animation-delay: 0.25s; }
.mobile-menu__panel--active .mobile-menu__item:nth-child(4),
.mobile-menu__panel--active .mobile-menu__subitem:nth-child(4) { animation-delay: 0.3s; }
.mobile-menu__panel--active .mobile-menu__item:nth-child(5),
.mobile-menu__panel--active .mobile-menu__subitem:nth-child(5) { animation-delay: 0.35s; }
.mobile-menu__panel--active .mobile-menu__item:nth-child(6),
.mobile-menu__panel--active .mobile-menu__subitem:nth-child(6) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu__back-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 2px solid #fff;
    font-size: 18px;
    line-height: 1;
    color: #ffffff !important;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.mobile-menu__back:hover .mobile-menu__back-circle {
    transform: translateX(-3px);
    background-color: rgba(255, 255, 255, 0.08);
}

.mobile-menu__circle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 2px solid #fff;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.mobile-menu__item:hover .mobile-menu__circle-arrow {
    transform: translateX(3px);
    background-color: rgba(255, 255, 255, 0.08);
}

.mobile-menu__panel.slide-out-left {
    animation: slideOutLeft 0.4s ease forwards;
}

.mobile-menu__panel.slide-out-right {
    animation: slideOutRight 0.4s ease forwards;
}

.mobile-menu__panel.slide-in-right {
    animation: slideInRight 0.5s ease forwards;
}

.mobile-menu__panel.slide-in-left {
    animation: slideInLeft 0.5s ease forwards;
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.mobile-menu__x span:first-child {
    transform: rotate(45deg);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.mobile-menu__x span:last-child {
    transform: rotate(-45deg);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.mobile-menu__close:active .mobile-menu__x span:first-child {
    transform: rotate(135deg);
}

.mobile-menu__close:active .mobile-menu__x span:last-child {
    transform: rotate(45deg);
}


/* μικρό responsive tweak */
@media (max-width: 768px) {
  .header__logo img {
    display: block;
    max-height: 24px;
    width: 129px;
  }
  .header__menu-label {
    display: none;
  }
    .menu-overlay{
        display: none;
    }
  /* και δείχνουμε το hamburger */
  .header__menu-icon {
    display: inline-block;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .menu-overlay__nav {
        padding-bottom:0;
        column-gap: 0;

    }
    .menu-overlay__bottom {
        height: 55vh;
    }
}