/* Timeless Vacation Rentals — site styles */

:root {
  --tvr-forest:   #2D4A3E;
  --tvr-forest-2: #1F3A30;
  --tvr-sand:     #D4B896;
  --tvr-sand-2:   #E8D9BE;
  --tvr-cream:    #FAF7F2;
  --tvr-charcoal: #1A1A1A;
  --tvr-muted:    #6B6862;
  --tvr-terracotta:#C77D5C;
  --tvr-line:     #E5DFD5;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1200px;
  --radius:    14px;
  --shadow-sm: 0 2px 8px rgba(26,26,26,.06);
  --shadow-md: 0 10px 30px rgba(26,26,26,.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--tvr-charcoal);
  background: var(--tvr-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--tvr-forest); text-decoration: none; }
a:hover { color: var(--tvr-terracotta); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--tvr-forest);
  margin: 0 0 .5em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .75rem;
  color: var(--tvr-terracotta);
  font-weight: 600;
  margin-bottom: .8rem;
}

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--tvr-line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex; gap: 32px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--tvr-charcoal);
}
.nav-cta {
  background: var(--tvr-forest); color: var(--tvr-cream) !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--tvr-forest-2); color: var(--tvr-cream) !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--tvr-forest); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--tvr-cream); border-bottom: 1px solid var(--tvr-line);
    padding: 16px 24px;
    transform: translateY(-130%); transition: transform .25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--tvr-line); }
  .nav-links li:last-child { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(31,58,48,.45) 0%, rgba(31,58,48,.65) 100%),
    url('https://images.unsplash.com/photo-1518780664697-55e3ad937233?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  color: var(--tvr-cream);
  padding: 80px 0 100px;
}
.hero h1 { color: var(--tvr-cream); }
.hero .lede {
  font-size: 1.2rem; max-width: 620px; opacity: .95;
}
.hero .reviews {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(250,247,242,.15); padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(250,247,242,.25);
  font-size: .9rem; margin-bottom: 28px;
}
.hero .reviews strong { font-weight: 700; }
.hero .stars { color: #F7C948; letter-spacing: 2px; }

.hero-cta {
  display: inline-flex; gap: 14px; margin-top: 28px; flex-wrap: wrap;
}
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  transition: all .2s;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--tvr-terracotta); color: var(--tvr-cream); }
.btn-primary:hover { background: #B26849; color: var(--tvr-cream); }
.btn-ghost {
  background: transparent; color: var(--tvr-cream); border-color: var(--tvr-cream);
}
.btn-ghost:hover { background: var(--tvr-cream); color: var(--tvr-forest); }

/* ---------- Section base ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--tvr-muted); font-size: 1.1rem; }

/* ---------- Value props grid ---------- */
.values { background: #fff; }
.value-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.value {
  padding: 32px 24px;
  border: 1px solid var(--tvr-line); border-radius: var(--radius);
  text-align: center; transition: transform .25s, box-shadow .25s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tvr-sand-2); border-radius: 50%;
  color: var(--tvr-forest); font-size: 1.6rem;
}
.value h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value p { color: var(--tvr-muted); font-size: .95rem; margin: 0; }

/* ---------- Property cards ---------- */
.properties { background: var(--tvr-cream); }
.property-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.property-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.property-card .photo {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--tvr-sand-2);
}
.property-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.property-card:hover .photo img { transform: scale(1.05); }
.property-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.property-card .loc {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--tvr-terracotta); font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px;
}
.property-card h3 { margin-bottom: 8px; }
.property-card .blurb { color: var(--tvr-muted); font-size: .95rem; flex: 1; }
.property-card .stats {
  display: flex; gap: 18px; padding: 16px 0; margin: 16px 0;
  border-top: 1px solid var(--tvr-line); border-bottom: 1px solid var(--tvr-line);
  font-size: .9rem; color: var(--tvr-charcoal);
}
.property-card .stats span { display: inline-flex; align-items: center; gap: 6px; }
.property-card .actions { display: flex; gap: 10px; }
.property-card .actions .btn { flex: 1; text-align: center; padding: 12px 16px; font-size: .95rem; }
.btn-outline {
  background: transparent; color: var(--tvr-forest); border-color: var(--tvr-forest);
}
.btn-outline:hover { background: var(--tvr-forest); color: var(--tvr-cream); }

/* ---------- Story / band ---------- */
.story {
  background: var(--tvr-forest); color: var(--tvr-cream);
}
.story h2 { color: var(--tvr-cream); }
.story-grid {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1.1fr 1fr;
}
.story p { color: rgba(250,247,242,.85); font-size: 1.05rem; }
.story .stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 32px;
}
.story .stat strong {
  display: block; font-family: var(--serif); font-size: 2.4rem;
  color: var(--tvr-sand);
}
.story .stat span { font-size: .85rem; color: rgba(250,247,242,.75); }
.story-img {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  background: url('https://images.unsplash.com/photo-1480796927426-f609979314bd?auto=format&fit=crop&w=1200&q=80') center/cover;
}
@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-img  { aspect-ratio: 16/10; }
}

