/* ==========================================================================
   Eden Boutique Hospitality — stylesheet
   Palette + type pulled directly from the live edenhostco.com (Framer) site:
     background   #F6F0E4  (warm ivory)
     text         #24231F  (near-black warm)
     deep green   #163A2F  (headings + dark banner cards)
     gold/brown   #8A5A2B  (accent, buttons, links on dark backgrounds)
     sage card bg #E7ECE3  (light cards: services / properties)
   Fonts: "Cormorant Garamond" (headings, serif) + "Inter" (body, sans)
   ========================================================================== */

:root {
  --color-bg: #F6F0E4;
  --color-bg-alt: #F0E8D7;
  --color-text: #24231F;
  --color-text-muted: #5B5648;
  --color-forest: #163A2F;
  --color-forest-dark: #0F2820;
  --color-gold: #8A5A2B;
  --color-gold-light: #D9B67F;
  --color-card: #E7ECE3;
  --color-border: #E3DACB;
  --color-white: #FFFDF7;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --transition: 0.25s ease;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-forest);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; color: var(--color-forest); }

p { color: var(--color-text-muted); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1.5px;
  background: var(--color-gold);
  border-radius: 2px;
}
.eyebrow--on-dark { color: var(--color-gold-light); }
.eyebrow--on-dark::before { background: var(--color-gold-light); }
.section-head.center .eyebrow { justify-content: center; }

.section { padding: 88px 0; position: relative; }
.section--tint { background: var(--color-bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons — pill shaped, matches live site */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn--gold { background: var(--color-gold); color: var(--color-white); }
.btn--gold:hover { background: #6E4720; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(138,90,43,0.25); }
.btn--outline-dark { border-color: var(--color-forest); color: var(--color-forest); background: transparent; }
.btn--outline-dark:hover { background: var(--color-forest); color: var(--color-white); transform: translateY(-2px); }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 240, 228, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(138, 90, 43, 0.16);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; position: relative; }
.logo { font-family: var(--font-heading); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.1em; color: var(--color-forest); }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--color-text); transition: color var(--transition); position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--color-gold);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--color-gold); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 24px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-forest); display: block; }

