/*
 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
*/

/* ============================================================
   LAYER 1 — Brand Palette
   Update these values per client to rebrand the entire site
   ============================================================ */
:root {
  --brand-primary: #BD0001;
  --brand-dark:    #222222;
  --brand-light:   #ffffff;
  --brand-text:    #000000;
  --brand-neutral: #f1f1f1;
}

/* ============================================================
   LAYER 2 — Semantic Assignments
   These reference Layer 1 — do not use hex values here
   ============================================================ */
:root {
	/* Typography */
	--font-primary: 'Montserrat', sans-serif;

	/* Layout */
	--container-width:   1280px;
	--container-padding: 0 40px;

	/* Header */
	--color-topbar-bg:   var(--brand-dark);
	--color-topbar-text: var(--brand-light);
	--color-nav-bg:      var(--brand-light);
	--color-nav-text:    var(--brand-text);
	--color-accent:      var(--brand-primary);

	/* Footer */
	--color-footer-bg:        var(--brand-neutral);
	--color-footer-bottom-bg: var(--brand-dark);
	--color-footer-social-icons-bg: var(--brand-primary);
	--color-footer-social-icons-text: var(--brand-light);
	
	--color-footer-social-icons-bg-hover: var(--brand-dark);
	--color-footer-social-icons-text-hover: var(--brand-light);
}

/* ============================================================
   GLOBAL
   ============================================================ */
.container-global {
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--container-padding);
}

body, a, li, p {
  font-family: var(--font-primary);
  font-weight: 500;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.container-header-outer {
  background: var(--color-topbar-bg);
  width: 100%;
}

.block-topbar {
  background: var(--color-topbar-bg);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 8px 40px;
  width: 100%;
  height: 65px;
}

.block-topbar-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.topbar-icon {
  font-size: 20px;
  color: var(--color-accent);
}

.topbar-text {
  color: var(--color-topbar-text);
}

.section-header .sdm-socials {
  color: var(--color-topbar-text);
}

.block-navigation {
  background: var(--color-nav-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  min-height: 120px;
  height: 120px;
}

.block-navigation-logo {
  max-width: 200px;
}

.block-navigation-logo img {
  width: 150px;
  height: auto;
  display: block;
}

.container-navigation-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-main {
  margin-left: auto;
}

.nav-main ul li a {
  color: var(--color-nav-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-main ul li a:hover,
.nav-main ul li.current-menu-item a {
  color: var(--color-accent);
}

#menu-main-navigation li a {
  font-size: 16px !important;
}

.btn-phone-mobile {
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.section-footer {
  background: var(--color-footer-bg);
  padding: 60px 0 40px;
}

.section-footer-bottom {
  background: var(--color-footer-bottom-bg);
  padding: 20px 0;
  text-align: center;
}

.block-footer-row1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid #ddd;
}

.block-footer-col1 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 260px;
}

.block-footer-col2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.block-footer-col2 .brxe-text-basic {
  font-size: 15px;
  color: var(--color-nav-text);
  line-height: 1.6;
}

.footer-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-nav-text);
  margin-bottom: 4px;
}

/* ============================================================
   MOBILE — max-width: 768px
   ============================================================ */
@media (max-width: 768px) {
  .block-topbar {
    display: none;
  }

  .block-navigation {
    padding: 0 20px;
    min-height: 70px;
    height: auto;
  }

  .container-navigation-inner {
    padding: 0;
    justify-content: space-between;
    align-items: center;
  }

  .block-navigation-logo {
    max-width: 120px;
    order: 2;
  }

  .block-navigation-menu {
    order: 1;
    flex: 0 0 50px;
  }

  .btn-phone-mobile {
    display: flex;
    order: 3;
    background: var(--color-accent);
    color: var(--brand-light);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
  }
}

.section-footer {
  background: var(--color-footer-bg);
  padding: 60px 20px 40px 20px;
}

.section-footer-bottom {
  background: var(--color-footer-bottom-bg);
  padding: 20px 0;
  text-align: center;
}

/* ── Footer Row 1 ── */
.block-footer-row1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 0 0 40px 0;
  border-bottom: 1px solid #ddd;
}

.block-footer-col1 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 260px;
}

.block-footer-col2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.block-footer-col2 .brxe-text-basic {
  font-size: 15px;
  color: var(--color-nav-text);
  line-height: 1.6;
}

.footer-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-nav-text);
  margin-bottom: 4px;
}

/* ── Footer Row 2 ── */
.block-footer-row2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
}

.block-footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.block-footer-newsletter .brxe-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-nav-text);
}

.btn-footer-newsletter {
  background: var(--color-footer-bottom-bg);
  color: var(--brand-light);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.btn-footer-newsletter:hover {
  background: var(--color-accent);
}

.block-footer-nav {
  display: flex;
  align-items: flex-end;
}

/* ── Footer Row 3 ── */
.block-footer-row3 {
  display: flex;
  justify-content: flex-end;
  padding: 40px 0;
}

.block-footer-connect {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  padding-top: 10px;
}

.block-footer-connect .brxe-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-nav-text);
}

/* ── Footer Bottom Bar ── */
.container-footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.container-footer-bottom .brxe-shortcode,
.container-footer-bottom .brxe-text-basic {
  color: var(--brand-light);
  font-size: 14px;
}

.container-footer-bottom .brxe-shortcode {
  width: 50px;
	margin-right:5px;
}

.section-footer-bottom .brxe-text-basic {
  color: var(--brand-light);
  font-size: 14px;
}

.section-footer-bottom a {
  color: var(--brand-light);
  text-decoration: none;
}

.section-footer-bottom a:hover {
  color: var(--color-accent);
}

/* ── SDM Socials Footer ── */
.sdm-socials-footer a {
  background: var(--color-footer-social-icons-bg);
  color: var(--color-footer-social-icons-text);
}

.sdm-socials-footer a:hover {
  background: var(--color-footer-social-icons-bg-hover);
  color: var(--color-footer-social-icons-text-hover);
}

/* ── SDM Footer Nav ── */
.sdm-footer-nav {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
}

.sdm-footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sdm-footer-nav-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-nav-text);
  margin-bottom: 8px;
}

.sdm-footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sdm-footer-nav-list a,
.sdm-footer-nav-single {
  font-size: 14px;
  color: var(--color-nav-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sdm-footer-nav-list a:hover,
.sdm-footer-nav-single:hover {
  color: var(--color-accent);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .block-footer-row1,
  .block-footer-row2,
  .block-footer-row3 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .block-footer-col1,
  .block-footer-col2,
  .block-footer-newsletter,
  .block-footer-nav,
  .block-footer-connect {
    align-items: center;
    width: 100%;
  }

  .block-footer-connect {
    align-items: center;
  }

  .block-footer-col2 .brxe-text-basic {
    text-align: center;
  }

  .btn-footer-newsletter {
    margin-bottom: 40px;
  }

  .block-footer-nav .brxe-nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .sdm-footer-nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}