/* Rose Paradise — warm residential AFH styling (overrides template defaults) */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --rpc-bg: #faf7f4;
  --rpc-bg-card: #ffffff;
  --rpc-ink: #2a2624;
  --rpc-ink-muted: #5c5652;
  --rpc-accent: #a65d57;
  --rpc-accent-hover: #8f4f4a;
  --rpc-rose-soft: #e8d5cf;
  --rpc-nav-hover: #f28ca6;
  /* Section bands (warm, healthcare-appropriate) */
  --rpc-section-gray: #f8f9fb;
  --rpc-section-white: #ffffff;
  --rpc-section-blush: #fff4f7;
  --rpc-section-beige: #f6f3f1;
  --rpc-section-ink: #1a1a1a;
  --rpc-section-muted: #333333;
  --rpc-border: rgba(42, 38, 36, 0.08);
  --rpc-shadow: 0 12px 40px rgba(42, 38, 36, 0.08);
  --rpc-radius: 14px;
  --rpc-font-display: "Cormorant Garamond", Georgia, serif;
  --rpc-font-body: "Source Sans 3", system-ui, sans-serif;
}

body {
  font-family: var(--rpc-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--rpc-ink-muted);
  background-color: var(--rpc-bg);
}

.rpc-text-ink {
  color: var(--rpc-ink);
}

/* Header */
header.cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  /* Darker overlay for hero readability (nav text is white in this state) */
  background: rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

header.cursor-light.header-appear {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--rpc-border);
  box-shadow: var(--rpc-shadow);
}

header.cursor-light.header-appear .navbar-top-default {
  /* Softer, more modern shadow than the template default */
  background: #ffffff !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10) !important;
  min-height: 80px;
}

header .navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Template fixes a 90px height + overflow:hidden; allow vertical centering with logo + contact */
header .navbar-top-default {
  height: auto !important;
  min-height: 90px;
  display: flex;
  align-items: center;
}

header .navbar .container {
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  header .navbar .container {
    flex-wrap: nowrap;
  }
}

header a.logo {
  margin-right: 1.75rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

header a.logo img {
  max-height: 115px;
  max-width: none;
  width: auto;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)) saturate(1.06) brightness(1.12) contrast(1.04);
  transition: opacity 0.2s ease;
}

header a.logo .logo-scrolled {
  display: none;
}

header.cursor-light.header-appear a.logo .logo-home {
  display: none;
}

header.cursor-light.header-appear a.logo .logo-scrolled {
  display: inline-block;
}

header.cursor-light.header-appear a.logo img {
  filter: none;
}

@media (max-width: 767.98px) {
  header .navbar {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  header a.logo img {
    max-height: 74px;
    max-width: min(72vw, 320px);
  }

  header a.logo {
    margin-right: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  header a.logo img {
    max-height: 62px;
    max-width: 72vw;
  }
}

header .navbar-nav .nav-link {
  font-family: var(--rpc-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.02em;
}

header .navbar-nav .nav-link:not(.active):hover {
  color: var(--rpc-nav-hover) !important;
  background: rgba(242, 140, 166, 0.16);
}

header.cursor-light.header-appear .navbar-nav .nav-link {
  color: #1a1a1a !important;
}

header.cursor-light.header-appear .navbar-nav .nav-link:hover {
  color: var(--rpc-nav-hover) !important;
}

.sidemenu_btn span {
  background: #ffffff !important;
}

header.cursor-light.header-appear .sidemenu_btn span {
  background: #1a1a1a !important;
}

/* Hamburger above nav row; navbar template uses overflow:hidden which can clip the icon */
header.cursor-light .navbar-top-default {
  overflow: visible !important;
}

header .sidemenu_btn {
  z-index: 20;
  padding: 0.5rem;
  margin: -0.5rem -0.25rem -0.5rem 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Panel + dimmer are body-level siblings of header (not inside backdrop-filter) */
.side-menu {
  z-index: 1050 !important;
}

#close_side_menu {
  z-index: 1049 !important;
}

body.rpc-menu-open {
  overflow: hidden;
}

/* Hero */
#home.rpc-hero-wrap {
  padding: 0;
  margin: 0;
}

.rpc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  background-color: #3d3430;
}

.rpc-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-main.png");
  background-size: cover;
  background-position: center;
}

