/*
 * FTD Demo3 Theme — styles on top of the parent's (loaded after theme.css, front-page.css, woocommerce.css).
 * Raise the Version in style.css after a change, it versions this file.
 *
 * A modern Vietnamese pho house, by 60-30-10: ivory and rice paper for most of the page, herb green for the
 * strip, the specials and the footer, turmeric for what should be clicked. Rounded shapes, Fraunces headings,
 * Be Vietnam Pro text. The front page is the child's own (front-page.php, .demo3-*).
 */

:root {
  --primary-color: #e8a33d;
  --primary-hover: #f0b458;
  --primary-active: #c9852a;
  --primary-light: #fdf3e2;
  --bs-primary-rgb: 232, 163, 61 !important;
  --demo3-green: #1f4d36;
  --demo3-green-2: #2c6a4a;
  --demo3-green-ink: #143022;
  --demo3-turmeric: #e8a33d;
  --demo3-chili: #d9452b;
  --demo3-ivory: #fbf7ee;
  --demo3-rice: #f3ecdc;
  --demo3-text: #22302a;
  --demo3-muted: #66706a;
  --demo3-line: rgba(31, 77, 54, 0.12);
  --demo3-serif: 'Fraunces', Georgia, serif;
  --demo3-radius: 24px;
  --demo3-shadow: 0 18px 40px rgba(20, 48, 34, 0.1);
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Header: ivory, green links, turmeric pill ---------- */
.site-header {
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: blur(10px);
  color: var(--demo3-text);
  box-shadow: 0 1px 0 var(--demo3-line);
}

.site-header-top {
  background: var(--demo3-green);
  border-bottom: 0;
}

.site-header-nav {
  padding: 0.8rem 0;
}

.site-header-nav .navbar-brand,
.site-header-nav .navbar-brand:hover {
  color: var(--demo3-green);
}

.site-header-nav .nav-link {
  color: var(--demo3-text);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
}

.site-header-nav .nav-link:hover {
  color: var(--demo3-green);
  background: rgba(31, 77, 54, 0.08);
}

.site-header-nav .nav-link.btn-outline-light {
  color: var(--demo3-green-ink);
  background: var(--demo3-turmeric);
  border-color: var(--demo3-turmeric);
  padding: 0.55rem 1.3rem !important;
}

.site-header-nav .nav-link.btn-outline-light:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--demo3-green-ink);
}

.site-header-nav .btn-outline-light.dropdown-toggle {
  color: var(--demo3-text);
  border-color: var(--demo3-line);
}

.site-header-nav .navbar-toggler {
  border-color: var(--demo3-line);
}

.site-header-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231f4d36' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .site-header-nav .nav-item {
    border-bottom-color: var(--demo3-line);
  }
}

/* ---------- Shared pieces ---------- */
body.home {
  background: var(--demo3-ivory);
  color: var(--demo3-text);
}

body.home a {
  color: var(--demo3-green-2);
}

body.home a:hover {
  color: var(--demo3-green);
}

body.home section {
  padding: 100px 0;
}

.demo3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232, 163, 61, 0.16);
  color: var(--primary-active);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo3-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--demo3-chili);
}

.demo3-heading {
  margin: 0 0 20px;
  font-family: var(--demo3-serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--demo3-green);
}

.demo3-title {
  text-align: center;
  margin-bottom: 52px;
}

.demo3-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: 0.25s ease;
}

body.home .demo3-btn--solid {
  background: var(--demo3-turmeric);
  color: var(--demo3-green-ink);
  box-shadow: 0 10px 24px rgba(232, 163, 61, 0.35);
}

body.home .demo3-btn--solid:hover {
  background: var(--primary-hover);
  color: var(--demo3-green-ink);
  transform: translateY(-2px);
}

body.home .demo3-btn--ghost {
  border-color: var(--demo3-green);
  color: var(--demo3-green);
}

