:root {
  --circle-radius: 1.25rem;
}

/* ── UI/UX ENHANCEMENTS ── */
::selection {
  background: rgba(19, 127, 236, 0.15);
  color: #137fec;
}

/* Modern Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

/* ── PAGE TRANSITION ── */
.page-transition {
  animation: fadeIn 0.5s ease-out forwards;
}

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

/* ── ACCORDION ANIMATION ── */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease-in-out;
}

details.open .accordion-content {
  grid-template-rows: 1fr;
}

details summary::-webkit-details-marker {
  display: none;
}


::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: content-box;
}

.dark ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(19, 127, 236, 0.3);
  border: 3px solid transparent;
  background-clip: content-box;
}

/* Tactile Feedback */
button:active:not(.gallery-nav-btn),
.nav-link:active,
.location-card:active,
.amenity-card:active {
  transform: scale(0.97) !important;
  transition: transform 0.1s ease;
}

/* Focus States */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #137fec;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(19, 127, 236, 0.18);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  background: #137fec;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(19, 127, 236, 0.28);
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 1rem;
  outline-color: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18), 0 12px 30px rgba(19, 127, 236, 0.28);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Amenity and Location cards */
.amenity-card,
.location-card,
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05),
    0 4px 10px -4px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dark .amenity-card,
.dark .location-card,
.dark .glass-card {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Global Gradients */
html {
  background: linear-gradient(225deg, #ffffff 0%, #ffffff 32%, #eff6ff 62%, #dbeafe 100%) fixed !important;
  min-height: 100vh;
}

.dark {
  background: linear-gradient(135deg, #020617 0%, #071935 50%, #0c2b5c 100%) fixed !important;
}

/* ── THEME TRANSITION SYNC ── */
.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, fill 0.4s ease, stroke 0.4s ease, box-shadow 0.4s ease, background-image 0.4s ease !important;
}

body {
  background-color: transparent !important;
}

.amenity-card:hover,
.location-card:hover {
  transform: translateY(-5px);
  border-color: rgba(19, 127, 236, 0.35);
  box-shadow: 0 20px 48px rgba(19, 127, 236, 0.12);
}

/* Masonry */
.masonry {
  columns: 1;
  column-gap: 1rem;
}

@media(min-width:640px) {
  .masonry {
    columns: 2;
  }
}

@media(min-width:1024px) {
  .masonry {
    columns: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
}

.review-stars .material-symbols-rounded {
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 20;
}



/* Nav active */
.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 !important;
  white-space: nowrap;
}

.nav-link:hover {
  color: #137fec !important;
}

.nav-link.active {
  color: #137fec !important;
  font-weight: 700;
}

/* Booking modal */
#bookingModal {
  display: none;
}

#bookingModal.open {
  display: flex;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile Drawer */
#mobileDrawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

#mobileDrawer.open {
  visibility: visible;
}

#mobileDrawer .drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s;
}

#mobileDrawer.open .drawer-overlay {
  opacity: 1;
}

#mobileDrawer .drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: white;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.dark #mobileDrawer .drawer-content {
  background: #070e1e;
}

#mobileDrawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-link {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.2s;
}

.drawer-link:active {
  background: rgba(19, 127, 236, 0.1);
  color: #137fec;
}

#mobileMenuBtn {
  min-height: 44px;
  min-width: 44px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Hero fade-in */
.hero-text {
  animation: fadeUp 0.8s 0.3s ease both;
}

/* Dark mode toggle */
#darkToggle {
  cursor: pointer;
}

/* Floating Navbar */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  border-radius: 0;
  transition: left 650ms cubic-bezier(0.22, 1, 0.36, 1),
    right 650ms cubic-bezier(0.22, 1, 0.36, 1),
    top 650ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 650ms cubic-bezier(0.22, 1, 0.36, 1),
    background 500ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 650ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 500ms cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(255, 255, 255, 0.78);
}

.dark #header {
  background: rgba(2, 6, 23, 0.78);
}

.book-btn {
  white-space: nowrap;
  transition: all 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Adjust button padding when scrolled */
#header.scrolled .book-btn {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  transition: padding 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

#header nav {
  display: none;
}

@media (min-width: 1024px) {
  #header nav {
    display: flex;
    justify-content: center;
  }
}

