/*
Theme Name: Vėjų fėja
Author: Auto Generated
Description: Minimalist and modern theme for vejufeja.lt
Version: 1.0.0
*/

:root {
  --primary-color: #3C7920;
  /* Nature green */
  /* Earth tone */
  --text-dark: #333333;
  --text-light: #fffffc;
  --bg-color: #fffffc;
  --font-main: 'Figtree', sans-serif;
  --font-heading: 'Figtree', sans-serif;
}

html, body {
  overflow-x: clip;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Contact info inline styles */
.top-bar-contact {
  opacity: 0.9;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.top-bar-contact i {
  margin-right: 6px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.top-bar-contact:hover,
.top-bar-contact:hover i {
  opacity: 1;
  color: #fff;
}

.top-bar-green {
  background-color: #3C7920;
  height: 36px;
  padding: 0 5vw;
}

.site-header-wrapper.hide-top-bar {
  top: -36px !important;
}

.top-bar-green-inner {
  display: flex;
  gap: 24px;
  max-width: 1300px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  justify-content: flex-end;
  align-items: center;
}

/* Apple-style Modern Header */
.site-header-wrapper {
  position: sticky !important;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: top 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.site-header {
  background: #ffffff;
  position: relative !important;
  z-index: 100;
  border-bottom: none;
  padding: 12px 5vw;
  box-shadow: none; /* No shadow initially so it doesn't bleed through white connections */
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.site-header.is-scrolled {
  background: #ffffff;
  padding: 12px 5vw;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); /* Elevate bar gracefully when compact */
}

/* Pritaikymas, kad meniu neuždengtų WordPress Admin įrankių juostos kompiuteryje */
body.admin-bar .site-header-wrapper {
  top: 32px !important;
}

body.admin-bar .site-header-wrapper.hide-top-bar {
  top: -4px !important;
}

.l-subheader-h {
  max-width: 1300px;
  width: 100%;
  height: 48px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.l-subheader-cell {
  display: flex;
  align-items: center;
}

.l-subheader-cell.at_left {
  gap: 16px;
  align-items: center;
  flex: 1;
  justify-content: flex-start;
  align-self: flex-start;
  position: relative;
}

.l-subheader-cell.at_right {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex: 2;
}



.w-image {
  background-color: #ffffff;
  padding: 0px 31px 10px 31px;
  border-radius: 20px;
  margin-bottom: -60px;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  position: relative;
  z-index: 99;
}

/* Inverted curves for the notch effect where it meets header bottom */
.w-image::before,
.w-image::after {
  content: "";
  position: absolute;
  top: 59px;
  width: 21px;
  height: 21px;
  pointer-events: none;
  opacity: 1;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.w-image::before {
  left: -20px;
  background: radial-gradient(circle at 0% 100%, transparent 20px, #ffffff 20.5px);
}

.w-image::after {
  right: -20px;
  background: radial-gradient(circle at 100% 100%, transparent 20px, #ffffff 20.5px);
}

.site-header.is-scrolled .w-image {
  background-color: #ffffff;
  padding: 0px 5px 0px 5px;
  margin-bottom: 0px;
  border-radius: 12px;
  box-shadow: none;
}

.site-header.is-scrolled .w-image::before,
.site-header.is-scrolled .w-image::after {
  transform: translateY(-26px); /* Mechanically pull them up into the white chassis instead of vector-squashing */
}

.w-image img {
  width: 160px;
  height: auto;
  display: block;
  margin-top: 0px;
  margin-bottom: 0px;
  position: relative;
  z-index: 10;
  transition: width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.site-header.is-scrolled .w-image img {
  width: 100px;
}

.augink-sparnus-css {
  color: #3C7920;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 2px;
  white-space: nowrap;
  margin-left: 30px;
  margin-top: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.site-header.is-scrolled .augink-sparnus-css {
  font-size: 11px;
  margin-top: 10px;
  margin-left: 20px;
}

.w-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.w-nav-list li {
  position: relative;
}

.w-nav-list li a {
  font-family: var(--font-main);
  font-weight: 600;
  color: rgba(0, 0, 0, 0.85);
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  display: flex;
  align-items: center;
  text-transform: none;
}

/* Font dydžiai suvienodinti visiems elementams */
.w-nav-list li a:hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: #000;
}

/* Mobile responsive Meniu toggle ir Full-Screen Blur Overlay */
.mobile-menu-toggle {
  display: none;
  background: transparent !important;
  border: none;
  font-size: 1.5rem;
  color: #1d1d1f;
  cursor: pointer;
  z-index: 2000;
  position: relative;
  padding: 5px;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:active {
  background-color: transparent !important;
  outline: none !important;
}

.mobile-contacts-wrapper {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 20px;
  }

  .l-subheader-h {
    height: 64px;
  }
  
  .w-image {
    padding: 0px 5px 0px 5px;
    margin-bottom: 0px;
    border-radius: 12px;
  }

  .w-image::before,
  .w-image::after {
    display: none;
  }

  .w-image img,
  .site-header.is-scrolled .w-image img {
    width: 140px;
    margin-top: -10px;
  }

  .mobile-menu-toggle {
    font-size: 1.8rem;
  }

  .top-bar-green-inner {
    justify-content: center;
  }

  .augink-sparnus-css {
    display: none;
    /* Mobiliame ekrane paslepiam tekstą dėl vietos trūkumo sklandžiam atvaizdui */
  }

  .mobile-menu-toggle {
    display: block;
  }

  .l-subheader-h,
  .l-subheader-cell.at_right,
  .w-nav {
    position: static !important;
  }

  .w-nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 150px;
    padding-left: 40px;
    padding-right: 20px;
    padding-bottom: 50px;
    box-sizing: border-box;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.8, 0, 0.1, 1);
    z-index: 50;
    pointer-events: none;
    touch-action: none;
  }

  /* Kai paslėpta žalia juosta (slinkant žemyn), ir logotipas pakyla aukštyn - proporcingai pakeliam ir meniu! */
  .site-header-wrapper.hide-top-bar .w-nav-list {
    padding-top: 114px;
  }

  /* Aktyvuota mobiliojo meniu būsena (išskleidimas) */
  .w-nav-list.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Meniu elementų dizainas mobiliame vaizde - pritaikytas rankoms, stambesnis (sumažintas pagal pageidavimą) */
  .w-nav-list li {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .w-nav-list li a {
    font-size: 1.1rem;
    padding: 8px 0px;
    font-weight: 500;
    justify-content: flex-start;
  }

  .mobile-contacts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    align-items: flex-start;
    width: 100%;
  }

  .mobile-only-contacts a {
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
  }

  .mobile-social-icons {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
    margin-top: 10px;
  }
  
  .mobile-social-icons a {
    font-size: 1.5rem !important;
  }
}

.w-nav-list li.current-menu-item>a {
  color: var(--primary-color);
  background-color: rgba(47, 72, 43, 0.05);
  /* Ypač švelnus spalvos fonas paryškinimui */
  font-weight: 400;
  /* Panaikina šokinėjimą */
  -webkit-text-stroke: 0.4px var(--primary-color);
  /* Sukuria pastorinimo efektą nekeičiant raidžių fizinio pločio */
}

.site-content {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Jei puslapis redaguojamas su Elementor, nuimame temos rėmus, kad veiktų Elementoro "Full Width" logika */
body.elementor-page .site-content {
  max-width: 100% !important;
  padding: 0 !important;
}

.site-footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 40px;
  text-align: center;
  margin-top: 60px;
}