/* =========================
   YAP PROPERTY SOLUTIONS
   Palette:
   #BDD4E7 (pale sky)
   #C59F78 (camel)
   #064789 (steel azure)
   #40414F (charcoal blue)
   #3D3B30 (charcoal brown)
   ========================= */

/* ===== Variables ===== */
:root{
  --pale: #BDD4E7;
  --camel: #C59F78;
  --blue: #064789;
  --text: #40414F;
  --dark: #3D3B30;
  --border: rgba(64,65,79,0.15);
}

/* ===== Resets / Base ===== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
.hero{padding-bottom: 90px;}
body{
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

/* ===== Typography ===== */
h1, h2, h3{
  font-family: 'Playfair Display', serif;
  color: #1f2230;
  margin: 0 0 12px;
  line-height: 1.15;
}

p,
.lead{
  font-weight: 500;
}

h1{ font-size: 48px; letter-spacing: -0.2px; }
h2{ font-size: 32px; margin-top: 4px; }
h3{ font-size: 20px; }

p{
  margin: 0 0 12px;
  max-width: 72ch;
}

ul, ol{
  margin: 10px 0 0;
  padding-left: 20px;
}

li{ margin: 8px 0; }

/* ===== Layout ===== */
.container{

  max-width: 1280px;
  margin: 0 auto;
}

section{
  padding: 72px 20px;
  scroll-margin-top: 64px;
}

#what-we-do,
#who-we-are,
#trust,
#reviews,
#areas,
#contact,
#who-we-host-for,
#how-it-works,
#what-to-expect,
#faqs,
#guests{
  scroll-margin-top: 64px;
}

/* ===== Links ===== */
a{ color: var(--blue); }
a:hover{ color: #043a6f; }

/* ===== Navbar ===== */
.navbar{
  position: sticky;
  top: 0;
  background: var(--blue);
  z-index: 1000;
}

.nav-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo{
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.nav-logo:hover{
  color: #fff;
}

.nav-links a{
  margin-left: 18px;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

.nav-links a:hover{
  color: #fff;
}

nav a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 768px) {
  header nav a {
    font-size: 16px;
  }
}

/* ===== Active nav link ===== */
.nav-links a.active {
  color: #fff;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--camel);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active{
  transform: translateY(1px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

/* Primary */
.btn-primary{
  background: #064789;
  border: 1px solid #C59F78;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.btn-primary:hover {
  background: #043a6f;
  color: #fff; /* lock */
}

/* Secondary */
.btn-secondary {
  background: #fff;
  color: var(--blue);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue); /* lock */
}

/* ===== Cards ===== */
.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.card h3{
  margin-bottom: 8px;
}

.card p{
  margin: 0;
}

/* ===== Card hover lift ===== */
.card{
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: rgba(6,71,137,0.25);
}

/* ===== Form basic (so the placeholder form later looks decent) ===== */
input, select, textarea, button{
  font: inherit;
}

form{
  margin-top: 18px;
}

input, select, textarea{
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 8px 0 14px;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 900px){
  h1{ font-size: 40px; }
  .nav-links a{ margin-left: 12px; }
}

/* ===== What We Do (stacked cards + image) ===== */
.what-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.what-stack{
  display: grid;
  gap: 16px;
}

.what-card, .how-card{
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.what-card h3{
  margin: 0 0 8px 0;
}

.what-card p{
  margin: 0 0 14px 0;
  color: rgba(64,65,79,0.85);
  line-height: 1.6;
  font-weight: 600;
}

.what-link{
  font-weight: 800;
  color: var(--blue);
}

.what-card, .how-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  border-color: rgba(6,71,137,0.25);
}

.what-image{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f4f6fb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.what-image img{
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

/* Mobile */
@media (max-width: 900px){
  .what-grid{
    grid-template-columns: 1fr;
  }

  .what-image img{
    min-height: 240px;
  }
}

/* ===== WHO WE ARE ===== */
.who-we-are {
  padding: 96px 0;
  background:rgba(213, 210, 195, 0.28);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.who-we-are h2{
  margin-bottom: 32px;
}

/* Grid layout */
.who-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Image */
.who-media{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.who-media img{
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

/* Text */
.who-content {
  background: rgba(255, 255, 255, 0.8);
  padding: 32px 32px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.who-content .lead{
  font-weight: 600;
  font-size: 1.05rem;
}

/* Optional trust card */
.trust-card{
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f4f6fb;
  border: 1px solid var(--border);
  font-weight: 700;
  width: fit-content;
}

/* Mobile */
@media (max-width: 900px){
  .who-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .who-media img{
    min-height: 260px;
  }
}

/* =========================
   CONTACT: details left, message right (aligned)
   Replace your entire block with this
   ========================= */

#contact .contact-form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

/* Left column spacing */
#contact .contact-details .field{
  margin-bottom: 18px;
}
#contact .contact-details .field:last-child{
  margin-bottom: 0;
}

/* Right column: make textarea fill the column height */
#contact .contact-message{
  display: flex;
  height: 100%;
}
#contact .contact-message .field{
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0; /* prevents stray spacing */
}

#contact .contact-message textarea{
  flex: 1;
  height: 100%;
  min-height: 0;       /* KEY: allows it to shrink to match left */
  resize: vertical;
}

/* Actions row */
#contact .actions{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mobile: stack */
@media (max-width: 900px){
  #contact .contact-form-grid{
    grid-template-columns: 1fr;
  }
  #contact .contact-message textarea{
    min-height: 220px; /* nice on mobile */
  }
}

#contact .contact{
background: rgba(240,239,234,0.9)
}

#contact .contact-card{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  padding: 36px;
}
#contact .btn-primary{
  box-shadow: 0 14px 30px rgba(6,71,137,0.18);
}

