/* Blue Hill Laundry — Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* ─── Variables ────────────────────────────────────────────── */
:root {
  --navy:      #1a4b8c;
  --navy-dark: #123670;
  --cyan:      #29b6e8;
  --cyan-dark: #1a9fd0;
  --gray-bg:   #f5f7fa;
  --gray-line: #e2e8f0;
  --text-dark: #1e2a3b;
  --text-mid:  #4a5568;
  --text-light:#718096;
  --white:     #ffffff;
  --radius:    8px;
  --shadow:    0 2px 12px rgba(26,75,140,0.08);
  --shadow-lg: 0 8px 32px rgba(26,75,140,0.12);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-mid); }

/* ─── Layout helpers ────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}
.section--gray {
  background: var(--gray-bg);
}
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 0.5rem;
}
.section-title {
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--cyan);
  color: var(--white);
}
.btn-primary:hover { background: var(--cyan-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }

/* ─── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  box-shadow: var(--shadow);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav__logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.nav__brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  text-decoration: none;
}
.nav__links a:hover { color: var(--navy); }
.nav__links .btn { padding: 0.5rem 1.2rem; font-size: 0.875rem; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a6aad 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(41,182,232,0.15);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}
.hero__eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__logo-wrap {
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}
.hero__logo-wrap img { width: 140px; height: 140px; border-radius: 50%; }

/* ─── Services ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: 0.95rem; }
.service-card .info-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.service-card .info-list li {
  font-size: 0.875rem;
  color: var(--text-light);
  padding-left: 1rem;
  position: relative;
}
.service-card .info-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* ─── Info boxes (hours / pricing) ──────────────────────────── */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.info-box {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.info-box h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--cyan);
}
.info-box table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.info-box table td { padding: 0.35rem 0; color: var(--text-mid); }
.info-box table td:last-child { text-align: right; font-weight: 500; color: var(--text-dark); }
.info-box p { font-size: 0.9rem; }

/* ─── Why section ────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.why-item__icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}
.why-item h4 { margin-bottom: 0.4rem; font-size: 0.95rem; }
.why-item p { font-size: 0.85rem; }

/* ─── Community banner ──────────────────────────────────────── */
.community-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.community-banner__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}
.community-banner__text {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-style: italic;
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card__quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-mid);
  flex: 1;
}
.testimonial-card__quote::before { content: '\201C'; color: var(--cyan); font-size: 2rem; line-height: 0; vertical-align: -0.5rem; margin-right: 0.25rem; }
.testimonial-card__author {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-card__org {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ─── Contact section ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-item__icon {
  width: 40px; height: 40px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.15rem; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text-dark); }

/* ─── Forms ─────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.5rem 2.5rem 2.5rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.radio-group { display: flex; gap: 1.5rem; align-items: center; }
.radio-group label { font-weight: 400; font-size: 0.95rem; display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.form-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.75rem; }
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #166534;
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* ─── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a6aad 100%);
  padding: 4rem 0 3.5rem;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); }
.page-hero p { color: rgba(255,255,255,0.8); margin-top: 0.5rem; }

/* ─── Job listing ────────────────────────────────────────────── */
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s;
}
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-card h3 { margin-bottom: 0.25rem; }
.job-card__meta { font-size: 0.875rem; color: var(--text-light); display: flex; gap: 1rem; }
.job-card__meta span::before { margin-right: 0.3rem; }
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-blue  { background: #dbeafe; color: #1e40af; }

/* ─── Job detail ─────────────────────────────────────────────── */
.job-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.prose h3 { margin: 1.75rem 0 0.75rem; }
.prose ul { margin-left: 1.5rem; color: var(--text-mid); display: flex; flex-direction: column; gap: 0.35rem; }
.prose li { font-size: 0.95rem; }
.prose p { margin-bottom: 1rem; }
.job-sidebar {
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: sticky;
  top: 88px;
}
.job-sidebar h4 { margin-bottom: 1.25rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); }
.job-meta-item { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.job-meta-item span:first-child { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.15rem; }
.job-meta-item span:last-child { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); }

/* ─── Prose / legal pages ────────────────────────────────────── */
.legal-content { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem; }
.legal-content h1 { margin-bottom: 0.5rem; }
.legal-content .effective-date { font-size: 0.875rem; color: var(--text-light); margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.2rem; margin: 2rem 0 0.75rem; padding-top: 1rem; border-top: 1px solid var(--gray-line); }
.legal-content h2:first-of-type { border-top: none; }
.legal-content p { margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content ul { margin-left: 1.5rem; margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.legal-content li { font-size: 0.95rem; color: var(--text-mid); }
.legal-content ol { margin-left: 1.5rem; margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.legal-content ol li { font-size: 0.95rem; color: var(--text-mid); }

/* ─── Payment success ────────────────────────────────────────── */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.success-icon {
  width: 80px; height: 80px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}
.footer p { color: rgba(255,255,255,0.75); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer__brand img { width: 52px; height: 52px; border-radius: 50%; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.875rem; max-width: 260px; }
.footer__brand .footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.footer h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer ul a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.2s; text-decoration: none; }
.footer ul a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { font-size: 0.8rem; }
.footer__chamber img { width: 60px; opacity: 0.85; border-radius: 50%; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__logo-wrap { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .info-boxes { grid-template-columns: 1fr; }
  .job-detail-grid { grid-template-columns: 1fr; }
  .job-sidebar { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-line); padding: 1rem 1.5rem 1.5rem; gap: 1rem; box-shadow: var(--shadow); }
  .nav__toggle { display: block; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}