/* Hero */
.hero { padding: 68px 0 96px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.1rem; margin: 20px 0 30px; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-sub { margin-top: 18px; font-size: 0.9rem; color: var(--color-gold); font-weight: 500; }

.hero-title {
  text-transform: uppercase;
  font-size: clamp(4.8rem, 12vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin: 6px 0 20px;
}

/* Placeholder image blocks — swap for real photos, see images/README.md */
.img-placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #EDE6D8 0%, #E3D9C6 50%, #D8CBB2 100%);
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.img-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-placeholder .placeholder-label { font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text-muted); padding: 10px 16px; }
.img-placeholder--hero { aspect-ratio: 4 / 3.6; box-shadow: 0 30px 60px -20px rgba(15, 40, 32, 0.28); }
.img-placeholder--wide { aspect-ratio: 3 / 2; border-radius: var(--radius-sm) var(--radius-sm) 0 0; border-bottom: none; }

/* Scroll indicator — abstract line-and-drift cue at the base of the hero */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}
.scroll-indicator:hover { opacity: 1; transform: translateX(-50%) translateY(2px); }
.scroll-indicator-text {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-gold);
}
.scroll-indicator-trace {
  position: relative;
  width: 22px;
  height: 46px;
}
.scroll-indicator-trace svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.scroll-indicator-trace path {
  fill: none;
  stroke: rgba(138, 90, 43, 0.3);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.scroll-indicator-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 6px rgba(138, 90, 43, 0.5);
  offset-path: path('M11 2 C2 12, 20 22, 11 32 C4 38, 16 42, 11 44');
  offset-distance: 0%;
  animation: scrollDrift 2.6s var(--ease) infinite;
}
@keyframes scrollDrift {
  0%   { offset-distance: 0%; opacity: 0; }
  12%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@media (max-width: 760px) {
  .scroll-indicator { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator-dot { animation: none; opacity: 1; offset-distance: 50%; }
}

/* Hero photo cycler — shuffling card stack */
.hero-cycle {
  overflow: visible;
  background: none;
  border: none;
  box-shadow: none;
}
.hero-cycle img.cycle-img {
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 60px -20px rgba(15, 40, 32, 0.32);
  transition: transform 0.9s var(--ease), opacity 0.7s var(--ease);
  transform-origin: 50% 85%;
  will-change: transform, opacity;
}
.hero-cycle img.cycle-img[data-pos="0"] { transform: translate(0, 0) rotate(0deg) scale(1); z-index: 5; opacity: 1; }
.hero-cycle img.cycle-img[data-pos="1"] { transform: translate(5%, 4%) rotate(4deg) scale(0.96); z-index: 4; opacity: 1; }
.hero-cycle img.cycle-img[data-pos="2"] { transform: translate(9%, 8%) rotate(8deg) scale(0.92); z-index: 3; opacity: 0.6; }
.hero-cycle img.cycle-img[data-pos="3"] { transform: translate(12%, 11%) rotate(11deg) scale(0.88); z-index: 2; opacity: 0; }
.hero-cycle img.cycle-img[data-pos="4"] { transform: translate(14%, 13%) rotate(13deg) scale(0.85); z-index: 1; opacity: 0; }
.hero-cycle .cycle-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 7px;
}
.hero-cycle .cycle-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-cycle .cycle-dots span.is-active { background: var(--color-white); transform: scale(1.3); }

/* Two-column split (About, For Owners teaser) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split-copy { order: 2; }
.split--reverse .split-media { order: 1; }

.values-list { margin-top: 22px; font-family: var(--font-body); color: var(--color-gold); font-weight: 600; font-size: 0.95rem; }

/* Cards grid (services / why-choose-eden) */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--color-card);
  border-radius: var(--radius-sm);
  padding: 30px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 32px -14px rgba(22, 58, 47, 0.22); }
.card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.card p { font-size: 0.93rem; margin: 0; }

/* Icon badges — line-art icons matching the Eden wordmark */
.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(138, 90, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.35s ease, transform 0.35s var(--ease);
}
.card:hover .icon-badge { background: var(--color-gold); transform: scale(1.06); }
.icon-badge svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s ease;
}
.card:hover .icon-badge svg { stroke: var(--color-white); }

/* Properties */
.properties-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.property-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.property-card:hover { transform: translateY(-5px); box-shadow: 0 18px 32px -14px rgba(22, 58, 47, 0.22); }
.property-card .img-placeholder--wide img { transition: transform 0.6s var(--ease); }
.property-card:hover .img-placeholder--wide img { transform: scale(1.06); }
.property-card-body { padding: 22px 24px 26px; }
.property-card h3 { margin-bottom: 8px; font-size: 1.15rem; font-family: var(--font-heading); font-weight: 600; }
.property-card p { font-size: 0.92rem; margin: 0; }

