/* First Priority Home Care - site styles
   Colors and fonts come from the original GoDaddy site.
   Change a brand color here and it updates on every page. */
:root {
  --red-nav: #c00000;      /* top menu bar */
  --red-title: #b22222;    /* "First Priority Home Care" and headings */
  --gold: #daa520;         /* tagline and section headings */
  --orange-panel: #f4bb4a; /* "Why Choose Us" band */
  --green-cta: #00bf00;    /* "Now Available!" and green call-outs */
  --navy: #000080;         /* DME list text */
  --blue-btn: #1f6fc0;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-title); }
h1, h2, h3 { line-height: 1.2; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 100; }

/* ---------- Top menu ---------- */
.site-nav { background: var(--red-nav); position: sticky; top: 0; z-index: 50; }
.site-nav .wrap { display: flex; align-items: center; justify-content: center; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.site-nav li + li { border-left: 1px solid rgba(255,255,255,.55); }
.site-nav a {
  display: block; padding: 14px 13px; color: #fff; text-decoration: none;
  font-weight: bold; font-size: 14px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(0,0,0,.18); }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; font-size: 17px;
  font-weight: bold; padding: 14px 4px; cursor: pointer; width: 100%; text-align: left;
}

/* ---------- Header (logo + name + tagline) ---------- */
.site-header { text-align: center; padding: 10px 0 6px; }
.site-header .wrap { display: grid; grid-template-columns: 100px 1fr 100px; align-items: center; }
.site-header .logo img { width: 80px; }
.site-header .logo.right { justify-self: end; }
.brand-name {
  margin: 0; color: var(--red-title); font-size: clamp(30px, 5vw, 50px);
  font-weight: bold; letter-spacing: .5px;
}
.brand-name a { color: inherit; text-decoration: none; }
.tagline { margin: 6px 0 0; color: var(--gold); font-style: italic; font-weight: bold; font-size: 19px; }

/* ---------- Common blocks ---------- */
main { padding-bottom: 40px; }
.section-title { color: var(--gold); text-align: center; font-size: 24px; margin: 36px 0 18px; }
.section-title.underline { text-decoration: underline; }
.rule { border: 0; border-top: 1px solid #c9c27a; margin: 30px 0 0; }
.center { text-align: center; }
.green-note { color: var(--green-cta); font-weight: bold; font-style: italic; font-size: 20px; }

.call-banner {
  margin: 24px auto; max-width: 460px; text-align: center; border: 2px dashed #bbb;
  border-radius: 10px; padding: 18px 20px; background: #fafafa;
}
.call-banner p { margin: 0; font-size: 20px; font-weight: bold; }
.call-banner a { display: inline-block; margin-top: 8px; font-size: 32px; font-weight: bold; color: #111; text-decoration: none; letter-spacing: 1px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 6px; color: #fff;
  text-decoration: none; font-size: 16px; border: 1px solid rgba(0,0,0,.2); text-align: center;
}
.btn:hover { filter: brightness(1.08); }
.btn-green { background: #5fcf34; }
.btn-blue { background: linear-gradient(#348bcf, #1f5fa6); }
.btn-cyan { background: #00e5ee; color: #0b3550; }
.btn-gold { background: linear-gradient(#f5d020, #e7ba14); border-radius: 18px; font-weight: bold; padding: 14px 36px; }

/* ---------- Home: hero ---------- */
.hero-contact { text-align: center; margin: 6px 0 16px; font-size: 17px; font-weight: bold; }
.hero-contact .please { color: #ff8c00; font-style: italic; }
.hero-contact a { color: #000; text-decoration: none; }
.hero {
  display: grid; grid-template-columns: 220px 1fr 220px; gap: 30px; align-items: center;
}
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.hero-side .or { color: var(--muted); font-weight: bold; }

/* Slideshow */
.slideshow { position: relative; aspect-ratio: 3 / 2; background: #f1f1f1; overflow: hidden; border-radius: 4px; }
.slideshow figure { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.slideshow figure.active { opacity: 1; }
.slideshow img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.slideshow figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 8px; color: #fff;
  background: rgba(0,0,0,.55); text-align: center; font-weight: bold;
}
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: #999; padding: 0; cursor: pointer; }
.dots button.active { background: #7ab800; }

/* Home: Why Choose Us band */
.why-band { background: var(--orange-panel); padding: 10px 0 20px; }
.why-band .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-band h3 { color: var(--red-title); text-align: center; font-size: 22px; margin: 14px 0 12px; }
.why-band p { margin: 0 0 6px; font-size: 16px; }
.why-band .call { color: var(--red-title); font-weight: bold; }

.service-list { max-width: 520px; margin: 0 auto; font-weight: bold; font-size: 16px; padding-left: 20px; }
.service-list li { margin: 8px 0; }

.who-we-serve { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; margin: 40px 0 10px; }
.who-we-serve .item { display: flex; align-items: flex-end; gap: 10px; font-weight: bold; }
.who-we-serve .vet { color: var(--navy); }
.who-we-serve .vet span { color: #ff0000; }
.founder { max-width: 540px; margin: 20px auto; border-top: 1px solid #ddd; padding-top: 16px; font-size: 14px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 30px; align-items: start; margin-top: 20px; }
.services-grid h2 { font-size: 26px; margin: 0 0 10px; }
.services-grid h3 { text-decoration: underline; font-size: 24px; margin: 10px 0; }
.services-grid ul { font-size: 19px; padding-left: 22px; margin: 0; }
.services-grid .photo-frame { border: 2px solid #d9534f; }
.services-mid { padding-top: 300px; }
.services-quote { text-align: center; margin-bottom: 20px; }
.services-quote a { color: #f5c400; font-weight: bold; font-size: 22px; text-decoration: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 30px; margin-top: 20px; }
.about-grid h2 { color: var(--gold); text-decoration: underline; font-size: 26px; margin: 0 0 10px; text-align: center; }
.serif { font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.bold-text { font-weight: bold; font-size: 18px; }

/* ---------- Veterans ---------- */
.vet-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.vet-top .banner { justify-self: center; }
.vet-grid { display: grid; grid-template-columns: 320px 1fr 260px; gap: 40px; margin-top: 40px; align-items: start; }
.values { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.values dt { display: inline; color: var(--gold); text-decoration: underline; }
.values dd { display: inline; margin: 0; }
.values dd::after { content: ""; display: block; margin-bottom: 22px; }

/* ---------- DME ---------- */
.dme-grid { display: grid; grid-template-columns: 1fr 260px 1fr; gap: 30px; margin-top: 30px; align-items: start; }
.dme-list { list-style: none; padding: 0; margin: 0; color: var(--navy); font-weight: bold; }
.dme-list li { margin: 0 0 18px; }
.dme-list li::before { content: "\2022  "; }
.dme-more { color: var(--navy); font-weight: bold; font-style: italic; margin-left: 16px; }
.dme-call { color: var(--navy); font-weight: bold; }
.dme-call a { color: inherit; }

/* ---------- Employee resources ---------- */
.emp-heading { text-align: center; color: #0000cc; font-style: italic; font-weight: bold; text-decoration: underline; font-size: clamp(22px, 3.4vw, 34px); margin: 26px 0; }
.emp-print { text-align: center; color: #ff0000; font-weight: bold; font-size: 18px; }
.timesheets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 30px 0; }
.timesheets a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 86px;
  color: #fff; text-decoration: none; border-radius: 5px; border: 1px solid #125ca6; padding: 10px; text-align: center;
}
.timesheets a::before { content: "\2B07"; font-size: 46px; line-height: 1; color: #ff0000; text-shadow: 0 0 2px #fff; margin-bottom: 4px; }
.ts-cltc { background: linear-gradient(#348bcf, #125ca6); }
.ts-ddsn { background: #ffaa56; }
.ts-va { background: linear-gradient(#ff5656, #125ca6); }
.ts-respite { background: #333; }
.ts-private { background: #00bf00; }
.emp-submit { text-align: center; font-weight: bold; font-size: clamp(18px, 2.4vw, 26px); margin: 40px 0; }
.emp-submit a { color: inherit; }
.video { max-width: 480px; margin: 0 auto; aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; align-items: start; }
.form-card { background: #ffaa56; border-radius: 6px; padding: 16px 16px 24px; border: 1px solid #c98a40; }
.form-card.plain { background: none; border: 0; padding: 0; }
form label { display: block; font-size: 13px; color: #555; margin: 12px 0 4px; }
.form-card label { color: #5a3a10; }
form .req { color: #e00; }
form input[type=text], form input[type=email], form input[type=tel], form textarea, form select {
  width: 100%; padding: 8px; font-size: 15px; border: 1px solid #ccc; border-radius: 3px; font-family: inherit;
}
form textarea { min-height: 180px; resize: vertical; }
form .check { display: flex; gap: 6px; align-items: center; font-size: 13px; margin-top: 6px; }
form .check input { margin: 0; }
form button {
  margin-top: 20px; background: linear-gradient(#f5d020, #e7ba14); color: #fff; font-weight: bold;
  border: 0; border-radius: 14px; padding: 8px 22px; font-size: 15px; cursor: pointer; text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
form button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -5000px; } /* spam trap, hidden from people */
.form-status { margin-top: 14px; font-weight: bold; }
.form-status.ok { color: #1d6b1d; }
.form-status.err { color: #b00020; }

.address-block h2 { font-weight: normal; font-size: 22px; margin: 0 0 6px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #ddd; color: var(--muted); text-align: center; font-size: 14px; padding: 18px 0 26px; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--muted); }

/* ---------- Phones and tablets ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav .wrap { display: block; }
  .site-nav ul { display: none; flex-direction: column; }
  .site-nav.open ul { display: flex; }
  .site-nav li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .site-header .wrap { grid-template-columns: 60px 1fr 60px; }
  .site-header .logo img { width: 54px; }
  .hero, .why-band .cols, .services-grid, .about-grid, .vet-grid, .dme-grid, .form-grid, .vet-top { grid-template-columns: 1fr; }
  .hero-slides { order: -1; }
  .services-mid { padding-top: 0; }
  .hero-side { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .vet-top .side { display: none; }
  .timesheets { grid-template-columns: repeat(2, 1fr); }
  .services-grid img, .about-grid img, .vet-grid img, .dme-grid img { margin: 0 auto; }
}
@media (max-width: 480px) {
  .site-header .logo.right { visibility: hidden; }
  .timesheets { grid-template-columns: 1fr; }
}
