﻿
body { margin: 0; font-family:Tahoma, Geneva, Verdana, sans-serif;  font-size: 1rem; line-height: 1.5;     color: #11294C;     -webkit-text-size-adjust: 100%;     -webkit-tap-highlight-color: rgba(0,0,0,0)}

/* Rodyti tik desktop */
.desktop-only {display: block;}

/* Rodyti tik mobiliai */
.mobile-only {display: none;}

/* Desktop: hamburgeris turi būti paslėptas */
.mobile-hamburger { display: none;}


/* VIRŠUTINĖ JUOSTA */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position:fixed;
  width: 100%;
  box-sizing: border-box !important;
  top: 0;
  z-index: 999;
  
  background: transparent;
  border-bottom: 1px solid rgba(0, 59, 113, 0.25);

  padding: 0 40px;
  height: 81px;

  transition: opacity 0.35s ease;
}

.logo-left {
  padding-left:40px;
}
.logo-left img {
  height:24px; 
  width: auto;  
} 

.right-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right:40px;
}

.right-group img:last-child,
.right-group svg:last-child {
	height: auto;
    object-fit: contain;}

/* SCROLL BŪSENA */
.topbar.scrolled {
  	background: #ffffff;
}

.topbar.scrolled .menu-btn,
.topbar.scrolled .lang-btn,
.topbar.scrolled .sn-logo-text {
    color: #003B71; /* tavo mėlyna */
}


/* MENIU */
.main-menu ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  
}