body.home .demo3-btn--ghost:hover {
  background: var(--demo3-green);
  color: #fff;
}

body.home .demo3-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--demo3-turmeric);
  text-decoration: none;
}

body.home .demo3-link:hover {
  gap: 14px;
  color: var(--primary-hover);
}

/* ---------- Hero ---------- */
#hero.demo3-hero {
  height: auto;
  min-height: 0;
  padding: 90px 0 120px;
  background: radial-gradient(circle at 85% 30%, #f6e6c4 0%, rgba(246, 230, 196, 0) 45%), var(--demo3-ivory);
}

#hero.demo3-hero::before {
  display: none;
}

#hero.demo3-hero h1 {
  font-family: var(--demo3-serif);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--demo3-text);
}

#hero.demo3-hero h1 span {
  display: block;
  color: var(--demo3-green);
  font-style: italic;
}

.demo3-hero__lead {
  max-width: 520px;
  margin: 24px 0 36px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--demo3-muted);
}

.demo3-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.demo3-hero__art {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin-left: auto;
}

.demo3-hero__disc {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--demo3-green);
  box-shadow: 0 0 0 18px rgba(31, 77, 54, 0.08), 0 0 0 36px rgba(31, 77, 54, 0.04);
}

.demo3-hero__bowl {
  position: absolute;
  inset: 3%;
  width: 94%;
  height: 94%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(20, 48, 34, 0.35));
  animation: demo3-turn 40s linear infinite;
}

.demo3-hero__steam {
  position: absolute;
  left: 50%;
  top: -6%;
  z-index: 2;
  display: flex;
  gap: 18px;
  transform: translateX(-50%);
}

.demo3-hero__steam span {
  width: 6px;
  height: 70px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(31, 77, 54, 0) 0%, rgba(31, 77, 54, 0.22) 100%);
  filter: blur(3px);
  animation: demo3-steam 3.2s ease-in-out infinite;
}

.demo3-hero__steam span:nth-child(2) { animation-delay: 0.8s; height: 90px; }
.demo3-hero__steam span:nth-child(3) { animation-delay: 1.6s; }

.demo3-hero__leaf {
  position: absolute;
  z-index: 2;
  width: 54px;
  color: var(--demo3-green-2);
  animation: demo3-float 6s ease-in-out infinite;
}

.demo3-hero__leaf--1 { left: 0; top: 18%; transform: rotate(-20deg); }
.demo3-hero__leaf--2 { right: 2%; top: 8%; width: 40px; color: #6aa84f; animation-delay: 1.5s; }
.demo3-hero__leaf--3 { right: 8%; bottom: 6%; width: 46px; animation-delay: 3s; }

.demo3-hero__badge {
  position: absolute;
  left: 2%;
  bottom: 12%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--demo3-shadow);
  font-weight: 700;
  color: var(--demo3-text);
}

.demo3-hero__badge i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--demo3-chili);
  color: #fff;
}

@keyframes demo3-turn {
  to { transform: rotate(360deg); }
}

@keyframes demo3-steam {
  0% { transform: translateY(20px) scaleY(0.6); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(-30px) scaleY(1.1); opacity: 0; }
}

@keyframes demo3-float {
  50% { translate: 0 -12px; }
}

@media (max-width: 991.98px) {
  #hero.demo3-hero { padding: 50px 0 80px; }
  .demo3-hero__art { margin: 0 auto; width: min(100%, 420px); }
}

/* ---------- Why us strip: a green band of three, overlapping the hero ---------- */
body.home .demo3-strip {
  padding: 0;
  position: relative;
  z-index: 2;
  margin-top: -60px;
  overflow: visible;
}

.demo3-strip .row {
  margin: 0;
  padding: 36px 24px;
  border-radius: var(--demo3-radius);
  background: var(--demo3-green);
  box-shadow: 0 24px 50px rgba(20, 48, 34, 0.25);
}

