/* ===== Home page — cloned from diamondseahotel.com ===== */

/* Banner slider (banner-slider) */
.banner { position: relative; height: calc(100vh - 82px); min-height: 560px; overflow: hidden; background: var(--navy); }
.banner-slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1s; }
.banner-slide.is-active { opacity: 1; }
.banner .slick-arrow { position: absolute; z-index: 1002; top: 50%; margin-top: -24px; width: 50px; height: 50px; border-radius: 50%; background: rgba(33, 33, 33, .3) center/auto 24px no-repeat; }
.banner .slick-prev { left: 24px; background-image: url(../images/icon-backslide.png); }
.banner .slick-next { right: 24px; background-image: url(../images/icon-nextslide.png); }
.banner .dots { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 1002; gap: 15px; }
.banner .dots button { width: 13px; height: 13px; border: 1px solid #fff; background: transparent; box-shadow: 0 2px 3px rgba(0, 0, 0, .1); }
.banner .dots button.is-active { background: var(--gold); border-color: var(--gold); }
.banner-content { position: absolute; inset: 0; z-index: 1000; pointer-events: none; }
.banner-content .port { display: flex; justify-content: flex-end; padding-top: 140px; }

/* Exely search form clone (sfl-container) */
.book-box { pointer-events: auto; width: 570px; padding: 20px; border-radius: 5px; background: var(--navy); opacity: .8; font-family: "Open Sans", Arial, sans-serif; color: #fff; }
.sfl { min-height: 333px; padding-top: 24px; }
.sfl-title { font-size: 21px; line-height: 24px; }
.sfl-sub { margin-top: 6px; font-size: 12px; line-height: 15px; color: rgba(255, 255, 255, .8); }
.sfl-grid { margin-top: 18px; display: grid; grid-template-columns: 255px 255px; column-gap: 18px; row-gap: 18px; }
.sfl-field { position: relative; display: block; height: 42px; background: #fff; box-shadow: 0 0 0 1px rgba(115, 115, 115, .27); }
.sfl-field > span { position: absolute; left: 12px; top: 2px; font: 400 12px/18px Verdana, var(--sans); color: #575757; }
.sfl-field select, .sfl-field output { display: block; width: 100%; height: 42px; border: 0; outline: 0; padding: 12px 30px 0 12px; background: transparent; font: 700 13.5px/30px Verdana, var(--sans); color: #163c78; appearance: none; -webkit-appearance: none; }
.sfl-native { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sfl-field input::-webkit-calendar-picker-indicator { position: absolute; right: 6px; top: 9px; width: 24px; height: 24px; opacity: 0; cursor: pointer; }
.sfl-field i { position: absolute; right: 6px; top: 9px; width: 24px; height: 24px; opacity: .73; pointer-events: none; }
.sfl-field i svg { width: 24px; height: 24px; fill: #b2967b; }
.sfl-promo { display: flex; align-items: center; justify-content: center; height: 42px; padding: 6px; background: rgba(255, 255, 255, .15); color: #fff; font-size: 12px; line-height: 15px; }
.sfl-promo-input { height: 42px; padding: 0 12px; border: 0; outline: 0; background: #fff; font: 700 13.5px Verdana, var(--sans); color: #163c78; }
.sfl-submit { grid-column: 1 / -1; height: 42px; background: linear-gradient(0deg, #b2967b, #b2967b); color: #fff; font-size: 13.5px; font-weight: 700; text-transform: uppercase; }
.sfl-submit:hover { filter: brightness(1.08); }
.sfl-auth { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 9px; height: 42px; background: rgba(255, 255, 255, .15); color: #fff; font-size: 13.5px; }
.sfl-auth svg { width: 18px; height: 18px; fill: #fff; }

/* Intro + contact (bt_section…) */
.intro { padding: 20px 0; }
.intro-row { display: grid; grid-template-columns: 373px 767px; gap: 20px; }
.intro-card { display: flex; flex-direction: column; justify-content: flex-start; min-height: 511px; padding: 60px 30px 40px; background: #e5e5e5; }
.intro-card .headline { margin-top: 23px; }
.intro-card .dash::after { margin: 21px 0 16px; }
.intro-card p { font: 400 16px/20.8px var(--serif); color: var(--text); margin-bottom: 20px; }
.intro-card .btns { display: flex; flex-wrap: wrap; gap: 14px; }
.intro-slider { position: relative; height: 511px; overflow: hidden; background: var(--navy); }
.intro-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.intro-slider img.is-active { opacity: 1; }
.intro-slider .arrow { bottom: 20px; }
.intro-slider .arrow--prev { right: 80px; }
.intro-slider .arrow--next { right: 20px; }
.contact-row { margin-top: 20px; display: grid; grid-template-columns: 767px 373px; gap: 20px; }
.map, .map iframe { display: block; width: 100%; height: 400px; border: 0; background: #e5e5e5; }
.contact-card { display: flex; flex-direction: column; justify-content: center; gap: 30px; min-height: 400px; padding: 20px 30px; background: #e5e5e5; }
.c-item { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; }
.c-item i { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.c-item svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.c-item h3 { margin-top: 4px; font: 400 20px/26px var(--serif); color: var(--navy); }
.c-item p, .c-item a { display: block; margin-top: 10px; font: 400 16px/20.8px var(--sans); color: var(--text); }
.c-item a + a { margin-top: 0; }
.c-item a:hover { color: var(--gold); }

/* Post cards (btSingleLatestPost) — Featured packages + News */
.posts-sec { padding: 20px 0; }
.posts-sec .dash::after { margin-bottom: 0; }
.carousel { position: relative; margin-top: 33px; }
.carousel-view { overflow: hidden; }
.carousel-track { display: flex; gap: 20px; transition: transform .5s ease; }
.carousel-track > * { flex: 0 0 calc((100% - 40px) / 3); }
.carousel .arrow { top: 99px; }
.carousel .arrow--prev { left: 10px; }
.carousel .arrow--next { right: 10px; }
.carousel + .dots { margin-top: 20px; }
.post { display: flex; flex-direction: column; background: rgba(0, 0, 0, .07); }
.post-img { position: relative; display: block; height: 249px; overflow: hidden; background: var(--navy); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-img::after { content: ""; position: absolute; inset: 0; background: var(--gold); opacity: 0; transition: opacity .3s; }
.post:hover .post-img::after { opacity: .3; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.post-title { min-height: 52px; font: 500 21px/25.2px var(--serif); color: var(--gold); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-btns { display: flex; gap: 16px; margin: 10px 0 0 -2px; }

/* News cards */
.news-sec { padding: 40px 0 50px; }
.post-date { display: flex; align-items: center; gap: 8px; font: 700 13px/20.8px var(--lato); letter-spacing: 3px; color: var(--text); }
.post-date svg { width: 13px; height: 13px; fill: #555; flex: none; }
.post-date::after { content: ""; flex: 1; height: 1px; background: var(--text); margin-left: 4px; }
.news-title { margin-top: 8px; font: 500 18px/21.6px var(--serif); color: var(--gold); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-title a:hover { color: var(--navy); }
.news-text { margin-top: 10px; font: 400 16px/20.8px var(--sans); color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Featured services */
.svc-head { padding-top: 40px; background: #f8f9fa; }
.svc-head .port { width: min(1180px, 100% - 40px); padding-bottom: 30px; }
.svc-head .sub-title { margin-top: 16px; }
.svc-tiles { display: grid; grid-template-columns: repeat(4, 346.5px); margin-left: -10px; background: #f8f9fa; overflow: hidden; width: calc(100% + 10px); }
.tile { position: relative; height: 231px; overflow: hidden; color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 20px; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); transition: opacity .3s; }
.tile-label { display: flex; align-items: center; font: 700 13px/20.8px var(--lato); letter-spacing: 3px; }
.tile-label::after { content: ""; width: 70px; height: 1px; margin-left: 10px; background: #fff; }
.tile-title { display: block; min-height: 45px; font: 400 20px/26px var(--serif); }
.tile-hover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 20px; background: var(--gold); opacity: 0; transition: opacity .3s; }
.tile:hover .tile-hover { opacity: .92; }
.tile:hover .tile-cap { opacity: 0; }

/* Rooms & suites -> stay packages (3 + 2 + 2) */
.rooms { padding: 40px 0 23px; }
.rooms-grid { margin-top: 33px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 23px 20px; }
.room { grid-column: span 2; display: flex; flex-direction: column; background: #fcfcfc; }
.room.is-wide { grid-column: span 3; }
.room-img { display: block; height: 249px; background: var(--navy); overflow: hidden; }
.room.is-wide .room-img { height: 380px; }
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 12px 20px 13px; display: flex; flex-direction: column; flex: 1; }
.room-title { font: 400 20px/26px var(--serif); color: var(--navy); }
.room-title a:hover { color: var(--gold); }
.room-text { margin-top: 7px; height: 45px; font: 400 15px/20.8px var(--serif); color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.room-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; gap: 20px; }
.room-foot .btn { margin-bottom: 0; }
.price-from { display: block; font: 700 12px/20.8px var(--lato); letter-spacing: 3px; color: var(--text); }
.price { display: block; font: 500 20px/26px var(--serif); color: var(--gold); padding-bottom: 6px; }

/* Package detail modal (opened by "View details") */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: min(880px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; display: grid; grid-template-columns: 1fr 1fr; }
.modal-img { min-height: 300px; background: var(--navy) center/cover; }
.modal-body { padding: 30px; }
.modal-body .post-date::after { display: none; }
.modal-body .room-title { font-size: 26px; line-height: 1.2; margin: 6px 0 10px; }
.modal-body .sub-title { margin-bottom: 14px; }
.modal-list { list-style: disc; padding-left: 20px; margin: 10px 0 16px; font: 400 15px/24px var(--sans); }
.modal-note { font: 400 13px/18px var(--sans); color: #777; margin: 6px 0 20px; }
.modal-close { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 24px; line-height: 36px; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .intro-row { grid-template-columns: 1fr 2fr; }
  .contact-row { grid-template-columns: 2fr 1fr; }
  .svc-tiles { grid-template-columns: repeat(4, 1fr); margin-left: 0; width: 100%; }
}
@media (max-width: 991px) {
  .banner { height: 600px; min-height: 0; margin-top: 100px; }
  .banner .slick-arrow { display: none; }
  .banner-content .port { padding-top: 20px; }
  .book-box { width: 360px; }
  .sfl-grid { grid-template-columns: 1fr; row-gap: 12px; }
  .intro-row, .contact-row { grid-template-columns: 1fr; }
  .intro-card { min-height: 0; }
  .intro-slider { height: auto; aspect-ratio: 3 / 2; }
  .contact-card { min-height: 0; padding: 30px; }
  .map, .map iframe { height: 300px; }
  .carousel-track > * { flex-basis: calc((100% - 20px) / 2); }
  .svc-tiles { grid-template-columns: 1fr 1fr; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .room, .room.is-wide { grid-column: auto; }
  .room.is-wide .room-img { height: 249px; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-img { min-height: 220px; }
}
@media (max-width: 600px) {
  .banner { height: auto; }
  .banner-slide { bottom: auto; height: 100%; }
  .banner-content { position: relative; }
  .banner-content .port { padding: 30px 0 60px; justify-content: center; }
  .book-box { width: 100%; }
  .carousel-track > * { flex-basis: 100%; }
  .svc-tiles, .rooms-grid { grid-template-columns: 1fr; }
  .tile { height: 240px; }
  .room-foot { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .modal-body { padding: 24px 20px; }
}

.contact-row > *, .intro-row > * { min-width: 0; }

.modal-desc { margin: -4px 0 16px; font: 400 15px/22px var(--sans); color: #444; }
.map-open { align-self: flex-start; }
