/*
Theme Name: K.E.A.S. Aviation
Theme URI: https://keas.ddemo.eu
Author: K.E.A.S.
Description: Custom responsive corporate theme for Kougioumtzoglou Evangelos Aviation Services.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: keas
*/

:root {
  --navy: #081f3a;
  --navy-2: #0d3156;
  --blue: #174e78;
  --gold: #d5a64d;
  --gold-light: #edc979;
  --ink: #142235;
  --muted: #617080;
  --line: #dce3ea;
  --mist: #f3f6f9;
  --white: #fff;
  --shadow: 0 24px 70px rgba(8, 31, 58, .13);
  --radius: 4px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Roboto Condensed", Arial, sans-serif; font-size: 17px; line-height: 1.58; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { clip: auto; width: auto; height: auto; left: 20px; top: 20px; z-index: 9999; padding: 10px 16px; background: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; }
h1 { font-size: clamp(48px, 6vw, 86px); letter-spacing: -.035em; }
h2 { font-size: clamp(36px, 4.2vw, 58px); letter-spacing: -.025em; }
h3 { font-size: 24px; }
.lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.42; }
.muted { color: var(--muted); }
.section { padding: clamp(78px, 9vw, 124px) 0; }
.section--mist { background: var(--mist); }
.section-heading { max-width: 770px; margin-bottom: 52px; }
.section-heading p { color: var(--muted); font-size: 19px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 25px; border: 1px solid var(--navy); border-radius: 2px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: .25s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.material-symbols-outlined { font-size: 30px; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 32; }

/* Header */
.site-header { position: relative; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(8,31,58,.08); }
.site-header.is-sticky { position: fixed; inset: 0 0 auto; box-shadow: 0 8px 35px rgba(8,31,58,.12); animation: header-in .25s ease; }
@keyframes header-in { from { transform: translateY(-100%); } }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; min-width: 225px; color: var(--navy); }
.brand__mark { font-size: 33px; line-height: .9; font-weight: 900; letter-spacing: .13em; }
.brand__sub { margin-top: 8px; font-size: 9px; line-height: 1.2; font-weight: 700; letter-spacing: .115em; text-transform: uppercase; }
.primary-menu { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); margin: 0; padding: 0; list-style: none; }
.primary-menu a { position: relative; display: block; padding: 37px 0 33px; color: var(--navy); font-size: 14px; font-weight: 700; }
.primary-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 24px; height: 2px; background: var(--gold); transition: right .25s ease; }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after, .primary-menu .current_page_item > a::after { right: 0; }
.header-lang { display: flex; gap: 9px; padding-left: 24px; border-left: 1px solid var(--line); color: var(--navy); font-size: 12px; font-weight: 800; }
.header-lang a { opacity: .48; transition: opacity .2s, color .2s; }
.header-lang a:hover, .header-lang a.is-current { color: var(--navy); opacity: 1; }
.header-lang a + a::before { content: "/"; margin-right: 9px; color: var(--line); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; color: var(--navy); cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: min(720px, calc(100vh - 96px)); display: grid; align-items: center; overflow: hidden; background: var(--navy) url("assets/images/h135-hero.webp") 63% center / cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,24,45,.9) 0%, rgba(5,24,45,.62) 38%, rgba(5,24,45,.08) 73%), linear-gradient(0deg, rgba(5,24,45,.2), transparent 50%); }
.hero__content { position: relative; z-index: 1; width: min(720px, 60%); padding: 80px 0 100px; }
.hero h1 { margin-bottom: 22px; color: #fff; }
.hero .lead { max-width: 560px; color: rgba(255,255,255,.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 24px; display: grid; place-items: center; gap: 5px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transform: translateX(-50%); }
.hero__scroll .material-symbols-outlined { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-size: 22px; }

.service-strip { position: relative; z-index: 3; margin-top: -1px; background: #fff; box-shadow: var(--shadow); }
.service-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-mini { padding: 38px 26px 34px; text-align: center; border-right: 1px solid var(--line); }
.service-mini:last-child { border: 0; }
.service-mini__icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: #edf2f7; color: var(--navy); }
.service-mini h3 { margin-bottom: 8px; font-size: 19px; }
.service-mini p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* Sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(50px, 7vw, 100px); }
.split__media { position: relative; min-height: 530px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.split__media::after { content: ""; position: absolute; inset: auto 0 0 auto; width: 105px; height: 8px; background: var(--gold); }
.split__copy p { color: var(--muted); }
.split__copy .btn { margin-top: 16px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: #fff; }
.metric { min-height: 180px; display: grid; place-items: center; align-content: center; padding: 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.metric:last-child { border: 0; }
.metric .material-symbols-outlined { margin-bottom: 12px; color: var(--gold); font-size: 38px; }
.metric strong { font-size: 19px; }
.metric span:last-child { color: rgba(255,255,255,.72); font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 38px; background: #fff; border: 1px solid var(--line); box-shadow: 0 15px 45px rgba(8,31,58,.06); transition: .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__number { color: var(--gold); font-weight: 800; letter-spacing: .1em; }
.card .material-symbols-outlined { display: block; margin: 22px 0; color: var(--navy); font-size: 42px; }
.card p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.text-link::after { content: "arrow_forward"; font-family: "Material Symbols Outlined"; font-size: 20px; color: var(--gold); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }
.cta { position: relative; overflow: hidden; padding: 75px 0; background: linear-gradient(110deg, rgba(8,31,58,.98), rgba(8,31,58,.74)), url("assets/images/h135-hero.webp") center 53% / cover; color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(34px, 4vw, 52px); }

/* Internal pages */
.page-hero { position: relative; min-height: 390px; display: grid; align-items: end; overflow: hidden; padding: 100px 0 62px; background: var(--navy) url("assets/images/h135-hero.webp") center 52% / cover; color: #fff; }
.page-hero--engine { background-image: linear-gradient(90deg, rgba(8,31,58,.92), rgba(8,31,58,.35)), url("assets/images/h135-maintenance.webp"); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,31,58,.92), rgba(8,31,58,.22)); }
.page-hero__content { position: relative; z-index: 1; max-width: 850px; }
.page-hero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(46px, 6vw, 72px); }
.page-hero p { margin: 0; color: rgba(255,255,255,.82); font-size: 21px; }
.breadcrumb { margin-bottom: 24px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb a:hover { color: var(--gold); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; background: var(--line); border: 1px solid var(--line); }
.value { padding: 38px; background: #fff; }
.value .material-symbols-outlined { color: var(--gold); font-size: 40px; }
.value h3 { margin: 20px 0 10px; }
.value p { margin: 0; color: var(--muted); }
.service-detail { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.service-detail__icon { display: grid; place-items: center; width: 72px; height: 72px; background: var(--navy); color: var(--gold); }
.service-detail h3 { margin-bottom: 10px; }
.service-detail p { max-width: 780px; color: var(--muted); }
.activity-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); }
.activity-table th, .activity-table td { padding: 20px 24px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.activity-table th { background: var(--navy); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.activity-table td:first-child { color: var(--navy); font-weight: 800; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.fact { display: grid; grid-template-columns: 42% 58%; min-height: 62px; border-bottom: 1px solid var(--line); }
.fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact dt, .fact dd { margin: 0; padding: 17px 20px; }
.fact dt { background: var(--mist); color: var(--muted); font-size: 14px; font-weight: 700; }
.fact dd { color: var(--navy); font-size: 15px; font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 8vw, 110px); }
.contact-list { display: grid; gap: 30px; margin-top: 42px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.contact-item .material-symbols-outlined { color: var(--gold); }
.contact-item small { display: block; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-item a, .contact-item address { color: var(--navy); font-style: normal; font-weight: 700; }
.contact-form { padding: clamp(28px, 5vw, 52px); background: var(--mist); border-top: 4px solid var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 13px; font-weight: 800; }
.field input, .field textarea { width: 100%; border: 1px solid #ccd6df; background: #fff; padding: 14px 16px; color: var(--ink); outline: none; transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(213,166,77,.17); }
.form-status { margin: 0 0 24px; padding: 14px 16px; border-left: 4px solid var(--gold); background: #fff; }
.form-status--success { border-color: #26845e; }
.form-status--error { border-color: #b33a3a; }
.hp-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #05172b; color: rgba(255,255,255,.72); }
.footer-main { display: grid; grid-template-columns: 1.35fr .75fr .95fr; gap: 70px; padding: 72px 0 58px; }
.site-footer .brand { color: #fff; }
.footer-about p { max-width: 470px; margin-top: 24px; }
.footer-title { margin-bottom: 22px; color: #fff; font-size: 16px; letter-spacing: .07em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { padding: 21px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 20px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .header-lang { margin-left: auto; padding-left: 0; border-left: 0; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(390px, 88vw); padding: 112px 32px 40px; background: #fff; box-shadow: -20px 0 60px rgba(8,31,58,.22); transform: translateX(105%); transition: transform .3s ease; }
  .site-nav.is-open { transform: none; }
  .primary-menu { display: block; }
  .primary-menu a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .primary-menu a::after { display: none; }
  .hero__content { width: min(670px, 80%); }
  .service-strip__grid { grid-template-columns: 1fr 1fr; }
  .service-mini:nth-child(2) { border-right: 0; }
  .service-mini:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .fact:nth-child(odd) { border-right: 0; }
  .fact:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .header-inner { min-height: 78px; }
  .brand { min-width: 0; }
  .brand__mark { font-size: 27px; }
  .brand__sub { max-width: 205px; font-size: 7.5px; }
  .hero { min-height: 680px; background-position: 67% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,24,45,.96), rgba(5,24,45,.6) 75%, rgba(5,24,45,.35)); }
  .hero__content { width: 100%; padding-top: 58px; }
  .hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .hero__scroll { display: none; }
  .service-strip__grid, .split, .cards, .metrics, .values, .contact-grid, .footer-main { grid-template-columns: 1fr; }
  .service-mini { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-mini:last-child { border-bottom: 0; }
  .split__media { min-height: 390px; }
  .cards .card:last-child { grid-column: auto; }
  .metric { min-height: 145px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .cta__inner { align-items: flex-start; flex-direction: column; }
  .page-hero { min-height: 330px; }
  .activity-table { display: block; overflow-x: auto; white-space: nowrap; }
  .form-row, .fact { grid-template-columns: 1fr; }
  .fact dt, .fact dd { padding: 12px 16px; }
  .service-detail { grid-template-columns: 64px 1fr; gap: 20px; }
  .service-detail__icon { width: 60px; height: 60px; }
  .footer-main { gap: 42px; }
  .footer-bottom__inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