#contact .btn-primary:hover{
  transform: translateY(-1px);
}

#contact .btn-primary:active{
  transform: translateY(0px);
}
/* ===== Reviews Marquee placeholder styling ===== */

.reviews-marquee{
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  overflow: hidden; /* important for marquee later */
}

.reviews-track{
  display: flex;
  gap: 12px;
  flex-wrap: wrap; /* placeholder layout before animation */
}

.review-pill{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  background:rgba(213, 210, 195,0.35);
  border: 1px solid var(--border);
  font-weight: 700;
  white-space: nowrap;
}

/* Move left by half the total content (because we duplicated the row) */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause on hover (nice UX) */
.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

/* Respect accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

#reviews h2{
  color: #ffffff;
}

#reviews{
  background:
    linear-gradient(
      rgba(6,71,137,1) 0%,   /* VERY dark top */
      rgba(6,71,137,0.95) 20%,
      rgba(6,71,137,0.85) 35%,
      rgba(6,71,137,0.75) 75%,
      rgba(6,71,137,0.65) 100%
    ),
    url("images/review.jpg");

  background-size: cover;
  background-position: center;
  color: white;
}

#areas{
  background:
    linear-gradient(
      rgba(240,246,249,0.95),
      rgba(240,246,249,0.95)
    ),
    url("images/map.jpg");

  background-size: cover;
  background-position: center;
}
/* ===== Review cards (marquee items) ===== */
.review-card{
  width: 520px;
  padding: 22px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  flex: 0 0 auto;
}

.review-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  flex: 0 0 52px;
}

.review-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-head-text{
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.review-name-row{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.review-name{
  font-weight: 800;
  font-size: 14px;
  color: #1f2230;
}

.review-stars{
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--camel);
  font-size: 14px;
}

.review-sub{
  font-weight: 700;
  color: rgba(64,65,79,0.7);
  font-size: 14px;
}

.review-body{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #2b2f3e;
  font-weight: 500;
}

/* Track spacing */
.reviews-row{
  display: flex;
  gap: 24px;
}

.reviews-track{
  display: flex;
  width: max-content;
  gap: 24px;
  animation: marquee 80s linear infinite;
}

.review-card{
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.review-body{
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #2b2f3e;
  font-weight: 500;
  max-width: 52ch;         /* keeps lines readable */
}
.review-head{
  margin-bottom: 12px;
}
.review-body{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-head{
  align-items: flex-start;
}
.review-head-text{
  padding-top: 4px;
}
.review-card{
  min-height: 240px;
}

.review-body{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews-marquee{
  background: rgba(213, 210, 195,0.28);
  padding: 96px 0;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
body{
  overflow-x: clip; /* safer than hidden for sticky in many cases */
}


/* ===== Section bar (for internal page nav) ===== */
html{
  scroll-behavior: smooth;
}

.section-bar{
  background: rgba(240,239,234,0.9); /* your sand-ish */
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.section-bar-inner{
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.section-bar a{
  color: rgba(64,65,79,0.85);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.section-bar a:hover{
  color: #064789;
  border-bottom-color: #C59F78;
}

.section-bar{
  position: sticky;
  top: 72px;
  z-index: 9;
}
.hp-field {
  display: none !important;
}
