/**
 * Alas Petulu - Homepage Styles
 * Direct match with Figma V2 Luxury Villa Design
 */

/* ==========================================================================
   1. HERO SECTION & NAVBAR
   ========================================================================== */
.ap-hero-wrapper {
  position: relative;
  min-height: 960px;
  height: 100vh;
  max-height: 1080px;
  background-color: #111a14;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 5rem;
  overflow: hidden;
}

/* Background Layers */
.ap-hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 1. Static Image */
.ap-hero-bg-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* 2. Continuous Zoom In / Ken Burns Breathing */
.ap-hero-bg-zoom-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ap-hero-bg-zoom-img {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: apHeroKenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes apHeroKenBurns {
  0% {
    transform: scale(1.0) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.15) translate3d(-1%, -0.8%, 0);
  }
  100% {
    transform: scale(1.0) translate3d(0, 0, 0);
  }
}

/* 3. Auto Image Slider */
.ap-hero-slider-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ap-hero-slide {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 0;
  will-change: opacity, transform;
}

.ap-hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
  z-index: 1;
}

.ap-hero-slider-dots {
  position: absolute;
  bottom: 2.75rem;
  right: 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 4;
  pointer-events: auto;
}

.ap-hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ap-hero-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.ap-hero-dot.active {
  background: #ffffff;
  width: 44px;
}

@media (max-width: 768px) {
  .ap-hero-slider-dots {
    bottom: 1.5rem;
    right: 50%;
    transform: translateX(50%);
  }
}

/* 4. Background Video */
.ap-hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ap-hero-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ap-hero-video-iframe-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.ap-hero-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 Aspect Ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 Aspect Ratio */
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}

.ap-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Header & Nav styles are now universally managed in header-footer.css */

/* Hero Content */
.ap-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1020px;
  margin: auto auto 3rem auto;
  padding: 0 1.5rem;
}

.ap-hero-title {
  color: #ffffff;
  font-size: var(--ap-fs-h1);
  font-family: var(--ap-font-serif);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.ap-hero-subtitle {
  color: #f3f3f3;
  font-size: var(--ap-fs-lead);
  font-weight: 300;
  line-height: 1.65;
  max-width: 860px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   2. BOOKING BAR
   ========================================================================== */
.ap-booking-bar-wrapper {
  position: relative;
  z-index: 5;
  margin-top: -3.5rem;
  margin-bottom: 5.5rem;
}

.ap-booking-card {
  background: #ffffff;
  border-radius: 0 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid #ECE7DE !important;
  position: relative;
}

.ap-borderless-card {
  border: none !important;
  outline: none !important;
}

.ap-sharp-card,
.ap-sharp-btn,
.ap-sharp-popover,
.ap-sharp-dropdown,
.ap-sharp-modal,
.ap-sharp-input {
  border-radius: 0 !important;
}

.ap-booking-fields {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 1.5rem;
  position: relative;
}

.ap-booking-field {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  position: relative;
  transition: opacity 0.2s ease;
}

.ap-booking-field-clickable {
  cursor: pointer;
  user-select: none;
  padding: 0.4rem 0.6rem;
  margin: -0.4rem -0.6rem;
  transition: background-color 0.15s ease;
  border-radius: 0 !important;
}

.ap-booking-field-clickable:hover,
.ap-booking-field-clickable.is-active {
  background-color: #f7f4ee;
}

.ap-booking-field:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.ap-booking-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ap-primary);
  flex-shrink: 0;
}

.ap-booking-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ap-primary);
}

.ap-booking-info {
  flex: 1;
  min-width: 0;
  position: relative;
}

.ap-booking-info label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ap-text-muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.ap-booking-info .ap-field-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ap-text-dark);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ap-booking-info .ap-field-input {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ap-text-dark);
  width: 100%;
  padding: 0;
  border-radius: 0 !important;
}

.ap-booking-info .ap-promo-field {
  text-transform: uppercase;
  cursor: text;
  letter-spacing: 0.06em;
}

.ap-guests-trigger {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ap-text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  text-align: left;
  border-radius: 0 !important;
}