.rpc-hero__overlay {
  position: absolute;
  inset: 0;
  /* Slightly warmer gradient for cohesion with section palette below */
  background: linear-gradient(
    115deg,
    rgba(42, 38, 36, 0.88) 0%,
    rgba(42, 38, 36, 0.52) 42%,
    rgba(166, 93, 87, 0.28) 72%,
    rgba(255, 244, 247, 0.12) 100%
  );
}

.rpc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.rpc-hero__eyebrow {
  font-family: var(--rpc-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rpc-rose-soft);
  margin-bottom: 0.75rem;
}

.rpc-hero h1 {
  font-family: var(--rpc-font-display);
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.25rem;
}

.rpc-hero__lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
}

.rpc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.rpc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rpc-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none !important;
}

.rpc-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.rpc-btn--primary {
  background: var(--rpc-accent);
  color: #fff !important;
  border-color: var(--rpc-accent);
}

.rpc-btn--primary:hover {
  background: var(--rpc-accent-hover);
  border-color: var(--rpc-accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.rpc-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}

.rpc-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff !important;
}

.rpc-btn--dark {
  background: var(--rpc-accent);
  color: #fff !important;
  border-color: var(--rpc-accent);
}

.rpc-btn--dark:hover {
  background: var(--rpc-accent-hover);
  border-color: var(--rpc-accent-hover);
  color: #fff !important;
}

/* Sections (vertical rhythm via main > section) */
.rpc-section--alt {
  /* Background set per-section (#services) for alternating bands */
  background: transparent;
}

.rpc-section__title {
  font-family: var(--rpc-font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--rpc-ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.rpc-section__subtitle {
  font-size: 1.05rem;
  color: var(--rpc-ink-muted);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.rpc-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rpc-accent);
  margin-bottom: 0.5rem;
}

/* Why choose */
.rpc-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  color: var(--rpc-ink-muted);
}

.rpc-check__icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--rpc-rose-soft);
  color: var(--rpc-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  margin-top: 0.2rem;
}

/* Service cards */
.rpc-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.rpc-service-card {
  background: var(--rpc-bg);
  border: 1px solid var(--rpc-border);
  border-radius: var(--rpc-radius);
  padding: 1.5rem 1.35rem;
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.rpc-service-card:hover {
  box-shadow: var(--rpc-shadow);
  border-color: rgba(166, 93, 87, 0.25);
}

.rpc-service-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--rpc-rose-soft);
  color: var(--rpc-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.rpc-service-card h3 {
  font-family: var(--rpc-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--rpc-ink);
  margin-bottom: 0.5rem;
}

.rpc-service-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--rpc-ink-muted);
}

/* About */
.rpc-about-panel {
  background: linear-gradient(145deg, #fff 0%, var(--rpc-bg) 100%);
  border: 1px solid var(--rpc-border);
  border-radius: var(--rpc-radius);
  padding: 2rem 2rem 2.25rem;
  box-shadow: var(--rpc-shadow);
}

.rpc-trust-line {
  font-size: 0.9rem;
  color: var(--rpc-ink-muted);
  border-left: 3px solid var(--rpc-accent);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

/* Visiting hours pill */
.rpc-hours {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--rpc-bg);
  border-radius: var(--rpc-radius);
  border: 1px solid var(--rpc-border);
}

.rpc-hours h3 {
  font-family: var(--rpc-font-display);
  font-size: 1.35rem;
  color: var(--rpc-ink);
  margin-bottom: 0.75rem;
}

/* Contact */
#contactus.rpc-contact {
  padding: 0;
  background: var(--rpc-section-beige);
}

.rpc-contact__map {
  position: relative;
  min-height: 280px;
  border-radius: var(--rpc-radius);
  overflow: hidden;
  border: 1px solid var(--rpc-border);
  box-shadow: var(--rpc-shadow);
}

@media (min-width: 992px) {
  .rpc-contact__map {
    min-height: 320px;
  }
}

.rpc-contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  filter: saturate(0.92);
}

.rpc-contact-info {
  font-size: 1rem;
  color: var(--rpc-ink-muted);
}

.rpc-contact-info a {
  color: var(--rpc-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rpc-contact-info a:hover {
  color: var(--rpc-accent-hover);
}

/* Form */
.rpc-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--rpc-ink);
  margin-bottom: 0.35rem;
}

.rpc-form .form-group {
  margin-bottom: 1.1rem;
}

