/* =========================================================
   DLG HOTEL DANANG - SPECIAL DETAIL PAGE
   Scoped CSS only for special-detail.html
   Template: banner/text fixed, change only offer image + content
   Based on dining page width, typography and banner treatment
========================================================= */

.special-detail-page {
  --special-green: #0b6f78;
  --special-dark: #07545c;
  --special-gold: #bc955c;
  --special-text: #283638;
  --special-muted: #687476;
  --special-soft: #f4f7f7;
  --special-line: rgba(11, 111, 120, 0.22);
  --special-container: 1280px;
  --special-gutter: 64px;

  width: 100%;
  overflow: hidden;
  background: var(--special-soft);
  color: var(--special-text);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.special-detail-page *,
.special-detail-page *::before,
.special-detail-page *::after {
  box-sizing: border-box;
}


/* =========================================================
   BANNER - same mood/proportion as dining / room detail
========================================================= */

.special-detail-hero {
  position: relative;
  width: 100%;
  height: clamp(430px, 52.5vw, 610px);
  overflow: hidden;
  margin: 0;
  background: #111;
}

.special-detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: none;
}

.special-detail-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.15)),
    linear-gradient(to top, rgba(8, 95, 105, 0.52), rgba(8, 95, 105, 0.10) 47%, rgba(0, 0, 0, 0.06)),
    linear-gradient(to right, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.02) 45%, rgba(0, 0, 0, 0.10));
}

.special-detail-hero-content {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 77%;
  width: min(980px, calc(100% - 64px));
  height: auto;
  padding: 0;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.special-detail-hero-content span {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}

.special-detail-hero-content h1 {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.1vw, 46px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.018em;
  text-align: center;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}


/* =========================================================
   DETAIL LAYOUT
========================================================= */

.special-detail-section {
  padding: 68px 0 118px;
  background: var(--special-soft);
}

.special-detail-container {
  width: min(var(--special-container), calc(100% - var(--special-gutter) * 2));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(300px, 420px);
  align-items: start;
  justify-content: center;
  gap: clamp(48px, 5vw, 68px);
}

.special-detail-main {
  min-width: 0;
}

.special-detail-image {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  overflow: hidden;
  background: #fff;
}

.special-detail-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 330px;
  object-fit: cover;
}

.special-detail-content {
  max-width: 730px;
}

.special-detail-label {
  display: block;
  margin-bottom: 10px;
  color: var(--special-gold);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.special-detail-content h2 {
  margin: 0 0 14px;
  color: var(--special-green);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.special-detail-content p {
  margin: 0 0 18px;
  color: var(--special-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
}

.special-detail-offers {
  margin-top: 28px;
}

.special-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 22px;
}

.special-detail-gallery .special-detail-image {
  margin: 0;
}

.special-detail-gallery .special-detail-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
}

.special-detail-list {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--special-text);
  font-size: 14px;
  line-height: 1.75;
}

.special-detail-list li {
  margin-bottom: 4px;
}

.special-detail-offers h3 {
  margin: 0 0 18px;
  color: var(--special-green);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.special-detail-offer-block {
  margin: 0 0 22px;
}

.special-detail-offer-block:last-child {
  margin-bottom: 0;
}

.special-detail-offer-block h4 {
  margin: 0 0 3px;
  color: var(--special-green);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.36;
  text-transform: uppercase;
}

.special-detail-offer-block p {
  margin: 0;
  color: var(--special-text);
  font-size: 14px;
  line-height: 1.52;
}


/* =========================================================
   RESERVE CARD
========================================================= */

.special-detail-reserve {
  position: sticky;
  top: 118px;
  width: 100%;
  min-height: 430px;
  padding: 34px 36px 34px;
  border: 1px solid rgba(11, 111, 120, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.58);
  color: var(--special-text);
  box-shadow: 0 18px 46px rgba(33, 64, 72, 0.055);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.reserve-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--special-gold);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.special-detail-reserve h3 {
  margin: 0 0 4px;
  color: var(--special-green);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.special-detail-reserve > strong {
  display: block;
  margin: 0 0 26px;
  color: var(--special-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reserve-group {
  margin: 0 0 25px;
}

.reserve-group h4 {
  margin: 0 0 10px;
  color: var(--special-green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reserve-group p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: var(--special-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
}

.reserve-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  color: rgba(188, 149, 92, 0.86);
  line-height: 1;
}

.reserve-icon svg,
svg.reserve-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  margin-top: 4px;
  color: rgba(188, 149, 92, 0.86);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reserve-icon svg {
  margin-top: 0;
}

.reserve-group a {
  color: var(--special-muted);
  text-decoration: none;
  transition: color 0.28s ease;
}

.reserve-group a:hover {
  color: var(--special-green);
}

.reserve-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin-top: 2px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--special-green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.32s ease, transform 0.32s ease;
}

.reserve-button i {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.32s ease;
}

.reserve-button i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.reserve-button:hover {
  background: var(--special-dark);
  transform: translateY(-2px);
}

.reserve-button:hover i {
  width: 26px;
}


/* =========================================================
   SMOOTH FADE-IN ON SCROLL
========================================================= */

.special-detail-page .fadein-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 0.72, 0.22, 1),
    transform 0.95s cubic-bezier(0.22, 0.72, 0.22, 1);
  transition-delay: var(--fade-delay, 0ms);
  will-change: opacity, transform;
}

.special-detail-page .fadein-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .special-detail-page .fadein-up,
  .reserve-button,
  .reserve-button i,
  .reserve-group a {
    transition: none !important;
  }

  .special-detail-page .fadein-up {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .special-detail-page {
    --special-container: 1120px;
    --special-gutter: 40px;
  }

  .special-detail-container {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
  }

  .special-detail-reserve {
    padding: 31px 30px;
  }
}

@media (max-width: 980px) {
  .special-detail-page {
    --special-gutter: 32px;
  }

  .special-detail-section {
    padding: 58px 0 88px;
  }

  .special-detail-container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .special-detail-content {
    max-width: 760px;
  }

  .special-detail-reserve {
    position: relative;
    top: auto;
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .special-detail-page {
    --special-gutter: 20px;
  }

  .special-detail-hero {
    height: 390px;
  }

  .special-detail-hero-content {
    top: 72%;
    width: calc(100% - 44px);
  }

  .special-detail-hero-content span {
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.18em;
  }

  .special-detail-hero-content h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  .special-detail-section {
    padding: 44px 0 72px;
  }

  .special-detail-image {
    margin-bottom: 20px;
  }

  .special-detail-image img {
    min-height: 230px;
  }

  .special-detail-content h2 {
    font-size: 25px;
    line-height: 1.18;
  }

  .special-detail-content p,
  .special-detail-offer-block p,
  .special-detail-list {
    font-size: 14px;
    line-height: 1.72;
  }

  .special-detail-gallery {
    grid-template-columns: 1fr;
  }

  .special-detail-gallery .special-detail-image img {
    min-height: 230px;
  }

  .special-detail-offers h3,
  .special-detail-offer-block h4 {
    font-size: 13px;
  }

  .special-detail-reserve {
    padding: 30px 24px;
  }

  .special-detail-reserve h3 {
    font-size: 27px;
  }

  .reserve-button {
    min-height: 50px;
    font-size: 11px;
    letter-spacing: 0.15em;
  }
}
