/**
 * Altman Barbados - base styling
 * Brand tokens below match the Altman Barbados design system.
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --brand: #1d2d8c;
  --brand-dark: #14206b;
  --brand-light: #1f8edb;
  --bs-primary: #1d2d8c;
  --text-dark: #222222;
  --text-white: #ffffff;
  --grey: #eeeeee;
  --light: #f9f9f9;
  --footer-head: #1b3942;
  --font-body: 'Roboto', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--text-white);
}

a {
  color: var(--brand);
}
a:hover {
  color: var(--brand-dark);
}

.btn-primary {
  background-color: var(--brand);
  border-color: var(--brand);
}
.btn-primary:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

/* ---------- Header / Navbar ---------- */
.navbar.bg-transparent {
  background: transparent;
  transition: background-color .25s ease;
}
.navbar.is-scrolled {
  background-color: var(--text-white) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.navbar .navbar-strike {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  margin: 5px 0;
}
.full-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero / homepage banner ---------- */
.property-page.home_page .hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.55) 100%);
}
.home_featured_category {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
  padding: 140px 20px 80px;
}
.home_featured_category .toptext {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .9rem;
}
.home_featured_category h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.property-category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}
.property-category-list li a {
  color: var(--text-white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.property-category-list img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

/* ---------- Property cards ---------- */
.container-property { }
.card.property-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}
.card .property-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.card .price {
  color: var(--brand);
  font-weight: 700;
}
.fac_icon {
  display: flex;
  gap: 1rem;
  color: #666;
}
.fac_icon svg {
  vertical-align: -4px;
  margin-right: 4px;
}

/* ---------- Search / filter bar ---------- */
.search-filters {
  background: var(--text-white);
  padding: 1.25rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.search-filters.no-container {
  margin: -60px auto 40px;
  position: relative;
  z-index: 5;
  max-width: 1100px;
}
.search-box .form-select,
.search-box .form-control {
  border-radius: 6px;
}
.submit_mobile_btn.filter-box {
  display: none;
}
@media (max-width: 767px) {
  .submit_mobile_btn.filter-box { display: block; margin-top: 20px; text-align: center; }
  .submit_destop_btn.filter-box { display: none; }
  .filtericon { display: none; }
}

/* ---------- Single property ---------- */
.property-tabs-nav {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--grey);
  margin-bottom: 1.5rem;
}
.property-tabs-nav .nav-link.active {
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
}
.mortgage-calculator-wrapper .form-item {
  margin-bottom: 1rem;
}
.mortgage-calculator-wrapper .field-suffix {
  margin-left: .35rem;
  color: #888;
}

/* ---------- Footer ---------- */
.luxe-footer {
  background: var(--footer-head);
  color: var(--text-white);
  padding-top: 3rem;
}
.luxe-footer .footer-title {
  color: var(--text-white);
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: 1px;
}
.luxe-footer .footer-links {
  list-style: none;
  padding: 0;
}
.luxe-footer .footer-links a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  line-height: 2.1;
}
.luxe-footer .footer-links a:hover {
  color: var(--text-white);
}
.footer-badges img {
  height: 40px;
  filter: grayscale(1) brightness(2);
}
.footer-logo {
  max-height: 60px;
}