/* ---------- Book direct ---------- */
.book-direct {
  background: var(--tvr-sand-2);
  text-align: center;
}
.book-direct .pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: var(--tvr-forest); color: var(--tvr-cream);
  font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 20px; font-weight: 600;
}
.book-direct h2 { max-width: 720px; margin: 0 auto 20px; }
.book-direct p  { max-width: 620px; margin: 0 auto 32px; color: var(--tvr-charcoal); font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--tvr-line);
  padding: 20px 0;
}
.faq-q {
  cursor: pointer; font-family: var(--serif); font-size: 1.2rem;
  color: var(--tvr-forest); display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; font-size: 1.6rem; color: var(--tvr-terracotta);
  transition: transform .25s;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding-top: 12px; color: var(--tvr-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tvr-forest-2); color: rgba(250,247,242,.8);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid; gap: 40px; margin-bottom: 40px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.site-footer h4 { color: var(--tvr-cream); font-family: var(--sans); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(250,247,242,.8); }
.site-footer a:hover { color: var(--tvr-sand); }
.footer-brand img { height: 48px; margin-bottom: 16px; filter: invert(1) brightness(1.4) saturate(0); }
.footer-brand p { font-size: .95rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(250,247,242,.15); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: .85rem;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Property detail ---------- */
.detail-hero {
  position: relative; min-height: 60vh;
  display: flex; align-items: flex-end;
  padding: 120px 0 60px;
  color: var(--tvr-cream);
  background: linear-gradient(180deg, rgba(31,58,48,.2) 0%, rgba(31,58,48,.75) 100%), var(--tvr-forest) center/cover no-repeat;
}
.detail-hero[data-bg="hh"]  { background-image: linear-gradient(180deg, rgba(31,58,48,.2) 0%, rgba(31,58,48,.75) 100%), url('https://images.unsplash.com/photo-1542718610-a1d656d1884c?auto=format&fit=crop&w=2000&q=80'); background-size: cover; background-position: center; }
.detail-hero[data-bg="ssc"] { background-image: linear-gradient(180deg, rgba(31,58,48,.2) 0%, rgba(31,58,48,.75) 100%), url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=2000&q=80'); background-size: cover; background-position: center; }
.detail-hero h1 { color: var(--tvr-cream); margin-bottom: 8px; }
.detail-hero .meta { font-size: 1rem; opacity: .9; }

.detail-layout {
  display: grid; gap: 48px;
  grid-template-columns: 1.4fr 1fr;
  padding: 80px 0;
}
@media (max-width: 980px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-section { margin-bottom: 40px; }
.detail-section h2 { font-size: 1.7rem; margin-bottom: 12px; }
.detail-section p  { color: var(--tvr-charcoal); font-size: 1.05rem; }

.amenity-grid {
  display: grid; gap: 12px 24px;
  grid-template-columns: repeat(2, 1fr);
}
.amenity {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; color: var(--tvr-charcoal); font-size: .98rem;
}
.amenity::before {
  content: '✓'; color: var(--tvr-terracotta); font-weight: 700;
}

.book-card {
  position: sticky; top: 96px;
  background: #fff; border: 1px solid var(--tvr-line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.book-card h3 { margin-bottom: 4px; font-size: 1.3rem; }
.book-card .sub { color: var(--tvr-muted); font-size: .9rem; margin-bottom: 16px; }
.widget-frame {
  width: 100%; min-height: 540px;
  border: 0; background: var(--tvr-cream); border-radius: 8px;
}
.widget-placeholder {
  border: 2px dashed var(--tvr-sand);
  background: var(--tvr-cream);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  color: var(--tvr-muted);
}
.widget-placeholder strong { display: block; color: var(--tvr-forest); font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; }
.widget-placeholder code {
  display: block; margin-top: 16px; padding: 12px;
  background: #fff; border: 1px solid var(--tvr-line); border-radius: 6px;
  font-size: .8rem; color: var(--tvr-charcoal); text-align: left;
  white-space: pre-wrap; word-break: break-word;
}

/* ---------- About page ---------- */
.about-hero {
  background: linear-gradient(180deg, rgba(31,58,48,.4), rgba(31,58,48,.7)),
              url('https://images.unsplash.com/photo-1499696010180-025ef6e1a8f9?auto=format&fit=crop&w=2000&q=80') center/cover;
  color: var(--tvr-cream);
  padding: 140px 0 100px; text-align: center;
}
.about-hero h1 { color: var(--tvr-cream); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