.menu-btn {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 0 6px;        /* nuimam vertikalų padding */
  line-height: 81px;     /* toks pats kaip topbar height */  
  padding: 10px 14px;
  border-radius: 12px;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

-/* HOVER efektas — suapvalintas stačiakampis */
.menu-btn:hover {
  background: #DDE7F2; /* šviesiai mėlynas fonas */
  color: #003B71;
  border-radius: 12px;
}

/* AKTYVUS MYGTUKAS */
.menu-btn.active {
  background: #DDE7F2;
  color: #003B71;
}

.menu-btn.active:hover {
  background: #DDE7F2; /* išlieka tokia pati */
}


/* DROPDOWN PER VISĄ EKRANĄ */
.dropdown-full {
  position: absolute;
  left: 0;
  top: 80px;
  width: 100vw;

  display: none;
  justify-content: center;

  padding: 24px 0;

  background: #ffffff;
  border-radius: 0 0 16px 16px;
  border-bottom: 1px solid rgba(0, 59, 113, 0.25);

  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* VIDINIS BLOKAS */

.dropdown-full {
  justify-content: flex-start; /* nebe centras */
  padding-left: 40px; /* atitraukimas nuo krašto */
}

.dropdown-title { /* vidinio meniu stulpelio pavadinimas */
  font-size: 16px;
  font-weight: 700;
  color: #003B71;
  margin-bottom: 8px;
  padding-left: 6px;
}


.dropdown-inner {
  display: flex;
  justify-content: flex-start; /* lygiuoja į kairę */
  gap: 80px;
  padding: 0 40px;
}

.dropdown-inner .col {
  display: flex;
  flex-direction: column;
  gap: 0 !important;}


/* --- DROPDOWN NUORODOS (LYGIUOTOS Į KAIRĘ) --- */
.dropdown-inner .col a {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 16px;
  font-weight:500;
  color: #003B71;
  text-decoration: none; /* nuima pabraukimą */

  margin-bottom: 2px !important;		/* tarpas tarp eilučių */

  padding: 4px 12px 4px 6px !important;       /* tarpas tarp eilučių */
  width: 280px;              /* fiksuotas plotis rodyklių lygiavimui */
  border-radius: 12px;

  transition: background 0.25s ease, padding-left 0.25s ease;
}


.dropdown-inner .col a.active {
  background: #DDE7F2;
  border-radius: 12px;
}


/* HOVER efektas dropdown nuorodoms */
.dropdown-inner .col a:hover {
  background: #DDE7F2;
  color: #003B71;
  border-radius: 12px;
  padding-left: 22px; /* švelnus pasislinkimas */
}

.dropdown-inner .col p {
  padding-left: 6px; 
 margin-top: 4px;
    margin-bottom: 8px;}

.dropdown-inner .col .dropdown-block p {
  padding-left: 0px; 
}



/* --- RODYKLĖ DEŠINĖJE --- */

.dropdown-inner .col a::after {
  content: "❯";               /* tokio pat dydžio rodyklė */
  font-size: 20px;            /* tas pats dydis kaip anksčiau */
  font-weight: 200;           /* PLONA versija */
  color: #003B71;
  opacity: 0.9;

  width: 20px;                /* fiksuotas plotis */
  text-align: right;          /* lygiuoja į dešinę */

  display: flex;
  align-items: center;        /* vertikaliai centre */
  justify-content: flex-end;  /* rodyklė prilipusi prie dešinio krašto */
}





/* --- HOVER EFEKTAS (didesnis fonas, suapvalintas) --- */
.dropdown-inner .col a:hover {
  background: #DDE7F2;
  padding-left: 26px;        /* švelnus pasislinkimas */
  border-radius: 12px;
}

/* --- AKTYVUS PASPAUSTAS ELEMENTAS --- */
.dropdown-inner .col a.active {
  background: #DDE7F2;
  border-radius: 12px;
}



/* HOVER efektas — suapvalintas stačiakampis */
.menu-btn:hover {
  background: #DDE7F2 !important;
  color: #003B71 !important;
  border-radius: 12px;
}







/* ============================================ */

/* KALBŲ BLOKAS */
.language-selector {
  position: relative;  }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;

  background: transparent;
  border: none;
  cursor: pointer;

  font-size: 14px;
  font-weight: 500;
  color: #ffffff;

  padding: 10px 14px;
  border-radius: 12px;

  transition: background 0.25s ease;
  
}



.lang-btn:hover {
  background: #DDE7F2; /* šviesiai mėlynas fonas */
  color: #003B71;
  border-radius: 12px;
  
  
  
  
}

/* DROPDOWN */
.lang-dropdown {
  position: absolute;
  top: 48px;
  left: 0;

  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);

  padding: 8px 0;
  display: none;
  min-width: 110px;
  z-index: 999;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 16px;
  font-size: 15px;
  color: #003B71;
  text-decoration: none;

  transition: background 0.25s ease, padding-left 0.25s ease;
}

.lang-dropdown a:hover {
  background: #DDE7F2;
  padding-left: 20px;
}

.lang-dropdown img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
    border: none;

}


.lang-btn img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
    border: none;

}




/* ============================================ */

/* ============================================ */

/* LOGO RIGHT */
.logo-right {
  position: relative;
  margin-left: 0px;
}


/* --- nuima VISUS paveldėtus dropdown stilius--- */

.dropdown-block * {
  all: unset;
  display: revert;
}



/* Tekstas */
.dropdown-block p {
  font-size: 15px;
  line-height: 1.5;
  color: #003B71;
  margin-bottom: 16px;
  margin-left: 8px;
  white-space: normal;
  overflow-wrap: break-word;
}



/* Mygtukas */


.dropdown-block .blue-btn {
  all: unset;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;

  background: #003B71;
  color: #ffffff !important;

  padding: 30px !important;
  height: 36px !important;

  font-size: 14px !important;
  font-weight: 800 !important;

  border-radius: 10px !important;
  cursor: pointer;
  text-decoration: none !important;

  align-self: flex-start !important;   /* ← MAGIJA ČIA */
  width: auto + 10px !important;              /* ← leidžia būti siauram */

  transition: background 0.25s ease;
}

.dropdown-block .blue-btn:hover {
	background: #0070d1 !important; /* šviesesnė mėlyna */
    transform: none !important;     /* nejudėtų */}
}