.ap-guests-trigger .ap-caret {
  width: 18px;
  height: 18px;
  color: var(--ap-text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ap-guests-trigger[aria-expanded="true"] .ap-caret {
  transform: rotate(180deg);
}

.ap-guests-popover {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 290px;
  background: #ffffff;
  border-radius: 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #eae5dc;
  padding: 1.25rem;
  z-index: 120;
}

.ap-guests-popover[hidden] {
  display: none !important;
}

.ap-guests-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee8df;
}

.ap-guests-row:last-of-type {
  border-bottom: none;
}

.ap-guests-desc strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ap-text-dark);
  font-weight: 600;
}

.ap-guests-desc small {
  display: block;
  font-size: 0.72rem;
  color: var(--ap-text-muted);
}

.ap-counter {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ap-counter-btn {
  width: 30px;
  height: 30px;
  border-radius: 0 !important;
  border: 1px solid #1a1a1a;
  background: #ffffff;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.ap-counter-btn:hover {
  border-color: #1a1a1a;
  color: #ffffff;
  background: #1a1a1a;
}

.ap-counter-val {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.ap-btn-apply-guests {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 0 !important;
  background: #1a1a1a !important;
  border: 1px solid #1a1a1a !important;
  color: #ffffff !important;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
}

.ap-btn-apply-guests:hover {
  background: #8f6e4a !important;
  border-color: #8f6e4a !important;
}

.ap-booking-card .ap-btn-primary {
  padding: 1.1rem 2.5rem;
  white-space: nowrap;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  background: #1a1a1a;
  border: none !important;
  color: #ffffff;
  transition: all 0.25s ease;
}

.ap-booking-card .ap-btn-primary:hover {
  background: var(--ap-primary);
  color: #ffffff;
}

/* ==========================================================================
   DROPDOWN DATE PICKER COMPONENT (UNDER CHECK-IN & CHECK-OUT FIELDS)
   ========================================================================== */
.ap-date-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 660px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid #eae5dc;
  border-radius: 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  z-index: 120;
  animation: apDateDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.ap-date-dropdown[hidden] {
  display: none !important;
}

.ap-date-dd-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

body.ap-modal-open {
  overflow: hidden !important;
}

@keyframes apDateDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ap-date-dd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid #f0ebe4;
  background: #faf8f5;
  gap: 1rem;
}

.ap-date-dd-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ap-dd-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c7355;
  font-weight: 700;
}

.ap-dd-dates-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ap-dd-dates-row strong {
  font-size: 0.88rem;
  color: #1a1a1a;
  font-weight: 700;
}

.ap-dd-arrow {
  color: #999;
  font-size: 0.9rem;
}

.ap-dd-badge {
  background: #1a1a1a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 !important;
}

.ap-date-dd-close {
  background: none;
  border: 1px solid #d5d0c7;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  cursor: pointer;
  border-radius: 0 !important;
  transition: all 0.15s ease;
  padding: 0;
}

.ap-date-dd-close:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.ap-date-dd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.75rem;
  border-bottom: 1px solid #f2ede6;
  background: #ffffff;
}

.ap-cal-step-instruction {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  font-weight: 600;
}

.ap-date-dd-body {
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  background: #ffffff;
}

.ap-cal-month-wrap {
  width: 100%;
}

.ap-cal-month-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.ap-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.ap-cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.ap-cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: transparent;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  transition: all 0.12s ease;
  padding: 0;
}

.ap-cal-day:hover:not(.is-disabled) {
  background: #ece5dc;
  color: #1a1a1a;
}

.ap-cal-day.is-selected-start,
.ap-cal-day.is-selected-end {
  background: #1a1a1a !important;
  color: #ffffff !important;
  font-weight: 700;
}

.ap-cal-day.is-in-range {
  background: #f4eee6 !important;
  color: #1a1a1a;
}

.ap-cal-day.is-disabled {
  color: #d1cbc4;
  cursor: not-allowed;
  background: transparent !important;
}

.ap-cal-day.is-today:not(.is-selected-start):not(.is-selected-end) {
  border: 1px solid #8f6e4a;
}

.ap-cal-day.is-empty {
  cursor: default;
  pointer-events: none;
  background: transparent;
}

.ap-date-dd-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid #eae6df;
  background: #faf8f5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.ap-btn-cal-reset {
  background: transparent;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  padding: 0.65rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  border-radius: 0 !important;
  transition: all 0.15s;
  text-transform: uppercase;
}

.ap-btn-cal-reset:hover {
  background: #eee8df;
}

