/* PRG Hospitality — Master Stylesheet (#050507 Jet Black, #5B32B4 / #8F64E8 Royal Purple, #FFFFFF Crisp White) */

:root {
  --bg-abyss: #050507;
  --bg-obsidian: #0D0D12;
  --bg-slatecard: #14141C;
  --accent-purple: #5B32B4;
  --accent-purple-bright: #8F64E8;
  --accent-purple-glow: #B592FF;
  --accent-purple-dim: #3F1F87;
  --text-white: #FFFFFF;
}

body {
  background-color: var(--bg-abyss);
  color: var(--text-white);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #D8C5FF 42%, #8F64E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-gold-gradient {
  background: linear-gradient(135deg, #6E42CE 0%, #5B32B4 55%, #462394 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 24px -4px rgba(91, 50, 180, 0.55);
}

.btn-gold-gradient:hover {
  background: linear-gradient(135deg, #8657E8 0%, #683AC9 60%, #5229AC 100%);
  box-shadow: 0 10px 30px -4px rgba(143, 100, 232, 0.72);
  transform: translateY(-1px);
}

/* Dark Blueprint Grid for Jet Black / Obsidian Sections */
.blueprint-grid {
  background-image:
    linear-gradient(to right, rgba(143, 100, 232, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(143, 100, 232, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: blueprintDrift 42s linear infinite;
}

/* Transparent Purple Tree-Rings Pattern for Crisp White Sections */
.blueprint-grid-light {
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'>%0A  <g fill='none' stroke='%235B32B4' stroke-linecap='round'>%0A    <path d='M130,350 C118,342 122,324 136,322 C152,320 158,342 146,356 C128,376 96,368 92,340 C86,302 126,274 162,284 C206,296 220,352 192,390 C156,438 84,432 54,384 C16,324 44,240 108,212 C188,176 280,224 298,308 C318,402 256,492 162,504' stroke-width='1.5' opacity='0.16'/>%0A    <path d='M134,344 C128,338 131,329 139,329 C147,329 149,340 142,347 C131,358 110,352 108,334 C105,310 132,292 155,299 C185,308 195,346 175,372 C148,406 98,400 76,366 C48,322 70,262 118,242 C176,216 244,252 258,314 C272,384 226,450 154,458' stroke-width='1.2' opacity='0.13'/>%0A    <path d='M20,170 C95,125 215,130 295,195 C375,260 405,375 375,475' stroke-width='1.6' opacity='0.15'/>%0A    <path d='M25,120 C125,75 265,85 355,165 C435,235 465,355 445,475' stroke-width='1.4' opacity='0.13'/>%0A    <path d='M40,65 C165,25 320,40 415,130 C455,168 475,210 480,250' stroke-width='1.2' opacity='0.10'/>%0A    <path d='M210,475 C295,455 355,390 362,300' stroke-width='1.3' opacity='0.12'/>%0A    <path d='M275,475 C355,445 410,375 418,280' stroke-width='1.1' opacity='0.09'/>%0A  </g>%0A  <g fill='none' stroke='%238F64E8' stroke-linecap='round'>%0A    <path d='M138,338 C134,335 135,331 139,331 C143,331 144,336 140,340 C134,346 122,343 121,333 C119,320 134,310 147,314 C164,319 170,340 158,355 C142,375 113,371 101,351 C85,325 98,291 126,279 C160,264 200,285 208,321 C216,362 189,400 147,405' stroke-width='1.0' opacity='0.11'/>%0A  </g>%0A</svg>");
  background-repeat: repeat;
  background-size: 480px 480px;
  background-position: 0 0;
  animation: treeRingsDrift 55s linear infinite;
}

@keyframes blueprintDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 80px 80px, 80px 80px; }
}

@keyframes treeRingsDrift {
  0% { background-position: 0 0; }
  100% { background-position: 480px 240px; }
}

/* Dark Glass Panels */
.glass-panel {
  background: linear-gradient(145deg, rgba(20, 20, 28, 0.94), rgba(10, 10, 15, 0.96));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(143, 100, 232, 0.28);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 146, 255, 0.65);
  box-shadow: 0 14px 30px -10px rgba(91, 50, 180, 0.45);
}

/* Light Panels on White Sections */
.light-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(91, 50, 180, 0.22);
  box-shadow: 0 8px 24px -12px rgba(5, 5, 7, 0.12);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.light-panel:hover {
  transform: translateY(-3px);
  border-color: #5B32B4;
  box-shadow: 0 14px 28px -12px rgba(91, 50, 180, 0.25);
}

.rollout-step.active-step {
  border-color: #B592FF !important;
  background: linear-gradient(145deg, rgba(91, 50, 180, 0.35), rgba(13, 13, 18, 0.95));
  box-shadow: 0 0 0 1px rgba(181, 146, 255, 0.45), 0 12px 24px -8px rgba(91, 50, 180, 0.5);
}

/* Animations */
@keyframes heroEnter {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes reverseSpin {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(-50%) translateY(0px); }
  50% { transform: translateY(-50%) translateY(-12px); }
}

@keyframes pulseOrb {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes dashFlow {
  to { stroke-dashoffset: -28; }
}

@keyframes scanBeam {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes filterIn {
  0% { opacity: 0; transform: translateY(10px) scale(0.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-hero-enter {
  opacity: 0;
  animation: heroEnter 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slow-spin {
  animation: slowSpin 36s linear infinite;
}

.animate-reverse-spin {
  animation: reverseSpin 48s linear infinite;
}

.animate-float {
  animation: floatSlow 6.5s ease-in-out infinite;
}

.animate-pulse-orb {
  animation: pulseOrb 5.5s ease-in-out infinite;
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.animate-dash-flow {
  animation: dashFlow 1.4s linear infinite;
}

.animate-scan-beam {
  animation: scanBeam 5.5s ease-in-out infinite;
}

.animate-filter-in {
  animation: filterIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050507; }
::-webkit-scrollbar-thumb { background: #5B32B4; border-radius: 5px; border: 2px solid #050507; }
::-webkit-scrollbar-thumb:hover { background: #8F64E8; }

@media print {
  header, footer, .animate-marquee, #sector-filter-bar { display: none !important; }
  body, section { background: #FFFFFF !important; color: #050507 !important; }
}