.demo3-strip__item {
  display: flex;
  gap: 18px;
  height: 100%;
  padding: 4px 12px;
}

.demo3-strip .col-lg-4 + .col-lg-4 .demo3-strip__item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 28px;
}

.demo3-strip__icon {
  flex: 0 0 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--demo3-turmeric);
  color: var(--demo3-green-ink);
  font-size: 24px;
}

.demo3-strip h4 {
  margin: 4px 0 6px;
  font-family: var(--demo3-serif);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
}

.demo3-strip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 991.98px) {
  .demo3-strip .col-lg-4 + .col-lg-4 .demo3-strip__item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px 12px 4px;
  }
}

/* ---------- About ---------- */
.demo3-about {
  background: var(--demo3-ivory);
}

.demo3-about p {
  color: var(--demo3-muted);
  font-size: 16px;
  line-height: 1.8;
}

.demo3-about__photos {
  position: relative;
  padding: 0 0 12% 14%;
}

.demo3-about__arch {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--demo3-radius) var(--demo3-radius);
}

.demo3-about__round {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--demo3-ivory);
  box-shadow: var(--demo3-shadow);
}

.demo3-about__leaf {
  position: absolute;
  right: -10px;
  top: 6%;
  width: 70px;
  color: var(--demo3-turmeric);
  transform: rotate(30deg);
}

.demo3-about__sign {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.demo3-about__sign span {
  color: var(--demo3-muted);
  font-size: 14px;
}

.demo3-about__sign strong {
  font-family: var(--demo3-serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  color: var(--demo3-green);
}

@media (min-width: 992px) {
  .demo3-about__photos { max-width: 480px; margin-left: auto; }
}

/* ---------- Menu: dish cards ---------- */
.demo3-menu {
  background: var(--demo3-rice);
}

.demo3-menu__tabs {
  flex-wrap: nowrap;
  justify-content: safe center;
  gap: 10px;
  margin-bottom: 36px;
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.demo3-menu__tabs .nav-link {
  white-space: nowrap;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: var(--demo3-text);
  font-weight: 600;
  transition: 0.2s ease;
}

.demo3-menu__tabs .nav-link:hover {
  color: var(--demo3-green);
  box-shadow: 0 6px 16px rgba(20, 48, 34, 0.08);
}

.demo3-menu__tabs .nav-link.active {
  background: var(--demo3-green);
  color: #fff;
}

body.home a.demo3-dish {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 16px;
  border-radius: var(--demo3-radius);
  background: #fff;
  color: var(--demo3-text);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.home a.demo3-dish:hover {
  transform: translateY(-6px);
  box-shadow: var(--demo3-shadow);
  color: var(--demo3-text);
}

.demo3-dish__img {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  background: var(--demo3-rice);
}

.demo3-dish__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.demo3-dish:hover .demo3-dish__img img {
  transform: scale(1.06);
}

.demo3-dish__name {
  flex: 1;
  margin: 14px 4px 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
}

.demo3-dish__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.demo3-dish__price {
  font-family: var(--demo3-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--demo3-green);
}

.demo3-dish__add {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--demo3-turmeric);
  color: var(--demo3-green-ink);
  transition: transform 0.25s ease;
}

.demo3-dish:hover .demo3-dish__add {
  transform: rotate(90deg);
}

/* ---------- Specials: green, zigzag rows ---------- */
body.home .demo3-specials {
  background: var(--demo3-green);
  color: #fff;
}

.demo3-specials .demo3-heading {
  color: #fff;
}

.demo3-specials .demo3-eyebrow {
  background: rgba(232, 163, 61, 0.18);
  color: var(--demo3-turmeric);
}

.demo3-special + .demo3-special {
  margin-top: 56px;
}

.demo3-special--flip {
  flex-direction: row-reverse;
}

.demo3-special__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.demo3-special__body {
  padding: 0 4%;
}

.demo3-special__num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 2px solid var(--demo3-turmeric);
  color: var(--demo3-turmeric);
  font-family: var(--demo3-serif);
  font-weight: 700;
}

.demo3-special h3 {
  margin: 0 0 14px;
  font-family: var(--demo3-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: #fff;
}

.demo3-special p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.demo3-special .demo3-special__lead {
  color: #fff;
  font-size: 18px;
}

/* ---------- Testimonials ---------- */
.demo3-testimonials {
  background: var(--demo3-ivory);
}

.demo3-quote {
  height: 100%;
  margin: 0;
  padding: 34px 32px;
  border-radius: var(--demo3-radius);
  background: #fff;
  border: 1px solid var(--demo3-line);
  transition: box-shadow 0.25s ease;
}

.demo3-quote:hover {
  box-shadow: var(--demo3-shadow);
}

.demo3-quote__mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(232, 163, 61, 0.18);
  color: var(--primary-active);
  font-size: 24px;
}

.demo3-quote blockquote {
  margin: 18px 0 24px;
  font-family: var(--demo3-serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--demo3-text);
}

.demo3-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo3-quote__avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--demo3-green);
  color: #fff;
  font-weight: 700;
}