.ap-btn-cal-confirm {
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  color: #ffffff;
  padding: 0.65rem 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  border-radius: 0 !important;
  transition: all 0.15s;
  text-transform: uppercase;
}

.ap-btn-cal-confirm:hover {
  background: var(--ap-primary);
  border-color: var(--ap-primary);
}

/* ==========================================================================
   3. INTRO SECTION (SLOW LIVING)
   ========================================================================== */
.ap-intro-section {
  padding: 4rem 0 6rem 0;
  text-align: center;
}

.ap-intro-inner {
  max-width: 980px;
  margin: 0 auto;
}

.ap-intro-title {
  font-size: var(--ap-fs-h2);
  color: var(--ap-text-dark);
  margin-bottom: 1rem;
}

.ap-intro-desc {
  font-size: 1.275rem;
  line-height: 1.85;
  color: var(--ap-text-muted);
  margin-bottom: 2.75rem;
}

/* ==========================================================================
   3b. FULLWIDTH RECEPTION PHOTO SECTION (FIGMA V2)
   ========================================================================== */
.ap-reception-photo-section {
  width: 100%;
  max-height: 800px;
  overflow: hidden;
  position: relative;
  background-color: var(--ap-bg-dark);
  margin-bottom: 2rem;
}

.ap-reception-photo-wrapper {
  width: 100%;
  line-height: 0;
}

.ap-reception-photo-wrapper img {
  width: 100%;
  height: auto;
  min-height: 480px;
  max-height: 800px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   4. ROOMS / SANCTUMS SECTION & SLIDER
   ========================================================================== */
.ap-rooms-section {
  padding: 3rem 0 6rem 0;
  position: relative;
}

.ap-rooms-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem auto;
}

.ap-rooms-header-center .ap-section-title {
  font-size: var(--ap-fs-h2);
  color: var(--ap-text-dark);
  margin-bottom: 0.75rem;
}

.ap-rooms-header-center .ap-section-desc {
  font-size: 1.175rem;
  line-height: 1.8;
  color: var(--ap-text-muted);
  margin: 0 auto;
}

.ap-rooms-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: 100%;
  text-align: left;
  margin-bottom: 2.5rem;
}

.ap-rooms-header-row .ap-section-header {
  margin: 0;
  text-align: left;
}

/* Slider Outer Container: flush with text boundary of .ap-container */
.ap-slider-outer-container {
  position: relative;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.ap-slider-outer-container .ap-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--ap-primary, #142217);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ap-slider-outer-container .ap-slider-arrow.ap-prev {
  left: -24px;
}

.ap-slider-outer-container .ap-slider-arrow.ap-next {
  right: -24px;
}

.ap-slider-outer-container .ap-slider-arrow:hover {
  background: var(--ap-accent, #c5a059);
  color: #ffffff;
  border-color: var(--ap-accent, #c5a059);
  transform: translateY(-50%) scale(1.05);
  box-shadow: none;
}

.ap-slider-arrow svg {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 991px) {
  .ap-slider-outer-container {
    padding: 0;
  }
  .ap-slider-outer-container .ap-slider-arrow {
    width: 38px;
    height: 38px;
  }
  .ap-slider-outer-container .ap-slider-arrow.ap-prev {
    left: 8px;
  }
  .ap-slider-outer-container .ap-slider-arrow.ap-next {
    right: 8px;
  }
  .ap-slider-arrow svg {
    width: 17px;
    height: 17px;
  }
}

/* 3 Bullet Dots Pagination Below Images */
.ap-slider-bullets-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 2.25rem;
  width: 100%;
}

.ap-slider-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(20, 34, 23, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
}

.ap-slider-bullet:hover {
  background: var(--ap-accent, #c5a059);
  transform: scale(1.2);
}

.ap-slider-bullet.is-active {
  width: 32px;
  border-radius: 6px;
  background: var(--ap-primary, #142217);
  box-shadow: 0 2px 8px rgba(20, 34, 23, 0.25);
}

/* Slider Track & Wrapper */
.ap-slider-wrapper.ap-has-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0.5rem 2rem 0.5rem;
  margin: -1rem -0.5rem 0 -0.5rem;
}

.ap-slider-wrapper.ap-has-slider::-webkit-scrollbar {
  display: none;
}

.ap-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ap-rooms-grid.ap-slider-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 2rem;
}

.ap-slider-track .ap-room-card {
  flex: 0 0 calc(33.333% - 1.35rem);
  min-width: 360px;
  max-width: 540px;
  scroll-snap-align: start;
}

.ap-room-card {
  position: relative;
  height: 720px;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  transition: var(--ap-transition);
  background-color: transparent !important;
}

.ap-room-card-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: inherit;
}