#header.scrolled nav {
  gap: 1.5rem;
}

#header .actions-container {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

#header.scrolled {
  left: max(0.75rem, calc(50% - 480px));
  right: max(0.75rem, calc(50% - 480px));
  width: auto;
  top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.dark #header.scrolled {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

#header.scrolled .header-inner {
  padding: 0.4rem 1rem;
  max-width: 100% !important;
  width: 100%;
}

/* Reset the side container widths in floating mode */
#header.scrolled .flex-1 {
  min-width: 0 !important;
}

@media (min-width: 1024px) {
  #header.scrolled .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 0.5rem 1.5rem;
  }
}

/* No longer hiding elements in scrolled header */

#header.scrolled .logo-container {
  white-space: nowrap;
}

#header.scrolled .logo-icon {
  font-size: 1.15rem;
}

#header.scrolled .logo-text {
  font-size: 0.95rem;
}

@media (max-width: 480px) {

  #header.scrolled .logo-text,
  #header:not(.scrolled) .logo-text {
    display: block;
    font-size: 0.9rem;
  }

  .actions-container {
    gap: 0.5rem !important;
  }
}

#header.scrolled .book-btn {
  height: 36px;
  font-size: 0.7rem;
  width: auto !important;
  min-width: 80px;
  padding: 0 1rem;
  border-radius: 999px;
  flex-shrink: 0;
}

#header.scrolled nav {
  gap: 1.5rem;
  justify-self: center;
}

#header.scrolled .actions-container {
  width: auto;
  justify-content: flex-end;
  padding: 0 !important;
  gap: 0.5rem;
}

/* Booking Platform Icons */
.footer-booking-module {
  width: min(100%, 28rem);
  margin-left: auto;
}

.footer-booking-divider {
  height: 1px;
  width: 100%;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.05) 0%, rgba(148, 163, 184, 0.32) 18%, rgba(148, 163, 184, 0.32) 82%, rgba(148, 163, 184, 0.05) 100%);
}

.footer-booking-content {
  background: #0d1321;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
}

.footer-booking-label {
  margin: 0 0 0.75rem;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.booking-icons {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}

.booking-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 48px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.booking-link img {
  width: auto;
  max-width: calc(100% - 1.2rem);
  object-fit: contain;
  display: block;
}

.booking-link-text {
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0c3b7c;
}

.booking-link-icon {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: rgba(71, 85, 105, 0.65);
  opacity: 0.85;
}

.booking-link-booking img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.booking-link-booking {
  gap: 0.55rem;
  min-width: 154px;
  justify-content: flex-start;
  padding-right: 0.85rem;
}

.booking-link-booking .booking-link-icon {
  position: static;
  transform: none;
  margin-left: auto;
}

.booking-link-agoda img {
  height: 20px;
  max-width: 98px;
}

.booking-link-airbnb img {
  height: 28px;
  max-width: 104px;
}

.booking-link:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.24);
}

.booking-link-booking:hover {
  border-color: rgba(0, 119, 255, 0.45);
  box-shadow: 0 10px 28px rgba(0, 119, 255, 0.18);
}

.booking-link-agoda:hover {
  border-color: rgba(237, 53, 63, 0.4);
  box-shadow: 0 10px 28px rgba(237, 53, 63, 0.15);
}

.booking-link-airbnb:hover {
  border-color: rgba(255, 90, 95, 0.4);
  box-shadow: 0 10px 28px rgba(255, 90, 95, 0.15);
}

.booking-platform-note {
  margin: 0.8rem 0 0;
  color: rgba(148, 163, 184, 0.78);
  font-size: 0.74rem;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .footer-booking-module {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .footer-booking-content {
    padding: 0.9rem 0.9rem 0.85rem;
  }

  .booking-icons {
    gap: 0.55rem;
  }

  .booking-link {
    min-width: calc(50% - 0.275rem);
    flex: 1 1 calc(50% - 0.275rem);
    height: 46px;
    padding: 0.5rem 0.85rem;
  }

  .booking-link:last-child {
    min-width: 100%;
    flex-basis: 100%;
  }

  .booking-link-agoda img {
    height: 18px;
    max-width: 92px;
  }

  .booking-link-airbnb img {
    height: 24px;
    max-width: 96px;
  }
}

/* ── Calendar Grid System ── */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  row-gap: 8px;
}

