/*
Theme Name: Serrano's HVAC
Theme URI: https://serranoshvac.com/
Description: Child theme for Astra – Serrano's Heating & Cooling LLC
Author: Serrano's HVAC
Author URI: https://serranoshvac.com/
Template: astra
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: serranos-hvac
*/

/* ============================================================================
   Custom CTA Buttons – Normal (non-sticky) state
   ============================================================================ */
.serranos-cta-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    white-space: nowrap;
}
.serranos-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0.95;
}
.serranos-cta-btn.call-now {
    background-color: #991B1B;
    color: white;
}
.serranos-cta-btn.book-online {
    background-color: #1E3A8A;
    color: white;
}
.serranos-cta-btn.customer-portal {
    padding: 8px 18px;
    font-size: 15px;
}
.serranos-cta-btn.customer-portal .btn-icon {
    font-size: 1.15em;
}
@media (max-width: 767px) {
    .serranos-cta-btn {
        padding: 10px 18px;
        font-size: 15px;
        gap: 8px;
    }
}

/* ============================================================================
   Shrink CTA buttons & header padding when sticky
   ============================================================================ */
.ast-primary-sticky-header-active .serranos-cta-btn,
.ast-above-sticky-header-active .serranos-cta-btn {
    padding: 8px 16px;
    font-size: 14px;
    gap: 8px;
    min-width: auto;
    line-height: 1.3;
}
.ast-primary-sticky-header-active .serranos-cta-btn .btn-icon,
.ast-above-sticky-header-active .serranos-cta-btn .btn-icon {
    font-size: 1.1em;
}
.ast-primary-sticky-header-active .ast-above-header-bar,
.ast-primary-sticky-header-active .ast-primary-header-bar,
.ast-above-sticky-header-active .ast-above-header-bar,
.ast-above-sticky-header-active .ast-primary-header-bar {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
@media (max-width: 767px) {
    .ast-primary-sticky-header-active .serranos-cta-btn,
    .ast-above-sticky-header-active .serranos-cta-btn {
        padding: 6px 14px;
        font-size: 13px;
        gap: 6px;
    }
}

/* ============================================================================
   Prevent logo shrinking
   ============================================================================ */
.ast-sticky-header-shrink .site-logo-img img,
.ast-sticky-header-shrink .custom-logo,
.ast-primary-sticky-header-active .custom-logo,
.ast-above-sticky-header-active .custom-logo {
    max-height: none !important;
    height: auto !important;
    width: auto !important;
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
@media (max-width: 767px) {
    .ast-sticky-header-shrink .site-logo-img img,
    .ast-sticky-header-shrink .custom-logo {
        max-height: none !important;
    }
}

/* ============================================================================
   Smooth header transitions
   ============================================================================ */
.ast-above-header-bar,
.ast-primary-header-bar {
    transition: padding-top 0.4s ease-in-out, padding-bottom 0.4s ease-in-out;
}
.serranos-cta-btn {
    transition: padding 0.4s ease-in-out, font-size 0.4s ease-in-out, gap 0.4s ease-in-out, line-height 0.4s ease-in-out;
}
.serranos-cta-btn .btn-icon {
    transition: font-size 0.4s ease-in-out;
}
.ast-stick-primary-below-wrapper,
.ast-main-header-wrap {
    transition: all 0.4s ease-in-out;
}
@media (max-width: 767px) {
    .serranos-cta-btn {
        transition-duration: 0.35s;
    }
}

/* ============================================================================
   Fine-tune chevron-down icon vertical alignment in Services dropdown
   ============================================================================ */
.dropdown a i.fa-chevron-down {
    line-height: 1;
    vertical-align: middle;
    margin-top: -1px; /* tweak this value in browser dev tools if still not perfect */
}

/* ============================================================================
   Shimmer animation (added for holographic / metallic text effects)
   ============================================================================ */
@keyframes shimmer-fast {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animate-shimmer-fast {
  background-size: 300% 300%;
  animation: shimmer-fast 4s linear infinite;
}
@keyframes gradient-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-gradient-flow {
  animation: gradient-flow 18s ease infinite;
}

@media (max-width: 640px) {
  #tonnageSection label span {
    font-size: 0.875rem; /* 14px on mobile – prevents cutoff */
  }
  #tonnageSection label {
    gap: 0.5rem; /* tighter spacing between radio and text on small screens */
  }
  #tonnageSection .gap-4 {
    gap: 0.5rem !important; /* reduce gap between items on very small screens */
  }
}

.custom-select option[value=""] {
  color: #9ca3af; /* gray-400 */
  font-style: italic;
}