/* Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Base Animations */
@keyframes slowZoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(10px) translateX(-50%); }
}

@keyframes heroTextZoom {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-hero-text-zoom {
  animation: heroTextZoom 4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: center center;
  will-change: transform, opacity;
}

.animate-slow-zoom {
  animation: slowZoom 20s ease-out forwards;
}

.animate-bounce-slow {
  animation: bounceSlow 2s ease-in-out infinite;
}

/* Scroll Reveal Base States */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

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

::-webkit-scrollbar-track {
  background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
  background: #C5A028;
  border-radius: 4px;
}

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

/* Selection color */
::selection {
  background: #D4AF37;
  color: #0F0F0F;
}

/* Smooth image loading */
img {
  transition: opacity 0.5s ease;
}

/* Form autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #0F0F0F;
  -webkit-box-shadow: 0 0 0px 1000px white inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* Hero Heading - Cinzel Caps */
.hero-heading {
  font-family: 'Cinzel', 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}



.hero-drop-cap {
  color: #D4AF37;
}

/* Mobile menu link hover effect */
.mobile-link {
  position: relative;
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 1px;
  background: #D4AF37;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.mobile-link:hover::after {
  width: 100%;
}

/* Success Confirmation Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes checkBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-check-animation {
  animation: checkBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
}

/* About Section Carousel */
#about-carousel {
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
}

.carousel-dot.active {
  background: #D4AF37 !important;
  width: 1.25rem;
}

/* Social Media Tooltips */
.social-tooltip {
  position: relative;
}

.social-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1A1A1A;
  color: #D4AF37;
  padding: 5px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid rgba(212, 175, 55, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}

.social-tooltip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: #1A1A1A;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}

.social-tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.social-tooltip:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}