@media (max-width: 400px) {
  :root {
    --circle-radius: 1.05rem;
  }

  .cal-grid {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

.cal-header-cell {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0.4;
  text-transform: uppercase;
  padding: 8px 0;
  letter-spacing: 0.05em;
}

/* Band wrapper — creates Airbnb-style range band */
.cal-cell-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.cal-cell-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: background 250ms ease;
}

.cal-cell-wrapper:has(> .cal-day:hover)::before {
  -webkit-mask-image: radial-gradient(circle at center, transparent var(--circle-radius), black calc(var(--circle-radius) + 0.5px));
  mask-image: radial-gradient(circle at center, transparent var(--circle-radius), black calc(var(--circle-radius) + 0.5px));
}

.cal-cell-wrapper.in-range::before {
  background: rgba(19, 127, 236, 0.12);
}

.cal-cell-wrapper.is-checkin::before {
  background: linear-gradient(to right, transparent 50%, rgba(19, 127, 236, 0.12) 50%);
}

.cal-cell-wrapper.is-checkout::before {
  background: linear-gradient(to left, transparent 50%, rgba(19, 127, 236, 0.12) 50%);
}

.cal-cell-wrapper.is-checkin.is-checkout::before {
  background: transparent !important;
}

.cal-cell-wrapper.in-hover::before {
  background: rgba(19, 127, 236, 0.06);
}

.cal-cell-wrapper.hover-start::before {
  background: linear-gradient(to right, transparent 50%, rgba(19, 127, 236, 0.06) 50%);
}

.cal-cell-wrapper.hover-end::before {
  background: linear-gradient(to left, transparent 50%, rgba(19, 127, 236, 0.06) 50%);
}

/* Overrides for bidirectional hover when a checkin date is already selected */
.cal-cell-wrapper.is-checkin.hover-start::before {
  background: linear-gradient(to right, transparent 50%, rgba(19, 127, 236, 0.06) 50%) !important;
}

.cal-cell-wrapper.is-checkin.hover-end::before {
  background: linear-gradient(to left, transparent 50%, rgba(19, 127, 236, 0.06) 50%) !important;
}

/* The actual day circle */
.cal-day {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  /* slate-800 — always visible in light mode */
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  z-index: 2;
  user-select: none;
}

.dark .cal-day {
  color: #e2e8f0;
  /* slate-200 — always visible in dark mode */
}

@media (max-width: 400px) {
  .cal-day {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.75rem;
  }
}

.cal-day:hover:not(.is-past):not(.is-blocked) {
  background: rgba(19, 127, 236, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #137fec;
}

.dark .cal-day:hover:not(.is-past):not(.is-blocked) {
  background: rgba(19, 127, 236, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #137fec;
}

.cal-day.is-past {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-day.is-blocked {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0, 0, 0, 0.08) 2px, rgba(0, 0, 0, 0.08) 4px);
}

.dark .cal-day.is-blocked {
  background: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.06) 2px, rgba(255, 255, 255, 0.06) 4px);
}

.cal-day.is-blocked-checkout {
  cursor: pointer;
  position: relative;
  font-weight: 400;
  color: #ef4444;
}

.cal-day.is-blocked-checkout::after {
  content: 'logout';
  font-family: 'Material Symbols Rounded';
  font-size: 10px;
  position: absolute;
  top: 4px;
  right: 4px;
  opacity: 0.6;
}

.cal-day.is-today {
  color: #137fec;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px #137fec;
}

.cal-day.is-checkin,
.cal-day.is-checkout {
  background: #137fec !important;
  color: white !important;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(19, 127, 236, 0.4);
}

.cal-day.in-range {
  color: #137fec;
  font-weight: 700;
}

.cal-day.in-hover {
  color: #137fec;
  opacity: 0.7;
}

/* ── Animations ── */
@keyframes calPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.cal-pop {
  animation: calPop 300ms ease-out forwards;
}

@keyframes themePop {
  0% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(0.7) rotate(180deg);
  }

  100% {
    transform: scale(1) rotate(360deg);
  }
}

