/* ============================================
   Rooted In Christ Florals - Shared Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

button, a { cursor: pointer !important; }

:root {
  --cream:      #FAF8FF;   /* near-white with a whisper of lavender */
  --blush:      #E8D8F5;   /* very light lavender for borders & dividers */
  --sage:       #C8A8DC;   /* the logo's own lavender — medium accent */
  --sage-dark:  #8B5AB8;   /* medium-dark purple for buttons & nav */
  --gold:       #A570CC;   /* lighter mid-purple for labels & notes */
  --charcoal:   #2C1850;   /* dark purple-navy for headings & footer */
  --gray:       #7A6890;   /* soft purple-gray for body text */
  --light-gray: #F3EAFC;   /* very pale lavender for section backgrounds */
  --white:      #FFFFFF;
  --shadow:     0 4px 20px rgba(100,50,150,0.08);
  --radius:     8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 16px;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(175, 128, 210, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 16px rgba(100, 50, 150, 0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s, background 0.2s, transform 0.2s;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border-bottom: none;
  cursor: pointer !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--blush) !important;
  color: var(--charcoal) !important;
  border: none !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 25px;
  transition: background 0.25s, transform 0.25s !important;
}
.nav-cta:hover {
  background: #f0d0ca !important;
  border-bottom-color: transparent !important;
  transform: translateY(-1px);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Page Wrapper ────────────────────────────── */
.page-wrapper { padding-top: 70px; }

/* ── Hero ────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.hero-content {
  padding: 5rem 4rem 5rem 5rem;
}

.hero-inline-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 20px rgba(100,50,150,0.15);
}

.hero-content .section-label { margin-bottom: 1rem; }

.hero-title {
  margin-bottom: 1.2rem;
  color: var(--charcoal);
}

.hero-title em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-scripture {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--blush);
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cross {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  pointer-events: none;
}

.hero-cross svg {
  width: 400px;
  height: auto;
}

.hero-logo-side {
  height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 3rem;
}

.hero-logo-img {
  width: min(420px, 85%);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(100, 50, 150, 0.12);
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139,90,184,0.3); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #a87a38; transform: translateY(-2px); }

/* ── Scripture Banner ────────────────────────── */
.scripture-banner {
  background: var(--sage);
  color: var(--charcoal);
  text-align: center;
  padding: 2.5rem 2rem;
}
.scripture-banner blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.scripture-banner cite {
  display: block;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  opacity: 0.65;
}

/* ── Sections ────────────────────────────────── */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-centered {
  text-align: center;
}

.section-centered h2 { margin-bottom: 0.75rem; }
.section-centered p  { color: var(--gray); max-width: 560px; margin: 0 auto 3rem; }

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--blush);
  margin: 1rem auto;
  border-radius: 3px;
}

/* ── Featured Section ────────────────────────── */
.featured-section {
  position: relative;
}

/* ── Featured Grid (Home) ────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 2.5rem;
}

.featured-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

/* ── Services Cards ──────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(44,44,44,0.12); }

.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-card-body h3 {
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── About Split ─────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--blush);
  border-radius: 12px;
  z-index: -1;
}

.about-content .section-label { margin-bottom: 0.75rem; }
.about-content h2 { margin-bottom: 1.25rem; }
.about-content p  { color: var(--gray); margin-bottom: 1rem; }

/* ── Gallery Page ────────────────────────────── */
.gallery-hero {
  background: var(--sage);
  color: var(--charcoal);
  text-align: center;
  padding: 5rem 2rem 3rem;
}
.gallery-hero h1 { color: var(--charcoal); margin-bottom: 0.5rem; }
.gallery-hero p  { color: var(--gray); max-width: 500px; margin: 0 auto; }

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 2rem 2rem 0;
}

.filter-btn {
  padding: 0.5rem 1.4rem;
  border-radius: 25px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--gray);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.gallery-grid {
  columns: 4;
  column-gap: 10px;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ── Page Hero (inner pages) ─────────────────── */
.page-hero {
  background: var(--sage);
  color: var(--charcoal);
  text-align: center;
  padding: 5rem 2rem 3.5rem;
}
.page-hero h1 { color: var(--charcoal); margin-bottom: 0.5rem; }
.page-hero p  { color: var(--gray); max-width: 500px; margin: 0.5rem auto 0; }

/* ── Services Page ───────────────────────────── */
.services-full {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse  { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-row img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.service-row-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.service-row-content p {
  color: var(--gray);
  margin-bottom: 1rem;
}
.service-note {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}

/* ── Contact Page ────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: var(--gray); margin-bottom: 2rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid var(--blush);
}
.contact-item-text strong { display: block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.2rem; }
.contact-item-text a { color: var(--charcoal); transition: color 0.2s; }
.contact-item-text a:hover { color: var(--sage-dark); }

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}
.social-link {
  width: 44px;
  height: 44px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
}
.social-link:hover { background: var(--sage-dark); transform: translateY(-3px); }

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 1.5rem; }

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(200,168,220,0.3);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── About Page ──────────────────────────────── */
.about-full {
  max-width: 1200px;
  margin: 0 auto;
}

.mission-section {
  background: var(--blush);
  color: var(--charcoal);
  padding: 5rem 2rem;
  text-align: center;
}
.mission-section h2 { color: var(--charcoal); margin-bottom: 1rem; }
.mission-section p  { color: var(--gray); max-width: 640px; margin: 0 auto 0.75rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.value-item {}
.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.value-item h3 { margin-bottom: 0.5rem; }
.value-item p  { font-size: 0.9rem; color: var(--gray); }

.area-section {
  background: var(--light-gray);
  padding: 4rem 2rem;
  text-align: center;
}
.area-section h2 { margin-bottom: 0.75rem; }
.area-section p  { color: var(--gray); max-width: 500px; margin: 0 auto 2rem; }

.area-tags {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.area-tag {
  background: var(--white);
  border: 2px solid var(--blush);
  color: var(--charcoal);
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ── Footer ──────────────────────────────────── */
.footer {
  background: var(--sage-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 260px;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--blush); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom .cross { color: var(--blush); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-cross { display: flex; opacity: 0.2; }
  .hero-cross svg { width: 220px; }
  .hero-inline-logo { width: 80px; height: 80px; }
  .hero-content { padding: 4rem 2rem; }
  .about-split { grid-template-columns: 1fr; padding: 4rem 2rem; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 2rem; }
  .service-row.reverse { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; padding: 3rem 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: rgba(175, 128, 210, 0.97); padding: 1rem 2rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); gap: 1rem; align-items: center; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .gallery-grid { columns: 2; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .hero-logo-side { padding: 1.5rem; }
  .hero-logo-img { width: min(240px, 60%); }
  .hero { min-height: auto; }
  .hero-content { padding: 3rem 1.5rem; }
  .hero-cross svg { width: 160px; }
}
