/* Stewart Law, P.C. — custom styles */

:root {
  --ink: #22262b;
  --paper: #fbf8f4;
  --parchment: #f2ebdd;
  --teal-deep: #1f453f;
  --teal-2: #173430;
  --teal-3: #102420;
  --clay: #bb7a42;
  --clay-deep: #935f30;
  --slate: #5c6560;
  --line: rgba(31, 69, 63, 0.15);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  margin: 0;
}

h1, h2, h3, h4,
.font-display {
  font-family: var(--font-display);
}

a {
  color: var(--teal-deep);
}

.section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clay-deep);
}

.section-pad {
  padding: 6rem 0;
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 4rem 0;
  }
}

/* Navbar */
.navbar-wfw {
  background: var(--teal-deep);
  padding: 0.9rem 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.navbar-brand-wfw {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fdf9f0 !important;
  letter-spacing: 0.01em;
}

.navbar-wfw .nav-link {
  color: rgba(253, 249, 240, 0.88) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
}

.navbar-wfw .nav-link:hover {
  color: #fff !important;
}

.navbar-wfw .btn-nav-cta {
  background: var(--clay);
  color: #fff !important;
  border-radius: 6px;
  padding: 0.5rem 1.2rem !important;
  font-weight: 600;
}

.navbar-wfw .btn-nav-cta:hover {
  background: var(--clay-deep);
}

.navbar-toggler {
  border-color: rgba(253, 249, 240, 0.4);
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(2);
}

/* Hero — typographic-forward, muted photo support */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 30% / cover no-repeat, var(--teal-3);
  padding: 8rem 1rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 46%, rgba(10, 26, 23, 0.55) 0%, rgba(10, 26, 23, 0.15) 100%),
    linear-gradient(to bottom, rgba(16, 36, 32, 0.88) 0%, rgba(23, 52, 48, 0.82) 45%, rgba(10, 24, 21, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  background: rgba(10, 24, 21, 0.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 18px;
  padding: 2.75rem 2rem;
}

.hero-eyebrow {
  color: #e7c9a2;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0, 0, 0, 1), 0 1px 12px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.8);
}

.hero-title {
  font-family: var(--font-display);
  color: #fdf9f0;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.16;
  margin: 0.9rem 0 1.1rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 1), 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 60px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  color: #f2ece0;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 2rem;
  text-shadow: 0 0 3px rgba(0, 0, 0, 1), 0 2px 16px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.85);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-clay {
  background: var(--clay);
  border: 1px solid var(--clay);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-clay:hover {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
  color: #fff;
}

.btn-outline-paper {
  background: transparent;
  border: 1px solid rgba(253, 249, 240, 0.6);
  color: #fdf9f0;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-outline-paper:hover {
  background: rgba(253, 249, 240, 0.12);
  border-color: #fdf9f0;
  color: #fdf9f0;
}

/* About */
.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--teal-deep);
  border-left: 4px solid var(--clay);
  padding-left: 1.5rem;
}

.about-divider {
  width: 64px;
  height: 4px;
  background: var(--clay);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Practice Areas */
.bg-parchment {
  background: var(--parchment);
}

.practice-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.2rem 1.8rem;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(23, 52, 48, 0.12);
}

.practice-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fdf9f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.practice-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.practice-card p {
  color: var(--slate);
  font-size: 0.96rem;
  margin: 0;
}

/* Gallery / interiors */
.bg-teal {
  background: var(--teal-3);
  color: #f2ece0;
}

.bg-teal h2, .bg-teal .section-eyebrow {
  color: #f2ece0;
}

.bg-teal .section-eyebrow {
  color: #e7c9a2;
}

.bg-teal p {
  color: rgba(242, 236, 224, 0.82);
}

.gallery-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

@media (max-width: 767.98px) {
  .gallery-photo {
    height: 280px;
  }
}

/* Attorney */
.attorney-monogram {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--teal-deep);
  border: 3px solid var(--clay);
  color: #fdf9f0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.attorney-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.attorney-title {
  color: var(--clay-deep);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.attorney-block h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.4rem;
}

.attorney-block p,
.attorney-block li {
  color: var(--slate);
  font-size: 0.96rem;
  line-height: 1.55;
}

.attorney-block ul {
  padding-left: 1.2rem;
  margin-bottom: 1.4rem;
}

/* Location & Contact */
.contact-card {
  background: var(--teal-deep);
  color: #f2ece0;
  border-radius: 12px;
  padding: 2.4rem;
  height: 100%;
}

.contact-card h3 {
  font-family: var(--font-display);
  margin-bottom: 1.3rem;
}

.contact-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}

.contact-row i {
  color: #e7c9a2;
  font-size: 1.15rem;
  margin-top: 0.2rem;
}

.contact-row a {
  color: #f2ece0;
  text-decoration: none;
}

.contact-row a:hover {
  color: #fff;
  text-decoration: underline;
}

.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 12px;
}

/* Footer */
.site-footer {
  background: var(--teal-3);
  color: rgba(242, 236, 224, 0.85);
  padding: 3.5rem 0 2rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  color: #fdf9f0;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(242, 236, 224, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-divider {
  border-top: 1px solid rgba(242, 236, 224, 0.15);
  margin: 2rem 0 1.5rem;
}

.wfw-powered {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(242, 236, 224, 0.08);
  border: 1px solid rgba(242, 236, 224, 0.18);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.wfw-powered a {
  color: #e7c9a2;
}