.demo3-quote figcaption strong {
  display: block;
  color: var(--demo3-text);
}

.demo3-quote__stars {
  color: var(--demo3-turmeric);
  font-size: 13px;
  letter-spacing: 2px;
}

.demo3-testimonials .testimonials-slider {
  padding-bottom: 50px;
}

.demo3-testimonials .swiper-slide {
  height: auto;
}

.demo3-testimonials .swiper-pagination-bullet {
  background: var(--demo3-green);
  opacity: 0.25;
}

.demo3-testimonials .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 6px;
  opacity: 1;
}

/* ---------- Gallery ---------- */
.demo3-gallery {
  background: var(--demo3-rice);
}

.demo3-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}

.demo3-gallery__item {
  overflow: hidden;
  border-radius: var(--demo3-radius);
}

.demo3-gallery__item:nth-child(1) { grid-row: span 2; border-radius: 999px 999px var(--demo3-radius) var(--demo3-radius); }
.demo3-gallery__item:nth-child(4) { grid-row: span 2; border-radius: var(--demo3-radius) var(--demo3-radius) 999px 999px; }
.demo3-gallery__item:nth-child(7) { grid-column: span 2; }

.demo3-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.demo3-gallery__item:hover img {
  transform: scale(1.07);
}

@media (max-width: 767.98px) {
  .demo3-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .demo3-gallery__item:nth-child(7) { grid-column: span 2; }
}

/* ---------- Contact ---------- */
body.home .demo3-contact {
  background: var(--demo3-ivory);
}

.demo3-contact__box {
  overflow: hidden;
  border-radius: var(--demo3-radius);
  background: #fff;
  box-shadow: var(--demo3-shadow);
}

.demo3-contact__info {
  position: relative;
  height: 100%;
  padding: 44px 40px;
  background: var(--demo3-green);
  overflow: hidden;
}

.demo3-contact__line {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
}

.demo3-contact__line + .demo3-contact__line {
  margin-top: 26px;
}

.demo3-contact__line i {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--demo3-turmeric);
  font-size: 19px;
}

.demo3-contact__line h4 {
  margin: 0 0 6px;
  font-family: var(--demo3-serif);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
}

.demo3-contact__line p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

body.home .demo3-contact__line a {
  color: var(--demo3-turmeric);
}

.demo3-contact__leaf {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 200px;
  color: rgba(255, 255, 255, 0.06);
  transform: rotate(-20deg);
}

.demo3-contact__form {
  padding: 44px 40px;
}

.contact .wpcf7-form input,
.contact .wpcf7-form textarea {
  background: var(--demo3-ivory);
  border: 1px solid var(--demo3-line);
  border-radius: 14px;
  color: var(--demo3-text);
}

