    :root{ --header-h:56px; }
    *{ box-sizing:border-box;font-family: "Playfair Display", serif;}
    body { font-family: "Playfair Display", serif; margin:0; 
	min-height: 93vh; /* kad būtų bent viso ekrano aukštis */
  background: url("https://globeeyes.com/uploads/fonas.jpg?ver=1.0.0") center center / cover no-repeat;
  }
	
	
	
    header{position:relative;z-index:2;height:auto; display:block; padding:0 14px;}
	.overlay-h { background: rgb(0 0 0 / 24%);position:absolute;height:100%;width:100%;z-index:1;}
	.in-h {max-width:1200px;margin:auto;display: flex;
    align-items: center;
    justify-content: space-between;padding: 25px 0 25px 0;}
	
	
    header h2{ margin:0; font-size:1.05rem }
    header a{ text-decoration:none; font-weight:600 }
	
	.logo {max-width:320px;}
	.logo img {max-width: 150px; height: auto;filter: brightness(27.5);}
 

	
/* ----- Controls common ----- */
.map-controls {    top: 10px;
  position: absolute;
  z-index: 1000;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
nav {
    width: 60%;
    display: inline-flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-end;
}
nav a {margin-right:10px;display:inline-block;padding: 10px;
    color: #ffffff;}
/* Bendras mygtuko stilius */
.ctrl-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  font: 600 14px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.ctrl-btn .icon{ font-size: 18px; line-height: 1 }
.ctrl-btn .text{ white-space: nowrap }

/* Paieškos panelė */
.search-panel{
  position: absolute;
  right: 0;
  top: 48px; /* žemiau mygtukų */
  width: 320px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  padding: 8px;
}

/* Paieškos eilutė */
.search-row{
  display: flex;
  gap: 6px;
}
#searchInput{
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
}
.go-btn{
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Pasiūlymų dropdown */
.suggestions{
  margin-top: 8px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 8px;
}
.suggestions.hidden{ display: none; }
.sugg-item{
  padding: 8px 10px;
  border-bottom: 1px solid #f3f3f3;
  cursor: pointer;
}
.sugg-item:last-child{ border-bottom: 0; }
.sugg-item:hover, .sugg-item.active{ background: #f5faff; }
.sugg-title{ font-weight: 600; font-size: 0.95rem; }
.sugg-sub{ color: #666; font-size: 0.85rem; }

/* ----- Mobile responsyvus elgesys ----- */

  /* mygtukai – tik ikonėlės */
  .ctrl-btn .text{ display: none; }
  .ctrl-btn{ padding: 10px; border-radius: 12px; }

  /* paieškos panelė – slankiojanti nuo dešinės */
  .search-panel{
    top: 0;
    right: 0;
    width: min(92vw, 360px);
    height: auto;
    transform: translateX(140%);
    transition: transform .25s ease;
    position: absolute;
    margin-top: calc(var(--header-h, 56px) + 8px);
  }
  .search-panel.open{ transform: translateX(0); }
  .map-controls{ right: 12px;}
  .suggestions{ max-height: 50vh; }
  .search-panel{ box-shadow: 0 10px 20px rgba(0,0,0,.18); }
.leaflet-control-container{ z-index: 500; }
.leaflet-popup-content p {font-size: 18px;color:black;}
    
    /* kalbų juosta */
    .lang-bar{
      z-index:1000; left:12px;
      top:calc(var(--header-h,56px) + 12px);
      display:flex; gap:6px; flex-wrap:wrap;
      padding:6px 6px;
    }
    .lang-btn{
      display:inline-flex; align-items:center; gap:6px;
      padding:6px 6px; border-radius:5px; border:1px solid #233046;
      rgb(60 65 77 / 15%) color:#e2e8f0; cursor:pointer; font-weight:700; font-size:.9rem;
      transition:transform .2s ease, border-color .2s ease, background .2s ease;
      user-select:none;    margin: 4px;
    }
    .lang-btn:hover{ transform:scale(1.05); border-color:#fff; background:#999;}
    .lang-btn.active{ background:#555; border-color:#fff; color:#ecfdf5; }
	.lang-btn img { display:block; width:30px; height:100%; object-fit:cover; border-radius:4px; }
	
.introduction {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 5px 5px;background: #dadada;
  border-bottom: 1px solid #858585;
}

/* Lygiuotės */
.intro-l   { justify-self: start; }
.intro-c   { justify-self: end; }
.intro-r   { justify-self: end; }

/* Pavyzdinė estetika (nebūtina) */
.intro-l h1 {  font-family: "Playfair Display", serif;    font-weight: 300;
margin: 0; font-size: clamp(20px, 3vw, 36px); }
.introduction .intro-c .about {display:none;padding: 14px 10px;
    font-size: 18px;
    border: 1px solid #ddd;
    background: rgb(255 255 255 / 0%);
    cursor: pointer;}

header nav .about {
    font-size: 18px;
    border: 1px solid #ddd;
    background: rgb(255 255 255 / 0%);
    cursor: pointer;}
.lang-bar { display: flex; gap: .5rem; align-items: center; }

/* Mygtukas mobilui */
.lang-toggle {
  display: none; /* desktop nenaudojam */
  align-items: center;
  gap: .4rem;
  border: 1px solid #ddd;
  background: rgb(255 255 255 / 0%);
  cursor: pointer;
  font-size: 14px;
}

/* Paprasta ikonėlė */
.lang-toggle::before {
  content: "🌐";
  font-size: 16px;
}

/* Rodyklė */
.lang-toggle::after {
  content: "▾";
  font-size: 35px;
  margin-left: .25rem;
  transition: transform .2s ease;
}
.lang-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Kalbų juosta desktop */
.lang-bar {
  display: flex;
  gap: .5rem;
  align-items: center;
}

/* Bazė */
.modal{ position:fixed; inset:0; display:none; z-index:1000; }
.modal.is-open{ display:block; }
.modal__backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.4);
}
.modal__content{
  position:fixed;
  background:#fff;
  border-radius:12px;
  box-shadow:0 12px 32px rgba(0,0,0,.18);
  max-height:90vh; overflow:auto;
  outline:none;
  /* animacija */
  transform:translateY(12px); opacity:0;
  transition:transform .18s ease, opacity .18s ease;
}
.modal.is-open .modal__content{ opacity:1; }

/* Mygtukai „X“ */
.modal__close{
  position:absolute; top:8px; right:8px;
  width:36px; height:36px; border-radius:8px;
  border:1px solid #e5e5e5; background:#fff; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:16px; line-height:1;
}
.modal__close--bottom{
  top:auto; right:12px; bottom:12px;
}

/* Turinio stilistika */
.modal__content h2{ margin:16px 16px 8px; font-size:20px; }
.modal__body{ padding:0 16px 56px; }


@media (max-width: 600px){
	
.logo img {
    max-width: 110px;
}
  .modal__content{
    inset:0;  border-radius: 10px;
        max-height: 65vh;
        width: 80%;
        margin: auto;
        top: 15%;
  }
  .modal__close{ right:10px; }
  .modal__close--bottom{ right:14px; bottom:14px; }
}


@media (min-width: 601px){
  .modal__content{        margin: auto;
        inset: 0;
    width:min(520px, 92vw);
    height:auto; max-height:70vh;
  }
}

/* Kai atidaryta – uždraudžiam „body“ scroll */
.body-lock{ overflow:hidden; }


@media (max-width:768px){
	

   .introduction {grid-template-columns:1fr auto  1fr;}
  .lang-toggle { display: inline-flex; }
  .lang-bar {
    display: none;
    overflow: hidden;
    transition: display .25s ease;
    margin-top: 0;
  }
  .lang-bar.open {display: block;
        position: absolute;
        left: auto;
        z-index: 1001;
        right: 6px;
        width: 75px;
        margin-top: 2.5rem;
  }
	.introduction {text-align: center;}
	.intro-c { order: 2; justify-self: center; }
	.intro-l { order: 1; justify-self: center; }
	.intro-r { order: 3; justify-self: center; }
	nav {width: auto;}
     .introduction .intro-c .about {display:block;} 
	 header nav .about{display:none;} 
	 .mySlider {    margin: 50% auto 0 auto;}
}
	
	
	
/* Judėjimo mažinimas jei reikia */
@media (prefers-reduced-motion: reduce){
  .search-panel{ transition: none; }
}
/* Leaflet popup plotis ir vidinės kortelės */
/* išplėstas Leaflet popup plotis */
.leaflet-popup-content-wrapper { max-width: 420px !important; border-radius: 14px; }
.leaflet-popup-content { margin: 10px 14px 14px 14px; }

/* Kortelė */
.marker-card { display:block; width:100%; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.marker-title { margin:0 0 8px; font-size:18px; font-weight:700; line-height:1.25; }
/* video thumbnail (be iframe) */
.marker-video-thumb {
  position: relative; width:100%; padding-bottom:56%;
  border-radius:12px; overflow:hidden; border:1px solid #e3e3e3; cursor:pointer;
}
.marker-video-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.marker-video-thumb .play {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:64px; height:64px; border-radius:50%; background:rgba(0,0,0,.55);
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:26px; line-height:1;
}

.marker-video-thumb iframe,
.marker-video-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* 2 plytelės */
.marker-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; }
.marker-tile { border:1px solid #e3e3e3; border-radius:12px; padding:12px; text-align:center; font-weight:600; cursor:pointer; user-select:none; }
.marker-tile:hover { background:#fafafa; }

/* Advice sekcija */
.marker-section { margin-top:10px; border:1px solid #e3e3e3; border-radius:12px; padding:12px; font-size:14px; cursor:pointer; }

/* veiksmai */
.marker-actions { margin-top:12px; display:flex; justify-content:center; }
.btn, .btn-outline {
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:10px; cursor:pointer;
  font-weight:600; text-decoration:none; white-space:nowrap; border:1px solid transparent;
}
.btn {background: #ff860a;
    color: #000000 !important;
    text-transform: uppercase;
    font-size: 20px;}
.btn:hover { filter:brightness(0.95); }
.btn-outline { background:#fff; color:#111; border-color:#e3e3e3; }
.btn-outline:hover { background:#f7f7f7; }
/* Modalas */

/* modal infrastruktūra */
.marker-modal-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.35); display:none; z-index:9999; }
.marker-modal {
  position:fixed; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(92vw, 840px); max-height:90vh; overflow:auto;
  background:#fff; border-radius:14px; box-shadow:0 20px 50px rgba(0,0,0,.25);
  display:none; z-index:10000; padding:16px;
}
.marker-modal header { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.marker-modal h3 { margin:0; font-size:18px; }
.marker-modal .close-x { border:1px solid #e3e3e3; background:#fff; border-radius:8px; padding:6px 10px; cursor:pointer; font-weight:700; }
.marker-modal .modal-body { padding:6px 2px 2px; }
.modal-gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:10px; }
.modal-gallery img { width:100%; height:100px; object-fit:cover; border-radius:10px; border:1px solid #eee; }
.modal-audio { display:grid; gap:12px; }
.modal-advice { display:grid; gap:12px; }
.modal-advice article { border:1px solid #eee; border-radius:10px; padding:10px; }

@media (max-width: 420px) {
  .marker-grid-2 { gap:8px; }
  .btn, .btn-outline { width:100%; }
}
.leaflet-container a.leaflet-popup-close-button {
    font-size: 20px !important;
    background: silver;
	color:red !important;
    padding: 7px;
    height: 35px;
    width: 33px;
}
/* Accordion */
.acc { display: grid; gap: 10px; }
.acc-item {
  border: 1px solid #e5e7eb; /* dark mode -> #334155 */
  border-radius: 12px; overflow: hidden; background: #fff; /* dark: #0b1220 */
}
.acc-btn {
  width: 100%; text-align: left; border: 0; background: transparent;
  padding: 14px 16px; font-weight: 700; font-size: 16px; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
}
.acc-btn:hover { background: rgba(0,0,0,.03); }          /* dark: rgba(255,255,255,.03) */
.acc-icon { transition: transform .18s ease; }
.acc-item[aria-expanded="true"] .acc-icon { transform: rotate(180deg); }

.acc-panel {
  max-height: 0; overflow: hidden; transition: max-height .22s ease;
  border-top: 1px solid #e5e7eb; /* dark: #334155 */
  padding: 0 16px;
}
.acc-panel > .acc-content { padding: 12px 0 14px; font-size: 14px; line-height: 1.55; }
.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Didelis viršutinis paveiksliukas */
.gallery-cover a { display:block; }
.gallery-cover img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #ddd;
  display: block;
  transition: transform .25s ease;
}
.gallery-cover img:hover { transform: scale(1.01); }

/* Miniatiūros – 3 per eilę (prisitaiko) */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 760px) {
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-thumbs { grid-template-columns: 1fr; }
}
.gallery-thumbs a { display:block; }
.gallery-thumbs img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ccc;
  display: block;
  transition: transform .2s ease;
}
.gallery-thumbs img:hover { transform: scale(1.03); }
/* Footer pagrindas */
footer {
    position: absolute;
 z-index:2;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    bottom: 0px;
    left: 0;
    right: 0;
}

/* Socialiniai tinklai footer */
footer .social-links {
    margin-bottom: 10px;
}

footer .social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    margin: 0 5px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 16px;
}

footer .social-links a:hover {
    transform: scale(1.1);
    background: #555;
}

/* Footer tekstas */
footer p {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #ccc;
}
