/*
Theme Name: Levenlingas
Theme URI: https://levenlingas.lt
Author: Deivis + Vega
Description: Minimal WordPress theme for a few pages and posts. No archives, no search, no feeds. Includes Landing template with ACF.
Version: 1.2
License: GPL-2.0-or-later
Text Domain: levenlingas
*/
 :root{
    --bg: #0b0f14;
    --panel: rgba(255,255,255,0.04);
    --accent: rgba(98,107,48,0.79); /* tavo nurodyta */
    --white: #ffffff;
    --black: #000000;
    --muted: rgba(255,255,255,0.7);
    --radius: 12px;
    --max-w: 720px;
	--cc: #8c9d37;
  }

body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#fff;color:#e8eef6;line-height:1.6}

ul, li {list-style-type:none;}
a{color:#38bdf8;text-decoration:none}
.wrap{max-width:1200px;margin:0 auto;position: relative;}
.header{display:flex;justify-content:space-between;align-items:center}
a.logo {
    color: white;
    text-transform: uppercase;
    font-size: 32px;
}
.f-bg {
	background: url(https://levelingas.lt/wp-content/uploads/2025/12/fonas-2levelingas-scaled.webp) center center no-repeat;
	background-size: cover;max-width:100%;margin:0 auto;height:100vh;position:relative;
}
.in-fbg {background:rgb(0, 0, 0, 0.2);max-width:100%;margin:0 auto;height:100vh;}
.head {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: nowrap;
    background: rgb(0 0 0 / 40%);
    color: white;border-bottom: 3px solid var(--cc);
}
/*navigacija */
ul#menu-header {position:relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.menu li a {position:relative;
    display: block;
    padding: 10px 12px;
    color: white;text-transform: uppercase;font-size:20px;
}
.menu  li a:hover {
	background: rgba(0, 0, 0, 0.8);color: var(--cc);
}
.menu li  {position:relative;
}
/* === MENU ITEM === */
.menu-item-has-children {margin-right: 20px;
	position: relative;z-index:1;
}

/* Nuoroda */
.menu-item-has-children > a {
	padding-right: 34px;
	position: relative;
}

/* === RODYKLĖ ▼ === */
.menu-item-has-children > a::after {
	content: "▼";
	position: absolute;
	right: -15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
    color: var(--cc);	cursor: pointer;
	transition: transform .25s ease;
}

/* pasukta rodyklė */
.menu-item-has-children.active > a::after {
	transform: translateY(-50%) rotate(180deg);
}

/* === SUBMENU === */
.sub-menu {z-index:2;
	max-height: 0;
	overflow: hidden;
position:absolute;
	background: rgb(0 0 0 / 40%);
	box-shadow: 0 15px 40px var(--cc);
    min-width: 250px;
    padding-left: 0px;
	transition: max-height .35s ease, opacity .25s ease;
	opacity: 0;
}

/* aktyvus */
.menu-item-has-children.active > .sub-menu {
	max-height: 500px; /* pakankamai */
	opacity: 1;
}

/* Desktop hover */
@media (min-width: 1025px) {
	.menu-item-has-children:hover > .sub-menu {
		max-height: 500px;
		opacity: 1;
	}

	.menu-item-has-children:hover > a::after {
		transform: translateY(-50%) rotate(180deg);
	}
}

/* Submenu linkai */
.sub-menu li a {border-bottom: 1px solid var(--cc);
	display: block;
	padding: 10px 18px;
	color: #fff;
	text-decoration: none;
}

.sub-menu li a:hover {
	background: rgba(0, 0, 0, 0.8);
}
/* === BURGER BAZĖ === */
.burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 30px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transition: 0.35s ease;
}
	.mobile {
    display: none;}


/* === BURGER → X === */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(15px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-15px);
}

/*headtextas*/
.head-text {
 display: flex;
    margin-top: 7%;
    max-width: 581px;
   
    flex-wrap: wrap;
    justify-content: space-evenly;
    flex-direction: column;
}

.head-text div {
font-weight: 400;
    max-width: 581px;
    background: rgb(98 107 48 / 79%);
    font-size: 65px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 6px 6px 4px #000000;
    margin: 0;
    padding: 0;
    text-align: center;
}
.head-text p {
    font-size: 30px; max-width: 581px;
	background: rgb(98 107 48 / 79%);text-align:center;
	text-transform: uppercase;
    color: #ffffff;
    text-shadow: 6px 6px 4px #000000;
}


