/* темні - #0f2e45 #454914 */
/* оригінальні #1c5582 #848f25 */


/* 1. Білий хедер */
.container-header {
  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,.05);
}


/* 2. Контейнер шапки: лого+текст зліва, меню справа */
.container-header .container-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 3. Брендова частина (посилання з логотипом) */
.container-header .navbar-brand {
  display: flex;
  align-items: flex-start;
  text-decoration: none !important;
  line-height: 1.2;
  position: relative;
}

/* 3.1 Логотип */
.container-header .navbar-brand img {
  max-height: 70px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

/* 3.2 Створюємо віртуальний стовпець праворуч від логотипа,
      в який вставимо VALKON і слоган */
.container-header .navbar-brand::after,
.container-header .navbar-brand::before {
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

/* VALKON (перший рядок) */
.container-header .navbar-brand::after {
  content: "VALKON";
  font-size: 1.5rem;
  font-weight: 700;
  color: #848f25;
  margin-left: 12px;   /* відступ від логотипа вправо */
  margin-top: 4px;     /* опустити трохи вниз від верхнього краю логотипа */
}

/* Слоган (другий рядок) — беремо з template options,
   тобто справжній .site-description і кладемо під VALKON */
.container-header .navbar-brand .site-description {
  position: absolute !important;
  left: calc(12px + 0px + 70px); /* 70px ~ ширина логотипа. Підкручуй */
  top: 40px;                     /* відстань вниз під словом VALKON. Підкручуй */

  /* розблокувати, бо Joomla могла ховати */
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  display: block !important;
  white-space: nowrap !important;

  font-size: 0.8rem;
  font-weight: 400;
  color: #1c5582;
  margin: 0;
  padding: 0;
}


/* 4. Меню (змінюємо колір посилань на темний) */
.container-header .mod-menu a {
  color: #0f2e45 !important;
  font-weight: 500;
  text-decoration: none;
}
.container-header .mod-menu a:hover {
  color: #848f25 !important;
}







/* Контейнер верхнього рядка */
.container-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

/* Сам модуль перемикача мов */
.container-topbar .mod-languages {
  margin-left: auto; /* Зсуває праворуч */
}
/* Прапорці */
.mod-languages img {
  padding: 10px;
  margin:0px;
  width: auto;            /* стандартна ширина прапорця 18px */
  height: auto;           /* стандартна висота 12px */
  border-radius: 2px;     /* злегка закруглені краї */
  border: 2px solid transparent; /* без сірого фону */
  transition: all 0.2s ease;
  box-shadow: none;
}

/* Активна мова у перемикачі */
.mod-languages li.lang-active img {
  border: 2px solid #848f25 !important;
  box-shadow: 0 0 2px #848f25aa !important;
  border-radius: 2px;
  background: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}

.mod-languages li.lang-active a,
.mod-languages li.lang-active {
  background: transparent !important;
  box-shadow: none !important;
}

/* Ефект при наведенні на прапорець */
.mod-languages img:hover {
  transform: scale(1.05);
  border-color: #9abf32 !important;
}




/* === VALKON Contact form compact === */

/* Контейнер сторінки контактів */
.com-contact {
  max-width: 600px;              /* звужуємо форму */
  margin: 0 auto;                /* центр по сторінці */
  font-family: inherit;
}

/* Заголовки типу "Contact Form", "Send an Email" */
.com-contact h1,
.com-contact h2,
.com-contact h3 {
  color: #1c5582;
  margin-bottom: 0.5rem;
}

/* Текст підзаголовку типу "* Required field" */
.com-contact p,
.com-contact small {
  font-size: 0.9rem;
  color: #555;
}

/* Обгортки полів */
.com-contact .control-group,
.com-contact .form-group {
  margin-bottom: 0.75rem;
}

/* Лейбли ("Name", "Email",...) */
.com-contact label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1c5582;
  margin-bottom: 4px;
  display: block;
}

/* Всі інпути і textarea */
.com-contact input[type="text"],
.com-contact input[type="email"],
.com-contact input[type="tel"],
.com-contact input[type="url"],
.com-contact input[type="search"],
.com-contact input[type="subject"],
.com-contact input[type="password"],
.com-contact textarea,
.com-contact .form-control {
  width: 100% !important;
  max-width: 100% !important;
  height: 34px !important;           /* нижчі поля */
  padding: 6px 10px !important;
  font-size: 0.9rem !important;
  line-height: 1.3 !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Тіло повідомлення (Message) повинно бути трохи вище */
.com-contact textarea,
.com-contact textarea.form-control {
  min-height: 90px !important;
  height: 90px !important;
  resize: vertical !important;
}

/* Фокус */
.com-contact input:focus,
.com-contact textarea:focus,
.com-contact .form-control:focus {
  border-color: #848f25 !important;
  box-shadow: 0 0 3px #848f2566 !important;
  outline: none !important;
}

/* Кнопка Send Email */
.com-contact button,
.com-contact input[type="submit"],
.com-contact .btn-primary {
  background-color: #848f25 !important;
  border-color: #848f25 !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 6px 14px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  width: auto !important;
  min-width: 120px;
  cursor: pointer;
}

/* Hover кнопки */
.com-contact button:hover,
.com-contact input[type="submit"]:hover,
.com-contact .btn-primary:hover {
  background-color: #6c8120 !important;
  border-color: #6c8120 !important;
}



/* === VALKON: чистий футер без кольорової заливки === */
.footer,
.site-footer,
.container-footer {
  background: none !important;
  background-color: transparent !important;
/*  border-top: 1px solid rgba(0,0,0,0.05) !important;  тонка лінія зверху — можна прибрати */
  color: #1c5582 !important;
}

/* Текст футера: колір, лінки, вирівнювання */
.footer *,
.site-footer *,
.container-footer * {
  color: #1c5582 !important;
  text-decoration: none !important;
}




/*ГОЛОВНА СТОРІНКА*/

.hero-valkon {
  position: relative;
  background: url('/images/banners/valkon-banner.png') center center / cover no-repeat;
  min-height: 60vh;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
/* Менша висота для великих екранів */
@media (min-width: 1024px) and (orientation: landscape){
  .hero-valkon {
    min-height: 40vh; /* або навіть 40vh, якщо хочеш ще нижче */
  }
}
.hero-valkon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}
.hero-content h1 {font-size: 2.8rem; font-weight: 700; margin-bottom: 1rem;}
.hero-content p {font-size: 1.2rem; margin-bottom: 2rem;}

.btn-valkon {
  display: inline-block;
  background: #848f25;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}
.btn-valkon:hover {
  background: #6d771e;
  transform: translateY(-2px);
}

/* Секції нижче банера */
section {
  padding: 20px 20px;
  text-align: center;
}
section h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
}
section ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
section ul li {
  background: #f7f7f7;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
}
.link-more {
  color: #848f25;
  font-weight: 600;
  text-decoration: none;
}
.link-more:hover {text-decoration: underline;}

