/* Jyoti Group Of Hotel — animated landing page */
:root {
  --navy-2: #071a3a;
  --navy: #0b2a5b;
  --blue: #008cff;
  --blue-2: #065af3;
  --orange: #ff6d38;
  --orange-2: #ff8a3d;
  --gold: #ffd25a;
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-h: "Poppins", "Lato", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: #fff; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; position: relative;
  background: linear-gradient(180deg, #050f26 0%, var(--navy-2) 35%, #0a2f6e 75%, #0b3d93 100%); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
.ic { flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- Backdrop ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.stars { position: absolute; inset: 0; background-image:
  radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 28% 42%, #cfe0ff 50%, transparent 52%),
  radial-gradient(1.8px 1.8px at 46% 12%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 63% 30%, #fff 50%, transparent 52%),
  radial-gradient(1.6px 1.6px at 78% 16%, #cfe0ff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 90% 38%, #fff 50%, transparent 52%),
  radial-gradient(1.4px 1.4px at 7% 58%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 36% 66%, #cfe0ff 50%, transparent 52%),
  radial-gradient(1.4px 1.4px at 84% 62%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 55% 52%, #fff 50%, transparent 52%);
  animation: twinkle 5s ease-in-out infinite alternate; opacity: .7; }
@keyframes twinkle { from { opacity: .35; } to { opacity: .9; } }
.glow-orb { position: absolute; left: 50%; top: 150px; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(255, 178, 64, .5) 0%, rgba(255, 109, 56, .18) 32%, transparent 62%); filter: blur(10px); animation: orb 7s ease-in-out infinite alternate; }
@keyframes orb { from { transform: translate(-50%, -30%) scale(.92); opacity: .75; } to { transform: translate(-50%, -30%) scale(1.08); opacity: 1; } }
.sparks span { position: absolute; bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle, #fff3b0, #ffb02e 60%, transparent 70%);
  opacity: 0; animation: rise var(--t) linear var(--dl) infinite; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(var(--dx), -105vh); opacity: 0; } }
.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 22vh; min-height: 120px; }
.waves path { transform-origin: center; }
.w1 { fill: rgba(0, 140, 255, .22); animation: sway 9s ease-in-out infinite alternate; }
.w2 { fill: rgba(6, 90, 243, .35); animation: sway 7s ease-in-out -2s infinite alternate-reverse; }
.w3 { fill: rgba(5, 40, 110, .75); animation: sway 11s ease-in-out -4s infinite alternate; }
@keyframes sway { from { transform: translateX(-3%); } to { transform: translateX(3%); } }

/* ---------- Header ---------- */
.l-head { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px clamp(16px, 4vw, 48px); opacity: 0; animation: fade .8s ease .1s forwards; }
.l-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.1rem var(--font-h); }
.l-call { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 700; font-size: .92rem; transition: background .2s; }
.l-call:hover { background: rgba(255, 255, 255, .22); }
@keyframes fade { to { opacity: 1; } }

/* ---------- Intro ---------- */
.l-main { position: relative; z-index: 2; padding-bottom: 80px; }
.intro { text-align: center; padding: clamp(6px, 2vh, 24px) 16px 0; }
.flame { display: inline-block; opacity: 0; transform: scale(.4) translateY(24px); animation: ignite 1.1s cubic-bezier(.2, 1.2, .3, 1) .2s forwards; filter: drop-shadow(0 0 22px rgba(255, 178, 64, .7)); }
.flame svg { width: clamp(54px, 8vh, 84px); height: auto; }
.fl { transform-origin: 60px 90px; animation: flicker 1.3s ease-in-out infinite alternate; }
.fglow { animation: pulse 2.4s ease-in-out infinite alternate; transform-origin: 60px 58px; }
@keyframes ignite { to { opacity: 1; transform: none; } }
@keyframes flicker { 0% { transform: scale(1, 1) skewX(0deg); } 35% { transform: scale(.96, 1.06) skewX(2deg); } 70% { transform: scale(1.03, .97) skewX(-2deg); } 100% { transform: scale(.98, 1.04) skewX(1deg); } }
@keyframes pulse { from { transform: scale(.88); opacity: .7; } to { transform: scale(1.1); opacity: 1; } }
.title { margin: 0; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.t-big { display: flex; font: 800 clamp(3rem, 10vh, 5.6rem)/1 var(--font-h); letter-spacing: .06em; }
.t-big i { font-style: normal; display: inline-block; opacity: 0; transform: translateY(30px) scale(.7); filter: blur(8px);
  background: linear-gradient(180deg, #fff6c9, var(--gold) 45%, var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: letter .8s cubic-bezier(.2, .9, .3, 1.2) var(--d) forwards; }
@keyframes letter { to { opacity: 1; transform: none; filter: blur(0); } }
.t-small { margin-top: 6px; font: 600 clamp(1rem, 2.6vh, 1.5rem) var(--font-h); letter-spacing: .5em; text-transform: uppercase; color: #cfe0ff; opacity: 0; animation: spread 1.2s ease 1.1s forwards; padding-left: .5em; }
@keyframes spread { from { opacity: 0; letter-spacing: .1em; } to { opacity: 1; letter-spacing: .5em; } }
.tagline { margin: 14px 0 0; color: #bcd2fb; font-size: clamp(.95rem, 2.2vh, 1.15rem); opacity: 0; animation: rise-in .9s ease 1.5s forwards; }
.tagline .dot { color: var(--orange-2); margin: 0 4px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Hotel cards ---------- */
.hotels { width: min(1320px, 100% - 32px); margin: clamp(18px, 4vh, 40px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-card { opacity: 0; --fx: 0px; --fr: 0deg;
  animation: cardIn .95s cubic-bezier(.2, .85, .25, 1) forwards; animation-delay: calc(1.9s + var(--i) * .24s); }
.h-card:nth-child(1) { --fx: -80px; --fr: -5deg; }
.h-card:nth-child(2) { --fx: -30px; --fr: -2deg; }
.h-card:nth-child(3) { --fx: 30px;  --fr: 2deg; }
.h-card:nth-child(4) { --fx: 80px;  --fr: 5deg; }
@keyframes cardIn { from { opacity: 0; transform: translate3d(var(--fx), 90px, 0) rotate(var(--fr)) scale(.88); } to { opacity: 1; transform: none; } }
.h-float { height: 100%; display: flex; flex-direction: column; background: rgba(255, 255, 255, .97); color: #1b2330; border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 10, 40, .45); position: relative; transition: transform .35s ease, box-shadow .35s ease;
  animation: floaty 7s ease-in-out infinite; animation-delay: calc(3.2s + var(--i) * -1.5s); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.h-float::after { content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none; box-shadow: inset 0 0 0 3px transparent; transition: box-shadow .4s; }
.h-card.spot .h-float, .h-card:hover .h-float { box-shadow: 0 24px 60px rgba(0, 10, 40, .6), 0 0 0 4px rgba(255, 178, 64, .85), 0 0 40px rgba(255, 178, 64, .45); animation-play-state: paused; transform: translateY(-10px); }
.h-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b2a5b; }
.h-media img { width: 100%; height: 100%; object-fit: cover; animation: kb 14s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.12); } }
.h-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 26, 58, .65)); }
.h-num { position: absolute; right: 14px; top: 8px; z-index: 1; font: 800 2.4rem var(--font-h); color: rgba(255, 255, 255, .9); text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.h-badge { position: absolute; left: 14px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; font: 700 .76rem var(--font-h); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(0, 140, 255, .85); padding: 5px 11px; border-radius: 999px; }
.h-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.h-body h2 { margin: 0 0 12px; font: 700 1.35rem/1.2 var(--font-h); color: var(--navy); }
.h-info { display: grid; gap: 10px; margin-bottom: 18px; font-size: .94rem; color: #3b475c; }
.h-info li { display: flex; gap: 10px; align-items: flex-start; }
.h-info .ic { color: var(--blue); margin-top: 2px; }
.h-info span { display: flex; flex-direction: column; min-width: 0; }
.h-info a { font-weight: 700; color: #1b2330; }
.h-info li:nth-child(3) a { font-size: .84rem; word-break: normal; overflow-wrap: normal; white-space: nowrap; }
.h-info a:hover { color: var(--blue-2); }
.h-info small { color: #7a8599; font-size: .78rem; }
.h-visit { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 999px; color: #fff; font: 700 1rem var(--font-h);
  background: linear-gradient(93deg, var(--orange-2), var(--orange)); box-shadow: 0 8px 20px rgba(255, 109, 56, .4); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.h-visit::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: shine 3.4s ease-in-out 3s infinite; }
@keyframes shine { 0% { left: -60%; } 40%, 100% { left: 140%; } }
.h-visit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 109, 56, .55); }
.h-visit .ic { transition: transform .2s; }
.h-visit:hover .ic { transform: translateX(4px); }
.l-foot { text-align: center; color: #9db8e6; font-size: .92rem; margin: 34px 16px 0; opacity: 0; animation: fade 1s ease 3.4s forwards; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .hotels { grid-template-columns: repeat(2, 1fr); width: min(760px, 100% - 32px); } }
@media (max-width: 640px) {
  .hotels { grid-template-columns: 1fr; gap: 18px; }
  .h-card { animation-delay: calc(1.7s + var(--i) * .2s); }
  .l-call span { display: none; }
  .l-call { padding: 10px 12px; }
  .t-big { font-size: clamp(2.6rem, 15vw, 3.6rem); }
  .t-small { letter-spacing: .3em; font-size: .95rem; }
  @keyframes spread { from { opacity: 0; letter-spacing: .1em; } to { opacity: 1; letter-spacing: .3em; } }
  .l-main { padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .flame, .l-head, .t-big i, .t-small, .tagline, .h-card, .l-foot { opacity: 1 !important; transform: none !important; filter: none !important; }
  .sparks { display: none; }
}
