/* ============================================================
   Nancy Crooks Travel — shared design system
   Forest Green / Warm Ivory / Gold, editorial-luxury aesthetic
   ============================================================ */

:root {
  --forest: #1B3A2D;
  --forest-dark: #12271D;
  --ivory: #F7F3EC;
  --ivory-dim: #EDE7DA;
  --gold: #B8954A;
  --gold-light: #D4B876;
  --ink: #24291F;

  --display: 'Cormorant Garamond', serif;
  --label: 'Raleway', sans-serif;
  --body: 'Crimson Pro', serif;

  --max-width: 1180px;
  --transition: 420ms cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--forest);
  margin: 0 0 .4em;
}

.eyebrow {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--gold);
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- nav ---------- */
header.site-nav {
  background: var(--forest);
  padding: 20px 0;
}
header.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site-nav .brand {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: .02em;
}
header.site-nav .brand span { color: var(--gold-light); }
header.site-nav nav a {
  color: var(--ivory);
  font-family: var(--label);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  margin-left: 28px;
  opacity: .85;
  transition: opacity var(--transition);
}
header.site-nav nav a:hover,
header.site-nav nav a.active { opacity: 1; border-bottom: 1px solid var(--gold-light); }

/* ============================================================
   Carousel
   ============================================================ */
.carousel {
  position: relative;
  overflow: hidden;
  background: var(--forest-dark);
}
.carousel-track {
  display: flex;
  transition: transform 700ms cubic-bezier(.65, 0, .2, 1);
}
.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 8;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.72);
}
.carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 0 44px;
  background: linear-gradient(to top, rgba(18,39,29,.85), transparent);
}
.carousel-caption .wrap { max-width: var(--max-width); }
.carousel-caption h2 {
  color: var(--ivory);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: .2em;
}
.carousel-caption p {
  color: var(--ivory-dim);
  font-family: var(--label);
  font-size: .95rem;
  max-width: 480px;
}
.journey-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--label);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 2px;
  transition: opacity var(--transition);
}
.journey-link:hover { opacity: .75; }
.carousel-dots {
  position: absolute;
  right: 32px; bottom: 24px;
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active { background: var(--gold-light); }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(247,243,236,.12);
  border: 1px solid rgba(247,243,236,.4);
  color: var(--ivory);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.3rem;
  transition: background var(--transition);
}
.carousel-arrow:hover { background: rgba(247,243,236,.25); }
.carousel-arrow.prev { left: 24px; }
.carousel-arrow.next { right: 24px; }

@media (max-width: 640px) {
  .carousel-arrow { display: none; }
  .carousel-caption p { display: none; }
}

/* ============================================================
   Storytelling / page-turn book
   ============================================================ */
.story-shell {
  padding: 64px 0 96px;
  text-align: center;
}
.story-picker {
  font-family: var(--label);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--forest);
  background: var(--ivory-dim);
  border: 1px solid var(--gold);
  padding: 8px 14px;
  border-radius: 3px;
  margin-bottom: 40px;
}

.book {
  --book-w: 880px;
  --book-h: 560px;
  width: var(--book-w);
  max-width: 92vw;
  height: var(--book-h);
  max-height: 78vw;
  margin: 0 auto;
  perspective: 2600px;
  position: relative;
}
.book-spread {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  background: #fff;
  box-shadow: 0 30px 60px rgba(18, 39, 29, .28);
  border-radius: 2px;
}
.book-page {
  width: 50%;
  height: 100%;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.book-page.left { border-right: 1px solid rgba(0,0,0,.08); }
.book-page .page-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,39,29,.15), rgba(18,39,29,.55));
}
.book-page.has-image .page-eyebrow,
.book-page.has-image h3,
.book-page.has-image p { color: var(--ivory); position: relative; z-index: 1; }
.book-page:not(.has-image) { background: var(--ivory); }
.book-page .page-eyebrow {
  font-family: var(--label);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.book-page h3 { font-size: 1.7rem; position: relative; z-index: 1; }
.book-page p { font-size: .98rem; position: relative; z-index: 1; margin: 0; }

/* turning leaf */
.book-leaf {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 900ms cubic-bezier(.55, .06, .27, 1);
  cursor: pointer;
  z-index: 5;
}
.book-leaf.turned { transform: rotateY(-180deg); }
.leaf-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  background: #fff;
  box-shadow: inset -8px 0 16px -12px rgba(0,0,0,.3);
}
.leaf-face.back {
  transform: rotateY(180deg);
  box-shadow: inset 8px 0 16px -12px rgba(0,0,0,.3);
}

