/*
  Homestay Selesa — extends TemplateMo 587 Tiya Golf Club
*/

.hero-section {
  background-image: linear-gradient(rgba(61, 64, 91, 0.62), rgba(61, 64, 91, 0.62)),
    url('../../gallery/1. Outdoor/IMG_0251.JPG');
  background-size: cover;
  background-position: center;
}

.hero-intro {
  opacity: 0.95;
  max-width: 32rem;
}

.hero-video {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.25);
  background: #000;
}

.hero-video iframe {
  border: 0;
}

.banner-section {
  background: var(--white-color);
}

.banner-img {
  border-radius: var(--border-radius-medium);
  box-shadow: 0 1rem 2.5rem rgba(61, 64, 91, 0.12);
  width: 100%;
  height: auto;
  animation: banner-float 4.5s ease-in-out infinite;
  will-change: transform;
}

.banner-link:hover .banner-img {
  opacity: 0.96;
  animation-play-state: paused;
}

@keyframes banner-float {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 1rem 2.5rem rgba(61, 64, 91, 0.12);
  }
  50% {
    transform: translateY(-12px);
    box-shadow: 0 1.6rem 3rem rgba(61, 64, 91, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-img {
    animation: none;
  }
}

.about-photo {
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgba(61, 64, 91, 0.12);
  background: var(--section-bg-color);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-block {
  position: relative;
}

.map-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.map-nav-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: min(100%, 240px);
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid rgba(61, 64, 91, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: var(--secondary-color);
  box-shadow: 0 8px 24px rgba(61, 64, 91, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.map-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(61, 64, 91, 0.14);
  border-color: rgba(61, 64, 91, 0.18);
  color: var(--secondary-color);
}

.map-nav-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.map-nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-nav-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
  flex-grow: 1;
}

.map-nav-copy strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.map-nav-copy small {
  color: var(--p-color);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.map-nav-arrow {
  color: var(--p-color);
  font-size: 0.95rem;
  opacity: 0.7;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.map-nav-card:hover .map-nav-arrow {
  transform: translate(2px, -2px);
  opacity: 1;
  color: var(--secondary-color);
}

.map-nav--overlay {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 560px;
  z-index: 3;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(61, 64, 91, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.map-nav--overlay .map-nav-card {
  flex: 1 1 180px;
  min-width: 0;
  box-shadow: none;
  background: transparent;
  border-color: transparent;
  padding: 0.55rem 0.7rem;
}

.map-nav--overlay .map-nav-card:hover {
  background: rgba(244, 241, 222, 0.65);
  box-shadow: none;
}

.map-nav--inline {
  justify-content: flex-start;
}

.map-nav--compact {
  justify-content: flex-start;
  gap: 0.65rem;
}

.map-nav--compact .map-nav-card {
  min-width: 0;
  flex: 1 1 140px;
  padding: 0.6rem 0.75rem;
  gap: 0.65rem;
}

.map-nav--compact .map-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.map-nav--compact .map-nav-copy strong {
  font-size: 0.88rem;
}

.map-nav--compact .map-nav-copy small {
  font-size: 0.72rem;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--section-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.pricing-card {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 2rem;
  height: 100%;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 2px solid var(--custom-btn-bg-color);
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: var(--font-weight-bold);
  color: var(--secondary-color);
}

.pricing-price small {
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  color: var(--p-color);
}

.workflow-step {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.75rem;
}

.workflow-step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.gallery-filter-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid var(--custom-btn-bg-color);
  background: transparent;
  color: var(--secondary-color);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  z-index: 6;
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-filter-btn:hover {
  background: rgba(242, 204, 143, 0.28);
  color: var(--secondary-color);
}

.gallery-filter-btn.active {
  background: var(--custom-btn-bg-color);
  border-color: var(--custom-btn-bg-color);
  color: var(--secondary-color);
  box-shadow: 0 8px 20px rgba(242, 204, 143, 0.4);
}

.gallery-filter-btn:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.gallery-item {
  border-radius: var(--border-radius-small);
  overflow: hidden;
  margin-bottom: 1.5rem;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--section-bg-color);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Lightbox gallery navigation */
.lightbox-body {
  padding: 0.5rem !important;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
}

.lightbox-stage {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-stage img {
  max-height: min(78vh, 900px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(61, 64, 91, 0.82);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--custom-btn-bg-color);
  color: var(--secondary-color);
}

.lightbox-prev {
  left: 0.65rem;
}

.lightbox-next {
  right: 0.65rem;
}

.lightbox-meta {
  margin-top: 0.65rem;
}

.lightbox-counter {
  display: inline-block;
  color: #fff;
  background: rgba(61, 64, 91, 0.75);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

@media screen and (max-width: 575px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }

  .lightbox-prev {
    left: 0.25rem;
  }

  .lightbox-next {
    right: 0.25rem;
  }

  .lightbox-stage img {
    max-height: 70vh;
  }
}

.gallery-title-section {
  padding-top: 110px;
  padding-bottom: 0;
  background: var(--section-bg-color);
}

.gallery-page-title {
  color: #111111;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gallery-page-lead {
  color: var(--p-color);
  font-size: 0.95rem;
}

.gallery-page {
  padding-top: 1.5rem;
  position: relative;
  z-index: 2;
  background: var(--white-color);
}

/* Tiya-style section transition waves */
.has-section-wave {
  position: relative;
  padding-bottom: 0 !important;
}

.has-section-wave > .container {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-wave {
  display: block;
  line-height: 0;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: clamp(56px, 10vw, 110px);
}

/* Absolute sticky wrapper can block clicks on content below — only nav itself receives events */
.sticky-wrapper {
  pointer-events: none;
}

.sticky-wrapper .navbar {
  pointer-events: auto;
}

/* Gallery has no dark hero — keep navbar in sticky (dark) style */
.page-gallery .sticky-wrapper .navbar,
.page-gallery .navbar {
  background-color: rgb(61 64 91);
}

.location-list {
  padding-left: 0;
  list-style: none;
}

.location-list li {
  margin-bottom: 0.5rem;
}

.terms-accordion .accordion-item {
  border: 1px solid rgba(61, 64, 91, 0.1);
  margin-bottom: 0.65rem;
  border-radius: var(--border-radius-small);
  overflow: hidden;
}

.terms-accordion .accordion-button:not(.collapsed) {
  background-color: var(--section-bg-color);
  color: var(--secondary-color);
  box-shadow: none;
}

.terms-accordion .accordion-button:focus {
  box-shadow: none;
}

.contact-card {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  padding: 1.75rem;
  height: 100%;
}

.booking-questions {
  background: var(--secondary-color);
  color: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 2rem;
  height: 100%;
}

.booking-questions ol {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.booking-questions li {
  margin-bottom: 0.75rem;
}

.qr-code-img {
  max-width: 200px;
  border-radius: var(--border-radius-small);
}

.navbar-brand-text small {
  font-size: 0.65em;
}

.brand-logo {
  width: 48px;
  height: 48px;
  max-height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #1E6BFF;
  /* Theme turns brand images white — keep our color logo */
  filter: none !important;
}

.navbar .navbar-brand-image.brand-logo {
  filter: none !important;
}

.site-footer .brand-logo {
  border-color: rgba(255, 255, 255, 0.35);
  /* Keep colored HS mark visible on navy footer (invert washes it out) */
  filter: none !important;
}

/* YouTube lite — no iframe until click */
.yt-lite {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  background: #1a1a1a center / cover no-repeat;
  cursor: pointer;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.12);
}

.yt-lite::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(61, 64, 91, 0.28);
  transition: background 0.2s ease;
}

.yt-lite:hover::after {
  background: rgba(61, 64, 91, 0.18);
}

.yt-lite-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: var(--custom-btn-bg-color);
  color: var(--secondary-color);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.yt-lite:hover .yt-lite-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--custom-btn-bg-hover-color);
  color: #fff;
}

.yt-lite iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

.yt-lite.is-playing {
  cursor: default;
}

.yt-lite.is-playing::after,
.yt-lite.is-playing .yt-lite-play {
  display: none;
}

/* Floating action buttons — scroll top + WhatsApp */
.floating-scroll-top,
.floating-whatsapp {
  position: fixed;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(61, 64, 91, 0.28);
  transition: transform 0.2s ease, opacity 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.floating-whatsapp {
  bottom: 24px;
  background: #25d366;
  animation: wa-bounce 2.4s ease-in-out infinite;
}

.floating-whatsapp:hover {
  color: #fff;
  animation: none;
  transform: scale(1.1);
}

.floating-scroll-top {
  bottom: 96px;
  background: var(--secondary-color);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

.floating-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-scroll-top:hover {
  color: #fff;
  background: var(--primary-color);
  transform: scale(1.08);
}

@keyframes wa-bounce {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  }
}

/* Scroll reveal — varied motions (assigned in JS / by modifier class) */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(0);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

/* Keep YouTube embeds out of transformed/composited ancestors */
.js .reveal.reveal-playing,
.js .reveal:has(.yt-lite.is-playing),
.js .reveal:has(.hero-video iframe) {
  transform: none !important;
  filter: none !important;
  will-change: auto !important;
}

.js .reveal-up {
  transform: translateY(40px);
}

.js .reveal-down {
  transform: translateY(-28px);
}

.js .reveal-left {
  transform: translateX(-48px);
}

.js .reveal-right {
  transform: translateX(48px);
}

.js .reveal-scale {
  transform: scale(0.92);
}

.js .reveal-fade {
  transform: none;
}

.js .reveal-zoom {
  transform: scale(0.88) translateY(24px);
}

.js .reveal-soft {
  transform: translateY(20px);
  filter: blur(4px);
}

.js .reveal.is-visible.reveal-up,
.js .reveal.is-visible.reveal-down,
.js .reveal.is-visible.reveal-left,
.js .reveal.is-visible.reveal-right,
.js .reveal.is-visible.reveal-scale,
.js .reveal.is-visible.reveal-fade,
.js .reveal.is-visible.reveal-zoom,
.js .reveal.is-visible.reveal-soft {
  transform: none;
  filter: none;
}

/* Card / feature / gallery stagger helpers */
.js .reveal-stagger-1 { --reveal-delay: 0ms; }
.js .reveal-stagger-2 { --reveal-delay: 90ms; }
.js .reveal-stagger-3 { --reveal-delay: 180ms; }
.js .reveal-stagger-4 { --reveal-delay: 270ms; }
.js .reveal-stagger-5 { --reveal-delay: 360ms; }
.js .reveal-stagger-6 { --reveal-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Footer — navy band + green wave (Tiya-style) */
.site-footer {
  position: relative;
  padding-top: 4.5rem;
  /* Enough room for green wave at all desktop widths */
  padding-bottom: clamp(180px, 22vw, 280px);
  background: var(--secondary-color);
  overflow: hidden;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.site-footer .navbar-brand {
  max-width: none;
  width: auto;
  overflow: visible;
}

.site-footer .navbar-brand-text,
.site-footer .navbar-brand-text small {
  color: var(--white-color) !important;
}

.site-footer .brand-logo {
  display: block;
  flex-shrink: 0;
  filter: none !important;
  -webkit-filter: none !important;
}

.site-footer .footer-text,
.site-footer .footer-contact,
.site-footer .copyright-text {
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.7;
}

.site-footer .footer-text {
  max-width: 26rem;
}

.site-footer .site-footer-title {
  color: var(--white-color) !important;
  font-weight: 700;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  color: var(--custom-btn-bg-color);
}

.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
}

.site-footer .footer-contact span {
  color: var(--custom-btn-bg-color);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-footer .copyright-text {
  font-size: 0.9rem;
}

.site-footer .footer-credit {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.site-footer .footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 400;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 204, 143, 0.28);
  transition: color 0.2s ease, background 0.2s ease;
  animation: credit-glow 2.4s ease-in-out infinite;
}

.site-footer .footer-credit-link:hover {
  color: #fff !important;
  background: rgba(242, 204, 143, 0.18);
  animation: none;
  box-shadow: 0 0 18px rgba(242, 204, 143, 0.55);
}

.site-footer .footer-credit-link strong {
  font-weight: 700;
  color: var(--custom-btn-bg-color);
}

.site-footer .footer-credit-logo {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  opacity: 1;
  animation: credit-logo-pulse 2.4s ease-in-out infinite;
}

@keyframes credit-glow {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(242, 204, 143, 0.25),
      0 0 14px rgba(242, 204, 143, 0.12);
    border-color: rgba(242, 204, 143, 0.35);
  }
  50% {
    box-shadow:
      0 0 12px rgba(242, 204, 143, 0.7),
      0 0 28px rgba(242, 204, 143, 0.35),
      0 0 40px rgba(224, 122, 95, 0.2);
    border-color: rgba(242, 204, 143, 0.85);
  }
}

@keyframes credit-logo-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(242, 204, 143, 0.3));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(242, 204, 143, 0.85));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-credit-link,
  .site-footer .footer-credit-logo {
    animation: none;
  }
}

.site-footer .social-icon {
  margin-top: 0.25rem;
}

.site-footer .social-icon-link {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white-color);
}

.site-footer .social-icon-link:hover {
  background: var(--custom-btn-bg-color);
  color: var(--secondary-color);
}

.site-footer .custom-btn {
  margin-top: 0.25rem;
}

.site-footer > svg {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: clamp(120px, 18vw, 220px);
  display: block;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}

/* Global mobile type scale — overrides theme CSS variables site-wide */
@media screen and (max-width: 991px) {
  :root {
    --h1-font-size: 34px;
    --h2-font-size: 28px;
    --h3-font-size: 22px;
    --h4-font-size: 19px;
    --h5-font-size: 17px;
    --h6-font-size: 16px;
    --p-font-size: 15px;
    --menu-font-size: 14px;
    --btn-font-size: 13px;
  }

  body {
    font-size: var(--p-font-size);
  }

  /* Beat theme’s hardcoded mobile px sizes so variables apply everywhere */
  h1 { font-size: var(--h1-font-size); line-height: 1.25; }
  h2 { font-size: var(--h2-font-size); line-height: 1.25; }
  h3 { font-size: var(--h3-font-size); }
  h4 { font-size: var(--h4-font-size); }
  h5 { font-size: var(--h5-font-size); }
  h6 { font-size: var(--h6-font-size); }
  p,
  ul li {
    font-size: var(--p-font-size);
  }
  .custom-btn {
    font-size: var(--btn-font-size);
  }
  .navbar-nav .nav-link {
    font-size: var(--menu-font-size);
  }

  .navbar .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-brand-text {
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .navbar-brand-text small {
    font-size: 0.55em;
    letter-spacing: 0.02em;
  }

  .navbar-nav .nav-link {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .navbar .custom-btn,
  .btn.custom-btn,
  .btn.custom-border-btn {
    padding: 0.45rem 0.9rem !important;
  }

  .btn-tempah-mobile {
    display: none !important;
  }

  .navbar-toggler {
    padding: 0.35rem 0.5rem;
    margin-left: auto;
  }

  .hero-section {
    min-height: auto !important;
    height: auto !important;
    top: 0 !important;
    padding-top: 5.75rem;
    padding-bottom: 3.5rem;
    margin-bottom: -40px;
    text-align: center;
  }

  .hero-intro {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .custom-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }

  .hero-section .custom-btn-group .btn,
  .hero-section .custom-btn-group .link {
    margin: 0 !important;
  }

  .hero-section .link {
    color: #fff;
  }

  .banner-section.section-padding {
    padding-top: 2.25rem;
    padding-bottom: 0;
  }

  .banner-img {
    border-radius: 12px;
  }

  .section-padding {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .pricing-card {
    padding: 1.25rem;
  }

  .pricing-price {
    font-size: 1.55rem;
  }

  .pricing-price small {
    font-size: 0.7em;
  }

  .workflow-step {
    padding-left: 2.75rem;
    margin-bottom: 1.15rem;
    text-align: left;
  }

  .gallery-item {
    margin-bottom: 1rem;
  }

  .gallery-page-title {
    font-size: var(--h2-font-size);
  }

  .gallery-page-lead {
    font-size: var(--p-font-size);
  }

  .gallery-filter-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
    flex: 1 1 calc(50% - 0.5rem);
  }

  .yt-lite-play {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .map-embed {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .map-nav--overlay {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    margin-top: 0.85rem;
    left: auto;
    bottom: auto;
  }

  .map-nav--inline {
    justify-content: stretch;
  }

  .map-nav--inline .map-nav-card {
    flex: 1 1 100%;
  }

  .booking-questions {
    padding: 1.25rem;
  }

  .contact-card {
    padding: 1.15rem;
  }

  .terms-accordion .accordion-button {
    font-size: var(--p-font-size);
    padding: 0.8rem 0.9rem;
  }

  .has-section-wave > .container {
    padding-bottom: 2.5rem;
  }

  .section-wave svg {
    height: clamp(48px, 14vw, 80px);
  }

  .js .reveal-left,
  .js .reveal-right {
    transform: translateY(28px);
  }

  .navbar .navbar-brand {
    max-width: calc(100% - 56px);
  }

  .gallery-title-section {
    padding-top: 92px;
  }

  .gallery-page {
    padding-top: 1.1rem;
  }

  .site-footer {
    padding-top: 2.75rem;
    padding-bottom: clamp(140px, 28vw, 200px);
  }

  .site-footer .footer-text {
    max-width: none;
  }

  .site-footer > svg {
    height: clamp(110px, 24vw, 160px);
  }

  .floating-whatsapp,
  .floating-scroll-top {
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 1.45rem;
  }

  .floating-whatsapp {
    bottom: 16px;
  }

  .floating-scroll-top {
    bottom: 78px;
  }
}

@media screen and (max-width: 575px) {
  :root {
    --h1-font-size: 28px;
    --h2-font-size: 24px;
    --h3-font-size: 20px;
    --h4-font-size: 17px;
    --h5-font-size: 16px;
    --h6-font-size: 15px;
    --p-font-size: 14px;
    --menu-font-size: 13px;
    --btn-font-size: 12px;
  }

  .navbar-brand-image {
    max-height: 40px !important;
    width: 40px !important;
  }

  .navbar-brand-text {
    font-size: 0.88rem;
  }

  .hero-section {
    padding-top: 5.25rem;
    padding-bottom: 3rem;
  }

  .hero-section h1 br {
    display: none;
  }

  .feature-icon-wrap {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .pricing-price {
    font-size: 1.4rem;
  }

  .gallery-filter-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.65rem;
  }

  .gallery-page-lead {
    padding: 0 0.5rem;
  }

  .site-footer .custom-btn {
    width: 100%;
  }

  .map-nav--compact .map-nav-card {
    flex: 1 1 100%;
  }

  .terms-accordion .accordion-button {
    padding: 0.75rem 0.85rem;
  }
}