.contact .wpcf7-form input:focus,
.contact .wpcf7-form textarea:focus {
  border-color: var(--demo3-green-2);
  background: #fff;
}

.contact .wpcf7-form button[type=submit],
.contact .wpcf7-form input[type=submit] {
  background: var(--demo3-turmeric);
  color: var(--demo3-green-ink);
  font-weight: 700;
  padding: 14px 36px !important;
  border-radius: 999px;
}

.demo3-contact__map {
  margin-top: 32px;
  overflow: hidden;
  border-radius: var(--demo3-radius);
}

/* ---------- Footer: deep green ---------- */
#footer {
  background: var(--demo3-green-ink);
}

#footer a > img {
  filter: brightness(0) invert(1);
}

#footer h4 {
  font-family: var(--demo3-serif);
}

#footer .footer-links a:hover {
  color: var(--demo3-turmeric) !important;
}

#footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.cookie-consent-banner {
  background: rgba(20, 48, 34, 0.97);
}

.cookie-consent-banner .btn-primary {
  color: var(--demo3-green-ink);
}

/* =====================================================================
 * Light effects
 * ===================================================================== */

/* Hero: drifting glows of turmeric and green, a fine grain, rays behind the bowl, a sheen on the name */
.demo3-hero__fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.demo3-hero__fx::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3e%3cfilter id='n'%3e%3cfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3e%3cfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .35 0 0 0 0 .25 0 0 0 .18 0'/%3e%3c/filter%3e%3crect width='100%25' height='100%25' filter='url(%23n)'/%3e%3c/svg%3e");
}

.demo3-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: demo3-drift 18s ease-in-out infinite alternate;
}

.demo3-blob--1 { width: 520px; height: 520px; right: 4%; top: -12%; background: #f6c36b; }
.demo3-blob--2 { width: 420px; height: 420px; left: -8%; bottom: -20%; background: #b9d9a8; animation-delay: -6s; }
.demo3-blob--3 { width: 300px; height: 300px; left: 38%; top: 10%; background: #fde3b0; animation-delay: -12s; }

@keyframes demo3-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

.demo3-hero .container {
  position: relative;
  z-index: 1;
}

.demo3-hero__rays {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(232, 163, 61, 0.28) 0deg 6deg, rgba(232, 163, 61, 0) 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 68%);
  mask: radial-gradient(circle, #000 30%, transparent 68%);
  animation: demo3-turn 70s linear infinite;
}

.demo3-hero__disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 45%);
}

#hero.demo3-hero h1 span {
  background: linear-gradient(100deg, var(--demo3-green) 0%, var(--demo3-green) 40%, #c9852a 50%, var(--demo3-green) 60%, var(--demo3-green) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: demo3-sheen 6s ease-in-out infinite;
  padding-right: 0.1em;
}

@keyframes demo3-sheen {
  0%, 30% { background-position: 100% 0; }
  70%, 100% { background-position: 0 0; }
}

/* Buttons and cards: a streak of light that sweeps across */
.demo3-btn,
body.home a.demo3-dish,
.demo3-special__media,
.demo3-gallery__item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.demo3-btn::after,
body.home a.demo3-dish::after,
.demo3-special__media::after,
.demo3-gallery__item::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -75%;
  width: 50%;
  z-index: 2;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
}

.demo3-btn:hover::after,
body.home a.demo3-dish:hover::after,
.demo3-special__media:hover::after,
.demo3-gallery__item:hover::after {
  animation: demo3-streak 0.9s ease;
}

body.home .demo3-hero .demo3-btn--solid::after {
  animation: demo3-streak 1.2s ease 1.5s, demo3-streak 1.2s ease 6s infinite;
}

@keyframes demo3-streak {
  to { left: 130%; }
}

