/* =========================================================
   home.css
   HOME PAGE SECTION STYLES ONLY.
   Requires header-footer.css to be loaded FIRST (it provides
   the design tokens, base styles, buttons, header and footer).
   Contains: hero, search bar, popular destinations, dual
   feature, stats, featured properties, management, experience,
   why-book-direct, reviews and blog.
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: auto;
  color: #fff;
  background-image:
    linear-gradient(100deg, rgba(8,28,46,.92) 18%, rgba(10,32,52,.55) 55%, rgba(10,30,50,.25) 100%),
    url("https://picsum.photos/seed/pr-villa-sunset/1600/900");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 6rem 0 3.5rem;
}
.hero h1 {font-weight: 400;font-size: clamp(2.4rem, 4.6vw, 3.5rem);line-height: 1.08;}
.hero .script { font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--orange); display:block; margin: .2rem 0 .6rem; }
.hero p.lead { color: rgba(255,255,255,.82); max-width: 430px; font-size: 1rem; }

/* ---------- Search bar ---------- */
.search-bar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 50px -20px rgba(8,24,40,.45);
  padding: .65rem .65rem .65rem 1rem;
}
.search-field {padding: 0;display: flex;align-items: center;gap: 8px;}
.search-field .lbl {font-size: .72rem;font-weight: 400;color: var(--ink);display:flex;align-items:center;gap:.4rem;}
.search-field .lbl i { color: var(--orange); }
.search-field .val { font-size: .8rem; color: var(--muted); }
.search-divider { width:1px; background: var(--line); align-self:stretch; margin:.3rem 0; }
.search-go {
  width: 46px; height: 46px; border-radius: 9px;
  background: var(--orange); color:#fff; border:none;
  display:grid; place-items:center; flex:none;
}
.search-go:hover { background: var(--orange-dark); }

/* ---------- Popular destination cards ---------- */
.dest-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  /* aspect-ratio: 3 / 4; */
  display: block;
  height: 200px;
}
.dest-card img {width:100%;height: 200px;object-fit: cover;transition: transform .5s ease;}
.dest-card::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(transparent 40%, rgba(7,22,38,.85));
}
.dest-card:hover img { transform: scale(1.07); }
.dest-card .cap {
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding: 1rem 1.1rem;
  display:flex; align-items:center; justify-content:space-between;
  color:#fff; font-weight:600;
}
.dest-card .cap i { transition: transform .2s ease; }
.dest-card:hover .cap i { transform: translateX(4px); }

/* ---------- Dual feature ---------- */
.feature-split { background: var(--navy); }
.feature-split .col-md-6{
  padding:0;
}
.feature-pane {
  position: relative;
  min-height: 320px;
  padding: 3rem 2.5rem;
  color:#fff;
  display:flex; flex-direction:column; justify-content:center;
  background-size: cover; background-position:center;
}
.feature-pane.guests {
  background-image: linear-gradient(120deg, rgba(8,26,44,.9), rgba(8,26,44,.45)), url("https://picsum.photos/seed/pr-terrace-night/800/600");
}
.feature-pane.owners {
  background-image: linear-gradient(120deg, rgba(60,38,20,.78), rgba(40,26,14,.45)), url("https://picsum.photos/seed/pr-interior-warm/800/600");
}
.feature-pane h2 {font-size: 1.9rem;/* font-weight: 600; */}
.feature-pane p { color: rgba(255,255,255,.82); max-width: 340px; }