.ap-room-card:hover {
  transform: translateY(-6px);
  box-shadow: none !important;
}

.ap-room-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 0 !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-room-card:hover .ap-room-bg {
  transform: scale(1.06);
}

.ap-room-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 30%, rgba(20, 34, 23, 0.85) 70%, rgba(14, 24, 16, 0.98) 100%);
  z-index: 1;
  border-radius: 0 !important;
}

.ap-room-top-badge {
  margin-bottom: 0.75rem;
}

.ap-badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(197, 160, 89, 0.9);
  padding: 0.3rem 0.85rem;
  border-radius: var(--ap-radius-pill);
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.ap-room-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.25rem 2rem;
  z-index: 2;
  color: #ffffff;
}

.ap-room-title {
  font-size: 2.375rem;
  font-family: var(--ap-font-serif);
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.ap-room-action-wrap {
  margin-top: 1.5rem;
  opacity: 0.9;
  transition: var(--ap-transition);
}

.ap-room-card:hover .ap-room-action-wrap {
  opacity: 1;
  transform: translateX(4px);
}

.ap-room-btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.925rem;
}

.ap-room-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 0.65rem;
  column-gap: 1.5rem;
  font-size: 1rem;
  color: #ffffff !important;
}

.ap-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff !important;
}

.ap-spec-item span {
  color: #ffffff !important;
}

/* Room Spec SVG Icons: Pure White */
.ap-spec-item svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
  flex-shrink: 0;
}

/* ==========================================================================
   5. STORY / SANCTUARY SPLIT SECTION (FIGMA V2)
   ========================================================================== */
.ap-story-split-section {
  padding: 0;
  background-color: #142217;
  margin: 4rem 0 6rem 0;
}

.ap-story-split-container {
  display: flex;
  min-height: 720px;
  width: 100%;
  align-items: stretch;
}

.ap-story-split-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 520px;
}

.ap-story-split-content {
  flex: 1;
  background-color: #142217;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 6rem;
}

.ap-story-content-inner {
  max-width: 560px;
}

.ap-story-split-title {
  color: #ffffff;
  font-family: var(--ap-font-serif);
  font-size: clamp(2.125rem, 3.2vw, 2.875rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.ap-story-split-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.175rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.ap-story-action {
  margin-top: 2.25rem;
}

/* ==========================================================================
   6. ACTIVITIES SECTION (FIGMA V2)
   ========================================================================== */
.ap-activities-section {
  padding: 6rem 0;
}

.ap-activities-header-wrap {
  margin-bottom: 3.5rem;
}

.ap-activities-title {
  font-family: var(--ap-font-serif);
  font-size: clamp(2.325rem, 3.5vw, 3.125rem);
  line-height: 1.2;
  color: var(--ap-text-dark);
  margin: 0;
  font-weight: 400;
}

.ap-activities-title span {
  display: block;
  font-size: clamp(1.725rem, 2.5vw, 2.325rem);
  font-weight: 300;
  color: var(--ap-text-muted);
  margin-top: 0.25rem;
}

.ap-activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ap-activities-grid.ap-slider-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 2rem;
}

.ap-slider-track .ap-activity-card {
  flex: 0 0 calc(33.333% - 1.35rem);
  min-width: 340px;
  max-width: 520px;
  scroll-snap-align: start;
}

.ap-activity-card {
  position: relative;
  height: 580px;
  border-radius: var(--ap-radius-sm);
  overflow: hidden;
  box-shadow: var(--ap-shadow-card);
  transition: var(--ap-transition);
}

.ap-activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ap-shadow-luxury);
}

.ap-activity-card-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: inherit;
}

.ap-activity-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-activity-card:hover .ap-activity-bg {
  transform: scale(1.06);
}

.ap-activity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(20, 34, 23, 0.6) 80%, rgba(14, 24, 16, 0.9) 100%);
  z-index: 1;
}

