/* =========================================================
   Hotel Shinde Shahi — motion (V24)
   Gentle, festive and slow. Everything here is switched off
   for visitors who ask their device for reduced motion.
   ========================================================= */

/* 1. Hero entrance: copy rises in, header settles down */
@keyframes riseIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes dropIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
@keyframes fadeIn{from{opacity:0}}
.stage .hero-eyebrow{animation:riseIn .8s .15s both}
.stage .hero-messages{animation:riseIn .9s .3s both}
.stage .hero-actions{animation:riseIn .9s .5s both}
.stage .hero-controls{animation:riseIn .9s .65s both}
.stage-header .stage-brand{animation:dropIn .8s .05s both}
.stage-nav a{animation:dropIn .6s both}
.stage-nav a:nth-child(1){animation-delay:.12s}.stage-nav a:nth-child(2){animation-delay:.18s}.stage-nav a:nth-child(3){animation-delay:.24s}
.stage-nav a:nth-child(4){animation-delay:.3s}.stage-nav a:nth-child(5){animation-delay:.36s}.stage-nav a:nth-child(6){animation-delay:.42s}
.stage-contact,.stage-menu-btn{animation:dropIn .6s .48s both}
.hero-devotion.is-active,.stage-inner .hero-devotion{animation:fadeIn 1.2s .4s both}

