/* ======================================================
   GRK Pro Window & Gutter Cleaning — Custom Styles
   ====================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --accent: #FFD60A;
  --accent-dark: #C7A800;
  --accent-soft: #FFF8D6;
  --brand-dark: #1B2A4A;
  --brand-darker: #111D35;
}

/* ---------- Global ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #333;
}

::selection {
  background: var(--accent);
  color: var(--brand-dark);
}

/* ---------- Accent Utility Classes ---------- */
.text-accent  { color: var(--accent) !important; }
.bg-accent    { background-color: var(--accent) !important; }
.text-accent-dark { color: var(--accent-dark) !important; }
.bg-accent-soft   { background-color: var(--accent-soft) !important; }

.btn-accent {
  background-color: var(--accent);
  color: var(--brand-dark);
  border: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--accent-dark);
  color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 214, 10, 0.35);
}

/* ---------- Navbar ---------- */
#mainNav {
  background: rgba(27, 42, 74, 0.95);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#mainNav.scrolled {
  background: rgba(17, 29, 53, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* ---------- Hero ---------- */
.hero-section {
  min-height: 100vh;
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(27, 42, 74, 0.92) 0%, rgba(17, 29, 53, 0.85) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><rect fill="%231B2A4A" width="1440" height="900"/></svg>');
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,214,10,0.08) 0%, transparent 60%);
}

.z-1 { z-index: 1; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.9rem;
}

/* ---------- Service Cards ---------- */
.service-card {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--brand-dark);
  font-size: 1.5rem;
}

/* ---------- Why Us Icons ---------- */
.why-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-dark);
  font-size: 1.4rem;
}

/* ---------- Steps ---------- */
.step-number {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-dark);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-darker) 100%);
}

/* ---------- Accordion (FAQ) ---------- */
.accordion-button {
  background: #f8f9fa;
  border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
  background: var(--accent-soft);
  color: var(--brand-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 214, 10, 0.3);
}

.accordion-item {
  border-radius: 8px !important;
  overflow: hidden;
}

/* ---------- Contact Form ---------- */
.form-control:focus,
.form-check-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(255, 214, 10, 0.25);
}

.form-check-input:checked {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

/* ---------- Footer ---------- */
footer a:hover {
  color: var(--accent) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
    min-height: 90svh;
    padding-top: 72px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .trust-bar {
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }

  .btn-lg {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .btn-accent {
    transition-duration: 0.25s;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }
}