.ap-activity-content {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.ap-activity-title {
  font-family: var(--ap-font-serif);
  font-size: 2.375rem;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.ap-activities-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3.5rem;
}

.ap-indicator-bar {
  width: 42px;
  height: 4px;
  background-color: rgba(20, 34, 23, 0.2);
  border-radius: 2px;
  transition: var(--ap-transition);
}

.ap-indicator-bar.is-active {
  background-color: #142217;
  width: 60px;
}

/* ==========================================================================
   7. CELEBRATION FULLWIDTH BANNER
   ========================================================================== */
.ap-celebration-section {
  position: relative;
  padding: 8rem 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #ffffff;
}

.ap-celebration-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.ap-celebration-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.ap-celebration-title {
  font-size: var(--ap-fs-h2);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.ap-celebration-desc {
  font-size: 1.275rem;
  line-height: 1.8;
  color: #ececec;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   8. AMENITIES SECTION (FIGMA V2 DARK GREEN #142217)
   ========================================================================== */
.ap-amenities-section {
  padding: 7rem 0;
  background-color: #ffffff;
}

.ap-amenities-dark {
  background-color: #142217 !important;
  color: #ffffff;
  padding: 7.5rem 0 6.5rem 0;
}

.ap-amenities-dark .ap-amenities-header .ap-section-title {
  color: #ffffff;
  text-align: center;
  font-size: clamp(2.125rem, 3.2vw, 2.875rem);
  max-width: 820px;
  margin: 0 auto 4rem auto;
  font-weight: 400;
  line-height: 1.25;
}

.ap-amenities-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 2.5rem;
  column-gap: 3.5rem;
  max-width: 1120px;
  margin: 0 auto 4.5rem auto;
}

.ap-amenity-item-v2 {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: var(--ap-transition);
}

.ap-amenity-item-v2:hover {
  transform: translateX(5px);
  background: transparent !important;
}

.ap-amenity-item-v2 .ap-amenity-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.ap-amenity-item-v2 .ap-amenity-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

.ap-amenity-item-v2 .ap-amenity-name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  font-family: var(--ap-font-sans);
}

.ap-amenities-cta {
  text-align: center;
}

/* ==========================================================================
   9. LOCATION SECTION
   ========================================================================== */
.ap-location-section {
  padding: 7rem 0;
}

.ap-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ap-location-info {
  padding-right: 2rem;
}

.ap-location-title {
  font-size: var(--ap-fs-h2);
  margin-bottom: 0.75rem;
}

.ap-location-desc {
  font-size: 1.175rem;
  color: var(--ap-text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.ap-location-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.ap-location-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  background: #ffffff;
  border-radius: var(--ap-radius-sm);
  border: 1px solid var(--ap-border-subtle);
}

.ap-place-name {
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--ap-text-dark);
}

.ap-place-time {
  font-weight: 600;
  font-size: 1.075rem;
  color: var(--ap-primary);
}

.ap-location-map-card {
  border-radius: var(--ap-radius-sm);
  overflow: hidden;
  box-shadow: var(--ap-shadow-card);
  height: 520px;
}

.ap-location-map-card iframe,
.ap-location-map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   10. GALLERY & BLOG SHOWCASE SECTION
   ========================================================================== */
.ap-blog-section,
.ap-gallery-section {
  padding: 6.5rem 0;
}

.ap-blog-header-center,
.ap-gallery-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.ap-blog-header-center .ap-section-subtitle {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ap-accent);
  margin-bottom: 0.75rem;
}

.ap-blog-header-center .ap-section-title,
.ap-gallery-header-center .ap-section-title {
  font-size: var(--ap-fs-h2);
  color: var(--ap-text-dark);
  margin: 0;
  font-weight: 400;
}

/* ==========================================================================
   MINIMALIST LUXURY CATEGORY NAVIGATION TABS
   ========================================================================== */
.ap-category-filters-wrap {
  margin-bottom: 3.5rem;
  text-align: center;
  border-bottom: 1px solid #ECE7DE;
  position: relative;
}

.ap-category-pills,
.ap-category-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 2.25rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.ap-filter-pill,
.ap-category-tab-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 0.85rem 0.25rem 0.95rem 0.25rem;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: #706860 !important;
  font-family: var(--ap-font-sans);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none !important;
  transition: color 0.25s ease, border-color 0.25s ease;
  position: relative;
  margin-bottom: -1px;
}

