/* ==========================================================
   Animals Lawn & Snow Removal — Custom Theme (Stellar)
   Drop this at: assets/css/custom.css
   ========================================================== */

:root{
  /* Pulled to match the logo vibe */
  --animals-navy: #071a2a;
  --animals-navy-2: #0b2a3e;
  --animals-teal: #38c6a3;
  --animals-coral: #e56b5b;
  --animals-gold: #f1c04c;
  --animals-ice: #9fd0ff;
  --animals-card: rgba(255,255,255,0.96);
}

/* Fix the “wrong color” side bars:
   Stellar sets a background on body; override to a dark navy gradient */
body.theme-animals{
  background: radial-gradient(1200px 800px at 50% 0%,
      rgba(56,198,163,0.18),
      rgba(229,107,91,0.12) 35%,
      rgba(7,26,42,1) 75%),
    linear-gradient(135deg, var(--animals-navy), var(--animals-navy-2));
}

/* Keep wrapper/content looking clean against the darker background */
body.theme-animals #wrapper{
  background: transparent;
}

/* Logo: subtle, non-obvious backing (no glass card look) */
#header.alt .logo{
  display: inline-block;
  padding: 0;             /* no extra card padding */
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#header.alt .logo img{
  width: 560px;
  height: auto;
  display: block;
  /* Keep rounding modest (or remove if you prefer) */
  border-radius: 12px;
  /* Use drop-shadow (respects transparency better than box-shadow) */
  box-shadow: none;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.35));
}



/* Make primary accents match the logo */
a{ color: var(--animals-teal); }
a:hover{ color: var(--animals-ice); }

/* Primary button styling */
body.theme-animals .button.primary{
  background-color: var(--animals-ice) !important;
  color: var(--animals-navy) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
body.theme-animals .button.primary:hover{
  filter: brightness(0.98);
}

/* Services “features” icons: use themed colors, not default */
.animals-features .icon.major{
  color: var(--animals-teal);
}
.animals-features li:nth-child(2) .icon.major{ color: var(--animals-ice); }
.animals-features li:nth-child(3) .icon.major{ color: var(--animals-coral); }

/* Quote form: keep it readable */
.animals-form{
  max-width: 760px;
  margin: 0 auto;
  background: var(--animals-card);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 18px 55px rgba(0,0,0,0.25);
}

/* Ensure tel input gets same styling as email/text in main.css */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
  background-color: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.35);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: #8cc9f0;
  box-shadow: 0 0 0 1px #8cc9f0;
}

/* Contact layout */
.animals-contact{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.animals-contact h3{ margin-bottom: 0.25rem; }
.animals-contact p{ margin-bottom: 0; }

/* Footer cleanup */
.animals-footer{
  padding: 2.25rem 1.25rem;
  text-align: center;
  color: rgba(255,255,255,0.75);
}
.animals-footer a{
  color: rgba(255,255,255,0.9);
  border-bottom: none;
}
.animals-footer a:hover{
  color: var(--animals-ice);
}

/* Checklist look */
.animals-checklist{
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0 0;
}
.animals-checklist li{
  padding: 0.55rem 0;
  border-top: 1px solid rgba(0,0,0,0.10);
}
.animals-checklist li:first-child{
  border-top: none;
}

/* Mobile sticky CTA default (hidden on desktop) */
.mobile-cta{
  display: none;
}

/* Mobile tweaks + sticky CTA + spacing */
@media screen and (max-width: 736px){
  #header.alt .logo img{
    width: 300px;
  }

  .animals-form{
    padding: 1.25rem;
    margin: 0 1rem 1.5rem; /* includes bottom spacing so shadow doesn't bleed */
  }

  .animals-contact{
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Prevent the quote card shadow from visually bleeding into the next section */
  #quote{
    padding-bottom: 3rem;
  }

  /* Sticky CTA */
  .mobile-cta{
    display: flex;
    gap: 0.75rem;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 2000;
  }

  .mobile-cta .button{
    flex: 1;
    margin: 0;
    padding: 0 1rem;
    height: 3rem;
    line-height: 3rem;
  }

  /* Add space so page content isn't hidden behind CTA */
  body.theme-animals{
    padding-bottom: 6.25rem;
  }
}

/* Fix Stellar not styling tel inputs (match width + box model exactly) */
body.theme-animals .animals-form input[type="tel"]{
  width: 100%;
  display: block;
  box-sizing: border-box;

  height: 2.75em;
  line-height: 2.75em;
  padding: 0 1em;

  border-radius: 8px;
  border: 1px solid rgba(144,144,144,0.25);
  background-color: rgba(222, 222, 222, 0.25);

  color: inherit;
  font-size: 1em;

  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

/* Focus state */
body.theme-animals .animals-form input[type="tel"]:focus{
  border-color: #9fd0ff;
  background-color: rgba(222, 222, 222, 0.35);
}

/* Sticky CTA buttons should always be readable over any background */
@media screen and (max-width: 736px){
  .mobile-cta .button{
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(7,26,42,0.92);  /* dark solid */
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  }

  .mobile-cta .button.primary{
    background: var(--animals-ice) !important;
    color: var(--animals-navy) !important;
    border-color: rgba(0,0,0,0.08);
  }

  .mobile-cta .button:hover{
    filter: brightness(1.03);
  }
}

