/* ==========================================================================
   Kradle 2 Krayons — Pendle Hill
   Production Stylesheet & Enhancements
   ========================================================================== */

/* Custom Smooth Scrolling & Scrollbar */
html {
  scroll-behavior: smooth;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #FAF9F5;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
  border: 2px solid #FAF9F5;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Glassmorphism Header */
.header-glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px -2px rgba(44, 78, 61, 0.08);
  border-color: rgba(92, 161, 119, 0.2);
}

/* Typography helper */
.font-heading {
  font-family: 'Outfit', 'Nunito', system-ui, sans-serif;
}

/* Custom Soft Shadows */
.shadow-soft {
  box-shadow: 0 10px 30px -5px rgba(44, 78, 61, 0.06), 0 4px 12px -2px rgba(44, 78, 61, 0.04);
}

.shadow-card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -8px rgba(44, 78, 61, 0.12), 0 8px 16px -4px rgba(44, 78, 61, 0.06);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes backdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseSubtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s ease-in-out infinite;
}

/* Modal Overlay & Card */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(19, 34, 26, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: 28px;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(92, 161, 119, 0.25);
}

@keyframes ghlSpin {
  to { transform: rotate(360deg); }
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

/* Photo Lightbox */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 18, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #13221A;
  color: #FAF3DF;
  padding: 1rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(92, 161, 119, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* FAQ Accordion Transitions */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease-out;
}

.faq-content.open {
  grid-template-rows: 1fr;
}

.faq-content-inner {
  overflow: hidden;
}

/* Mobile Drawer Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 34, 26, 0.5);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: #FAF9F5;
  z-index: 95;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

/* Range input styling */
input[type=range] {
  accent-color: #2C4E3D;
}

/* Floating "Book a Free Tour" Pill Button */
.floating-tour-pill {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  background-color: #F2C638;
  color: #1F3327;
  border-radius: 9999px;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.22), 0 4px 12px -2px rgba(0, 0, 0, 0.12);
  font-family: 'Outfit', 'Nunito', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid rgba(242, 198, 56, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.95);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease,
              background-color 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
  user-select: none;
}

.floating-tour-pill.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-tour-pill .floating-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background-color: #1F3327;
  transition: background-color 0.25s ease;
  flex-shrink: 0;
}

.floating-tour-pill .floating-calendar-icon {
  width: 17px;
  height: 17px;
  color: #1F3327;
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.floating-tour-pill .floating-text {
  color: #1F3327;
  transition: color 0.25s ease;
}

/* Hover State - matching Image 2 */
.floating-tour-pill:hover {
  background-color: #243E30;
  border-color: #243E30;
  box-shadow: 0 16px 36px -4px rgba(36, 62, 48, 0.45);
  transform: translateY(-2px) scale(1.02);
}

.floating-tour-pill:hover .floating-dot {
  background-color: #F2C638;
}

.floating-tour-pill:hover .floating-calendar-icon,
.floating-tour-pill:hover .floating-text {
  color: #ffffff;
}

.floating-tour-pill:active {
  transform: translateY(0) scale(0.97);
}

@media (max-width: 640px) {
  .floating-tour-pill {
    bottom: 18px;
    right: 18px;
    padding: 10px 18px;
    font-size: 11.5px;
    gap: 7px;
  }
}

/* ==========================================================================
   Reviews Carousel Styling
   ========================================================================== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.review-carousel-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -4px rgba(44, 78, 61, 0.12);
  border-color: rgba(92, 161, 119, 0.4);
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #CBD5E1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.review-dot.active {
  width: 28px;
  background-color: #2C4E3D;
  border-radius: 9999px;
}

