/* Custom styles for Ayuryaa Luxury Hotel & Spa */

/* Base Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for sticky header */
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #F8F6F2; /* cream */
  color: #2D2D2D;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Cormorant Garamond', serif;
}

/* Elegant Thin Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F8F6F2;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #1F3A32;
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(125, 146, 112, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.glass-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03);
}

.glass-card-dark {
  background: rgba(31, 58, 50, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

/* Micro-animations and hover effects */
.hover-gold {
  transition: all 0.3s ease;
}
.hover-gold:hover {
  color: #C8A76A;
}

.btn-luxe {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.btn-luxe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #1F3A32;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-luxe:hover::before {
  width: 100%;
}

.btn-luxe-light {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.btn-luxe-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #C8A76A;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-luxe-light:hover::before {
  width: 100%;
}

/* Custom Carousels & Sliders */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Image Zoom on hover */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.img-zoom-container:hover .img-zoom {
  transform: scale(1.08);
}

/* Custom AOS configuration */
[data-aos] {
  pointer-events: none;
}
.aos-animate [data-aos] {
  pointer-events: auto;
}

/* Masonry grid support */
.masonry-grid {
  columns: 1 300px;
  column-gap: 1.5rem;
}
@media (min-width: 768px) {
  .masonry-grid {
    columns: 2 300px;
  }
}
@media (min-width: 1024px) {
  .masonry-grid {
    columns: 3 350px;
  }
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  display: inline-block;
  width: 100%;
}

/* Leaflet map styling to fit aesthetics */
.leaflet-container {
  font-family: 'Montserrat', sans-serif !important;
}

/* Glassmorphism Notification Toast */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.luxe-toast {
  background: rgba(31, 58, 50, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 4px solid #C8A76A;
  color: #F8F6F2;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.luxe-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 28, 24, 0.95);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}
