﻿/* ==========================================================================
   SkyWings hotel home page (HotelHome.aspx, new design Oct 2026)
   Based on the "Hotel page styles" section of the designer's newhome.css,
   adapted to the ASP.NET controls (AutoComplete, jQuery UI datepicker).
   ========================================================================== */

body {
  background: #fffaf6;
}

/* Header floats over the hero, as on the flight home page */
.sky-header {
  position: fixed;
  background: rgb(255 255 255 / 86%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: none;
}

.skywings-hotel-page {
  --sw-blue: #ff6a00;
  --sw-blue-dark: #203548;
  --sw-blue-light: #fff0e3;
  --sw-ink: #123957;
  --sw-muted: #6788a5;
  --sw-border: #ffd0ad;
  color: var(--sw-ink);
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  background: #fffaf6;
  overflow-x: clip;
}

.skywings-hotel-page * { box-sizing: border-box; }
.skywings-hotel-page a,
.skywings-hotel-page a:hover,
.skywings-hotel-page a:focus { text-decoration: none; }

.skywings-hotel-page .swh-container { width: min(1376px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- Hero ---------- */
.skywings-hotel-page .swh-hero {
  min-height: 494px;
  padding: 96px 0 34px;
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(0, 18, 28, 0.76) 0%, rgba(17, 45, 59, 0.58) 30%, rgba(255, 122, 0, 0.18) 100%),
    url("../images/home-v2/hotel-resort-banner.png");
  background-size: cover;
  background-position: center 54%;
}

.sky-header--agent ~ .skywings-hotel-page .swh-hero { padding-top: 128px; }

.skywings-hotel-page .swh-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 90px;
  background: linear-gradient(0deg, rgba(0,111,153,.16), transparent);
  pointer-events: none;
}
.skywings-hotel-page .swh-hero-content { position: relative; z-index: 1; }
.skywings-hotel-page .swh-eyebrow {
  margin: 0 0 6px; color: #ff7a00; font-family: "Satisfy", "Segoe Script", cursive;
  font-size: clamp(20px, 2vw, 29px); line-height: 1.25; font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,50,80,.15);
}
.skywings-hotel-page .swh-hero h1 {
  max-width: 650px; margin: 0; color: #fff; font-size: clamp(34px, 4vw, 50px);
  line-height: 1.02; letter-spacing: -.8px; font-weight: 800;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  text-shadow: 0 2px 14px rgba(0,55,80,.12);
}
.skywings-hotel-page .swh-intro {
  max-width: 520px; margin: 12px 0 18px; color: #fff;
  font-size: 16px; line-height: 1.55; font-weight: 500;
}

