/*
 Theme Name:   Astra Child
 Theme URI:    https://example.com/astra-child/
 Description:  Astra Child Theme
 Author:       Your Name
 Author URI:   https://example.com
 Template:     astra
 Version:      1.0.0
*/

/* Add your custom CSS below */

.ast-builder-menu-1 .menu-item>.menu-link {
  color: var(--kupac-brand-color-blue) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.ast-builder-menu-1 .menu-item>.menu-link:hover,
.ast-builder-menu-1 .current-menu-item>.menu-link {
  color: var(--kupac-brand-color-orange) !important;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
  width: 35px !important;
  height: 35px !important;
  fill: var(--brand-teal-color) !important;
}

/* Desktop */
@media only screen and (min-width: 961px) {
  a {
    text-decoration: none !important;
  }

  .carousel-section {
    margin-top: -30px !important;
  }
}

/* Mobile */
@media only screen and (max-width: 480px) {
  .carousel-caption {
    left: 5% !important;
  }

  .carousel-indicators {
    margin: 0 !important;
  }

  header {
    max-height: 100px;
  }

  .sec-services-lss {
    margin: 0 60px !important;
    width: auto !important;
  }

  header a {
    text-decoration: none !important;
  }

  .ast-custom-button-link {
    text-decoration: none !important;
  }

  .home-list {
    margin: 0;
  }

  .ast-theme-transparent-header #masthead .site-logo-img .transparent-custom-logo img {
    max-width: 200px;
    width: 200px;
  }

  .ast-theme-transparent-header #masthead {
    position: relative;
  }

  .ast-mobile-svg {
    fill: #b32e2c !important;
  }

  .mobile-block-enable {
    display: block !important;
  }

  .mobile-bottom-40 {
    margin-bottom: 40px !important;
  }

  .mobile-bottom-20 {
    margin-bottom: 20px !important;
  }

  .quote-form {
    padding: 20px !important;
  }

  .page-header-contents h2 {
    font-size: 1.2rem !important;
  }

  header .custom-logo-link img,
  .ast-header-break-point .site-branding img,
  .ast-header-break-point .custom-logo-link img {
    width: 200px !important;
    max-width: 200px !important;
  }

  .wpcf7-form .btn {
    width: 100%;
  }

  .services-header h1 {
    font-size: 2rem;
  }

  .service-card {
    padding: 30px 20px;
  }

  .ksa-contact-form {
    margin-top: 20px;
  }

  .carousel-item h2 {
    color: white;
  }

  .page-header {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Wide */

li.active a {
  color: var(--brand-yellow-color) !important;
  font-weight: 600 !important;
}

body .read-more-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--kupac-brand-color-orange);
  /* Ensure border width is defined */
  color: var(--kupac-brand-color-orange);
  padding: 8px 20px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background-color: transparent;
}

body .read-more-btn:hover {
  background-color: var(--kupac-brand-color-orange);
  border-color: var(--kupac-brand-color-orange);
  color: #ffffff;
}

/* Ensure the icon inherits the color */
body .read-more-btn i {
  color: inherit;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/*  */

/* Save this as /wp-content/themes/astra-child/assets/quote-modal.css */

/* Footer trigger button — sits inline wherever the shortcode/hook places it */
.ksa-quote-trigger {
  display: inline-block;
  background-color: #c8102e;
  /* swap for your brand accent color */
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  margin: 10px 0;
}

.ksa-quote-trigger:hover {
  background-color: #a10d25;
  transform: translateY(-1px);
  color: #fff;
}

/* If your footer text is light-colored on a dark background, this keeps
   the button readable — adjust to match your footer's design */
.footer-widget .ksa-quote-trigger,
.ast-builder-footer-row .ksa-quote-trigger {
  margin: 8px 0;
}

@media (max-width: 576px) {
  .ksa-quote-trigger {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* Modal tweaks so CF7's default markup looks clean inside Bootstrap's modal */
#ksaQuoteModal .modal-content {
  border-radius: 0;
  border: none;
}

#ksaQuoteModal .row {
  margin-bottom: 10px;
}

#ksaQuoteModal .wpcf7 form {
  border-radius: 0;
  padding: 0;
}

#ksaQuoteModal .wpcf7-form p {
  margin-bottom: 2px;
  font-size: 0.8rem !important;
}

#ksaQuoteModal .wpcf7-form input[type="text"],
#ksaQuoteModal .wpcf7-form input[type="email"],
#ksaQuoteModal .wpcf7-form input[type="tel"],
#ksaQuoteModal .wpcf7-form textarea,
#ksaQuoteModal .wpcf7-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

#ksaQuoteModal .wpcf7-form input[type="file"] {
  width: 100%;
  padding: 8px 0;
}

#ksaQuoteModal .modal-title {
  font-family: var(--bebas-neue-font);
  font-weight: 700;
  letter-spacing: 2px;
}

#ksaQuoteModal .wpcf7-submit {
  color: var(--ksa-brand-text);
  border: none;
  border-radius: 0;
  padding: 12px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

#ksaQuoteModal .wpcf7-submit:hover {
  background-color: #a10d25;
}

#ksaQuoteModal .wpcf7-not-valid-tip {
  color: #d9534f;
  font-size: 13px;
  margin-top: 4px;
}

#ksaQuoteModal .wpcf7-response-output {
  border-radius: 6px;
  font-size: 14px;
  margin-top: 16px;
}

#ksaQuoteModal .btn-close:hover {
  opacity: 1 !important;
  transition: all 0.2s;
  background-color: var(--te-brand-orange);
}