/* ---------- Stats ---------- */
.stats-wrap {margin-top: -2.2rem;position: relative;z-index: 5;}
.stats-bar {
  background: var(--navy-deep);
  border-radius: 12px;
  padding: 1.6rem 1rem;
  box-shadow: 0 20px 40px -22px rgba(8,24,40,.55);
  border-radius: 8px;
  box-shadow: 0 0 1px #fff;
  padding: 15px 10px;
  max-width: 90%;
  margin: auto;
}
.stats-wrap .row{
  margin-top:0;
}
.stat{
  display:flex;
  align-items:center;
  gap: 8px;
  margin-top: 0;
  justify-content: center;
  border-right: 1px dotted #bdbaba;
}
.stat:last-child{
  border-right:0px solid;
}
.stat img{
  width: 30px;
}
.stat i { color: var(--orange); font-size: 1.4rem; }
.stat .num {font-family:'Playfair Display',serif;color:#fff;font-size:1.7rem;/* font-weight:700; */line-height:1;text-align: left;}
.stat .lbl {color: #fff;font-size: .78rem;margin-bottom: 0;}

/* ---------- Featured property cards ---------- */
.prop-card {
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  height:100%;
  position: relative;
}
.prop-card a{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
}
.prop-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -24px rgba(8,24,40,.4); }
.prop-media {position:relative;/* aspect-ratio: 16/11; */overflow:hidden;height: 150px;}
.prop-media img { width:100%; height:100%; object-fit:cover; }
.prop-badge {
  position:absolute; top:.7rem; left:.7rem;
  background: var(--navy-deep); color:#fff;
  font-size:.62rem; font-weight:700; letter-spacing:.08em;
  padding:.3rem .55rem; border-radius:5px; text-transform:uppercase;
}
.prop-arrow {
  position:absolute;
  bottom:.7rem;
  right:.7rem;
  width:30px;
  height:30px;
  border-radius:50%;
  background: transparent;
  color: #fff;
  display:grid;
  place-items:center;
  font-size: 16px;
}
.prop-body {padding: 10px;}
.prop-body h3 {font-size:1.05rem;font-weight:600;margin-bottom: 8px;}
.prop-loc {color: var(--muted);font-size:.8rem;margin-bottom: 0;}
.prop-meta { color: var(--muted); font-size:.78rem; display:flex; gap:.9rem; margin:.7rem 0; flex-wrap:wrap; }
.prop-meta i { color: var(--orange); margin-right:.25rem; }
.prop-price {color: var(--orange);font-weight:700;font-size: 15px;margin-bottom: 0;}
.prop-price span {color: var(--orange);font-weight: 700;font-size:.78rem;}
.prop-meta img{
  width: 15px !important;
  height: 15px !important;
  object-fit: contain;
}
.prop-meta span{
  display:flex;
  align-items:center;
  gap: 4px;
}
.carousel-dot {
  width:34px; height:34px; border-radius:50%;
  background: var(--navy-deep); color:#fff;
  display:grid; place-items:center; flex:none;
}
.carousel-dot.is-next { right: -18px; }

/* ---------- Management dark ---------- */
.manage { background: var(--navy); color:#fff; position:relative; overflow:hidden; }
.manage .row{
  margin-top:0;
  gap: 25px 0;
}
.manage .col-lg-4, .manage .col-lg-8{
   margin-top:0;
}
.manage h2 {font-size: 2rem;/* font-weight:600; */}
.manage p { color: rgba(255,255,255,.7); }
.svc {text-align:left;margin-top: 0;}
.svc-ico {
  width:46px; height:46px; border-radius:10px;
  border:1px solid rgba(232,118,58,.5);
  color: var(--orange); display:grid; place-items:center;
  font-size:1.2rem; margin-bottom:.7rem;
}
.svc-ico img{
  width:30px;
}
.svc h4 {font-family:'Inter',sans-serif;font-size:.92rem;font-weight:600;margin-bottom: 8px;}
.svc p { font-size:.78rem; color: rgba(255,255,255,.58); margin:0; }

/* ---------- Experience ---------- */
.exp-card {
  position:relative;
  border-radius:12px;
  overflow:hidden;
  /* aspect-ratio: 5/6; */
  display:block;
  height: 150px;
}
.exp-card img { width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.exp-card::after { content:""; position:absolute; inset:0; background: linear-gradient(transparent 35%, rgba(7,22,38,.8)); }
.exp-card:hover img { transform: scale(1.07); }
.exp-card .lab {position:absolute;left:0;right:0;bottom: 5px;z-index:2;padding: 0 .85rem;color:#fff;font-weight:600;font-size:.92rem;}
.exp-ico {
  position:absolute;
  bottom: 25px;
  left:.7rem;
  z-index:2;
  width: 30px;
  height: 30px;
  border-radius:50%;
  background: transparent;
  color:#fff;
  display: flex;
  place-items:center;
  font-size:.85rem;
  object-fit: contain;
  align-items: center;
}

/* ---------- Why book direct ---------- */
.benefit {display:flex;gap: 0.5rem;margin-bottom:1.4rem;}
.benefit .b-ico {
  width:38px;
  height:38px;
  border-radius:50%;
  border: 0px solid var(--orange);
  color: var(--orange);
  display:grid;
  place-items:center;
  flex:none;
  font-size:1rem;
}
.benefit img{
  width:30px;
}
.benefit h4 {font-family:'Inter',sans-serif;font-size:.95rem;font-weight:600;margin-bottom: 5px;color: var(--navy-deep);}
.benefit p { font-size:.82rem; color: var(--muted); margin:0; }

.book-card {
  border-radius: 8px;
  overflow:hidden;
  position:relative;
  min-height: 200px;
  display:flex;
  align-items:flex-end;
  color:#fff;
  padding: 0;
  background-image: url("https://picsum.photos/seed/pr-balcony-chair/800/600");
  background-size:cover;
  background-position:center;
  height: 320px !important;
}
.book-card h3 {font-size: 1.5rem;font-weight:600;}
.book-card div{
  position:absolute;
  top:0;
  right:0;
  width: 45%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #0a2236ed;
}
/* ---------- Reviews ---------- */
.review-card {
  background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:1.4rem; height:100%;
}
.stars {color: var(--orange);font-size:.82rem;margin-bottom:.7rem;display: flex;align-items: center;gap: 10px;}
.review-card p { font-size:.88rem; color: var(--ink); }
.review-card .who {font-weight:700;font-size:.85rem;margin-bottom: 0;}
.review-card .role { color: var(--muted); font-size:.76rem; }

/* ---------- Blog ---------- */
.blog-card { display:flex; gap:1rem; align-items:center; }
.blog-thumb { width:120px; height:90px; border-radius:10px; object-fit:cover; flex:none; }
.blog-cat {border-radius: 20px;font-size: 10px;font-weight: 500;letter-spacing: .02em;color: var(--ink);text-transform:uppercase;background: #fff;border: 1px solid var(--line);padding: 3px 5px;}
.blog-card h3 { font-size:1.05rem; font-weight:600; margin:.25rem 0 .4rem; line-height:1.25; }
.search-info {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 4px #00000033;
    padding: 20px 10px;
    max-width: 80%;
    margin: auto;
}
.search-info .col-3{
  width:22%;
  /* padding-left: 6px; */
  /* padding-right: 6px; */
  border-right: 1px dotted #bdbaba;
}
.search-info .row{
  align-items:center;
}
.search-info .col-3.form-btn{border-right: 0;border-right: 0px dotted;width: 12%;}
.search-info .field-icon img{
width: 25px;
}
.search-info label{
  font-size: 12px;
    font-weight: 500;
}
.search-info select, .search-info input{
  font-size: 12px;
    width: 100%;
    border: 0px solid;
    padding: 0;
}
.search-info .field-info {
    display: flex;
    flex-direction: column;
}
.search-btn {
    text-align: center;
}
.search-btn button.btn.btn-orange{
  width:45px;
  height:45px;
  padding:0;
  border-radius:100%;
}
section.search-sec {
    margin-top: -40px;
    position: relative;
}
/* ---------- Home responsive (hero + search) ---------- */
@media (max-width: 575.98px){
  .search-bar { border-radius: 14px; }
  .hero { padding: 7.5rem 0 4rem; min-height:auto; }
}

section#properties .owl-carousel .owl-nav button.owl-next, section#properties .owl-carousel .owl-nav button.owl-prev{
    width: 45px;
    height: 45px;
    background: var(--navy);
    border-radius: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    left: -20px;
}
section#properties .owl-carousel .owl-nav button.owl-next{
  left: auto;
  right: -20px;
}
section#properties .owl-carousel .owl-nav button.owl-next:hover, section#properties .owl-carousel .owl-nav button.owl-prev:hover{
 background: var(--navy-deep);
}