.rpc-form input[type="text"],
.rpc-form input[type="email"],
.rpc-form input[type="tel"],
.rpc-form select,
.rpc-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rpc-border);
  border-radius: 10px;
  font-family: var(--rpc-font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--rpc-ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rpc-form input:focus,
.rpc-form select:focus,
.rpc-form textarea:focus {
  outline: none;
  border-color: var(--rpc-accent);
  box-shadow: 0 0 0 3px rgba(166, 93, 87, 0.2);
}

.rpc-form textarea {
  min-height: 140px;
  resize: vertical;
}

.rpc-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rpc-form-wrap {
  background: var(--rpc-bg-card);
  border-radius: var(--rpc-radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--rpc-shadow);
  border: 1px solid var(--rpc-border);
}


/* Footer */
.footer-sec {
  background: #272220 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0 !important;
}

.footer-sec .company-about,
.footer-sec .company-about a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
}

.rpc-footer-bottom {
  text-align: center;
}

@media (max-width: 767.98px) {
  .footer-sec {
    padding: 0.9rem 0 !important;
  }
}

/* Side menu text */
.side-menu .navbar-nav .nav-link {
  font-family: var(--rpc-font-body);
  font-weight: 600;
}

.side-footer .text-white {
  font-size: 0.85rem;
  opacity: 0.85;
}

.side-menu .rpc-side-contact.rpc-contact-info a {
  color: rgba(255, 255, 255, 0.95) !important;
}

.side-menu .rpc-side-contact.rpc-contact-info a:hover {
  color: var(--rpc-nav-hover) !important;
}

.footer-sec .rpc-footer-contact {
  font-size: 0.82rem !important;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.footer-sec .rpc-footer-contact a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-sec .rpc-footer-contact a:hover {
  color: #ffffff !important;
}

/* Calmer section rhythm than default medical template */
main > section {
  /* 80px–120px vertical rhythm */
  padding-top: clamp(5rem, 8vw, 7.5rem) !important;
  padding-bottom: clamp(5rem, 8vw, 7.5rem) !important;
}

#home.rpc-hero-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* —— Main content bands: distinct but cohesive —— */
#why-choose {
  background: var(--rpc-section-gray);
  color: var(--rpc-section-muted);
  /* Soft separation from hero / next section (no hard line) */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 28px 56px -48px rgba(42, 38, 36, 0.14);
}

#services {
  background: var(--rpc-section-white);
  color: var(--rpc-section-muted);
  box-shadow: 0 28px 56px -48px rgba(42, 38, 36, 0.1);
}

#about {
  background: var(--rpc-section-blush);
  color: var(--rpc-section-muted);
  box-shadow: 0 28px 56px -48px rgba(166, 93, 87, 0.08);
}

#about .rpc-about-panel {
  background: linear-gradient(145deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 55%, var(--rpc-section-blush) 100%);
}

#about .rpc-hours {
  background: rgba(255, 255, 255, 0.65);
}

#contactus.rpc-contact {
  box-shadow: 0 28px 56px -48px rgba(42, 38, 36, 0.08);
}

/* Stronger heading contrast on light bands */
#why-choose .rpc-section__title,
#services .rpc-section__title,
#about .rpc-section__title,
#contactus .rpc-section__title {
  color: var(--rpc-section-ink);
}

#why-choose .rpc-section__subtitle,
#services .rpc-section__subtitle,
#about .rpc-section__subtitle,
#contactus .rpc-section__subtitle {
  color: var(--rpc-section-muted);
}

/* Utility text colors inside bands (template utilities stay readable) */
#why-choose .rpc-check,
#why-choose .rpc-trust-line,
#about .rpc-contact-info,
#contactus .rpc-contact-info {
  color: var(--rpc-section-muted);
}

#services .rpc-service-card p {
  color: var(--rpc-section-muted);
}

#why-choose .rpc-text-ink,
#services .rpc-text-ink,
#about .rpc-text-ink {
  color: var(--rpc-section-ink);
}

/* Service cards: subtle lift on white band */
#services .rpc-service-card {
  background: var(--rpc-section-gray);
}

/* Centered section intros (full-width headings before grids) */
#why-choose > .container > .rpc-eyebrow,
#why-choose > .container > .rpc-section__title,
#why-choose > .container > .rpc-section__subtitle,
#services > .container > .rpc-eyebrow,
#services > .container > .rpc-section__title,
#services > .container > .rpc-section__subtitle,
#contactus > .container > .rpc-eyebrow,
#contactus > .container > .rpc-section__title,
#contactus > .container > .rpc-section__subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#why-choose > .container > .rpc-section__subtitle,
#services > .container > .rpc-section__subtitle,
#contactus > .container > .rpc-section__subtitle {
  max-width: 40rem;
}
