/*
Theme Name: Gusac Heating LLC
Theme URI: https://gusacheating.com
Author: DevDotCom
Description: Custom HVAC one-page site for Gusac Heating LLC
Version: 1.0
License: GPLv2 or later
Text Domain: gusacheating
*/

/* ========== Base Resets ========== */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: #f8fafc; /* slate-50 */
  color: #0f172a; /* slate-900 */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

p {
  line-height: 1.7;
  color: #475569; /* slate-600 */
}

/* ========== Header / Navbar ========== */
header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s ease;
}

header.sticky {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

header a:hover {
  color: #1d4ed8; /* blue-700 */
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.btn-primary {
  background-color: #1d4ed8;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1e40af;
  transform: translateY(-1px);
}

.btn-accent {
  background-color: #fbbf24;
  color: #0f172a;
}

.btn-accent:hover {
  background-color: #fcd34d;
}

/* ========== Forms ========== */
form input,
form textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1; /* slate-300 */
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.2);
}

/* ========== Sections ========== */
section {
  scroll-margin-top: 80px;
}

#hero {
  background: linear-gradient(to bottom right, #204359, #0284C7, #F59E0B);
  color: white;
  position: relative;
  overflow: hidden;
}

#hero .content {
  position: relative;
  z-index: 1;
}

section#services .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section#services .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

/* ========== Footer ========== */
footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
}

footer a:hover {
  text-decoration: underline;
}

footer .bottom-bar {
  border-top: 1px solid #e2e8f0;
  text-align: center;
  color: #64748b;
  font-size: 0.75rem;
  padding: 1rem 0;
}

/* ========== Mobile CTA ========== */
.mobile-cta {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.75rem;
  z-index: 9999;
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  border-radius: 1rem;
  padding: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.mobile-cta .call {
  background-color: #1d4ed8;
  color: #fff;
}

.mobile-cta .quote {
  background-color: #fbbf24;
  color: #0f172a;
}

/* Hide sticky CTA on desktops */
@media (min-width: 768px) {
  .mobile-cta { display: none; }
}

/* ========== Utilities ========== */
.text-blue {
  color: #1d4ed8;
}
.bg-blue {
  background-color: #1d4ed8;
}

.site-title,
.site-description,
.wp-block-site-title,
.wp-block-site-tagline {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

.wp-block-site-title,
.wp-block-site-tagline,
.site-title,
.site-description {
  display: none !important;
}