/* forma */
label.glsr-label {
    color: black;
    text-shadow: none;
}
 /* Card */
  .card{
position: absolute;
    right: 10px;
    box-shadow: 1px 1px 3px 2px rgb(0 0 0 / 30%);
    top: 0;
    width: 40%;
    background: rgb(85 93 43 / 65%);
   
    overflow:hidden;
    display:grid;
    gap:10px;padding:10px;
  }
  .form-head {
	  font-size: 33px;
    text-align: center;
    text-transform: uppercase;border-bottom: 1px solid var(--cc);
	  
  }
 form{
    display:grid;
    
}
.row {
  display: flex;
  gap: 20px;
}
  label{text-shadow: 2px 2px 1px #000000;
    display:block;
    font-size: 16px;
    color: rgb(255 255 255);
    margin-bottom:6px;
  }

  .field{
    display:flex;
    flex-direction:column;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea{
    padding:12px 14px;
    border:1px solid rgba(16,24,40,0.06);
    border-radius:3px;
    font-size:16px;
    background: rgb(216 208 176 / 57%);
    color:var(--black);
    transition: box-shadow .12s, border-color .12s;
    outline: none;
  }
  input::placeholder,
  textarea::placeholder { color: rgba(0,0,0,0.35); }

  input:focus, textarea:focus{
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(98,107,48,0.12);
  }

  textarea{
    min-height:120px;
    resize:vertical;
  }

  .actions{
    display:flex;
    gap:10px;
    align-items:center;
    margin-top:6px;
  }

  button.submit{
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 80%, #000 20%));
    color: var(--white);
    border: 1px solid var(--cc);
    padding: 10px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 300;
    box-shadow: 0 8px 18px rgba(98, 107, 48, 0.18);
    margin: auto;
    font-size: 16px;
    text-transform: uppercase;width: 160px;
  }
  button.submit:active{ transform: translateY(1px); }

div#form-response {
    background: white;
    padding: 5px;
    text-align: center;margin-top:10px;
}
  .error {
    border-color: #d64545 !important;
    box-shadow: 0 6px 20px rgba(214,69,69,0.06) !important;
  }
  .hidden { display:none !important; }
  
  
  /* Tėvinis konteineris – išdėsto korteles */
.glsr-reviews {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Kiekviena atsiliepimo kortelė */
.glsr-review {
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
background: #8c9d37;
    color: white;
    padding: 15px;
    border-radius: 0px;
   
}
.glsr-review-author {
  display: none !important;
}
/* Mažuose ekranuose – po 1 arba 2 */
@media (max-width: 1024px) {
  .glsr-review {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 640px) {
  .glsr-review {
    flex: 1 1 100%;
  }
}

  
  
  
  /* footer */
  .footer {background: url(https://levelingas.lt/wp-content/uploads/2025/12/footer-image.webp) left bottom no-repeat;
	background-size: auto;
  border-top: 2px solid var(--cc);
  color: #ffffff;
  padding: 50px 20px 25px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Viršutinė footer dalis */
.footer .f-block {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Stulpeliai */
.footer .f-blocka,
.footer .f-blockb {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Antraštės */
.footer h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: rgb(152 179 30);
}

/* Nuorodos */
.footer a {
  color: #dcdcdc;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: #ffffff;
}

/* Copyright */
.footer .copyright {
  border-top: 1px solid var(--cc);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #cfcfcf;
}

/* WP footer menu */
.footer nav {
  margin-top: 15px;
  text-align: center;
}

.footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 20px;
}

.footer nav a {
  font-size: 14px;
  color: #cfcfcf;
}

/* 📱 Responsive */

/* === MOBILE === */
@media (max-width: 992px) {.head-text p { font-size: 25px;}
	.head-text div  {font-size:55px;}  .card{ display:none; }
	.mobile {padding: 7px;
box-sizing: border-box;position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    display: block;
    z-index: 5;height: 50px;
    background: #8c9d37}
	nav.nav {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    display: block;
    z-index: 5;
    background: rgb(0 0 0 / 74%);
}
  .burger {right: 10px;top:10px;
        position: absolute;
    display: flex;
  }
.sub-menu {box-shadow:none;width:100%;
    position: relative;
}ul#menu-header {
    align-items: flex-start;
}  .nav .menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    flex-direction: column;
  }

  .nav.open .menu {
    max-height: 600px;
  }

  .footer .f-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {.head-text div  {font-size:35px;}.menu li {
    display: block;
    width: 100%;
}
  .footer {
    padding: 40px 15px 20px;
  }

  .footer .f-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer h5 {
    font-size: 17px;
  }

  .footer nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}
