/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* ================================================
   THEME STYLES - Typography (from Bricks Theme Styles)
   Applied globally until CSS is generated from builder
   ================================================ */
h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  color: #285aff;
}

h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 40px;
  color: #374649;
}

h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  color: #374649;
}

/* ================================================
   HEADER - Menu hover color
   ================================================ */
#brxe-hdr007 .bricks-nav-menu > li:hover > a {
  color: #285aff;
}

/* Force menu items on single line */
.bricks-nav-menu {
  flex-wrap: nowrap !important;
}
.bricks-nav-menu > li > a {
  white-space: nowrap;
}

/* ================================================
   HEADER - Menu decorative dots (3 squares)
   Animation: staggered fade-in left to right
   Position: ABOVE the menu item text, aligned LEFT
   ================================================ */

/* Menu items need relative positioning */
.bricks-nav-menu > li > a {
  position: relative;
  padding-top: 12px !important;
}

/* Square 1 (left) - ::before pseudo-element */
.bricks-nav-menu > li > a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  background-color: #285aff;
  opacity: 0;
  transition: opacity 0.15s ease 0.15s;
}

/* Squares 2 + 3 (center + right) - ::after with box-shadow */
.bricks-nav-menu > li > a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 7px;
  width: 5px;
  height: 5px;
  background-color: #285aff;
  box-shadow: 7px 0 0 #285aff;
  opacity: 0;
  transition: opacity 0.15s ease 0s;
}

/* ---- Hover states ---- */
.bricks-nav-menu > li:hover > a::before,
.bricks-nav-menu > .current-menu-item > a::before,
.bricks-nav-menu > .current-menu-parent > a::before,
.bricks-nav-menu > .current-menu-ancestor > a::before {
  opacity: 1;
  transition: opacity 0.15s ease 0s;
}

.bricks-nav-menu > li:hover > a::after,
.bricks-nav-menu > .current-menu-item > a::after,
.bricks-nav-menu > .current-menu-parent > a::after,
.bricks-nav-menu > .current-menu-ancestor > a::after {
  opacity: 1;
  transition: opacity 0.15s ease 0.1s;
}

/* ================================================
   HERO - Search field with icon inside
   ================================================ */
#brxe-hero06 {
  display: flex;
  justify-content: flex-end;
}

#brxe-hero06 form {
  position: relative;
  display: flex;
  align-items: center;
}

#brxe-hero06 input[type=search] {
  padding-right: 46px !important;
  border-radius: 20px !important;
}

#brxe-hero06 button {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  color: #ed0000 !important;
  font-size: 16px;
  cursor: pointer;
}
