/*
Theme Name: gcpaintfl
Theme URI: https://dev.snworks.com/gcpaintfl/wp-content/themes/gcpaintfl
Author: Synergy Web Design and Marketing - Lora Champion
Author URI: https://snwebdm.com/
Description: This theme works best with Elementor, although you can also use blocks with it (remove bottom section from functions.php to enable block editor). Recommended plugins: Elementor, Yoast, Contact7, WooCommerce, Ultimate Member, Max Mega Menu
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, block-styles, wide-blocks
Version: 101425
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gcpaintfl
*/

#mega-menu-primary .mega-contact-btn a.mega-menu-link:hover {
  background: orange !important;
  color: white !important;
}
#mega-menu-primary .mega-contact-btn a.mega-menu-link {
  background: #f4a261 !important;
  color: #1f4a6b !important;
}

/* mega menu styling */
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link {
  color: #fff;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link:hover {
  color: #fff;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  color: #fff;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  position: relative;
  text-decoration: none;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link::before {
  transform: scaleX(1);
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link::before,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;

  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.3s ease;
    background-image: linear-gradient(to right, #ff8a00, #e52e71);
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover::before,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover::before {
  transform: scaleX(1);
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  position: relative;
  text-decoration: none;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-item-has-children
  > a.mega-menu-link
  > span.mega-indicator {
  margin: 0 0 0 0;
}

/* adds font awesome v5 fa-solid support */
.fa-solid {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* adds stick fixed */
/* Default sticky header */

body.home .sticky {
  width: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0);
  z-index: 1000;
  padding: 1px 1px; /* smaller default padding */
  transition: all 0.3s ease;
}

body.home .sticky.fixed {
  width: 100%;
  position: fixed;
  background: #353535;
  z-index: 1000;
  padding: 1px 1px; /* smaller default padding */
  transition: all 0.3s ease;
}

.sticky {
  width: 100%;
  position: relative;
  background: #353535;
  z-index: 1000;
  padding: 1px 1px; /* smaller default padding */
  transition: all 0.3s ease;
}

/* Fixed header on scroll */
.sticky.fixed {
  position: fixed;
  background: rgba(0, 0, 0, 1);
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  padding: 0px 0px; /* shrink padding when fixed */
  transition: all 0.3s ease;
}

/* Logo transitions */
.sticky img#toplogo {
  width: 280px; /* smaller default logo */
  max-width: 100%;
  transition: width 0.3s ease;
  padding-bottom: 5px;
}

.sticky.fixed img#toplogo {
  width: 120px; /* shrink logo when fixed */
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .sticky {
    padding: 8px 10px;
  }

  .sticky.fixed {
    padding: 4px 10px;
  }

  .sticky img#toplogo {
    width: 250px;
  }

  .sticky.fixed img#toplogo {
    width: 250px;
  }
}

/* required wp styles 10/14/25 */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}

.elementor-slideshow__title {
  display: none !important;
}

.wp-caption {
}
.wp-caption-text {
}
.gallery-caption {
}
.bypostauthor {
}
.alignright {
}
.alignleft {
}
.aligncenter {
}

/* end wp required styles */

.site-header a {
  color: #fff;
  /* color: #2fa5e5; */
}

a#biphone {
  font-size: 24px;
  font-weight: 800;
  text-shadow: 1px 1px 8px #000;
}

.icons a {
  margin: 12px;
}

/*  mouse click buttons  */

#builds {
  position: relative;
  width: 96vw; /* full viewport width */
  max-width: 100vw;
  height: 75vh;
  /* border: 2px dashed #888; */
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  box-sizing: border-box;
  touch-action: manipulation; /* allows tap/click properly */
}

#menuButtons {
  position: absolute;
  display: none;
  flex-direction: column;
  z-index: 10000;
}

#menuButtons .btn-link {
  display: block;
  margin: 5px 0;
  padding: 8px 12px;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 0;
  border: 2px black solid;
}

#menuButtons .btn-link:hover {
  background-color: #000;
  border: 2px WHITE SOLID;
}

form label,
form input,
form textarea {
  width: 100%;
}

.site-footer {
  background: black;
  color: white;
}

.bottom-cta {
  padding-top: 30px;
  padding-bottom: 40px;
}
#footerleft img {
  width: 100%;
}

#footerright {
  color: #fff;
  font-size: 20px;
  text-align: center;
  font-family: "Roboto", Sans-serif;
}

/* ************************* @media ***************** */

@media (max-width: 768px) {

  #mega-menu-wrap-primary .mega-menu-toggle,
  .mega-menu-toggle,
  .mega-toggle-blocks-center,
  .mega-toggle-blocks-left,
  .mega-toggle-blocks-right {
    font-size: 10px;
    position: fixed;
    top: 36px;
    right: 12px;
  }

  body.home .sticky {
    position: relative;
    background: #353535;
  }

  body.home .sticky.fixed {
    position: relative;
    background: #353535;
  }

  .sticky.fixed {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: #0297e7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
    animation: slideDown 0.3s ease forwards;
    z-index: 1000;
  }
  .sticky {
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, 1);
  }

  .social {
    margin-top: 10px !important;
  }
}

@media (max-width: 575px) {
  #builds {
    height: 50vh; /* shorter on small screens */
  }
}
