/* O'Rourke Insurance Agency, Inc. — Wicked Fast Web redesign */

:root {
  --green-deep: #123524;
  --green-forest: #1c4d34;
  --green-mid: #2f6b48;
  --gold: #c8942f;
  --gold-light: #e0b45a;
  --cream: #faf6ec;
  --cream-dim: #f1ead9;
  --ink: #1a231d;
  --slate: #4d5a51;
  --line: rgba(18, 53, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: var(--green-forest);
}

.btn-gold {
  background: var(--gold);
  border: none;
  color: var(--green-deep);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--green-deep);
  transform: translateY(-1px);
}

.btn-outline-cream {
  background: transparent;
  border: 1.5px solid rgba(250, 246, 236, 0.7);
  color: var(--cream);
  font-weight: 600;
  padding: 0.8rem 1.9rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.btn-outline-cream:hover {
  background: rgba(250, 246, 236, 0.12);
  border-color: var(--cream);
  color: var(--cream);
}

.section-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
}

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

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

/* Navbar */
#mainNav {
  background: var(--green-deep);
  padding: 0.85rem 0;
  transition: box-shadow 0.2s ease;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

#mainNav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream) !important;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
}

#mainNav .navbar-brand img {
  height: 40px;
  width: auto;
}
#mainNav .navbar-brand span {
  white-space: nowrap;
}

@media (max-width: 480px) {
  #mainNav .navbar-brand span {
    font-size: 1rem;
  }
}

#mainNav .nav-link {
  color: rgba(250, 246, 236, 0.88) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.02em;
}
#mainNav .nav-link:hover {
  color: var(--gold-light) !important;
}

#mainNav .btn-quote {
  background: var(--gold);
  color: var(--green-deep) !important;
  font-weight: 700;
  border-radius: 2px;
  padding: 0.5rem 1.25rem !important;
  margin-left: 0.5rem;
}
#mainNav .btn-quote:hover {
  background: var(--gold-light);
}

.navbar-toggler {
  border-color: rgba(250, 246, 236, 0.4);
}
.navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

/* Hero — typographic-forward, color-block (no photography available) */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 90% 70% at 75% 20%, rgba(200, 148, 47, 0.16) 0%, rgba(200, 148, 47, 0) 55%),
    linear-gradient(160deg, var(--green-deep) 0%, var(--green-forest) 48%, var(--green-mid) 100%);
  padding-top: 7rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(200, 148, 47, 0.18);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  right: 2%;
  bottom: -6%;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(200, 148, 47, 0.14);
  pointer-events: none;
}

.hero-eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.85rem;
  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 {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin: 0.9rem 0 1.4rem;
  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-title .shamrock {
  color: var(--gold);
}

.hero-subtitle {
  color: rgba(250, 246, 236, 0.92);
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 2.4rem;
  line-height: 1.6;
  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-content {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero-stats .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: var(--gold-light);
  font-weight: 700;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
}
.hero-stats .stat-label {
  color: rgba(250, 246, 236, 0.85);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
}

/* About */
.about-section {
  background: var(--cream);
}

.about-lead {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--ink);
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

.about-body p {
  color: var(--slate);
  line-height: 1.8;
  font-size: 1.03rem;
}

.about-card {
  background: var(--green-deep);
  color: var(--cream);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  height: 100%;
}
.about-card .shamrock-mark {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.about-card h3 {
  color: var(--cream);
  font-size: 1.3rem;
}
.about-card p {
  color: rgba(250, 246, 236, 0.85);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Services */
.services-section {
  background: var(--cream-dim);
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.2rem 1.8rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(18, 53, 36, 0.1);
}
.service-card .service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.3rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
.service-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.service-card .badge-save {
  display: inline-block;
  margin-top: 0.9rem;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}

/* Team */
.team-section {
  background: var(--cream);
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.team-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-forest), var(--green-mid));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 auto 1.3rem;
  border: 3px solid var(--gold);
}
.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}
.team-card .team-title {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
  display: block;
}
.team-card p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Resources */
.resources-section {
  background: var(--green-deep);
  color: var(--cream);
}
.resources-section .section-eyebrow {
  color: var(--gold-light);
}
.resources-section h2 {
  color: var(--cream);
}
.resources-section .lead-text {
  color: rgba(250, 246, 236, 0.8);
}

.resource-card {
  background: rgba(250, 246, 236, 0.06);
  border: 1px solid rgba(250, 246, 236, 0.14);
  border-radius: 6px;
  padding: 2rem;
  height: 100%;
}
.resource-card h3 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.resource-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.resource-card li {
  border-bottom: 1px solid rgba(250, 246, 236, 0.12);
}
.resource-card li:last-child {
  border-bottom: none;
}
.resource-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--cream);
  text-decoration: none;
  padding: 0.75rem 0;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}
.resource-card a:hover {
  color: var(--gold-light);
}
.resource-card a i {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.charity-banner-wrap {
  margin-top: 3rem;
  text-align: center;
}
.charity-banner-wrap a {
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.charity-banner-wrap img {
  display: block;
  max-width: 100%;
  height: auto;
}
.charity-banner-wrap .charity-caption {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(250, 246, 236, 0.65);
}

/* Location / Contact */
.location-section {
  background: var(--cream-dim);
}

.contact-card {
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 2.5rem;
  height: 100%;
}
.contact-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.contact-row:last-child {
  margin-bottom: 0;
}
.contact-row i {
  color: var(--gold);
  font-size: 1.25rem;
  width: 28px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.contact-row h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-bottom: 0.35rem;
}
.contact-row p, .contact-row a {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  text-decoration: none;
}
.contact-row a:hover {
  color: var(--green-mid);
}

.map-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 380px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* Footer */
footer.site-footer {
  background: var(--green-deep);
  color: rgba(250, 246, 236, 0.75);
  padding: 3.5rem 0 2rem;
}
footer.site-footer .footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 1rem;
}
footer.site-footer p {
  font-size: 0.92rem;
  line-height: 1.7;
}
footer.site-footer h5 {
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}
footer.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer.site-footer ul li {
  margin-bottom: 0.65rem;
}
footer.site-footer a {
  color: rgba(250, 246, 236, 0.75);
  text-decoration: none;
  font-size: 0.92rem;
}
footer.site-footer a:hover {
  color: var(--gold-light);
}
.footer-divider {
  border-color: rgba(250, 246, 236, 0.14);
  margin: 2.5rem 0 1.5rem;
}
.footer-powered {
  font-size: 0.85rem;
  color: rgba(250, 246, 236, 0.6);
}
.footer-powered a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
}
.footer-powered a:hover {
  text-decoration: underline;
}
