/* Custom styles for premium effects */
html {
  overflow-y: scroll;
  /* Forces scrollbar to prevent layout shifts */
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gold-gradient {
  background: linear-gradient(135deg, #C9A24D 0%, #E6CBA8 50%, #C9A24D 100%);
}

.text-gold {
  color: #C9A24D;
}

.bg-navy {
  background-color: #0F1A2C;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0F1A2C;
}

::-webkit-scrollbar-thumb {
  background: #C9A24D;
  border-radius: 4px;
}

/* Hide scrollbar for gallery but allow scrolling */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile Menu Animations */
.menu-item-enter {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

#mobile-menu:not(.opacity-0) .menu-item-enter {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

.delay-7 {
  transition-delay: 0.7s;
}

.delay-8 {
  transition-delay: 0.8s;
}

.delay-9 {
  transition-delay: 0.9s;
}

.gold-glow {
  filter: drop-shadow(0 0 15px rgba(201, 162, 77, 0.3));
}

/* Reveal Transitions */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Article Typography */
#article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #CBD5E1;
  /* slate-300 */
}

#article-body h2,
#article-body h3,
#article-body h4 {
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

#article-body h2 {
  font-size: 2.25rem;
  line-height: 1.2;
}

#article-body h3 {
  font-size: 1.875rem;
  line-height: 1.3;
}

#article-body h4 {
  font-size: 1.5rem;
  line-height: 1.4;
}

#article-body p {
  margin-bottom: 1.5rem;
}

#article-body strong {
  color: #FFFFFF;
  font-weight: 700;
}

#article-body a {
  color: #C9A24D;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: opacity 0.3s;
}

#article-body a:hover {
  opacity: 0.8;
}

#article-body ul,
#article-body ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

#article-body ul {
  list-style-type: none;
}

#article-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

#article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background-color: #C9A24D;
  border-radius: 50%;
}

#article-body ol {
  list-style-type: decimal;
}

#article-body ol li {
  padding-left: 0.5rem;
  margin-bottom: 0.75rem;
}

#article-body blockquote {
  border-left: 4px solid #C9A24D;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: rgba(201, 162, 77, 0.05);
  border-radius: 0 1.5rem 1.5rem 0;
  font-style: italic;
  font-size: 1.25rem;
  color: #FFFFFF;
}

#article-body img {
  border-radius: 2rem;
  margin: 3rem auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

#article-body hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 4rem 0;
}

#article-body table {
  width: 100%;
  margin-bottom: 2rem;
  border-collapse: collapse;
}

#article-body th {
  background: rgba(201, 162, 77, 0.15);
  text-align: left;
  padding: 1.25rem 1rem;
  color: #C9A24D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

#article-body td {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#article-body tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

#article-body tr:hover td {
  background: rgba(201, 162, 77, 0.05);
  transition: background 0.3s;
}

#article-body pre {
  background: #050b14;
  padding: 1.5rem;
  border-radius: 1rem;
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#article-body code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.9em;
}

#article-body pre code {
  background: transparent;
  padding: 0;
}