/* VARIABLES */
:root {
  --primary-color: #F2B821;
  --secondary-color: #05213C;
  --black-color: #292929;
  --dark-color: #313131;
  --body-color: #5A5A5A;
  --light-color: #fdfdfd;

  --heading-font: "Poppins", sans-serif;
  --body-font: "Poppins", sans-serif;
}

/* GENERAL TYPOGRAPHY */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: var(--light-color);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 164%;
  color: var(--body-color);
  margin: 0;
}

p {
  color: var(--body-color);
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

a:hover {
  color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: capitalize;
  line-height: 115%;
}

h6 {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
}

/* BACKGROUND COLORS */
.bg-light { background-color: var(--light-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

/* SECTION SPACING */
.padding-small {
  padding-top: 8em;
  padding-bottom: 8em;
}

@media (max-width: 990px) {
  .padding-small {
    padding-top: 6em;
    padding-bottom: 6em;
  }
}

/* BUTTONS */
.btn {
  --bs-btn-padding-x: 2rem;
  --bs-btn-padding-y: 1rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 500;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.5s ease-in-out;
}

.btn-primary {
  --bs-btn-color: var(--light-color);
  --bs-btn-bg: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
}

/* FORM */
.form-control:focus {
  border: 1px solid #acacac;
  box-shadow: none;
}

/* HEADER NAV */
a.nav-link {
  text-transform: capitalize;
  font-weight: 500;
  color: var(--dark-color);
  font-family: var(--heading-font);
  transition: all 0.3s ease-in-out;
}

a.nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.9s;
}

a.nav-link:hover::after,
a.nav-link.active::after {
  width: 100%;
}

@media (max-width: 990px) {
  a.nav-link {
    font-size: 1.5rem;
  }
  a.nav-link::after {
    width: 0 !important;
  }
}

/* SERVICES SECTION */
.jarallax {
  min-height: 350px;
  transition: all 0.5s ease-in-out;
}

.service-block:hover .jarallax {
  opacity: 0;
}

/* FOOTER */
.footer-contact {
  font-size: 16px;
  font-weight: 500;
}

.footer-copy {
  font-size: 14px;
  opacity: 0.8;
}

/* LOGO */
.logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

/* ICONS */
.icon {
  font-size: 20px;
  color: var(--primary-color);
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
}

.text-accent {
  color: #F2B821 !important;
}

#footer,
#footer p,
#footer a,
#footer li,
#footer h5,
#footer span {
  color: #ffffff !important;
}

#footer a {
  text-decoration: none;
}

#footer a:hover {
  color: var(--primary-color) !important;
}

.info .social a:hover {
  color: #F2B821 !important;
}


/* DESKTOP HEADER FIX – CONTACTS IN ONE ROW */
@media (min-width: 992px) {

  /* Viršutinis headeris – mažesni tarpai */
  .header-top .d-flex {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  /* Kontaktai vienoje eilėje */
  .header-top .info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 30px !important;
  }

  /* Kontaktų elementai – be vertikalių tarpų */
  .header-top .info li {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap; /* neleidžia lūžti į kitą eilę */
  }

  /* Antras headeris (meniu) – mažesni tarpai */
  #primary-header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  /* Sumažinam <hr> aukštį */
  header hr {
    margin: 0 !important;
  }
}

/* MOBILE HEADER FIX – TOP HEADER ONLY */
@media (max-width: 991px) {

  /* Slepiam logotipą mobile */
  /* .header-top .navbar-brand {
    display: none !important;
  } */

  /* Kontaktai KAIRĖJE, stulpeliu */
  .header-top .info {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-right: auto !important;
  }

  /* Kontaktų elementai */
  .header-top .info li {
    margin: 0;
    padding: 0;
  }

  /* Social ikonėlės */
  .header-top .info li:last-child {
    display: flex;
    gap: 12px;
    margin-top: 4px;
  }

  /* Flex eilė neužlūžta */
  .header-top .d-flex {
    flex-wrap: nowrap !important;
    width: 100%;
  }

  /* Hamburgeris DEŠINĖJE */
  .header-top .navbar-toggler {
    padding: 0 !important;
    margin-left: 16px !important;
  }
}
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15); /* švelniai pilkas, permatomas */
  backdrop-filter: blur(4px); /* stiklo efektas */
  color: white;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

#scrollTopBtn:hover {
  background: rgba(0, 0, 0, 0.25);
}