/* 2. Living artwork: diya flames glow, steam rises, petals drift */
.stage-fx{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.stage-fx .fx-set{position:absolute;inset:0}
.glow{position:absolute;width:calc(46 * var(--k));aspect-ratio:1;margin:calc(-23 * var(--k)) 0 0 calc(-23 * var(--k));border-radius:50%;
  background:radial-gradient(circle,rgba(255,246,170,.85) 0%,rgba(255,188,60,.38) 30%,rgba(255,170,40,0) 70%);mix-blend-mode:screen;
  animation:flicker 2.6s ease-in-out infinite alternate}
.glow:nth-child(2n){animation-duration:2.1s;animation-delay:-.7s}
.glow:nth-child(3n){animation-duration:3.1s;animation-delay:-1.3s}
@keyframes flicker{0%{opacity:.45;transform:scale(.85)}45%{opacity:.95;transform:scale(1.08) translateY(-1px)}100%{opacity:.6;transform:scale(.95)}}
.steam{position:absolute;width:calc(26 * var(--k));height:calc(110 * var(--k));border-left:calc(4 * var(--k)) solid rgba(255,255,248,.55);border-radius:50%;
  filter:blur(calc(5 * var(--k)));opacity:0;transform-origin:bottom;animation:steamRise 5.5s ease-out infinite}
.steam:nth-child(2){animation-delay:-1.9s;animation-duration:6.2s}
.steam:nth-child(3){animation-delay:-3.7s;animation-duration:5.8s}
@keyframes steamRise{0%{opacity:0;transform:translateY(25%) scale(.7) rotate(-8deg)}25%{opacity:.6}80%{opacity:.15}100%{opacity:0;transform:translateY(-45%) scale(1.4) rotate(14deg)}}
.petal{position:absolute;top:-4%;width:calc(16 * var(--k));height:calc(19 * var(--k));border-radius:80% 10% 70% 25%;
  background:linear-gradient(135deg,#ff8cc0,#e8288a 60%,#a50b59);box-shadow:0 2px 5px rgba(157,34,85,.25);opacity:0;animation:petalFall 13s linear infinite}
.petal:nth-child(1){left:56%;animation-delay:-2s}.petal:nth-child(2){left:66%;animation-delay:-6s;animation-duration:15s}
.petal:nth-child(3){left:74%;animation-delay:-9s;animation-duration:12s}.petal:nth-child(4){left:83%;animation-delay:-4s;animation-duration:16s}
.petal:nth-child(5){left:61%;animation-delay:-11s;animation-duration:14s}.petal:nth-child(6){left:79%;animation-delay:-1s;animation-duration:17s}
@keyframes petalFall{0%{opacity:0;transform:translate3d(0,0,0) rotate(0)}10%{opacity:.9}85%{opacity:.75}100%{opacity:0;transform:translate3d(-9vw,52vw,0) rotate(460deg)}}
.stage-inner .petal{animation-name:petalFallShort}
@keyframes petalFallShort{0%{opacity:0;transform:translate3d(0,0,0) rotate(0)}10%{opacity:.9}85%{opacity:.7}100%{opacity:0;transform:translate3d(-7vw,34vw,0) rotate(400deg)}}
/* glows and steam are placed on the full desktop artwork only */
@media (max-width:1179px){.glow,.steam{display:none}.stage-fx{inset:0 0 auto 0;height:calc(100vw * 616 / 970)}.petal{width:12px;height:14px}}

/* 3. Marathi title: a soft breathing glow */
.devotion-title{animation:devotionGlow 4.5s ease-in-out infinite}
@keyframes devotionGlow{0%,100%{text-shadow:0 0 0 rgba(255,214,120,0)}50%{text-shadow:0 0 14px rgba(255,214,120,.9)}}

/* 4. Buttons: a light shine passes on hover */
.btn-royal{position:relative;overflow:hidden;isolation:isolate}
.btn-royal::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,rgba(255,236,190,.45) 50%,transparent 70%);transform:translateX(-120%)}
.btn-royal:hover::after{transform:translateX(120%);transition:transform .8s ease}
.stage-contact{overflow:hidden}

/* 5. Sections reveal as you scroll */
.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.js .reveal.is-visible{opacity:1;transform:none}
.home-card-grid .reveal:nth-child(2){transition-delay:.12s}.home-card-grid .reveal:nth-child(3){transition-delay:.24s}
.royal-grid .reveal:nth-child(2){transition-delay:.12s}.royal-grid .reveal:nth-child(3){transition-delay:.24s}

/* 6. Veg / non-veg marks (Indian food-label style) */
.dish-visual,.royal-card{position:relative}
.food-mark{position:absolute;top:12px;left:12px;z-index:1;display:inline-flex;align-items:center;gap:7px;padding:5px 11px 5px 7px;border-radius:999px;
  background:rgba(255,252,245,.95);box-shadow:0 3px 10px rgba(60,25,10,.18);font:700 12px/1 'DM Sans',sans-serif;color:#2f2119;letter-spacing:.02em}
.mark{position:relative;display:inline-block;width:14px;height:14px;border:2px solid;border-radius:2px;box-sizing:border-box;flex:none}
.mark::after{content:"";position:absolute;inset:0;margin:auto}
.mark-veg{border-color:#13863b}.mark-veg::after{width:6px;height:6px;border-radius:50%;background:#13863b}
.mark-nonveg{border-color:#8b2b14}.mark-nonveg::after{width:7px;height:6px;background:#8b2b14;clip-path:polygon(50% 0,100% 100%,0 100%)}
.home-dish-card .dish-copy p{margin:0 0 10px;font-size:15px;line-height:1.6;color:#68554a}

@media (prefers-reduced-motion:reduce){
  .stage *,.reveal,.devotion-title,.btn-royal::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1;transform:none}
  .stage-fx{display:none}
}
.stage-fx .fx-set.slide-part{transition:opacity 1s ease}
.fx-steam,.fx-petals{position:absolute;inset:0}
/* keep the hover lift on cards after they have revealed */
.js .home-dish-card.reveal.is-visible:hover{transform:translateY(-6px)}
.js .royal-card.reveal.is-visible:hover{transform:translateY(-4px)}
.royal-card{transition:transform .3s ease,box-shadow .3s ease}.royal-card:hover{box-shadow:0 18px 36px rgba(105,60,23,.16)}
.royal-card img{transition:transform .6s ease}.royal-card:hover img{transform:scale(1.04)}
.royal-card{overflow:hidden}
