/* ============================================================
   Shared stylesheet — Joan Cuenco Photography
   Used by index.html and seniors.html.
   Page-specific styles (forms, testimonial feature, FAQ, etc.)
   stay in each page's own <style> block.
   ============================================================ */

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

:root {
  --cream: #F5F0EB;
  --warm-white: #FAF8F5;
  --charcoal: #1C1C1C;
  --stone: #8C8078;
  --gold: #B8966A;
  --soft-black: #2A2520;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 3rem;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(8px);
  padding: 0.6rem 3rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-logo img { height: 28px; transition: opacity 0.3s; }
@media (max-width: 768px) { .nav-logo img { height: 40px; } }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  transition: color 0.3s;
}
nav.scrolled .nav-links a { color: var(--charcoal); }
.nav-links .cta-link {
  border: 1px solid rgba(255,255,255,0.7);
  padding: 0.5rem 1.4rem;
  transition: all 0.3s;
}
nav.scrolled .nav-links .cta-link { border-color: var(--charcoal); }
.nav-links .cta-link:hover { background: white; color: var(--charcoal) !important; }
nav.scrolled .nav-links .cta-link:hover { background: var(--charcoal); color: white !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}
nav.scrolled .hamburger span { background: var(--charcoal); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--charcoal);
  z-index: 200;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: white;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
}
.mobile-menu .cta-link {
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.8rem 2.5rem;
  font-size: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  nav { padding: 0.5rem 1.5rem; }
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.0) 100%
  ), linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.0) 40%,
    rgba(0,0,0,0.4) 100%
  );
}
.hero-content {
  position: relative;
  padding: 0 3rem 5rem 1.5rem;
  max-width: 750px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1.2s 0.5s forwards;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4A96A;
  margin-bottom: 1.2rem;
  background: rgba(10,8,6,0.55);
  padding: 0.55rem 1.2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
  text-shadow: none;
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
}
.hero-headline em { font-style: italic; font-weight: 300; }
.hero-sub {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
}
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.8);
  color: white;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-primary:hover { background: white; color: var(--charcoal); }
.btn-dark {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--charcoal);
  color: white;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 1px solid var(--charcoal);
}
.btn-dark:hover { background: transparent; color: var(--charcoal); }

/* MARQUEE */
.marquee-strip {
  background: var(--charcoal);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.marquee-inner span {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 1.5rem;
}
.marquee-inner span.dot { color: var(--stone); padding: 0; }

section { padding: 6rem 3rem; }

/* TYPOGRAPHY */
.section-label {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.section-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--soft-black);
  margin-bottom: 1.5rem;
}
.section-headline em { font-style: italic; }
.section-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--stone);
  max-width: 480px;
}

/* FOR YOU */
.for-you {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.for-you-image { display: flex; justify-content: center; align-self: stretch; }
.for-you-image-inner { display: flex; flex-direction: column; align-items: center; }
.for-you-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* PROCESS */
.process {
  background: var(--charcoal);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.process .section-headline { color: white; }
.process-steps { display: flex; flex-direction: column; gap: 2.5rem; padding-top: 0.5rem; }
.step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--gold);
  font-style: italic; padding-top: 0;
  line-height: 1;
}
.step-title {
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: white; margin-bottom: 0.5rem;
}
.step-desc { font-size: 0.92rem; line-height: 1.8; color: rgba(255,255,255,0.55); }

/* CTA */
.cta-section {
  background: var(--warm-white);
  text-align: center;
  padding: 5rem 3rem;
}
.cta-section .section-headline { margin: 0 auto 1rem; max-width: 600px; }
.cta-section .section-body { margin: 0 auto 2.5rem; text-align: center; }

/* FOOTER */
footer {
  background: var(--soft-black);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer img { height: 24px; }
.footer-copy {
  font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.hidden { opacity: 0; transform: translateY(30px); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.6rem; }
  .hero-content { padding: 0 1.5rem 4rem; }
  .hero-headline { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .for-you { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .for-you-image img { width: 85%; height: 360px; }
  .process { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.5rem; }
  .cta-section { padding: 5rem 1.5rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem 1.5rem; }
  .marquee-strip { display: none; }
  .hero-bg { background-position: 75% 20%; }
}

/* DIFFERENTIATORS */
.differentiators {
  background: var(--cream);
  padding: 4rem 3rem;
  text-align: center;
}
.diff-header { margin-bottom: 3rem; }
.diff-header .section-headline { margin: 0 auto; }
.diff-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
}
.diff-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 160px;
}
.diff-icon { width: 52px; height: 52px; }
.diff-icon svg { width: 100%; height: 100%; }
.diff-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--stone);
  text-align: center;
}
@media (max-width: 768px) {
  .differentiators { padding: 3rem 1.5rem; }
  .diff-grid { gap: 2rem 2.5rem; }
  .diff-item { width: 120px; }
  .diff-icon { width: 42px; height: 42px; }
  .diff-label { font-size: 0.7rem; }
}

/* LIFE STAGES (shared base) */
.ls-transition {
  background: var(--warm-white);
  padding: 3rem 3rem;
  text-align: center;
}
.ls-transition .section-headline {
  max-width: 700px;
  margin: 0 auto;
}
.life-stages { background: var(--warm-white); }

.ls-full {
  position: relative;
  overflow: hidden;
}
.ls-full img {
  width: 100%;
  height: 85vh;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

.ls-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 720px;
}
.ls-split-light { background: var(--cream); grid-template-columns: 2fr 1fr; }
.ls-split-copy {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ls-img-single {
  height: 100%;
}
.ls-img-single img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 768px) {
  .ls-split { grid-template-columns: 1fr; }
  .ls-split-copy { padding: 3rem 1.5rem; }
  .ls-split.ls-split-light .ls-split-imgs { order: -1; }
  .ls-full img { height: 50vh; }
}

.ls-mat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  background: var(--warm-white);
}
.ls-mat-img { overflow: hidden; }
.ls-mat-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s ease;
}
.ls-mat-img:hover img { transform: scale(1.03); }
@media (max-width: 768px) {
  .ls-mat-row { grid-template-columns: 1fr; }
}

/* Utility: image displays uncropped at natural aspect ratio, full width of its container */
.img-natural { width: 100% !important; height: auto !important; display: block; }
.img-natural.shadow { box-shadow: 0 8px 40px rgba(0,0,0,0.12); }
/* Utility: overrides a component's forced crop/min-height so the image plays full-frame */
.img-uncropped { width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; object-fit: contain !important; object-position: center; display: block; }

@media (max-width: 768px) {
  .section-body { font-size: 1.05rem; max-width: 100%; }
  .step-desc { font-size: 1rem; }
}

/* ABOUT (short bio section) */
.about-short {
  background: var(--cream);
  padding: 6rem 3rem;
}
.about-short-img {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.about-short-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .about-short { padding: 3rem 1.5rem; }
  .about-short-inner { grid-template-columns: 1fr; gap: 2rem; max-width: 100%; }
  .about-short-text { width: 100%; }
}

/* INQUIRY FORM (shared by both pages) */
.inquiry-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.bot-field { display: none; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-full { margin-bottom: 1.2rem; }
.form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #DDD8D2;
  background: white;
  padding: 0.75rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: var(--charcoal);
  outline: none;
  transition: border 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--stone);
}
.form-group textarea { resize: vertical; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .form-group label { font-size: 0.75rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 1rem; }
}
