/* Evora – kelionių agentūra. Static rebuild of evora.lt (2026). */

:root {
  --blue: #1285db;          /* logo blue, headings, menu */
  --blue-bright: #0082ff;   /* links, footer */
  --blue-deep: #0b5fa5;
  --yellow: #f7d016;        /* logo sun */
  --yellow-ink: #d9ac00;    /* yellow text on white (contrast) */
  --dark: #2a363b;
  --text: #3c4549;
  --muted: #6b7378;
  --green: #12db2b;
  --green-dark: #036d10;
  --red: #db1212;
  --bg-soft: #f4f8fc;
  --line: rgba(0, 0, 0, .14);
  --radius: 8px;
  --shadow: 0 6px 22px rgba(0, 0, 0, .12);
  --header-h: 72px;
  --wrap: 1140px;
  --wrap-narrow: 960px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-alt: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-bright); }
a:hover { color: var(--blue); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 .6em;
}

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, var(--wrap-narrow)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 4px;
  text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 150px; height: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 26px; flex-wrap: wrap; }
.nav a {
  position: relative; display: inline-block; padding: 10px 2px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.05rem;
  color: var(--blue); text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px;
  background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: none;
  color: var(--blue); cursor: pointer; border-radius: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header__logo img { width: 120px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #f2f2f2; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 6px 0; }
  .nav a { display: block; padding: 12px 24px; text-align: center; }
  .nav a::after { display: none; }
  .nav a:hover, .nav a[aria-current="page"] { background: #e6e6e6; color: var(--blue-deep); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #0d6f9c url("../img/hero.jpg") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .15); }
/* Layout mirrors the original Elementor section: full width, brand column 41.63% /
   tiles column 58.37%, tiles min-height 20vh with the title pushed down by 30% padding. */
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 41.63% 58.37%;
  align-items: center;
}
.hero__brand {
  display: flex; align-items: center; justify-content: flex-end; gap: 15px; flex-wrap: wrap;
  padding: 20px calc(25px + clamp(0px, 4.2vw, 5em)) 20px clamp(16px, 5.2vw, 100px);
}
@media (min-width: 1025px) { .hero__brand { flex-wrap: nowrap; } }
.hero__brand h1 {
  margin: 0; color: var(--yellow);
  font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; line-height: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.hero__brand img {
  width: clamp(7.5rem, 11vw, 10rem); margin-bottom: 7px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .25));
}

.tiles {
  list-style: none; margin: 0; padding: 20px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.tile {
  position: relative; display: block; min-height: max(20vh, 160px);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .26); color: #fff; text-decoration: none;
  isolation: isolate;
}
.tile__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12); transition: transform 1.5s ease;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, .2);
  transition: opacity 1.5s;
}
.tile:hover .tile__bg, .tile:focus-visible .tile__bg { transform: scale(1); }
.tile:hover::before, .tile:focus-visible::before { opacity: 0; }
.tile__title {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 30% 5% 0; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}
.tile__ribbon {
  position: absolute; top: 18px; right: -34px; width: 130px;
  transform: rotate(45deg);
  background: var(--blue); color: #fff; text-align: center;
  font-size: .62rem; font-weight: 600; letter-spacing: .04em; line-height: 1;
  padding: 5px 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.tile__ribbon--stars { font-size: .55rem; letter-spacing: 0; }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__brand { justify-content: center; padding: 100px 10px 50px; }
  .hero__brand h1 { font-size: 2rem; }
  .hero__brand img { width: 10rem; }
}
@media (max-width: 767px) {
  .hero__brand { gap: 5px; padding: 5%; }
  .hero__brand h1 { font-size: 1.75rem; }
  .hero__brand img { max-width: 50vw; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 5em; }
  .tile__title { padding: 0 5%; }
}

