/* Bob's Gas Service LLC — site styles.
   Palette matches the real logo: black wordmark + blue flames on white.
   Blue = brand/trust; a single warm amber is reserved for the primary
   "Order Propane" call-to-action so it stands out. Keep it to these two. */

:root {
  --blue: #1e56b0;
  --blue-dark: #143f86;
  --flame: #2f6fd0;
  --amber: #f5a623;
  --amber-dark: #d98c0f;
  --charcoal: #1f2426;
  --gray: #566a78;
  --bg: #f4f7fb;
  --white: #fff;
  --red: #d63031;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 12px 20px;
  max-width: 1080px; margin: 0 auto;
}
.logo { display: flex; align-items: center; }
.logo:hover { text-decoration: none; }
.logo-img { height: 46px; width: auto; display: block; }

nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--charcoal); font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--blue); text-decoration: none; }
nav a.active { color: var(--blue); }
.header-phone {
  background: var(--blue); color: var(--white) !important;
  padding: 8px 16px; border-radius: 6px; font-weight: 700; white-space: nowrap;
}
.header-phone:hover { background: var(--blue-dark); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-weight: 700; font-size: 17px; cursor: pointer; border: none;
}
.btn-primary { background: var(--amber); color: #3a2a00; }
.btn-primary:hover { background: var(--amber-dark); text-decoration: none; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { border-color: var(--white); text-decoration: none; }
.btn-outline-dark { background: transparent; color: var(--charcoal); border: 2px solid var(--blue); }
.btn-outline-dark:hover { border-color: var(--blue-dark); color: var(--blue); text-decoration: none; }

/* Hero — full-bleed photo with dark overlay */
.hero {
  position: relative;
  color: var(--white);
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(rgba(15,30,55,0.72), rgba(15,30,55,0.78)), url('img/tanks.jpg');
  background-size: cover;
  background-position: center 40%;
}
.hero h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; line-height: 1.12; max-width: 820px; margin: 0 auto 16px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero p { font-size: clamp(16px, 2.5vw, 21px); color: #e8eef7; max-width: 640px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-local { display: inline-block; margin-bottom: 18px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); padding: 5px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--bg); }
.section-title { text-align: center; font-size: clamp(24px, 4vw, 32px); font-weight: 800; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--gray); max-width: 620px; margin: 0 auto 40px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border-radius: 10px; padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid var(--blue);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.card ul { color: var(--gray); font-size: 15px; padding-left: 20px; margin-bottom: 14px; }
.card ul li { margin-bottom: 4px; }
.card-icon { width: 46px; height: 46px; margin-bottom: 14px; }

/* Feature row (image + text) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature img { width: 100%; border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,0.12); }
.feature h2 { font-size: clamp(22px, 3.5vw, 30px); margin-bottom: 12px; }
.feature p { color: var(--gray); margin-bottom: 12px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 20px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--gray); font-size: 14px; }

/* Service area */
.area-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.town { background: var(--white); border: 1px solid #d6e0ec; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.sched { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.sched th { background: var(--blue); color: #fff; text-align: left; padding: 12px 16px; font-size: 14px; }
.sched td { padding: 12px 16px; border-top: 1px solid #eef2f7; font-size: 15px; }
.sched td strong { color: var(--blue); }

/* Emergency block */
.emergency { background: var(--red); color: var(--white); border-radius: 10px; padding: 32px; text-align: center; }
.emergency h2 { font-size: 26px; margin-bottom: 10px; }
.emergency p { font-size: 17px; max-width: 660px; margin: 0 auto 16px; }
.emergency a.btn { background: var(--white); color: var(--red); }

/* Content pages */
.page-head { background: var(--bg); padding: 44px 20px; text-align: center; }
.page-head h1 { font-size: clamp(26px, 4vw, 38px); }
.page-head p { color: var(--gray); max-width: 620px; margin: 8px auto 0; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 32px 0 10px; font-size: 24px; color: var(--charcoal); }
.prose p, .prose li { color: var(--charcoal); font-size: 16px; }
.prose ul { padding-left: 24px; margin: 10px 0; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid #e3e9f0; border-radius: 8px; margin-bottom: 10px; padding: 4px 8px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 12px; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--blue); font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 12px 16px; color: var(--gray); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 820px; margin: 0 auto; }
.contact-card { background: var(--white); border-radius: 10px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.07); text-align: center; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--gray); }
.contact-card .big { font-size: 20px; font-weight: 800; color: var(--charcoal); }
.contact-card a.big { color: var(--blue); }

/* CTA band */
.cta-band { background: var(--blue); color: var(--white); text-align: center; padding: 48px 20px; }
.cta-band h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 16px; }

/* Footer */
footer { background: var(--charcoal); color: #b6c2cc; padding: 40px 20px 24px; font-size: 14px; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
footer h4 { color: var(--white); margin-bottom: 10px; font-size: 15px; }
footer a { color: #b6c2cc; display: block; margin-bottom: 6px; }
footer a:hover { color: var(--flame); }
.footer-bottom { max-width: 1080px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid #3a4247; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { display: inline; }

@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { justify-content: center; text-align: center; }
  nav { justify-content: center; gap: 16px; }
  .hero { padding: 60px 16px; }
  section { padding: 40px 0; }
}