.dropdown-block .blue-btn:active {
	background: #0070d1 !important; /* šviesesnė mėlyna */
}
.dropdown-block .blue-btn::after {
  content: none !important;
}
/* ============================================*/

/* Nuimti hover foną tik nuo sn-logo */
.sn-logo:hover {
    background: none !important;
}

/* Nuimti rodyklę, jei paveldi iš .menu-btn::after */
.sn-logo::after {
    display: none !important;
    content: none !important;
}

/* Nuimti bet kokį hover efektą nuo IMG viduje */
.sn-logo img {
    background: none !important;
    box-shadow: none !important;
}
/* ============================================*/




.mobile-hamburger {
    display: none;
    position: relative;
    z-index: 999999; /* virš visko */
}



.logo-dark {
    display: block;
}

.logo-light {
    display: none;
}

.topbar.scrolled .logo-dark {
    display: none;
}

.topbar.scrolled .logo-light {
    display: block;
}



/* ==============================================================================
   MOBILE (≤900px) 
================================================================================= */

@media (max-width: 900px) {
    .desktop-only { display:none; }
    .mobile-only { display:block; }
    
/* MOBILE HEADER LAYOUT */
.topbar {
    display: flex;
    justify-content: space-between;
    position:fixed;
    width:100%;
    align-items: center;
    padding: 0 10px;
    height: 80px;
}

/* MOBILE LOGO CENTRE */
.mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-logo img {
    height: 24px;
}

/* MOBILE LANGUAGE MENU (right) */
.mobile-lang {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-lang .lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #003B71;
}

.lang-dropdown {
  min-width: 80px;
}

.mobile-lang .lang-btn {
    color: #ffffff;
    transition: color 0.25s ease;
}


header.scrolled .mobile-lang .lang-btn {
    color: #041E42;
}




/* HAMBURGERIS – mažas, elegantiškas, tikslus */
.mobile-hamburger {
    position: fixed;
    top: 30px;
    left: 20px;
    width: 20px;      /* elegantiškas plotis */
    height: 16px;     /* proporcingas aukštis */
    cursor: pointer;
    z-index: 999999;
}

/* Juostelės – vienodo storio, absolute pozicionavimas */
.mobile-hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;          /* smulkesnės, elegantiškos */
    background: #003B71;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

/* Tikslios juostelių pozicijos */
.mobile-hamburger span:nth-child(1) {
    top: 0;
}

.mobile-hamburger span:nth-child(2) {
    top: 7px;   /* tiksliai per vidurį */
}

.mobile-hamburger span:nth-child(3) {
    bottom: 0;
}

/* X ANIMACIJA – matematiškai tiksli */
.mobile-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.mobile-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
    
    
/* baltas-melynas */
    
#hamburgerBtn span {
    background-color: #ffffff;
    transition: background-color 0.25s ease;
}
header.scrolled #hamburgerBtn span {
    background-color: #041E42;
}

/* ============================
   MOBILE MENU KONTEINERIS
============================ */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: calc(100vw - 55px);
    height: calc(100vh - 81px);
    background: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    transition: 0.35s ease;
    z-index: 99999;
    border-top:1px solid rgba(255,255,255,0.2);
}

.mobile-menu.open {
    left: 0;
}




/* ============================
   4 PAGRINDINĖS EILUTĖS
============================ */
.mobile-menu-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-item {
    position: relative;
    padding: 14px 16px;
    font-size: 16px;
    color: #003B71;
    background: rgba(0, 59, 113, 0.08);
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
}


