/* Aadhya Holidays - Custom Stylesheet */

.patola-overlay {
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.04;
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.1) translate(-2%, -1%); }
  100% { transform: scale(1) translate(0,0); }
}

.ken-burns {
  animation: kenburns 30s ease-in-out infinite;
}

.gold-glow:hover, .gold-glow:focus-within {
  box-shadow: 0 0 0 3px rgba(186,117,23,.25);
}

.nav-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #BA7517;
  transition: width 0.3s ease;
}
.nav-underline:hover::after {
  width: 100%;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.itinerary-card:hover img {
  transform: scale(1.05);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.divider-gold {
  background: linear-gradient(90deg, transparent, rgba(186,117,23,0.3), transparent);
  height: 1px;
  width: 100%;
}

.patola-overlay-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(30deg, #BA7517 12%, transparent 12.5%, transparent 87%, #BA7517 87.5%, #BA7517), linear-gradient(150deg, #BA7517 12%, transparent 12.5%, transparent 87%, #BA7517 87.5%, #BA7517), linear-gradient(30deg, #BA7517 12%, transparent 12.5%, transparent 87%, #BA7517 87.5%, #BA7517), linear-gradient(150deg, #BA7517 12%, transparent 12.5%, transparent 87%, #BA7517 87.5%, #BA7517), linear-gradient(60deg, #BA7517 25%, transparent 25.5%, transparent 75%, #BA7517 75%, #BA7517), linear-gradient(60deg, #BA7517 25%, transparent 25.5%, transparent 75%, #BA7517 75%, #BA7517);
  background-size: 80px 140px;
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

.ledger-input {
  border-bottom: 1px solid #c2c6d2;
  transition: border-color 0.3s ease;
}
.ledger-input:focus {
  border-bottom: 2px solid #BA7517;
  outline: none;
}
.btn-hover-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #BA7517;
  transition: width 0.3s ease;
}
.btn-hover-line:hover::after { width: 100%; }

@keyframes confetti-fall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #BA7517;
  animation: confetti-fall 3s linear infinite;
}

.map-pin-pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.custom-scrollbar::-webkit-scrollbar {
  height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #BA7517;
}

body {
  background-color: #fcf9f3;
}

/* Redesign Premium Classes */
.glass-premium {
  background: rgba(252, 249, 243, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(136, 82, 0, 0.1);
}

.glass-premium-dark {
  background: rgba(0, 71, 130, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-premium-white {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.heritage-frame {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(136, 82, 0, 0.25);
  background: #fcf9f3;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.heritage-frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(136, 82, 0, 0.12);
  pointer-events: none;
}

.heritage-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(136, 82, 0, 0.15);
  border-color: rgba(136, 82, 0, 0.45);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pinPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(136, 82, 0, 0.4);
  }
  70% {
    transform: scale(1.25);
    box-shadow: 0 0 0 12px rgba(136, 82, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(136, 82, 0, 0);
  }
}

.map-pin-pulse-custom {
  animation: pinPulse 2.5s infinite cubic-bezier(0.25, 0, 0, 1);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.carousel-indicator-active {
  width: 24px;
  background-color: #BA7517 !important;
}

.masonry-grid {
  display: flex;
  margin-left: -24px;
  width: auto;
}
.masonry-column {
  padding-left: 24px;
  background-clip: padding-box;
}

.transition-card-details {
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.map-canvas {
  position: relative;
  background-color: #fbf8f2;
  background-image: 
    radial-gradient(circle, transparent 40%, rgba(136, 82, 0, 0.07) 100%),
    linear-gradient(rgba(136, 82, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 82, 0, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  background-position: center;
  border: 1px solid rgba(136, 82, 0, 0.18);
  box-shadow: 
    inset 0 0 50px rgba(136, 82, 0, 0.08),
    0 12px 30px -10px rgba(0, 71, 130, 0.1);
}

.map-canvas::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(186, 117, 23, 0.22);
  border-radius: 12px;
  pointer-events: none;
  z-index: 10;
}

.compass-rose {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 72px;
  height: 72px;
  opacity: 0.15;
  color: #885200;
  pointer-events: none;
  z-index: 2;
}
