/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

.rounded-banner {
    border-radius: 20px; /* Променяй стойността според желания ефект */
    overflow: hidden; /* За да не се показват излизащи части */
}

@media (max-width: 1400px) {
  .text h1 {
    font-size: 1.3rem; /* или друга стойност, по-малка от стандартната */
  }

  .text p {
    font-size: 0.9rem; /* например */
  }
}

/* Основен контейнер на формата */
.wpcf7 form {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

/* Подравняване на параграфи (всеки field) */
.wpcf7 form p {
  margin-bottom: 20px;
}

/* Общи стилове за всички полета */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #5e9cff;
  background-color: #fff;
  outline: none;
}

/* Стил на бутона */
.wpcf7 input[type="submit"] {
  background-color: #03c988;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #357edd;
}

/* Стил за съобщенията */
.wpcf7-response-output {
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 20px;
}

.wpcf7-mail-sent-ok {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.wpcf7-validation-errors {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.wpcf7-not-valid-tip {
  color: #e55353;
  font-size: 13px;
  margin-top: 6px;
  display: block;
}
/* Центрира бутона в Contact Form 7 */
.wpcf7 form p input[type="submit"],
.wpcf7 form div input[type="submit"] {
  display: block;
  margin: 0 auto;
}

/* Базови стилове за иконката */
ul.header-nav.header-nav-main.nav.nav-right.nav-size-large.nav-spacing-xlarge .sparkle {
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: .5em;     /* иконка пред текста */
  vertical-align: -2px;
  transition: transform .35s ease;
}

/* Въртене 180° при hover върху <a> И/ИЛИ върху <li> */
ul.header-nav.header-nav-main.nav.nav-right.nav-size-large.nav-spacing-xlarge > li > a:hover .sparkle,
ul.header-nav.header-nav-main.nav.nav-right.nav-size-large.nav-spacing-xlarge > li:hover > a .sparkle,
ul.header-nav.header-nav-main.nav.nav-right.nav-size-large.nav-spacing-xlarge > li:hover .sparkle {
  transform: rotate(180deg);
}

/* ако използваш inline SVG вместо <img>, оцвети от CSS */
ul.header-nav.header-nav-main.nav.nav-right.nav-size-large.nav-spacing-xlarge .sparkle svg path {
  fill: #0a2a6b;  /* тъмносин */
}

@media (prefers-reduced-motion: reduce) {
  ul.header-nav.header-nav-main.nav.nav-right.nav-size-large.nav-spacing-xlarge .sparkle {
    transition: none;
  }
}

/* Телефони */
@media (max-width: 767px) {
  /* Покриваме и мобилното меню/off-canvas, ако Flatsome го ползва */
  ul.header-nav.header-nav-main.nav.nav-right.nav-size-large.nav-spacing-xlarge .sparkle,
  .mobile-nav .sparkle,
  .off-canvas .sparkle {
    width: 13px;
    height: 13px;
    margin-right: .4em;
    vertical-align: -1px;
  }
}

/* Много малки екрани */
@media (max-width: 360px) {
  ul.header-nav.header-nav-main.nav.nav-right.nav-size-large.nav-spacing-xlarge .sparkle,
  .mobile-nav .sparkle,
  .off-canvas .sparkle {
    width: 11px;
    height: 11px;
    margin-right: .35em;
  }
}

/***************** Marquee *****************/
.marquee {
  display: flex;
  overflow: hidden;
  height: 5vh;
  user-select: none;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-color: #0D003B; /* ЧЕРЕН ФОН */
  color: #fff;            /* за всеки случай — наследен цвят */
}

.marquee:hover {
  -webkit-text-stroke: 1.5px #fff;
  text-stroke: 1.5px #fff;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  color: transparent;
  transition: all 0.5s ease;
  -webkit-font-smoothing: antialiased;
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 100%;
  animation: scroll 25s linear infinite reverse;
}

.marquee__group span {
  color: #fff; /* бял текст върху черен фон */
  font-size: clamp(22px, 1.2vw, 24px);
  font-weight: 800;
  white-space: nowrap;
  font-family: 'Syne', sans-serif !important;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 2rem)); }
}

@media (max-width: 480px) {
  .marquee__group span { font-size: 22px; }
}

/* еднакво съотношение (напр. 3:2) за всички featured images */
img.wp-post-image {
  width: 100%;
  height: clamp(160px, 22vw, 600px); /* избери си диапазон */
  object-fit: cover;                 /* запълва рамката, изрязва излишното */
  display: block;
}

@media (max-width: 480px){
  img.wp-post-image {
    height: 400px; /* или друго */
  }
}


