/* Local Font Declarations - Manrope and Playfair Display */
/* Manrope Font Family */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Playfair Display Font Family */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Bold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-SemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: #1e2030;
  color: #ffffff;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
.font-display {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
}

/* Typography Base Styles */
h1 {
  font-size: 3rem; /* text-5xl */
  font-weight: 600; /* font-semibold */
  color: #ffffff; /* text-white */
  letter-spacing: -0.025em; /* tracking-tight */
  line-height: 1.1;
}

@media (min-width: 768px) {
  h1 {
    font-size: 4.5rem; /* md:text-7xl */
  }
}

h2 {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 600; /* font-semibold */
  letter-spacing: -0.025em; /* tracking-tight */
  color: #ffffff; /* text-white */
  line-height: 1.1;
}

@media (min-width: 768px) {
  h2 {
    font-size: 3rem; /* md:text-5xl */
    line-height: 1.1;
  }
}

h3 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 600; /* font-semibold */
  color: #ffffff; /* text-white */
  letter-spacing: -0.025em; /* tracking-tight */
  line-height: 1.2;
}

h4 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600; /* font-semibold */
  color: #ffffff; /* text-white */
  letter-spacing: -0.025em; /* tracking-tight */
  line-height: 1.3;
}

p {
  color: #9ca3af; /* text-gray-400 */
  font-size: 1.125rem; /* text-base */
  line-height: 1.8;
  font-weight: 400;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #1e2030;
}
::-webkit-scrollbar-thumb {
  background: #333652;
  border-radius: 3px;
}
/* Fade Animation for Slides */
.slide {
  transition: opacity 1000ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 1000ms cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  z-index: 10;
  transform: scale(1);
  pointer-events: auto;
}
/* Text Stagger Animation */
.slide.active .animate-reveal {
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
.delay-100 {
  animation-delay: 100ms;
}
.delay-200 {
  animation-delay: 200ms;
}
.delay-300 {
  animation-delay: 300ms;
}
.delay-400 {
  animation-delay: 400ms;
}
/* Progress Bar Animation for Carousel */
@keyframes progress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
.nav-btn.active .progress-bar {
  animation: progress 5000ms linear forwards;
}
/* Marquee Animation */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.animate-marquee {
  animation: marquee 30s linear infinite;
  display: flex;
  width: max-content;
}
.animate-marquee:hover {
  animation-play-state: paused;
}
/* Animated Grid Background */
@keyframes grid-spotlight-move {
  0% {
    mask-position: 0% 0%;
  }
  25% {
    mask-position: 100% 0%;
  }
  50% {
    mask-position: 100% 100%;
  }
  75% {
    mask-position: 0% 100%;
  }
  100% {
    mask-position: 0% 0%;
  }
}
.bg-grid-base {
  background-size: 4rem 4rem;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}
.bg-grid-highlight {
  background-size: 4rem 4rem;
  background-image: linear-gradient(
      to right,
      rgba(185, 153, 128, 0.25) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(185, 153, 128, 0.25) 1px, transparent 1px);
  mask-image: radial-gradient(circle 600px at center, black, transparent 80%);
  mask-size: 200% 200%;
  animation: grid-spotlight-move 15s linear infinite;
}
/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.animate-fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
/* Grid Scroll Animation */
@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 4rem 4rem;
  }
}
.animate-grid-scroll {
  animation: gridMove 20s linear infinite;
}
/* Map Filter */
.map-filter {
  filter: grayscale(100%) invert(90%) hue-rotate(180deg) brightness(0.8)
    contrast(1.2);
  mix-blend-mode: hard-light;
}
/* SVG Line Drawing Animation */
@keyframes drawLine {
  from {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
.draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2.5s ease-out forwards;
}
/* Float Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}
/* Iconify Icon Display */
iconify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Blueprint Specific Animations */
@keyframes nodePop {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.blueprint-node {
  opacity: 0;
  animation: nodePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.blueprint-label {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease-out forwards;
}