.ap-filter-pill:hover,
.ap-category-tab-link:hover {
  color: #142217 !important;
  border-bottom-color: rgba(20, 34, 23, 0.35) !important;
  transform: none !important;
  box-shadow: none !important;
}

.ap-filter-pill.is-active,
.ap-category-tab-link.is-active {
  color: #142217 !important;
  font-weight: 600;
  border-bottom: 2px solid #142217 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ap-pill-count,
.ap-tab-count {
  font-size: 0.7rem;
  letter-spacing: 0;
  font-weight: 400;
  color: #9E958C;
}

.ap-filter-pill.is-active .ap-pill-count,
.ap-category-tab-link.is-active .ap-tab-count {
  color: var(--ap-accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .ap-category-filters-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .ap-category-filters-wrap::-webkit-scrollbar {
    display: none;
  }
  .ap-category-pills,
  .ap-category-nav {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: flex-start;
    gap: 0 1.5rem;
  }
}

/* ==========================================================================
   MINIMALIST LUXURY EDITORIAL BLOG CARDS & GRID
   ========================================================================== */
.ap-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.25rem 1.75rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1100px) {
  .ap-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .ap-blog-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.ap-blog-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  border: none !important;
  display: flex;
  flex-direction: column;
  box-shadow: none !important;
  transition: opacity 0.3s ease;
  text-align: left;
}

.ap-blog-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.ap-blog-card-thumb-link {
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.ap-blog-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background-color: #0D1812;
  border-radius: 0;
}

.ap-blog-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-blog-card:hover .ap-blog-thumb-wrap img {
  transform: scale(1.045);
}

/* Overstated AI badge hidden in favor of editorial inline meta */
.ap-blog-category-badge {
  display: none !important;
}

.ap-blog-card-content {
  padding: 1.25rem 0 0 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ap-blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.ap-blog-card-meta .ap-blog-cat-tag {
  color: var(--ap-accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ap-blog-card-meta .ap-blog-cat-tag:hover {
  color: var(--ap-primary);
}

.ap-blog-card-meta .ap-blog-meta-dot {
  color: #C5BFB5;
  font-size: 0.65rem;
}

.ap-blog-date {
  font-size: 0.75rem;
  color: #8C827A;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
}

.ap-blog-card-title {
  font-family: var(--ap-font-serif);
  font-size: 1.25rem;
  line-height: 1.38;
  color: var(--ap-text-dark);
  margin: 0 0 0.75rem 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.ap-blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ap-blog-card-title a:hover {
  color: var(--ap-accent);
}

.ap-blog-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #5C554E;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
  font-weight: 300;
}

.ap-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 2px;
}

.ap-blog-read-more svg {
  transition: transform 0.3s ease;
}

.ap-blog-read-more:hover {
  color: var(--ap-accent);
  border-bottom-color: var(--ap-accent);
}

.ap-blog-read-more:hover svg {
  transform: translateX(4px);
}

.ap-blog-cta,
.ap-gallery-cta {
  text-align: center;
}

.ap-gallery-strip-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 -1.5rem 3.5rem -1.5rem;
  padding: 0.5rem 1.5rem;
  scroll-snap-type: x mandatory;
}

.ap-gallery-strip-wrapper::-webkit-scrollbar {
  display: none;
}

.ap-gallery-strip {
  display: flex !important;
  gap: 1.5rem;
  width: max-content;
}

.ap-gallery-strip .ap-gallery-item {
  width: 440px;
  height: 405px;
  flex-shrink: 0;
  border-radius: var(--ap-radius-sm);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--ap-shadow-card);
  transition: var(--ap-transition);
}

.ap-gallery-strip .ap-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--ap-shadow-luxury);
}

.ap-gallery-strip .ap-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ap-gallery-strip .ap-gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 1200px) {
  .ap-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .ap-blog-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ==========================================================================
   11. REVIEWS / TESTIMONIALS SECTION
   ========================================================================== */
.ap-testimonials-section {
  padding: 7rem 0;
  background-color: #ffffff;
}

.ap-reviews-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.ap-reviews-rating-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--ap-bg-light);
  padding: 0.75rem 1.25rem;
  border-radius: var(--ap-radius-pill);
  border: 1px solid var(--ap-border-subtle);
}

.ap-rating-num {
  font-family: var(--ap-font-serif);
  font-size: 1.975rem;
  font-weight: 700;
  color: var(--ap-primary);
  line-height: 1;
}

