/*to only be used when you can't use SCSS.css and compile it.*/

@font-face {
  font-family: "NK";
  src: url("../fonts/NakhonKanlaya.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT";
  src: url("../fonts/PADTHAI_.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RD";
  src: url("../fonts/rungdee.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "perfect christmas";
  src: url("../fonts/The Perfect Christmas.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.nk {
  font-family: "NK", Arial, sans-serif;
}
.pt {
  font-family: "PT", Arial, sans-serif;
}
.rd {
  font-family: "RD", Arial, sans-serif;
}
.perfect-christmas {
  font-family: "perfect christmas", Arial, sans-serif;
}
.square-peg-regular {
  font-family: "Square Peg", cursive;
  font-weight: 400;
  font-style: normal;
}

.addon-root-js-slideshow {
  margin-bottom: 0 !important;
}
.sp-slider-outer-stage h2 {
  font-family: "NK", Arial, sans-serif !important;
  background: #000000 !important;
  padding: 20px 40px !important;
  transform: rotate(354deg) !important;
  color: var(--neon, #e6bf73) !important;
  text-shadow:
    0 0 2px black,
    0 0 8px var(--neon, #e6bf73),
    0 0 1px var(--neon, #e6bf73),
    0 0 0px var(--neon, #e6bf73) !important;
}
/* Per-slide neon colour — cycles the palette across slides (id-based = clone-safe) */
.sp-slider-outer-stage .sp-item[id*="-num-0-key"] {
  --neon: #fb4747;
} /* red-chilli */
.sp-slider-outer-stage .sp-item[id*="-num-1-key"] {
  --neon: #ff2d8e;
} /* hot-pink */
.sp-slider-outer-stage .sp-item[id*="-num-2-key"] {
  --neon: #25d9f1;
} /* azure */
.sp-slider-outer-stage .sp-item[id*="-num-3-key"] {
  --neon: #ff9f1c;
} /* mango */
.sp-slider-outer-stage .sp-item[id*="-num-4-key"] {
  --neon: #12e0ff;
} /* electric-blue */
.sp-slider-outer-stage .sp-item[id*="-num-5-key"] {
  --neon: #ff4da6;
} /* dragonfruit */
.sp-slider-outer-stage .sp-item[id*="-num-6-key"] {
  --neon: #a44dff;
} /* ube */
.sp-slider-outer-stage .sppb-sp-slider-button {
  text-decoration: none !important;
  background: transparent !important;
}
/* the real button is the inner .sp-slider-btn-text span — recolour IT to the slide's neon */
.sp-slider-outer-stage .sppb-sp-slider-button span.sp-slider-btn-text {
  font-family: Jost !important;
  background: var(--neon, #972409) !important;
}
/* dark text on the light-neon slides (mango + electric-blue) */
.sp-slider-outer-stage .sp-item[id*="-num-3-key"] .sppb-sp-slider-button span.sp-slider-btn-text,
.sp-slider-outer-stage .sp-item[id*="-num-4-key"] .sppb-sp-slider-button span.sp-slider-btn-text {
  color: #111 !important;
}
.sppb-sp-slider-text {
}
.sppb-sp-slider-text p {
  background: var(--neon, #e6bf73) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  transform: rotate(355deg) !important;
  font-family: 'Square Peg';
  font-size: 27px;
}
/* Light neon backgrounds → dark text for contrast (mango + electric-blue) */
.sp-slider-outer-stage .sp-item[id*="-num-3-key"] .sppb-sp-slider-text p,
.sp-slider-outer-stage .sp-item[id*="-num-4-key"] .sppb-sp-slider-text p {
  color: #111 !important;
}
.sppb-sp-slider-button {
  box-shadow: none !important;
  background: #972409;
}
.sppb-sp-slider-button span {
  margin-top: 0 !important;
  transform: rotate(356deg);
}
.food-bowl img {
  transform: rotate(-16deg);
}
.map-image {
  background: url(/images/tuktuk/parking-map.jpg);
  min-height: 700px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* ── #tuktukexpress2 — mirror of #tuktukexpress with the map on the right.
   Self-contained classes so this block can be restyled without affecting the
   original section. Swap the background image below for this location's map. ── */
.map-image-right {
  background: url(/images/tuktuk/parking-map-brum.jpg);
  min-height: 700px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.parking-address2 {
  color: #5e0500;
  margin-bottom: 0;
}
.parking-address-inverse2 {
  color: #ffffff;
  margin-bottom: 0;
}
@media (min-width: 576px) {
  .map-image-right {
    min-height: 700px;
  }
}
.container-component main {
  margin-top: 0;
}
.order-options .sppb-media-content a {
  text-decoration: none;
}
.fade-in-text {
  opacity: 0;
  transition: opacity 0.6s ease-in;
}
.fade-in-text.show {
  opacity: 1;
}

/*bootstrap style modal*/
/* ===== Modal Base ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #e6bf73;
  color: #222;
  border-radius: 10px;
  max-width: 420px;
  width: 90%;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-box {
  transform: translateY(0);
}

/* ===== Buttons & Text ===== */
.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #000;
}

.modal-btn {
  margin-top: 1rem;
  background: #2f686e;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.modal-btn:hover {
  background: #972409;
}
/*end bootstrap style modal*/
@media (min-width: 601px) {
  .header-wrapper {
    padding: 10px 0;
  }
}

/* Base */
.main-banner-video {
  position: relative;
  height: 400px;
  overflow: hidden;
}

/* Video fills like background-size: cover */
.main-banner-video .banner-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Keep foreground elements above video */
.main-banner-video .container,
.main-banner-video .curve {
  position: relative;
  z-index: 2;
}

/* Vertically centre the banner copy within the video band (used on the
   curve-less copy below #signup). Banner has a definite height, so 100% resolves. */
.main-banner-video .container-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Optional readability overlay */
.main-banner-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* ===== Street image banner =====
   Self-contained homepage banner with a still image background.
   Independent of .main-banner-video — does not share any of its classes. */
.street-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}
/* Image fills the band like background-size: cover */
.street-banner__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
/* Keep the curve + copy above the image and the overlay */
.street-banner .container,
.street-banner__curve {
  position: relative;
  z-index: 2;
}
/* Readability overlay */
.street-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
/* Hero copy */
.street-banner__copy {
  text-align: center;
}
.street-banner__copy h1 {
  font-family: "NK";
}
.street-banner__copy h1 span {
  background: #000;
  padding: 0.35em 0.35em;
  line-height: 1.4;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.street-banner__overview {
  color: #fff;
  margin: 0 0 1.25rem;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
/* Responsive band heights (mirrors the video banner's scale) */
@media (min-width: 576px) {
  .street-banner { height: 500px; }
}
@media (min-width: 768px) {
  .street-banner { height: 700px; }
  .street-banner__copy h1 { font-size: 75px; }
}
@media (min-width: 1400px) {
  .street-banner { height: 800px; }
}
@media (min-width: 1920px) {
  .street-banner { height: 950px; }
}
/* Mobile: taller band, smaller heading, full-width centered overview */
@media (max-width: 767.98px) {
  .street-banner { height: 600px; }
  .street-banner__copy h1 {
    font-size: 45px;
    margin-top: 87px;
  }
  .street-banner__overview {
    max-width: none;
    padding-inline: 1.5rem;
    text-align: center;
  }
}

.super-large {
  font-size: 120px;
}
.quite-large {
  font-size: 1.2rem;
}
.openingtimes {
  padding-right: 9px;
}
.download-lunch-menu {
  font-size: 0.9rem;
}
.btn-primary-reverse {
  background-color: #30686e;
  color: #fff;
  border-color: #30686e;
}
.btn-primary-reverse:hover {
  background-color: var(--cassiopeia-color-primary);
  border-color: var(--cassiopeia-color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}
.carousel-caption {
  background: rgb(0 0 0 / 57%);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
}

.carousel-caption h5,
.carousel-caption p {
  color: #f1ce88;
}

/* Lunch carousel: all slides hot-pink — white h5 with a pink glow, matching p background */
#carouselIndicators .carousel-item {
  --neon: #ff2d8e;
} /* hot-pink */
#carouselIndicators .carousel-caption h5 {
  color: #fff;
  text-shadow:
    0 0 2px #fff,
    0 0 8px var(--neon, #ff2d8e),
    0 0 18px var(--neon, #ff2d8e);
}
#carouselIndicators .carousel-caption p {
  display: inline-block;
  margin-bottom: 0;
  background: var(--neon, #2f686e);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 0.4rem;
}
/* carousel slides are now red / pink / blue — all use white text */

/* The parent container must be positioned so the child can anchor to it */
.sppb-addon-content-align-before {
  position: relative;
}

/* Move the discount image to the top-right */
.discount-image-wrapper {
  position: absolute;
  top: 0px;
  right: 55px;
  margin: 0;
}

.btn-purple-hover:hover {
  background-color: #4b1e8f;
  border-color: #4b1e8f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}
#carouselloykrathong .carousel-caption {
  background: rgb(51 18 95 / 54%);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
}
/* Optional: control image size */
.discount-image {
  width: 100px;
  height: auto;
  transform: rotate(24deg);
}
.display-2 {
  font-size: 25px;
  line-height: 1.8rem;
}
.bg-purple {
  background-color: #33125f !important;
}
.loy-krathong {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/images/loy-krathong-purple-bg.jpg);
  background-size: cover;
  background-position: bottom;
}
.threeD-text {
  font-size: 4rem;
  font-weight: 900;
  color: #e6bf73;
  text-shadow:
    1px 1px 0 #b39ddb,
    2px 2px 0 #9575cd,
    3px 3px 0 #7e57c2,
    4px 4px 0 #673ab7,
    5px 5px 10px rgba(0, 0, 0, 0.6);
}
.celebrate {
  padding-left: 10px;
  margin-bottom: 0;
}
.super-large-2 {
  font-size: 100px;
}
.medium {
  font-size: 50px;
}
.carousel-item {
  position: relative; /* ensures the badge is positioned relative to each slide */
}
.dotw-image img {
  height: auto;
}

.new-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 160px; /* adjust size as needed */
  height: auto;
  z-index: 10;
  pointer-events: none; /* keeps badge from blocking button clicks */
  opacity: 0.95;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.lunch-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 160px; /* adjust size as needed */
  height: auto;
  z-index: 10;
  pointer-events: none; /* keeps badge from blocking button clicks */
  opacity: 0.95;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.whats-new-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* space between text and arrow */
}

.arrow-right {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor; /* arrow inherits text color (blue) */
}

/* ===== .main.promo.row-2 — black left column, white text with the
   main neon-sign's white/blue glow; carousel captions go white ===== */
.main.promo.row-2 .bg-yellow {
  background: #000;
  color: #fff;
}
.main.promo.row-2 .bg-yellow .whats-new-heading,
.main.promo.row-2 .bg-yellow .openingtimes {
  color: #fff;
  text-shadow:
    0 0 2px #fff,
    0 0 4px #69f0ff,
    0 0 9px #12e0ff,
    0 0 16px #00bfff;
}
/* right column carousel captions → white */
#carousel-whats-new .carousel-caption h5,
#carousel-whats-new .carousel-caption p {
  color: #fff;
}

/*very specific fix to the strange right hand white column issue*/
.itemid-149 #section-id-9ba6e1a1-419e-4e2f-a92d-8f333c35be20 .sppb-row {
  margin-right: 0;
  margin-left: 0;
}

.itemid-149
  #section-id-9ba6e1a1-419e-4e2f-a92d-8f333c35be20
  .sppb-row
  .sppb-col-md-12 {
  padding: 0;
}
.birthdays {
  background: url(/images/tuktuk/birthdays-tuktuk-bg.jpg);
  background-size: cover;
  background-position: center;
  min-height: 600px;
  background-repeat: no-repeat;
}
.christmas {
  background: url(/images/tuktuk/christmas-tuktuk-bg.jpg);
  background-size: cover;
  background-position: center;
  min-height: 600px;
  background-repeat: no-repeat;
}
.new-years {
  background: url(/images/tuktuk/newyears-bg.jpg);
  background-size: cover;
  background-position: center;
  min-height: 600px;
  background-repeat: no-repeat;
}
.mondays-closed {
  background: url(/images/tuktuk/mondays-closed.jpg);
  background-size: cover;
  background-position: center;
  min-height: 600px;
  background-repeat: no-repeat;
}
.takeaway-discount {
  background: url(/images/tuktuk/takeaway-discount.jpg);
  background-size: cover;
  background-position: center;
  min-height: 600px;
  background-repeat: no-repeat;
}

/* 3D tilt container */
.hover3d {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 250ms ease;
  will-change: transform;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* apply rotation */
.hover3d {
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}

/* subtle moving light reflection */
.hover3d::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    250px 250px at var(--mx) var(--my),
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 250ms ease;
}

/* inner content pop */
.hover3d .col-content {
  position: relative;
  z-index: 1;
  transform: translateZ(20px);
  transition: transform 250ms ease;
}

/* hover scaling and shine */
@media (pointer: fine) {
  .hover3d:hover {
    transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(1.03);
  }
  .hover3d:hover::after {
    opacity: 1;
  }
  .hover3d:hover .col-content {
    transform: translateZ(30px);
  }
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
  .hover3d,
  .hover3d::after,
  .hover3d .col-content {
    transition: none !important;
  }
}

.button-wrapper {
  font-size: 0.9rem;
}
.btn-primary-red {
  background-color: #972409;
  color: #fff;
  border-color: #972409;
}
.btn-primary-red:hover {
  background-color: #5a9501;
  color: #fff;
  border-color: #00c704;
}

/* subtle pulse to the right */
@keyframes arrowPulse {
  0% {
    transform: translateX(0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translateX(6px) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 0.85;
  }
}

.arrow-icon {
  animation: arrowPulse 1.2s ease-in-out infinite;
  will-change: transform, opacity, filter;
  color: #fff;
  /* static white/blue glow (matches the main neon sign); animated below */
  filter:
    drop-shadow(0 0 1px #fff)
    drop-shadow(0 0 2px #fff)
    drop-shadow(0 0 4px #69f0ff)
    drop-shadow(0 0 8px #12e0ff)
    drop-shadow(0 0 14px #00bfff);
}

/* optional: pause on hover/focus */
.whats-new-heading:hover .arrow-icon,
.whats-new-heading:focus-within .arrow-icon {
  animation-play-state: paused;
}
@keyframes arrowGlow {
  0% {
    filter:
      drop-shadow(0 0 1px #fff)
      drop-shadow(0 0 2px #fff)
      drop-shadow(0 0 4px #69f0ff)
      drop-shadow(0 0 8px #12e0ff)
      drop-shadow(0 0 14px #00bfff);
  }
  100% {
    filter:
      drop-shadow(0 0 1px #fff)
      drop-shadow(0 0 3px #fff)
      drop-shadow(0 0 6px #69f0ff)
      drop-shadow(0 0 12px #12e0ff)
      drop-shadow(0 0 18px #00bfff);
  }
}
.arrow-icon {
  transform: scale(2);
  transform-origin: center;
  animation:
    arrowPulse 1.2s ease-in-out infinite,
    arrowGlow 1.2s ease-in-out infinite alternate;
}

/* accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .arrow-icon {
    animation: none;
  }
}

/* Optional: make badge subtly animate when slide becomes active */
.carousel-item.active .new-badge {
  transform: scale(1.05);
  opacity: 1;
}

.fb-video-lazy {
  position: relative;
  display: block;
  line-height: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.fb-video-lazy img {
  width: 100%;
  height: auto;
  display: block;
}
.fb-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.fb-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-left: 18px solid #000;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.fb-play:hover {
  transform: scale(1.05);
}

#halloween .background {
  position: relative;
  min-height: 600px;
  background: url(/images/tuktuk/halloween-bg.jpg) center 14% no-repeat;
  background-size: cover;
  z-index: 0;
}
.halloween-text-img {
  max-width: 800px;
}

#halloween .background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.19); /* darkness level */
  z-index: 1;
}
#halloween .background > * {
  position: relative;
  z-index: 2;
}

#christmas .background {
  position: relative;
  min-height: 600px;
  background: url(/images/tuktuk/tuk-tuk-2026.jpg) center 64% no-repeat;
  background-size: cover;
  z-index: 0;
}
#valentines .background {
  position: relative;
  min-height: 600px;
  background: url(/images/tuktuk/valentines-table.jpg) center 64% no-repeat;
  background-size: cover;
  z-index: 0;
}
.christmas-text-img {
  max-width: 1000px;
}

#christmas .background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.29); /* darkness level */
  z-index: 1;
}
#christmas .background > * {
  position: relative;
  z-index: 2;
}
#mkfla .background {
  position: relative;
  min-height: 760px;
  background: url(/images/tuktuk/mkfla/mkfla-bg.jpg) center 64% no-repeat;
  background-size: cover;
  z-index: 0;
}
.mkfla-text-img {
  max-width: 1000px;
}

#mkfla .background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.29); /* darkness level */
  z-index: 1;
}
#mkfla .background > * {
  position: relative;
  z-index: 2;
}

/* Make sure the area can host absolutely-positioned particles */
#mkfla {
  position: relative; /* safe: won't affect layout */
  overflow: visible; /* particles can drift slightly */
}

.mkfla-left-leaf {
  position: absolute; /* parent must be position: relative */
  top: 0; /* stick to top of parent */
  left: calc(50% - 270px); /* position relative to viewport center */
  transform: translateX(
    -50%
  ); /* center the element horizontally on that point */
  z-index: 5;
}
.mkfla-right-leaf {
  position: absolute; /* parent must be position: relative */
  top: 0; /* stick to top of parent */
  left: calc(50% + 160px); /* position relative to viewport center */
  transform: translateX(
    -50%
  ); /* center the element horizontally on that point */
  z-index: 5;
}
.mkfla-logo {
  position: absolute;
  top: 0;
  z-index: 3;
  width: 300px;
}
.year-left,
.year-right {
  font-size: 150px;
}
.year-left {
  position: absolute; /* parent must be position: relative */
  top: 120px; /* stick to top of parent */
  left: calc(50% - 224px); /* position relative to viewport center */
  transform: translateX(
    -50%
  ); /* center the element horizontally on that point */
  z-index: 6;
  color: white;
}
.year-right {
  position: absolute; /* parent must be position: relative */
  top: 120px; /* stick to top of parent */
  left: calc(50% + 230px); /* position relative to viewport center */
  transform: translateX(
    -50%
  ); /* center the element horizontally on that point */
  z-index: 6;
  color: white;
}
.mkfla-game-img {
  position: absolute; /* parent must be position: relative */
  top: 260px; /* stick to top of parent */
  /* position relative to viewport center */
  left: 50%;
  transform: translateX(
    -50%
  ); /* center the element horizontally on that point */
  width: 520px;
  z-index: 6;
}
.mkfla-category {
  position: absolute; /* parent must be position: relative */
  bottom: 200px; /* stick to top of parent */
  z-index: 6;
  color: white;
}
.winner {
  position: absolute; /* parent must be position: relative */
  bottom: 50px; /* stick to top of parent */
  font-size: 150px;
  z-index: 7;
}
.mkfla-wrapper {
  position: relative; /* 👈 critical for absolutely positioned children */
  height: 760px;
  overflow: hidden; /* optional: hide off-screen animation stuff */
}

/* Register animatable custom properties for smooth transforms */
@property --x {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --y {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

/* Base: use CSS vars so JS can drive X while CSS animates Y */
#tuktuk-racer {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999;
  pointer-events: none;
  max-width: min(40vw, 520px);
  height: auto;
  opacity: 0;

  /* IMPORTANT: transform uses vars, not hardcoded translate */
  --x: 0px;
  --y: 0px;
  transform: translate3d(var(--x), var(--y), 0);
  will-change: transform, opacity;
}

/* Subtle suspension bounce (vertical bob) */
@keyframes tuktuk-bounce {
  0% {
    --y: 0px;
  }
  25% {
    --y: -8px;
  }
  50% {
    --y: -12px;
  }
  75% {
    --y: -8px;
  }
  100% {
    --y: 0px;
  }
}

/* Add this class during the race to enable the bounce */
#tuktuk-racer.bouncing {
  animation: tuktuk-bounce 420ms ease-in-out infinite;
}
/* Add this class during the race to enable the bounce */
#valentines-tuktuk.bouncing {
  animation: tuktuk-bounce 420ms ease-in-out infinite;
}

/* Subtle 3D text shadow for light backgrounds */
.text-shadow-3d {
  color: #ffffff; /* base text color */
  text-shadow:
    0.5px 0.5px 0 rgba(0, 0, 0, 0.12),
    1px 1px 1.5px rgba(0, 0, 0, 0.1);
}

/* Optional: for slightly bolder titles */
.text-shadow-3d-strong {
  color: #ffffff;
  text-shadow:
    0.8px 0.8px 0 rgba(0, 0, 0, 0.15),
    1.6px 1.6px 2px rgba(0, 0, 0, 0.1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #tuktuk-racer {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Santa TukTuk — same transform via vars, same bounce class */
#tuktuk-santa {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999;
  pointer-events: none;
  max-width: min(
    42vw,
    560px
  ); /* a touch larger than the ghoul, tweak as you like */
  height: auto;
  opacity: 0;

  /* driven by JS */
  --x: 0px;
  --y: 0px;
  transform: translate3d(var(--x), var(--y), 0);
  will-change: transform, opacity;
}
/* Santa TukTuk — same transform via vars, same bounce class */
#valentines-tuktuk {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999;
  pointer-events: none;
  max-width: min(
    42vw,
    560px
  ); /* a touch larger than the ghoul, tweak as you like */
  height: auto;
  opacity: 0;

  /* driven by JS */
  --x: 0px;
  --y: 0px;
  transform: translate3d(var(--x), var(--y), 0);
  will-change: transform, opacity;
}

/* Use the same .bouncing class you already have */
#tuktuk-santa.bouncing {
  animation: tuktuk-bounce 420ms ease-in-out infinite;
}
/* Use the same .bouncing class you already have */
#valentines-tuktuk.bouncing {
  animation: tuktuk-bounce 420ms ease-in-out infinite;
}

/* Make sure the area can host absolutely-positioned particles */
#christmas {
  position: relative; /* safe: won't affect layout */
  overflow: visible; /* particles can drift slightly */
}

/* Host can stay as-is; just ensure it’s positionable */
#christmas {
  position: relative;
}

/* Lightweight particle: only transform + opacity */
.xmas-lite {
  position: absolute;
  left: 0;
  top: 0; /* we’ll position via transform */
  transform: translate(-9999px, -9999px); /* parked off-screen when idle */
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    transform var(--dur, 800ms) ease-out,
    opacity var(--dur, 800ms) ease-out;
  font-size: var(--size, 18px);
  color: var(--col, #fff);
  line-height: 1;
}

.insta {
  display: block;
  background: url("/images/instagram-brands-solid.svg") no-repeat;
  width: 100px;
  height: 100px;
}
.fb {
  display: block;
  background: url("/images/square-facebook-brands-solid.svg") no-repeat;
  width: 100px;
  height: 100px;
}
/* ===== Neon palette =====
   Each class sets a --neon colour and uses it as TEXT colour by default.
   Drop the same class on a .btn → neon background, white text, matching glow.
   To add a colour: add a line below AND add `.btn.<name>` to the two selector lists. */
.red-chilli {
  --neon: #fe1111;
  color: var(--neon);
}
.hot-pink {
  --neon: #ff2d8e;
  color: var(--neon);
}
.azure {
  --neon: #4d8bff;
  color: var(--neon);
}
.mango {
  --neon: #ff9f1c;
  color: var(--neon);
}
.electric-blue {
  --neon: #12e0ff;
  color: var(--neon);
}
.dragonfruit {
  --neon: #ff4da6;
  color: var(--neon);
}
.ube {
  --neon: #a44dff;
  color: var(--neon);
}
.tamarind {
  --neon: #d1421d;
  color: var(--neon);
}

/* A .btn carrying any palette class → glowing neon button with white text */
.btn.red-chilli,
.btn.hot-pink,
.btn.azure,
.btn.mango,
.btn.electric-blue,
.btn.dragonfruit,
.btn.ube,
.btn.tamarind {
  --glow: var(--neon); /* so adding `btn-glow` pulses in the same colour */
  background-color: var(--neon);
  border-color: var(--neon);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  /*box-shadow: 0 0 4px #fff, 0 0 5px var(--neon), 0 0 10px var(--neon);*/
}
.btn.red-chilli:hover,
.btn.hot-pink:hover,
.btn.azure:hover,
.btn.mango:hover,
.btn.electric-blue:hover,
.btn.dragonfruit:hover,
.btn.ube:hover,
.btn.tamarind:hover,
.btn.red-chilli:focus-visible,
.btn.hot-pink:focus-visible,
.btn.azure:focus-visible,
.btn.mango:focus-visible,
.btn.electric-blue:focus-visible,
.btn.dragonfruit:focus-visible,
.btn.ube:focus-visible,
.btn.tamarind:focus-visible {
  background-color: var(--neon);
  border-color: var(--neon);
  color: #fff;
  box-shadow: 0 0 6px #fff, 0 0 18px var(--neon), 0 0 46px var(--neon);
}
/* mango is light → dark text on mango buttons */
.btn.mango,
.btn.mango:hover,
.btn.mango:focus-visible {
  color: #111;
  text-shadow: none;
}

.main-banner-video .hero-copy h1{
  font-family: "NK";
}
/* (Optional) reduce count on users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .xmas-lite {
    transition: none !important;
    opacity: 0 !important;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .xmas-particle {
    animation: none !important;
    opacity: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tuktuk-santa {
    animation: none !important;
    opacity: 0 !important;
  }
}
/* Your original responsive heights, mapped over */
@media (min-width: 576px) {
  .main-banner-video {
    height: 500px;
  }
}
@media (min-width: 768px) {
  .main-banner-video {
    height: 700px;
  }
}

@media (min-width: 1200px) {
  .super-large-2 {
    font-size: 70px;
  }
  .display-2 {
    font-size: 14px;
    line-height: 1.8rem;
  }
}

@media (min-width: 1400px) {
  .main-banner-video {
    height: 800px;
  }
}
@media (min-width: 1920px) {
  .main-banner-video {
    height: 950px;
  }
  .super-large {
    font-size: 8.5rem;
  }
  h1 {
    font-size: 95px !important;
  }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .main-banner-video .banner-bg {
    animation: none;
  }
  .main-banner-video .banner-bg {
    /* pause video if desired via JS or remove loop */
  }
}

/* 📱 Mobile screens (up to 600px wide) */
@media (max-width: 600px) {
  #mkfla .background {
    min-height: 600px;
  }
  .mkfla-wrapper {
    min-height: 600px;
  }
  .mkfla-left-leaf {
    position: absolute; /* parent must be position: relative */
    top: 0; /* stick to top of parent */
    left: calc(50% - 160px);
    transform: translateX(
      -50%
    ); /* center the element horizontally on that point */
    z-index: 5;
    width: 200px;
  }
  .mkfla-right-leaf {
    position: absolute; /* parent must be position: relative */
    top: 0; /* stick to top of parent */
    left: calc(50% + 110px);
    transform: translateX(
      -50%
    ); /* center the element horizontally on that point */
    z-index: 5;
    width: 183px;
  }
  .mkfla-logo {
    position: absolute;
    top: 0;
    z-index: 3;
    width: 158px;
  }
  .year-left,
  .year-right {
    font-size: 150px;
  }
  .year-left {
    position: absolute; /* parent must be position: relative */
    top: 90px;
    left: calc(50% - 114px);
    transform: translateX(
      -50%
    ); /* center the element horizontally on that point */
    z-index: 6;
    color: white;
    font-size: 70px;
  }
  .year-right {
    position: absolute; /* parent must be position: relative */
    top: 90px; /* stick to top of parent */
    left: calc(50% + 118px);
    transform: translateX(
      -50%
    ); /* center the element horizontally on that point */
    z-index: 6;
    color: white;
    font-size: 70px;
  }
  .mkfla-game-img {
    position: absolute; /* parent must be position: relative */
    top: 150px; /* stick to top of parent */
    /* position relative to viewport center */
    left: 50%;
    transform: translateX(
      -50%
    ); /* center the element horizontally on that point */
    width: 520px;
    z-index: 6;
  }
  .mkfla-category {
    position: absolute; /* parent must be position: relative */
    bottom: 120px;
    z-index: 6;
    color: white;
  }
  .winner {
    position: absolute; /* parent must be position: relative */
    bottom: 10px;
    font-size: 80px;
    z-index: 7;
  }

  .takeaway-discount {
    min-height: 500px;
  }
  .map-image {
    min-height: 500px;
  }
  .halloween-text-img {
    max-width: 400px;
  }
  .christmas-text-img {
    max-width: 400px;
  }
  .mkfla-text-img {
    max-width: 400px;
  }
  .btn.btn-secondary {
    font-size: 0.85rem; /* smaller text */
    padding: 0.3rem 0.5rem; /* less padding */
    border-radius: 0.3rem;
  }
  .header-wrapper {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .brand-logo img {
    max-width: 85px;
  }
  .sppb-sp-slider-text {
    margin-top: 0 !important;
  }
  .whats-new-heading {
    position: relative;
    justify-content: center; /* center text + arrow horizontally */
    text-align: center;
    flex-direction: column; /* stack text + arrow vertically */
  }
  .arrow-right {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg); /* centers + points down */
  }
  .arrow-icon {
    width: 40px; /* optional: resize for mobile */
    height: 40px;
  }
  .super-large-2 {
    font-size: 42px;
  }
  .quite-large {
    font-size: 1rem;
  }
  .main-banner-video {
    position: relative;
    height: 600px;
    overflow: hidden;
  }
  .main-banner-video h1 {
    font-size: 45px;
    margin-top: 87px;
  }
  .super-large {
    font-size: 90px;
  }
  .lunchmenu {
    align-items: center !important;
    text-align: center !important;
  }
  .birthdays,
  .christmas {
    min-height: 340px;
  }
  .birthdays .col-content,
  .christmas .col-content {
    padding-block: 0 !important;
  }
}

/* ===== Homepage hero overview copy ===== */
.main-banner-video .banner-overview {
  color: #fff;
  margin: 0 0 1.25rem;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Hero copy column: centered on mobile, left-aligned from tablet up (Nando's-style) */
.main-banner-video .hero-copy {
  text-align: center;
}
@media (min-width: 768px) {
  .main-banner-video .hero-copy {
    text-align: center;
  }
  .main-banner-video .hero-copy h1 {
    font-size: 75px;
  }
}
.main-banner-video .hero-copy h1 span {
  background: #000;
  padding: 0.35em 0.35em;
  line-height: 1.4;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Mobile: full-width, centered overview paragraph with side padding */
@media (max-width: 767.98px) {
  .main-banner-video .hero-copy .banner-overview {
    max-width: none;
    padding-inline: 1.5rem;
    text-align: center;
  }
}

/* ===== Homepage brand cards: Heritage / Food / Restaurants ===== */
.main-top .brand-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #000;
}
.main-top .brand-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  text-decoration: none;
}
.main-top .brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.main-top .brand-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 55%);
}
.main-top .brand-card__label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: clamp(1.1rem, 4vw, 9rem);
  padding: 10px;
  background: #00000066;
  text-align: center;
  transform: translate(-50%, -50%) rotate(353deg);
  font-family: 'Jost';
}
.main-top .brand-card:hover img,
.main-top .brand-card:focus-visible img {
  transform: scale(1.06);
}
@media (max-width: 575.98px) {
  .main-top .brand-cards {
    gap: 2px;
  }
  .main-top .brand-card {
    aspect-ratio: 3 / 4;
  }
}

/* Signup heading: subtle dark backing + padding, like .brand-card__label */
#signup .signupsection .display {
  width: auto !important; /* beat Bootstrap .w-100 so the box hugs the text */
  display: inline-block;
  padding: 10px 20px;
  background: #00000066;
}

/* ===== Neon glow button modifier (echoes the glowing hero sign) ===== */
/* Add `btn-glow` alongside `btn btn-primary`. Recolour via --glow. */
.btn-glow {
  --glow: #12e0ff; /* neon cyan (matches the hero sign). Try #e6be73 gold or #ff0066 pink */
  animation: btnGlowPulse 1.8s ease-in-out infinite alternate;
}
.btn-glow:hover {
  filter: brightness(1.08);
}
.btn-glow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@keyframes btnGlowPulse {
  from {
    box-shadow: 0 0 3px #fff, 0 0 8px var(--glow), 0 0 18px var(--glow);
  }
  to {
    box-shadow: 0 0 6px #fff, 0 0 16px var(--glow), 0 0 38px var(--glow);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-glow {
    animation: none;
    box-shadow: 0 0 4px #fff, 0 0 12px var(--glow), 0 0 26px var(--glow);
  }
}

/* ===== Header actions restyled as Nando's-style text nav links ===== */
.header-wrapper .btn {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.25rem 0.1rem;
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  line-height: 1.2;
  position: relative;
  transition: color 0.2s ease;
}
/* gold underline grows in on hover/focus */
.header-wrapper .btn::after {
  content: "";
  position: absolute;
  left: 0.1rem;
  right: 0.1rem;
  bottom: 0;
  height: 2px;
  background: var(--cassiopeia-color-primary, #e6be73);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.header-wrapper .btn:hover,
.header-wrapper .btn:focus-visible {
  background: transparent;
  color: var(--cassiopeia-color-primary, #e6be73);
}
.header-wrapper .btn:hover::after,
.header-wrapper .btn:focus-visible::after {
  transform: scaleX(1);
}

/* ===== Vibrant pop on ALL images to match the site's new feel ===== */
img {
  filter: saturate(1.3) contrast(1.08);
}

/* The SPPB slider paints its photos as CSS background-image on .sp-background
   divs (not <img>), so the rule above misses them. Match the pop here. */
.sp-slider-outer-stage .sp-background {
  filter: saturate(1.3) contrast(1.08);
}
.bg-burnt-orange{
  background: #d1421d;
}
.burnt-orange{
  color: #d1421d;
}
.dark-red{
  color:#5e0500;
}

/* ===== Neon palette backgrounds =====
   Flat background fills matching the .neon-palette text colours above.
   Pair with the text-colour class of the same name (e.g. text on .bg-ube).
   (.bg-tamarind is the same hue as .bg-burnt-orange.) */
.bg-red-chilli{
  background: #fe1111;
}
.bg-hot-pink{
  background: #ff2d8e;
}
.bg-azure{
  background: #4d8bff;
}
.bg-mango{
  background: #ff9f1c;
}
.bg-electric-blue{
  background: #12e0ff;
}
.bg-dragonfruit{
  background: #ff4da6;
}
.bg-ube{
  background: #a44dff;
}
.bg-tamarind{
  background: #d1421d;
}