/* Dark banner (founder card, services page banners, CTA, contact) */
.banner-dark {
  background: var(--color-forest);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,0.92);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s var(--ease);
  box-shadow: 0 24px 48px -28px rgba(15, 40, 32, 0.55);
}
.banner-dark::before {
  content: "";
  position: absolute;
  top: -60%; right: -20%;
  width: 60%; height: 220%;
  background: radial-gradient(rgba(217, 182, 127, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.banner-dark:hover { transform: translateY(-3px); box-shadow: 0 32px 56px -28px rgba(15, 40, 32, 0.65); }
.banner-dark h2, .banner-dark h1 { color: var(--color-white); }
.banner-dark p { color: rgba(255,255,255,0.75); }
.banner-dark a:not(.btn) { color: var(--color-gold-light); font-weight: 600; }

/* Founder + For Owners row */
.founder-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.founder-card blockquote { font-family: var(--font-heading); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: rgba(255,255,255,0.85); margin-top: 14px; }
.founder-card .name { font-family: var(--font-heading); font-size: 1.9rem; color: var(--color-white); font-weight: 600; margin-bottom: 4px; }

/* Feature list, dot separated inline (matches live site's "Integrity • Excellence" style) */
.dot-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: 0.94rem; color: var(--color-text); font-weight: 500; }
.dot-list.on-dark { color: rgba(255,255,255,0.85); }
.dot-list span.sep { color: var(--color-gold); }

/* Service banner (services.html repeating sections) */
.service-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.service-banner .list-inline { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.9; }
.service-banner .list-inline .sep { color: var(--color-gold-light); margin: 0 6px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--color-border); padding: 22px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; font-family: var(--font-body); }
.faq-item p { font-size: 0.94rem; margin: 0; }

/* Contact banner */
.contact-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-detail { margin-bottom: 18px; }
.contact-detail .label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; color: var(--color-gold-light); font-weight: 600; display: block; margin-bottom: 6px; }
.contact-detail a, .contact-detail span.value { font-size: 1.02rem; color: var(--color-white); }
.contact-detail a { color: var(--color-gold-light); font-weight: 600; }

/* CTA banner (services / owners pages) */
.cta-banner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-banner .cta-copy { max-width: 46ch; }
.cta-banner p { margin-top: 10px; }

/* Footer — light, matches live site (not dark) */
.site-footer { background: var(--color-bg); padding: 56px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--color-border); }
.footer-brand .logo { margin-bottom: 8px; }
.footer-brand p { font-size: 0.92rem; color: var(--color-text-muted); }
.footer-col p, .footer-col a { font-size: 0.92rem; color: var(--color-text); display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--color-gold); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: var(--color-text-muted); }
.footer-bottom a { margin-left: 20px; color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-gold); }

/* Anchor targets shouldn't hide under the sticky header */
#about, #properties, #contact { scroll-margin-top: 100px; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.15s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.25s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.35s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.42s; }
[data-reveal-group].is-visible > *:nth-child(n+6) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; transition: none; }
  .hero-cycle img.cycle-img { transition: opacity 0.3s ease; }
}

/* Property galleries (properties.html) */
.property-detail:not(:last-of-type) { margin-bottom: 96px; }
.mini-gallery { display: grid; gap: 12px; }
.mini-gallery .img-placeholder { border-radius: var(--radius-sm); }
.mini-gallery img { transition: transform 0.6s var(--ease); }
.mini-gallery .img-placeholder:hover img { transform: scale(1.06); }
.mini-gallery--3 { grid-template-columns: 1fr 1fr; }
.mini-gallery--3 .gallery-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mini-gallery--3 .gallery-sub { aspect-ratio: 1 / 1; }
.mini-gallery--2 { grid-template-columns: 1fr; }
.mini-gallery--2 .gallery-main { aspect-ratio: 16 / 10; }
.mini-gallery--2 .gallery-sub { aspect-ratio: 16 / 8; }
.mini-gallery--1 .img-placeholder { aspect-ratio: 4 / 3; }
.property-spec-list { margin-top: 20px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .founder-row, .contact-banner, .service-banner { grid-template-columns: 1fr; }
  .split--reverse .split-copy, .split--reverse .split-media { order: initial; }
  .properties-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; padding: 12px; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 84px; left: -24px; right: -24px;
    background: var(--color-bg); padding: 12px 24px 20px; border-bottom: 1px solid var(--color-border); gap: 2px;
    box-shadow: 0 20px 36px -24px rgba(15, 40, 32, 0.35);
  }
  .nav.open .nav-links a { display: block; padding: 12px 0; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .banner-dark { padding: 32px 24px; }
  .cta-banner { text-align: left; }
}

@media (max-width: 480px) {
  .mini-gallery--3 { grid-template-columns: 1fr; }
  .mini-gallery--3 .gallery-main { grid-column: auto; }
}
