/* Google Fonts & Material Icons imported */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Material Symbols Setup */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

/* Chessboard Decorative Background Pattern */
.board-pattern {
  background-image:
    linear-gradient(45deg, #e5e7eb 25%, transparent 25%),
    linear-gradient(-45deg, #e5e7eb 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e5e7eb 75%),
    linear-gradient(-45deg, transparent 75%, #e5e7eb 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
  opacity: 0.04;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1c1c;
  /* surface-ebony */
}

::-webkit-scrollbar-thumb {
  background: #c5a059;
  /* accent-gold */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b18d48;
}

/* Custom Scrollbar for Inner Elements */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f3f4;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #c5a059;
}

/* Scroll Animation Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Dynamic Grid Card Hover Effects */
.hover-card-rise {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-card-rise:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border-color: rgba(197, 160, 89, 0.4);
}

/* Custom Loader Animation */
@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

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

/* Interactive Calendar Custom Formatting */
.calendar-day-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.calendar-day-btn:hover:not(:disabled) {
  background-color: rgba(197, 160, 89, 0.15);
  border-color: #cea82a;
}

.calendar-day-active {
  background-color: #cea82a !important;
  color: #1a1c1c !important;
  font-weight: 700;
}