/* ---------- Search card ---------- */
.skywings-hotel-page .swh-search-card {
  position: relative; z-index: 2; padding: 17px 21px 14px;
  background: rgba(255,255,255,.97); border-radius: 18px;
  box-shadow: 0 10px 28px rgba(130,62,10,.14);
  border: 1px solid rgba(255,255,255,.9);
}
/* Flight / Hotel product tabs on top of the search card (same as Home.aspx) */
.skywings-hotel-page .swh-product-tabs {
  display: flex; gap: 6px; position: relative; z-index: 3;
}
.skywings-hotel-page .swh-product-tab,
.skywings-hotel-page .swh-product-tab:focus {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 14px 14px 0 0;
  background: rgba(255,255,255,.72); color: #4a6378;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 -4px 12px rgba(15,41,52,.06);
  transition: background .2s ease, color .2s ease;
}
.skywings-hotel-page .swh-product-tab i { color: #8aa2b5; transition: color .2s ease; }
.skywings-hotel-page .swh-product-tab:hover { background: rgba(255,255,255,.92); color: #0d587a; }
.skywings-hotel-page .swh-product-tab:hover i { color: #ff7a00; }
.skywings-hotel-page .swh-product-tab.active,
.skywings-hotel-page .swh-product-tab.active:hover {
  background: rgba(255,255,255,.97); color: #ff7a00; cursor: default;
}
.skywings-hotel-page .swh-product-tab.active i { color: #ff7a00; }
/* the active tab joins the card */
.skywings-hotel-page .swh-search-card.has-tabs { border-top-left-radius: 0; }

.skywings-hotel-page .swh-search-grid {
  display: grid; grid-template-columns: 1.35fr .9fr .9fr 1.2fr auto; gap: 16px;
  align-items: end;
}
.skywings-hotel-page .swh-field label {
  display: block; margin: 0 0 6px 4px; color: var(--sw-blue-dark);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.skywings-hotel-page .swh-control {
  display: flex; align-items: center; gap: 11px; min-width: 0; height: 42px;
  padding: 0 12px; border: 1px solid var(--sw-border); border-radius: 9px;
  background: #fff; color: var(--sw-blue-dark); box-shadow: 0 1px 2px rgba(130,62,10,.02);
}
.skywings-hotel-page .swh-control:focus-within { outline: 2px solid rgba(255,106,0,.18); border-color: var(--sw-blue); }
.skywings-hotel-page .swh-control .swh-icon { color: var(--sw-blue); font-size: 16px; line-height: 1; flex: 0 0 auto; width: 18px; text-align: center; }
.skywings-hotel-page .swh-control input,
.skywings-hotel-page .swh-control select {
  border: 0 !important; outline: 0; background: transparent; min-width: 0; width: 100%; height: 100%;
  color: var(--sw-blue-dark); font-size: 16px; box-shadow: none !important; padding: 0;font-weight:600
}
.skywings-hotel-page .swh-control input::placeholder { color: #7e9db8; opacity: 1; }
.skywings-hotel-page .swh-control select { cursor: pointer; }
.skywings-hotel-page .swh-control input[readonly] { cursor: pointer; }

/* Validation.js marks empty required fields with a red border on the input; show it on the box */
.skywings-hotel-page .swh-control:has(.data-validate-error) { border-color: #e53935; }

.skywings-hotel-page .swh-guest-summary {
  cursor: pointer; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden;
}
.skywings-hotel-page .swh-guest-summary span:last-child { overflow: hidden; text-overflow: ellipsis; }

.skywings-hotel-page .swh-search-button-wrap { position: relative; }
.skywings-hotel-page .swh-search-button-wrap > i {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 15px; pointer-events: none;
}
.skywings-hotel-page .swh-search-button {
  height: 44px; padding: 0 24px 0 44px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--sw-blue); color: #fff; font: inherit; font-size: 14px; font-weight: 700;
  white-space: nowrap; transition: transform .15s ease, background .15s ease;
}
.skywings-hotel-page .swh-search-button:hover { background: #e95d00;  }
.skywings-hotel-page .swh-search-button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.skywings-hotel-page .swh-disabled-note {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 9px;
  background: #fff3e7; color: #8a3d00; font-size: 13px; font-weight: 600;
}

/* ---------- Rooms ---------- */
.skywings-hotel-page #swh-room-list {
  display: flex; flex-direction: column; gap: 14px; margin-top: 14px;
}
.skywings-hotel-page .swh-room-item.swh-hidden { display: none; }
.skywings-hotel-page .swh-room-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 15px; margin: 0 0 10px; border-radius: 7px;
  color: var(--sw-blue); background: var(--sw-blue-light); font-size: 12px;
}
.skywings-hotel-page .swh-room-bar strong { font-size: 13px; }
.skywings-hotel-page .swh-room-bar span { text-align: right; }
.skywings-hotel-page .swh-remove-room {
  margin-left: auto; border: 1px solid rgba(255, 106, 0, 0.4); background: #fff; color: var(--sw-blue); border-radius: 8px;
  padding: 5px 10px; font-size: 11px; font-weight: 700; cursor: pointer;
}
.skywings-hotel-page .swh-remove-room:hover { background: #fff3e9; }
.skywings-hotel-page .swh-room-grid {
  display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 20px; max-width: 1060px;
}
.skywings-hotel-page .swh-ages { margin-top: 12px; max-width: 1060px; display: none; }
.skywings-hotel-page .swh-ages.is-visible { display: block; }
.skywings-hotel-page .swh-ages-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 140px)); gap: 12px; }
.skywings-hotel-page .swh-ages-grid .swh-control { display: none; }
.skywings-hotel-page .swh-ages-grid .swh-control.is-visible { display: flex; }
.skywings-hotel-page .swh-add-room {
  margin-top: 13px; padding: 7px 17px; border: 1px solid var(--sw-blue); border-radius: 11px;
  color: var(--sw-blue); background: #fff; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700;
}
.skywings-hotel-page .swh-add-room:hover { background: var(--sw-blue-light); }
.skywings-hotel-page .swh-add-room[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Destinations + benefits ---------- */
.skywings-hotel-page .swh-content { padding: 29px 0 34px; background: linear-gradient(180deg, #fffdfb, #fff5ec); }
.skywings-hotel-page .swh-section-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.skywings-hotel-page .swh-kicker { margin: 0 0 3px; color: var(--sw-blue); font-size: 14px; font-weight: 800; }
.skywings-hotel-page .swh-section-title { margin: 0; color: var(--sw-blue-dark); font-size: clamp(25px, 2.5vw, 31px); line-height: 1.15; font-weight: 800; }
.skywings-hotel-page .swh-section-subtitle { margin: 3px 0 0; color: var(--sw-blue); font-size: 15px; }
.skywings-hotel-page .swh-view-all { color: var(--sw-blue); font-size: 13px; font-weight: 600; white-space: nowrap; }
.skywings-hotel-page .swh-view-all:hover { text-decoration: underline; }
.skywings-hotel-page .swh-destination-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 15px; margin-top: 12px; }
.skywings-hotel-page .swh-destination {
  position: relative; display: block; min-height: 144px; border-radius: 9px; overflow: hidden; background: #c6eaf4;
  box-shadow: 0 3px 10px rgba(130,62,10,.08); isolation: isolate; cursor: pointer;
}
.skywings-hotel-page .swh-destination img {
  display: block; width: 100%; height: 144px; object-fit: cover; transition: transform .35s ease;
}
.skywings-hotel-page .swh-destination:hover img { transform: scale(1.05); }
.skywings-hotel-page .swh-destination::after {
  content: ""; position: absolute; z-index: 0; inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(0,38,63,.88));
}
.skywings-hotel-page .swh-destination-info {
  position: absolute; z-index: 1; left: 14px; right: 12px; bottom: 11px;
  display: flex; justify-content: space-between; align-items: end; gap: 8px; color: #fff;
}
.skywings-hotel-page .swh-destination-info strong { display: block; font-size: 15px; line-height: 1.15; }
.skywings-hotel-page .swh-destination-info small { display: block; margin-top: 4px; font-size: 11px; }
.skywings-hotel-page .swh-arrow {
  width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--sw-blue); font-size: 13px;
}
.skywings-hotel-page .swh-benefits {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0;
  margin: 24px -9px 0; padding: 17px 8px; border-radius: 12px; background: #fff0e3;
}
.skywings-hotel-page .swh-benefit {
  display: flex; align-items: center; gap: 17px; padding: 0 27px; min-width: 0;
  border-right: 1px solid #ffbd8d;
}
.skywings-hotel-page .swh-benefit:last-child { border-right: 0; }
.skywings-hotel-page .swh-benefit-icon {
  width: 67px; height: 67px; flex: 0 0 67px; display: grid; place-items: center;
  border-radius: 50%; background: #ffe0c6; color: var(--sw-blue); font-size: 26px;
}
.skywings-hotel-page .swh-benefit strong { display: block; color: var(--sw-blue); font-size: 14px; margin-bottom: 6px; }
.skywings-hotel-page .swh-benefit p { margin: 0; color: var(--sw-blue-dark); font-size: 12px; line-height: 1.5; }

/* ---------- AjaxToolkit autocomplete + jQuery UI datepicker ---------- */
.completionList {
  z-index: 3000 !important;
  background: #fff !important;
  border: 1px solid #ffd0ad !important;
  border-radius: 10px;
  box-shadow: 0 12px 22px rgba(130, 62, 10, 0.12);
  padding: 6px 0 !important;
  margin: 4px 0 0 !important;
  overflow-x: hidden;
}
.completionList .listItem,
.completionList .itemHighlighted {
  padding: 9px 14px !important;
  font-size: 13px;
  color: #203548;
  cursor: pointer;
}
.completionList .itemHighlighted {
  background: #fff3e7 !important;
  color: #e95d00 !important;
}
.ui-datepicker {
  z-index: 3000 !important;
  border: 1px solid #ffd0ad !important;
  border-radius: 12px;
  box-shadow: 0 14px 26px rgba(130, 62, 10, 0.14);
  padding: 8px;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
}
.ui-datepicker .ui-datepicker-header { background: #fff3e7; border: none; border-radius: 8px; color: #0f1a22; }
.ui-datepicker .ui-state-default { border-radius: 6px; text-align: center; }
.ui-datepicker .ui-state-hover,
.ui-datepicker .ui-state-highlight { background: #fff3e7; border-color: #ffc896; color: #0f1a22; }
.ui-datepicker .ui-state-active { background: #ff7a00; border-color: #ff7a00; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .skywings-hotel-page .swh-search-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .skywings-hotel-page .swh-search-button-wrap,
  .skywings-hotel-page .swh-search-button { width: 100%; }
  .skywings-hotel-page .swh-destination-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .skywings-hotel-page .swh-benefit { padding: 10px 17px; }
}
@media (max-width: 991px) {
  .sky-header--agent ~ .skywings-hotel-page .swh-hero { padding-top: 96px; }
}
@media (max-width: 680px) {
  .skywings-hotel-page .swh-container { width: min(100% - 28px, 560px); }
  .skywings-hotel-page .swh-hero { padding-top: 84px; min-height: auto; padding-bottom: 22px; background-position: 61% center; }
  .skywings-hotel-page .swh-intro { font-size: 14px; max-width: 420px; }
  .skywings-hotel-page .swh-search-card { padding: 15px 13px; border-radius: 14px; }
  .skywings-hotel-page .swh-search-grid { grid-template-columns: 1fr; gap: 11px; }
  .skywings-hotel-page .swh-room-grid { grid-template-columns: 1fr; gap: 11px; }
  .skywings-hotel-page .swh-ages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skywings-hotel-page .swh-room-bar { align-items: start; }
  .skywings-hotel-page .swh-room-bar span { max-width: 58%; }
  .skywings-hotel-page .swh-section-top { align-items: start; }
  .skywings-hotel-page .swh-destination-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
  .skywings-hotel-page .swh-destination, .skywings-hotel-page .swh-destination img { height: 150px; min-height: 150px; }
  .skywings-hotel-page .swh-benefits { grid-template-columns: 1fr; margin-inline: 0; padding: 6px 12px; }
  .skywings-hotel-page .swh-benefit { border-right: 0; border-bottom: 1px solid #ffbd8d; padding: 14px 4px; }
  .skywings-hotel-page .swh-benefit:last-child { border-bottom: 0; }
}