/* RODYKLĖ KAIP DESKTOP */
.mobile-menu-item::after {
    content: "❯";
    font-size: 20px;
    font-weight: 200;
    color: #003B71;
    opacity: 0.9;

    width: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* HOVER */
.mobile-menu-item:hover {
    background: rgba(0, 59, 113, 0.15);
}


/* ============================
   FOOTER LOGO2
============================ */
.mobile-menu-footer {
    padding-top: 20px;
	padding-bottom: 20px; /* pridėtas tarpas nuo apačios */
    text-align: center;
}

.mobile-menu-footer img {
    height: 45px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.mobile-menu-footer img:hover {
    opacity: 1;
}

/* ============================
   SUBMENIU BLOKAI
============================ */
/* SUBMENIU SLIDE-IN BLOKAS */
.mobile-submenu {
    position: absolute;
    top: 0;
    left: 100%;                     /* pradžioje paslėptas */
    width: 100%;
    
 height: calc(100vh - 81px - 85px - 40px);
    /* 81px = hamburger header
       85px = Logo2 footer
       40px = back rodyklės aukštis */    
    background: #ffffff;
	padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;               /* scroll tik turiniui */
    transition: left 0.35s ease;    /* slide-in animacija */
    z-index: 999999;
}







/* Kai aktyvus – įvažiuoja į ekraną */
.mobile-submenu.active {
    left: 0;
}

.mobile-submenu h3:first-of-type {
    margin-top: 50px; /* tarpas tik po rodyklės */
}


.mobile-submenu h3 {
    margin-top: 20px; /* vietos rodyklei */
    font-size: 20px;
    color: #003B71;
    margin-bottom: 10px;
}

.mobile-submenu p {
	margin: 0;
    line-height: 1.6;    
    font-size: 16px;
    color: #003B71;
}


/* SUBMENIU PUNKTŲ BLOKAI – tokie pat kaip hamburgerio meniu */
.mobile-submenu a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: calc(100vw - 60px);
    box-sizing: border-box;

    background: #F4F7FA;
    padding: 24px;
    border-radius: 10px;

    font-size: 16px;
    color: #003B71;
    text-decoration: none;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    transition: background 0.2s ease, transform 0.15s ease;
}



/* Rodyklė dešinėje */
.mobile-submenu a::after {
    content: "❯";
    font-size: 20px;             /* tokio pat dydžio kaip hamburgerio */
    color: #003B71;
    opacity: 0.85;

    margin-left: 12px;           /* vieta tarp teksto ir rodyklės */
    flex-shrink: 0;              /* rodyklė NIEKADA nesusispaus */
}

/* Hover efektas */
.mobile-submenu a:hover {
    background: #E6EEF5;
    transform: translateX(2px);
}

.mobile-submenu .blue-btn {
  all: unset;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;

  background: #003B71;
  color: #ffffff !important;

  padding: 10px 20px !important;
  height: 20px !important;

  font-size: 14px !important;
  font-weight: 800 !important;

  border-radius: 10px !important;
  cursor: pointer;
  text-decoration: none !important;

  align-self: flex-start !important;   /* ← MAGIJA ČIA */
  width: auto !important;              /* ← leidžia būti siauram */

  transition: background 0.25s ease;
}


/* Hover / tap efektas — toks pat kaip desktop */

.mobile-submenu .blue-btn:hover {
	background: #0070d1 !important; /* šviesesnė mėlyna */
    transform: none !important;     /* nejudėtų */}

.mobile-submenu .blue-btn:active {
	background: #0070d1 !important; /* šviesesnė mėlyna */
}
.mobile-submenu .blue-btn::after {
  content: none !important;
}










/* BACK MYGTUKAS */
.submenu-back {
    position: absolute;
    top: 20px;
    left: 10px;

    width: 40px;
    height: 40px;

    padding: 0;
    margin: 0;

    background: url('arrow.svg') no-repeat center;
    background-size: 20px;
    border: none;
}

/* Rodyklė kaip meniu, tik į kairę */
.submenu-back::before {
    content: "❮"; /* ta pati rodyklė, tik į kairę */
    font-size: 24px;
    font-weight: 200;
    color: #003B71;
    opacity: 0.9;

    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}










