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

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ── Hero ─────────────────────────────────────── */
.hero-wrapper {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1e1b4b;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Hero Carousel ────────────────────────────── */
.hero-slides {
  position: relative;
  min-height: 75vh;
  height: 75vh;
}

/* All slides stacked, absolutely positioned */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

/* Left image — slides in from left while fading in */
.slide-img-wrap {
  flex-shrink: 0;
  width: 460px;
  max-width: 42%;
  overflow: visible;
  /* start state: off to the left, invisible */
  transform: translateX(-80px);
  opacity: 0;
  /* no transition by default — only animate when becoming active */
}
.slide-img-wrap.has-shadow {
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  border-radius: 4px;
}
/* Trigger animation when slide becomes active */
.hero-slide.active .slide-img-wrap {
  transform: translateX(0);
  opacity: 1;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
              opacity   0.9s ease 0.2s;
}

.slide-img {
  width: 100%;
  height: 414px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.slide-img.flyer {
  height: auto;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.6));
}

/* Right text — floats up while fading in */
.slide-text {
  flex: 1;
  transform: translateY(40px);
  opacity: 0;
}
.hero-slide.active .slide-text {
  transform: translateY(0);
  opacity: 1;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
              opacity   0.9s ease 0.4s;
}

.slide-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.slide-subtitle {
  color: #d4b96a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.slide-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  background: #2e2b6b;
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.25s;
}
.slide-btn:hover { background: #b8952a; border-color: #b8952a; }

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.hero-dot {
  width: 36px;
  height: 6px;
  border-radius: 3px;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.hero-dot.active { background: #fff; }

/* ── Brand indigo sections ────────────────────── */
.ptw-indigo       { background: #2e2b6b; }
.ptw-indigo-light { background: #3d3a8a; }

/* ── Gold rule ────────────────────────────────── */
.gold-rule {
  display: block;
  width: 60px;
  height: 3px;
  background: #b8952a;
  margin: 1rem 0;
}

/* ── Card hover ───────────────────────────────── */
.lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* ── Nav active ───────────────────────────────── */
.nav-active {
  color: #b8952a !important;
  border-bottom: 2px solid #b8952a;
  padding-bottom: 2px;
}

/* ── Attorney photo ───────────────────────────── */
.attorney-photo {
  width: 200px;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #b8952a;
}

/* ── Scrollbar ────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: #f5f5f0; }
::-webkit-scrollbar-thumb { background: #b8952a; border-radius: 3px; }

/* ── Sticky header shadow ─────────────────────── */
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

/* ── Mobile menu ──────────────────────────────── */
#nav-menu { transition: max-height 0.3s ease; }
