/**
 * Front page (page--front.html.twig) styling.
 * Colors sampled directly from the approved homepage design.
 */

:root {
  --brand-orange: #f98a1e;
  --tint-bg: #eef9fc;
  --footer-bg: #f5f5f5;
}

/* ---------- Front-page navbar ---------- */
.front-navbar {
  position: fixed;
  top: var(--drupal-displace-offset-top, 0px);
  left: var(--drupal-displace-offset-left, 0px);
  right: var(--drupal-displace-offset-right, 0px);
  z-index: 490;
  background: transparent;
  padding: 20px 0;
  transition: background-color .25s ease, padding .25s ease, top .2s ease, left .2s ease;
}
.front-navbar.is-scrolled {
  background: #101010;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.front-navbar .navbar-brand img {
  height: 46px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.front-navbar .nav-link {
  color: #fff;
  font-weight: 500;
}
.front-navbar .nav-link:hover {
  color: var(--brand-orange);
}
.front-navbar .navbar-toggler-icon-custom span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}
.front-navbar .divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.4);
}

/* ---------- Hero ---------- */
.front-hero {
  position: relative;
  min-height: 495px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 60px;
  color: #fff;
}
.front-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.6);
}
.front-hero > * {
  position: relative;
  z-index: 2;
}

.stay-search-bar {
  background: #fff;
  border-radius: 60px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  gap: 0;
  color: #111;
  margin-top: 110px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.stay-search-bar .search-field {
  padding: 4px 24px;
  border-right: 1px solid #e5e5e5;
  flex: 1;
}
.stay-search-bar .search-field:last-of-type {
  border-right: none;
}
.stay-search-bar .search-field label {
  display: block;
  font-size: .75rem;
  color: #666;
  margin-bottom: 2px;
}
.stay-search-bar .search-field .value {
  font-weight: 600;
  font-size: .95rem;
}
.stay-search-bar .search-field input {
  border: none;
  outline: none;
  font-size: .95rem;
  width: 100%;
}
.stay-search-bar .search-field input::placeholder {
  color: #999;
  font-weight: 400;
}
.stay-search-bar .btn-search {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 34px;
  font-weight: 700;
  white-space: nowrap;
}
.stay-search-bar .btn-search:hover {
  background: #e07d16;
  color: #fff;
}

.hero-copy {
  text-align: center;
  margin-top: 50px;
}
.hero-copy .eyebrow {
  font-size: 1rem;
}
.hero-copy h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin: .25rem 0;
}
.hero-copy p {
  color: rgba(255,255,255,.85);
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  display: inline-block;
}
.hero-dots span.active {
  background: var(--brand-orange);
}

/* ---------- Category tab bar ---------- */
.category-tabs {
  background: var(--tint-bg);
  padding: 24px 0;
}
.category-tabs ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.category-tabs a {
  color: #111;
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
}
.category-tabs a i {
  font-size: 1.3rem;
}
.category-tabs a.active {
  border-bottom-color: #111;
  font-weight: 600;
}

/* ---------- Property grid (homepage) ---------- */
.front-property-grid {
  padding: 60px 0;
}
.front-property-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.collage {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.collage .main-shot {
  grid-row: 1 / 3;
  background-size: cover;
  background-position: center;
}
.collage .thumb {
  background-size: cover;
  background-position: center;
}
.front-property-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #111;
}
.front-property-card .location {
  color: #666;
  font-size: .9rem;
  margin-bottom: 10px;
}
.front-property-card .meta {
  display: flex;
  gap: 18px;
  color: #333;
  font-size: .9rem;
  margin-bottom: 14px;
}
.front-property-card .meta i {
  margin-right: 4px;
}
.front-property-card .starting-at {
  font-size: .8rem;
  color: #777;
  margin-bottom: 2px;
}
.front-property-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}
.front-property-card .price .per {
  font-size: .85rem;
  font-weight: 400;
  color: #777;
}

.btn-view-more {
  border: 1px solid #111;
  border-radius: 40px;
  padding: 12px 34px;
  font-weight: 600;
  color: #111;
  background: #fff;
}
.btn-view-more:hover {
  background: #111;
  color: #fff;
}

/* ---------- Full-service banner ---------- */
.full-service-banner {
  background: #fff;
  padding: 0 0 0;
}
.full-service-banner .panel {
  background: var(--tint-bg);
  padding: 60px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.full-service-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.full-service-banner p {
  color: #444;
  margin-bottom: 28px;
  max-width: 480px;
}
.full-service-banner .image-side {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.btn-outline-dark-pill {
  border: 1px solid #111;
  border-radius: 40px;
  padding: 12px 28px;
  font-weight: 600;
  color: #111;
  background: transparent;
  display: inline-block;
  width: fit-content;
}
.btn-outline-dark-pill:hover {
  background: #111;
  color: #fff;
}

/* ---------- Footer (front page variant) ---------- */
.front-footer {
  background: var(--footer-bg);
  padding: 60px 0 20px;
  color: #333;
}
.front-footer h5 {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 18px;
}
.front-footer p, .front-footer a {
  color: #444;
  font-size: .92rem;
}
.front-footer a {
  text-decoration: none;
}
.front-footer a:hover {
  color: var(--brand-orange);
}
.front-footer .quick-links a {
  display: block;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}
.front-footer .logo-lockup img {
  max-width: 220px;
  margin-bottom: 20px;
}
.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
}
.newsletter-form input {
  flex: 1;
  border-radius: 30px;
  border: 1px solid #ccc;
  padding: 10px 18px;
}
.newsletter-form button {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: 700;
  white-space: nowrap;
}
.front-footer .savills-badge {
  max-width: 110px;
  margin-left: auto;
}
.front-footer hr {
  margin: 30px 0 20px;
}
.front-footer .legal-links a {
  color: #444;
  margin-right: 6px;
}

@media (max-width: 991px) {
  .stay-search-bar { flex-wrap: wrap; border-radius: 20px; }
  .stay-search-bar .search-field { flex: 1 1 45%; border-right: none; border-bottom: 1px solid #eee; padding: 10px 16px; }
  .stay-search-bar .btn-search { width: 100%; margin-top: 10px; border-radius: 20px; }
  .category-tabs ul { gap: 28px; }
  .full-service-banner .panel { padding: 40px 24px; }
}

@media (max-width: 767px) {
  .hero-copy h1 { font-size: 2rem; }
  .front-property-grid .col-md-4 { margin-bottom: 30px; }
  .front-footer .savills-badge { margin: 20px 0 0; }
}