.demo3-special__media {
  border-radius: var(--demo3-radius);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.demo3-special__media img {
  display: block;
  transition: transform 0.6s ease;
}

.demo3-special__media:hover img {
  transform: scale(1.04);
}

body.home a.demo3-dish:hover {
  box-shadow: 0 20px 40px rgba(20, 48, 34, 0.12), 0 0 0 1px rgba(232, 163, 61, 0.35), 0 0 30px rgba(232, 163, 61, 0.25);
}

.demo3-menu__tabs .nav-link.active {
  box-shadow: 0 8px 20px rgba(31, 77, 54, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* The green blocks: a glowing border that runs round the strip, big soft glows on the specials, and a light
   under the pointer (assets/js/demo3.js sets --mx / --my) */
@property --demo3-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.demo3-strip .row {
  position: relative;
  isolation: isolate;
  background: radial-gradient(circle at 15% 0%, rgba(232, 163, 61, 0.18), rgba(232, 163, 61, 0) 40%), var(--demo3-green);
}

.demo3-strip .row::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: calc(var(--demo3-radius) + 2px);
  padding: 2px;
  background: conic-gradient(from var(--demo3-angle), rgba(232, 163, 61, 0) 0deg, rgba(232, 163, 61, 0.9) 60deg, rgba(255, 236, 190, 0.9) 90deg, rgba(232, 163, 61, 0) 150deg, rgba(232, 163, 61, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: demo3-orbit 6s linear infinite;
}

@keyframes demo3-orbit {
  to { --demo3-angle: 360deg; }
}

body.home .demo3-specials {
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(232, 163, 61, 0.22), rgba(232, 163, 61, 0) 70%),
    radial-gradient(ellipse 45% 40% at 5% 70%, rgba(106, 168, 79, 0.3), rgba(106, 168, 79, 0) 70%),
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--demo3-green);
}

[data-demo3-glow] {
  position: relative;
}

[data-demo3-glow]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 214, 140, 0.16), rgba(255, 214, 140, 0) 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

[data-demo3-glow].is-lit::after {
  opacity: 1;
}

.demo3-specials .container,
.demo3-strip .row > * {
  position: relative;
  z-index: 1;
}

.demo3-special__num {
  box-shadow: 0 0 18px rgba(232, 163, 61, 0.35), inset 0 0 12px rgba(232, 163, 61, 0.2);
}

.demo3-strip__icon,
.demo3-hero__badge i {
  box-shadow: 0 0 0 6px rgba(232, 163, 61, 0.18), 0 0 24px rgba(232, 163, 61, 0.45);
}

.demo3-hero__badge i {
  box-shadow: 0 0 0 6px rgba(217, 69, 43, 0.15), 0 0 20px rgba(217, 69, 43, 0.4);
  animation: demo3-pulse 2.4s ease-in-out infinite;
}

@keyframes demo3-pulse {
  50% { box-shadow: 0 0 0 10px rgba(217, 69, 43, 0.08), 0 0 28px rgba(217, 69, 43, 0.55); }
}

/* Headings: a turmeric glow line under the section titles */
.demo3-title .demo3-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(232, 163, 61, 0), var(--demo3-turmeric), rgba(232, 163, 61, 0));
  box-shadow: 0 0 14px rgba(232, 163, 61, 0.6);
}

/* Contact: the green column lit like the others */
.demo3-contact__info {
  background: radial-gradient(circle at 0% 0%, rgba(232, 163, 61, 0.2), rgba(232, 163, 61, 0) 45%), var(--demo3-green);
}

@media (prefers-reduced-motion: reduce) {
  .demo3-blob,
  .demo3-hero__rays,
  .demo3-hero__bowl,
  .demo3-hero__steam span,
  .demo3-hero__leaf,
  .demo3-hero__badge i,
  .demo3-strip .row::before,
  #hero.demo3-hero h1 span,
  .demo3-btn::after,
  body.home .demo3-hero .demo3-btn--solid::after {
    animation: none !important;
  }
}