.book-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  font-family: var(--label);
}
.book-nav button {
  background: none;
  border: 1px solid var(--forest);
  color: var(--forest);
  font-family: var(--label);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;
  border-radius: 3px;
  transition: background var(--transition), color var(--transition);
}
.book-nav button:hover:not(:disabled) { background: var(--forest); color: var(--ivory); }
.book-nav button:disabled { opacity: .3; cursor: default; }
.book-nav .count { font-size: .78rem; color: var(--forest); letter-spacing: .06em; }

@media (max-width: 640px) {
  .book { --book-h: 640px; }
  .book-page { padding: 26px 20px; }
  .book-page h3 { font-size: 1.3rem; }
}

/* ============================================================
   Shared: CTA button, back link
   ============================================================ */
.cta-button {
  display: inline-block;
  background: var(--forest);
  color: var(--ivory);
  font-family: var(--label);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 3px;
  border: 1px solid var(--forest);
  transition: background var(--transition), color var(--transition);
}
.cta-button:hover { background: var(--forest-dark); }
.back-link {
  font-family: var(--label);
  font-size: .82rem;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--forest);
  opacity: .75;
}
.back-link:hover { opacity: 1; }

/* ============================================================
   Shared: photo attribution overlay
   ============================================================ */
.photo-attribution {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  font-family: var(--label);
  font-size: .68rem;
  letter-spacing: .03em;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
  pointer-events: none;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.photo-gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Journey / product page
   ============================================================ */
.product-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--forest-dark);
  padding: 120px 0 64px;
  margin-top: 24px;
}
.product-hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,39,29,.88), rgba(18,39,29,.25));
}
.product-hero-text {
  position: relative;
  z-index: 1;
}
.product-hero-text h1 {
  color: var(--ivory);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: .2em;
}
.product-hero-text p {
  color: var(--ivory-dim);
  font-family: var(--label);
  font-size: 1rem;
  max-width: 520px;
}
.product-body { padding: 56px 0 96px; }
.product-intro {
  max-width: 680px;
  font-size: 1.15rem;
  margin-bottom: 48px;
}
.product-highlights {
  display: grid;
  gap: 32px;
  margin-bottom: 56px;
}
.product-highlight {
  display: grid;
  gap: 24px;
}
.product-highlight.has-image {
  grid-template-columns: 280px 1fr;
  align-items: center;
}
.product-highlight-photo {
  position: relative;
}
.product-highlight img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.product-highlight-text h3 { font-size: 1.4rem; }
.product-highlight-text p { margin: 0; }
.product-cta {
  border-top: 1px solid var(--ivory-dim);
  padding-top: 32px;
}
.product-cta p {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 18px;
}
@media (max-width: 640px) {
  .product-highlight.has-image { grid-template-columns: 1fr; }
}

/* ============================================================
   About page
   ============================================================ */
.about-shell { padding: 64px 0 96px; max-width: 720px; }
.about-bio p { margin: 0 0 1.2em; }
.about-bio::after { content: ''; display: table; clear: both; }

.about-photo {
  position: relative;
  margin: 4px 0 20px;
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  object-fit: cover;
}
.about-photo-left { float: left; margin-right: 28px; }
.about-photo-right { float: right; margin-left: 28px; }
.about-photo-small { width: 180px; }
.about-photo-medium { width: 260px; }
.about-photo-large { width: 340px; }
.about-photo-pillar img { aspect-ratio: 3 / 4; }
.about-photo-banner img { aspect-ratio: 16 / 9; }

@media (max-width: 640px) {
  .about-photo-left,
  .about-photo-right {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }
}

.about-specialties-heading {
  font-size: 1.3rem;
  margin-top: 40px;
}
.about-specialties {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.about-specialties li {
  font-family: var(--label);
  font-size: .92rem;
  letter-spacing: .02em;
  padding-left: 22px;
  position: relative;
}
.about-specialties li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 1px;
  background: var(--gold);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-shell { padding: 64px 0 96px; max-width: 560px; }
.contact-intro { max-width: 480px; }
.contact-phone {
  font-family: var(--label);
  font-size: 1rem;
  margin-bottom: 40px;
}
.contact-phone a { color: var(--forest); text-decoration: none; }
.contact-form {
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-family: var(--label);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--forest);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--ivory-dim);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}
.contact-form .cta-button {
  justify-self: start;
  cursor: pointer;
  font-size: .82rem;
}
.contact-form-note {
  font-family: var(--label);
  font-size: .88rem;
  color: var(--forest);
  background: var(--ivory-dim);
  padding: 12px 16px;
  border-radius: 3px;
}