/* ---------- Why us ---------- */
.why { padding: 56px 0 40px; }
.why__title {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 14px; margin: 0 0 40px;
  font-size: clamp(1.6rem, 4vw, 2.5rem); text-transform: uppercase; color: var(--blue);
}
.why__title img { width: clamp(150px, 22vw, 230px); }
.highlight { position: relative; display: inline-block; color: var(--yellow-ink); }
.highlight svg {
  position: absolute; left: -4%; bottom: -.32em; width: 108%; height: .5em; overflow: visible;
}
.highlight path {
  fill: none; stroke: var(--yellow); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1600; stroke-dashoffset: 1600;
  animation: draw-line 9.2s ease-in-out infinite;
}
@keyframes draw-line {
  0% { stroke-dashoffset: 1600; opacity: 1; }
  13% { stroke-dashoffset: 0; opacity: 1; }
  85% { stroke-dashoffset: 0; opacity: 1; }
  95%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

.features {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px;
  max-width: 960px; text-align: center;
}
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 14px; border-radius: 4px;
  color: #fff; transition: background-color .25s, transform .25s;
}
.feature__icon svg { width: 30px; height: 30px; }
.feature:hover .feature__icon { transform: translateY(-3px); }
.feature--green .feature__icon { background: var(--green); }
.feature--yellow .feature__icon { background: var(--yellow); }
.feature--blue .feature__icon { background: var(--blue); }
.feature--red .feature__icon { background: var(--red); }
.feature:hover .feature__icon { background: var(--yellow); }
.feature--yellow:hover .feature__icon { background: var(--blue); }
.feature h3 { font-size: 1rem; margin: 0 0 4px; }
.feature p { margin: 0; color: #1d2326; font-size: 1rem; line-height: 1.5; }

@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .features { grid-template-columns: 1fr; } }

/* ---------- Info panels (Apie mus / Draudimas) ---------- */
.panels { padding: 12px 0 48px; display: grid; gap: 18px; }
.panel {
  border-radius: var(--radius); color: #fff;
  padding: 40px clamp(20px, 5vw, 64px) 44px;
}
.panel--blue { background: var(--blue); }
.panel--green { background: var(--green-dark); }
.panel h2 {
  text-align: center; color: var(--yellow);
  font-size: clamp(1.7rem, 3.5vw, 2.25rem); margin-bottom: 18px;
}
.panel p, .panel li { font-size: 1.05rem; line-height: 1.6; }
.panel p { margin: 0 0 12px; }
.panel ul { margin: 0; padding-left: 1.3em; }
.panel li { margin: 2px 0; }
.panel li::marker { color: var(--yellow); }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  background: #1aa6b7 url("../img/cta.jpg") center / cover no-repeat;
  padding: clamp(90px, 14vw, 150px) 0;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .12); }
.cta__inner {
  position: relative;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 24px;
  text-align: center;
}
.cta h2 {
  margin: 0; color: var(--yellow);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 5px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; transition: background-color .2s, color .2s;
}
.btn--yellow { background: var(--yellow); color: var(--dark); }
.btn--yellow:hover, .btn--yellow:focus-visible { background: var(--blue); color: #fff; }

/* ---------- Contacts ---------- */
.contacts { background: var(--bg-soft); padding: 56px 0; }
.section-title {
  text-align: center; color: var(--blue);
  font-size: clamp(1.6rem, 3.5vw, 2rem); margin-bottom: 28px;
}
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 14px rgba(0, 0, 0, .06); padding: 28px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contact-list a { color: var(--dark); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.contact-list__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
}
.contact-list__icon svg { width: 20px; height: 20px; }
.requisites { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--text); }
.requisites dt { font-weight: 600; color: var(--dark); margin-top: 10px; }
.requisites dt:first-child { margin-top: 0; }
.requisites dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 760px) { .contacts__grid { grid-template-columns: 1fr; } .card { padding: 22px; } }

/* ---------- Partners ---------- */
.partners { padding: 52px 0 56px; }
.partners__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 26px 40px;
}
.partners__list img { height: 46px; width: auto; max-width: 210px; object-fit: contain; }
.partners__list .is-small img { height: 30px; }
@media (max-width: 600px) {
  .partners__list { gap: 20px 26px; }
  .partners__list img { height: 34px; max-width: 150px; }
  .partners__list .is-small img { height: 24px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-bright); color: #fff; font-family: var(--font-alt); }
.site-footer__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 24px; padding: 34px 0;
}
.site-footer p { margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
@media (max-width: 600px) { .site-footer__inner { flex-direction: column; text-align: center; } .site-footer ul { justify-content: center; } }

/* ---------- Inner pages ---------- */
.page-head { padding: 36px 0 8px; }
.page-head h1 { color: var(--blue); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0; }
.page-body { padding: 16px 0 56px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.2rem; color: var(--dark); margin: 1.8em 0 .5em; }
.prose p { margin: 0 0 .8em; }
.prose .muted { color: var(--muted); font-size: .92rem; margin-top: 2em; }

.search-embed { min-height: 70vh; }
.search-embed #iframe { margin: auto; }
.search-embed__fallback { color: var(--muted); text-align: center; padding: 40px 0; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .highlight path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