.ap-rating-meta {
  display: flex;
  flex-direction: column;
}

.ap-rating-stars {
  color: #f59e0b;
  display: flex;
  gap: 2px;
}

.ap-rating-count {
  font-size: 0.875rem;
  color: var(--ap-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ap-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Reviews Embed / Shortcode / Iframe Container */
.ap-reviews-embed-container {
  width: 100%;
  margin-top: 1.5rem;
  box-sizing: border-box;
  overflow: hidden;
}

.ap-reviews-embed-container iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  display: block;
}

.ap-review-card {
  background-color: var(--ap-bg-light);
  border-radius: var(--ap-radius-sm);
  padding: 2.5rem 2rem;
  border: 1px solid var(--ap-border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.ap-reviewer-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.ap-reviewer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--ap-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.175rem;
  flex-shrink: 0;
}

.ap-reviewer-meta h4 {
  margin: 0 0 2px 0;
  font-size: 1.175rem;
  color: var(--ap-text-dark);
}

.ap-reviewer-meta span {
  font-size: 0.975rem;
  color: var(--ap-text-muted);
}

.ap-review-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ap-text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.ap-review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--ap-text-muted);
  border-top: 1px solid var(--ap-border-subtle);
  padding-top: 1rem;
}

.ap-review-heart {
  color: var(--ap-accent);
}

/* ==========================================================================
   12. NEWSLETTER & FOOTER
   ========================================================================== */
.ap-newsletter-section {
  padding: 6rem 0;
  background-color: var(--ap-primary);
  color: #ffffff;
  text-align: center;
}

.ap-newsletter-title {
  color: #ffffff;
  font-size: var(--ap-fs-h2);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ap-newsletter-form {
  max-width: 650px;
  margin: 0 auto;
}

.ap-newsletter-input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ap-newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.85rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: var(--ap-transition);
}

.ap-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.ap-newsletter-input:focus {
  border-bottom-color: #ffffff;
}

.ap-newsletter-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.ap-newsletter-privacy input[type="checkbox"] {
  accent-color: var(--ap-accent);
}