.theme-animate {
  animation: themePop 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes calShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

.cal-shake {
  animation: calShake 400ms ease-in-out;
}

@keyframes calPop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0.3;
  }

  to {
    opacity: 1;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(19, 127, 236, 0);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(19, 127, 236, 0.25);
  }
}

.cal-shake {
  animation: calShake 400ms ease;
}

.cal-pop {
  animation: calPop 200ms ease;
}

.whatsapp-active {
  animation: glowPulse 2.5s ease-in-out infinite;
}

#calendar-grid {
  transition: opacity 250ms ease, transform 250ms ease;
}

.gallery-card {
  scroll-snap-stop: always;
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  line-height: 1;
}

.rating-star {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  line-height: 1;
  color: rgba(148, 163, 184, 0.34);
}

.rating-star::before {
  content: "\2605";
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: currentColor;
}

.rating-star.is-full {
  color: #137fec;
  filter: drop-shadow(0 3px 8px rgba(19, 127, 236, 0.22));
}

.rating-star.is-half::before {
  background: linear-gradient(to right, #137fec 50%, rgba(148, 163, 184, 0.34) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 8px rgba(19, 127, 236, 0.16));
}

/* ─── GALLERY NAVIGATION ────────────────────────────────────────── */
.gallery-nav-btn {
  /* Strict Flexbox Centering */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  
  /* Reset */
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  
  /* Positioning (On the Carousel) */
  position: absolute;
  top: 50%;
  z-index: 30;
  transform: translateY(-50%);
  
  /* Size & Shape */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  
  /* Premium Glass Aesthetic */
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #0f172a;
  
  /* Shadow & Depth */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  
  /* Transitions */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .gallery-nav-btn {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  box-shadow: 
    0 10px 25px -5px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Hover States */
.gallery-nav-btn:hover:not(:disabled) {
  background: #137fec;
  border-color: #137fec;
  color: #ffffff;
  /* Keeping translateY for carousel alignment while adding scale */
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 30px -5px rgba(19, 127, 236, 0.35);
}

.gallery-nav-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.94);
}

.gallery-nav-btn:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

/* Icon Centering */
.gallery-nav-icon {
  /* Strict Centering */
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  
  /* Size */
  font-size: 28px !important;
  width: 28px !important;
  height: 28px !important;
  user-select: none;
}

.flip-x {
  transform: scaleX(-1) !important;
}



/* Alignment Classes */
.gallery-nav-btn.left-4 { left: 16px; }
.gallery-nav-btn.right-4 { right: 16px; }

/* Desktop Visibility (Hidden by default, shown on hover) */
@media (min-width: 1024px) {
  .gallery-nav-btn {
    opacity: 0;
    pointer-events: none;
  }
  
  .group:hover .gallery-nav-btn {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .gallery-nav-btn {
    width: 44px;
    height: 44px;
  }
  .gallery-nav-icon {
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
  }
  .gallery-nav-btn.left-4 { left: 8px; }
  .gallery-nav-btn.right-4 { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── FLOATING ACTION BUTTONS ─────────────────────────────────── */
.fab-group {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.fab-btn:active {
  transform: scale(0.95) !important;
}

.fab-whatsapp {
  background: #25d366;
  color: #fff;
}

.fab-whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.fab-top {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  color: #1e293b;
  border: 1px solid rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) translateY(12px);
}

.dark .fab-top {
  background: rgba(15,23,42,0.9);
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.1);
}

.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

/* ─── INLINE FIELD ERRORS (payment.html) ─────────────────────── */
.field-error {
  display: none;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ef4444;
  padding-left: 0.25rem;
}

.field-error.visible {
  display: flex;
}

.field-invalid {
  border-color: #ef4444 !important;
  background: rgba(239,68,68,0.04) !important;
}

/* ─── PRICING SECTION CARD ────────────────────────────────────── */
.price-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 1.5rem;
  box-shadow: 0 20px 48px -8px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .price-card {
  background: rgba(15,23,42,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 48px -8px rgba(0,0,0,0.4);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -8px rgba(19,127,236,0.15);
}

/* ─── REVIEW AVATAR FALLBACK ─────────────────────────────────── */
.avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

/* ─── CALENDAR LOADING OVERLAY ───────────────────────────────── */
.cal-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.dark .cal-loading-overlay {
  background: rgba(2,6,23,0.5);
}

.cal-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
