@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Slab:wght@400;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap");

:root {
  --primary-color: #613351;
  --maroon: #8b2b3e;
  --text-color: #333;
  --border-color: #ddd;
  --white: #ffffff;
  --black: #000000;
}

.text-maroon {
  color: var(--maroon) !important;
}
.lh-lg {
  line-height: 1.8 !important;
}

/* Global Overrides */
body {
  font-family: "Inter", sans-serif;
  overflow: hidden !important;
  height: 100vh !important;
}

.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fallFromAbove {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tada {
  0% {
    transform: scale(1);
  }
  10%,
  20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%,
  50%,
  70%,
  90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%,
  60%,
  80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes colorSplash {
  0% {
    box-shadow: 0 0 0 0 rgba(97, 51, 81, 0.6);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(97, 51, 81, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(97, 51, 81, 0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.scroll-left {
  animation: scroll-left 40s linear infinite;
}

.scroll-right {
  animation: scroll-right 40s linear infinite;
}

.scroll-container:hover .scroll-left,
.scroll-container:hover .scroll-right {
  animation-play-state: paused;
}

/* Reveal Animations Base */
.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0) scale(1) !important;
}

.reveal-fade-up {
  transform: translateY(40px);
}

.reveal-slide-left {
  transform: translateX(-50px);
}

.reveal-slide-right {
  transform: translateX(50px);
}

.reveal-zoom-in {
  transform: scale(0.9);
}

/* Staggering for revealed children */
.stagger-children > *:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger-children > *:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger-children > *:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-children > *:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger-children > *:nth-child(5) {
  transition-delay: 0.5s;
}
.stagger-children > *:nth-child(6) {
  transition-delay: 0.6s;
}

/* Micro-interactions */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
}

.hover-glow {
  position: relative;
  overflow: hidden;
}

.hover-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hover-glow:hover::after {
  opacity: 1;
}

/* Pulsating CTA */
@keyframes pulse-btn {
  0% {
    box-shadow: 0 0 0 0 rgba(97, 51, 81, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(97, 51, 81, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(97, 51, 81, 0);
  }
}

.btn-pulse {
  animation: pulse-btn 2s infinite;
}

/* Parallax Effect */
.parallax-bg {
  transform: translateZ(0);
  transition: transform 0.1s linear;
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-tada {
  animation:
    tada 1.5s ease-in-out infinite,
    colorSplash 1.5s ease-out infinite;
  display: inline-block;
}
.animate-slide-in {
  animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-item {
  opacity: 0;
  animation: fallFromAbove 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Nav Item Staggering */
.nav-item:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-item:nth-child(2) {
  animation-delay: 0.15s;
}
.nav-item:nth-child(3) {
  animation-delay: 0.2s;
}
.nav-item:nth-child(4) {
  animation-delay: 0.25s;
}
.nav-item:nth-child(5) {
  animation-delay: 0.3s;
}
.nav-item:nth-child(6) {
  animation-delay: 0.35s;
}
.nav-item:nth-child(7) {
  animation-delay: 0.4s;
}

/* Specialized Layout Utilities */
.text-maroon {
  color: #8b2b3e !important;
}
.overview-vertical-strip {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 100px !important;
  background-color: #f7f9fb !important;
  z-index: 1 !important;
  display: block !important;
}

.overview-vertical-label {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  height: 100% !important;
  width: 100px !important;
  z-index: 100 !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#overview-vertical-label-text {
  display: block !important;
  writing-mode: vertical-rl !important;
  transform: rotate(180deg) !important;
  font-size: 85px !important;
  font-weight: 900 !important;
  color: #613351 !important;
  font-family: "Roboto Slab", serif !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  text-transform: capitalize !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hidden-on-mobile {
    display: none !important;
  }
}