/* Luxury Footer styles are universally managed in header-footer.css */

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .ap-rooms-grid,
  .ap-activities-grid,
  .ap-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ap-amenities-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }

  .ap-story-split-container {
    flex-direction: column;
  }

  .ap-story-split-image {
    min-height: 420px;
  }

  .ap-story-split-content {
    padding: 4rem 2.5rem;
  }

  .ap-story-grid,
  .ap-location-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ap-booking-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
  }

  .ap-booking-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
  }

  .ap-booking-field:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .ap-site-header {
    padding: 1.5rem;
  }

  .ap-hero-wrapper {
    min-height: 700px;
  }

  .ap-activities-grid:not(.ap-slider-track),
  .ap-reviews-grid,
  .ap-gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Horizontal Slider for Homepage Rooms */
  .ap-rooms-section .ap-slider-wrapper {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 0.5rem 0.25rem 1.5rem 0.25rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .ap-rooms-section .ap-slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  .ap-rooms-section .ap-rooms-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.25rem !important;
    width: max-content;
  }

  .ap-rooms-section .ap-room-card,
  .ap-rooms-section .ap-slider-track .ap-room-card {
    flex: 0 0 82vw !important;
    width: 82vw !important;
    min-width: 280px !important;
    max-width: 380px !important;
    height: 520px !important;
    scroll-snap-align: start !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Mobile Horizontal Slider for Activities & Experiences */
  .ap-activities-section .ap-slider-wrapper {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 0.5rem 0.25rem 1.5rem 0.25rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .ap-activities-section .ap-slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  .ap-activities-section .ap-activities-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.25rem !important;
    width: max-content;
  }

  .ap-activities-section .ap-activity-card,
  .ap-activities-section .ap-slider-track .ap-activity-card {
    flex: 0 0 82vw !important;
    width: 82vw !important;
    min-width: 270px !important;
    max-width: 380px !important;
    height: 480px !important;
    scroll-snap-align: start !important;
  }

  .ap-amenities-grid-v2 {
    grid-template-columns: 1fr;
    row-gap: 1.75rem;
  }

  .ap-reception-photo-section {
    max-height: 400px;
  }

  .ap-reception-photo-wrapper img {
    min-height: 320px;
    max-height: 400px;
  }

  .ap-gallery-strip .ap-gallery-item {
    width: 300px;
    height: 280px;
  }

  .ap-story-split-content {
    padding: 3rem 1.5rem;
  }

  .ap-booking-fields {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ap-guests-popover {
    left: 0;
    right: 0;
    min-width: unset;
    width: 100%;
  }

  .ap-booking-card .ap-btn-primary {
    width: 100%;
  }

  /* Mobile Open Modal Component - Centered on Screen */
  .ap-date-dropdown {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    background: rgba(18, 16, 15, 0.72) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.25rem !important;
    box-sizing: border-box !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
  }

  .ap-date-dropdown[hidden] {
    display: none !important;
  }

  .ap-date-dd-inner {
    width: 100% !important;
    max-width: 360px !important;
    max-height: 90vh !important;
    background: #ffffff !important;
    border: 1px solid #eae5dc !important;
    border-radius: 0 !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    animation: apModalCenterPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes apModalCenterPop {
    from {
      opacity: 0;
      transform: scale(0.96);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .ap-date-dd-header {
    padding: 1rem 1.15rem;
  }

  .ap-date-dd-nav {
    padding: 0.75rem 1.15rem;
  }

  .ap-date-dd-body {
    grid-template-columns: 1fr !important;
    padding: 1rem 1.15rem !important;
    gap: 1.25rem !important;
  }

  .ap-cal-month-wrap:nth-child(2) {
    display: none; /* Single month view on mobile for compact touch UX */
  }

  .ap-date-dd-footer {
    padding: 0.9rem 1.15rem;
    display: flex;
    gap: 0.75rem;
  }

  .ap-btn-cal-reset,
  .ap-btn-cal-confirm {
    flex: 1;
    text-align: center;
    padding: 0.8rem 0.5rem;
  }

  .ap-newsletter-input-group {
    flex-direction: column;
  }

  .ap-reviews-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   MINIMALIST EDITORIAL TABLE OF CONTENTS (TOC) & POST TAGS
   ========================================================================== */
.ap-toc-wrapper {
  margin: 2.25rem 0 3rem 0;
  background-color: #FAF8F5;
  border: 1px solid #EAE5DC;
  border-radius: 0;
  box-shadow: none !important;
  padding: 1.5rem 1.75rem;
  max-width: 100%;
}

.ap-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #ECE7DE;
  margin-bottom: 1.15rem;
}

.ap-toc-header-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #142217;
}

.ap-toc-header-title svg {
  color: var(--ap-accent);
  flex-shrink: 0;
}

.ap-toc-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8C827A;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.ap-toc-toggle-btn:hover {
  color: #142217;
}

.ap-toc-toggle-btn svg {
  transition: transform 0.25s ease;
}

.ap-toc-wrapper.is-collapsed .ap-toc-toggle-btn svg {
  transform: rotate(-90deg);
}

.ap-toc-wrapper.is-collapsed .ap-toc-list {
  display: none;
}

.ap-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ap-toc-item {
  margin: 0;
  padding: 0;
}

.ap-toc-item.ap-toc-depth-3 {
  padding-left: 1.25rem;
}

.ap-toc-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  color: #5C554E;
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ap-toc-link:hover {
  color: var(--ap-accent);
  transform: translateX(3px);
}

.ap-toc-link-num {
  font-size: 0.75rem;
  font-family: var(--ap-font-sans);
  color: var(--ap-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.ap-toc-link-text {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.ap-toc-link:hover .ap-toc-link-text {
  border-bottom-color: var(--ap-accent);
}

/* Headings smooth scroll offset for sticky header */
h2[id^="toc-"],
h3[id^="toc-"] {
  scroll-margin-top: 110px;
}

/* Single Post Minimalist Tags */
.ap-single-tags-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 3rem 0 2rem 0;
  padding-top: 1.75rem;
  border-top: 1px solid #EDE8E1;
}

.ap-tags-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #8C827A;
  text-transform: uppercase;
}

.ap-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ap-tag-pill {
  font-size: 0.8125rem;
  color: #5C554E;
  background: #FAF8F5;
  border: 1px solid #EAE5DC;
  padding: 5px 12px;
  border-radius: 2px;
  text-decoration: none;
  box-shadow: none !important;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.ap-tag-pill:hover {
  border-color: #142217;
  color: #142217;
  background: #FFFFFF;
}

