﻿/* ==========================================
   GAMIRASU CAVE HOTEL - COMMON STYLES
   ========================================== */

/* ===== FH Ampersand Display Test Font ===== */
@import url("https://fonts.cdnfonts.com/css/fh-ampersand-display-test");

/* ===== BASE RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.font-serif {
  font-family: "Cormorant Garamond", serif;
}

/* ===== FH Ampersand Display Test Utility Classes ===== */
.fh-bold {
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 700;
}

.fh-medium {
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 500;
}

.fh-regular {
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 400;
}

.fh-light {
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 300;
}

/* ===== FH Ampersand - Element Specific Rules ===== */
.rooms-slider .swiper-slide h3 {
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.service-tab {
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

#service-title {
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 400;
}

#service-desc {
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 300;
}

section h2.font-serif,
.section4-slider h2 {
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 500;
}

.room-card-title {
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 700;
  font-style: normal;
}

#room-facilities .space-y-5 span.text-gray-700 {
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.section-description {
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.service-card > p.text-gray-500 {
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

/* ===== HERO SECTION (Subpage Default) ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== HERO SECTION OVERRIDE - Homepage Video Background ===== */
.hero-section.video-hero {
  background: #000;
  min-height: 100vh;
  height: auto;
}

.hero-section.video-hero .center-title {
  color: rgba(255, 255, 255, 0.9);
}

.hero-section.video-hero .nav-link {
  color: white;
}

.hero-section.video-hero .nav-link:hover {
  color: #a67c52;
}

/* ===== CENTER TITLE (Default: Gold) ===== */
.center-title {
  font-size: 24px;
  letter-spacing: 8px;
  color: #a67c52;
  text-transform: uppercase;
}

/* Center Title - Dark Variant (for Room Details page) */
.center-title-dark {
  color: #1a1a1a;
}

/* ===== NAV LINKS (Default: Gold) ===== */
.nav-link {
  color: #a67c52;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #8b6914;
}

/* ===== AWARDS BADGE ===== */
.awards-badge {
  position: absolute;
  left: 0;
  bottom: 120px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 20px 30px 20px 20px;
  border-radius: 0 20px 20px 0;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  right: 60px;
  bottom: 150px;
  width: 50px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  padding-top: 15px;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
}

/* ===== RESERVATION BUTTON ===== */
.reservation-btn {
  background: #a67c52;
  color: white;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.reservation-btn:hover {
  background: #8b6914;
}

/* ===== RESERVATION BAR ===== */
.reservation-bar {
  background: #6b4e3d;
  border-radius: 50px 50px 0 0;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 900px;
  isolation: isolate;
}

.date-section {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  font-size: 14px;
}

.date-arrow {
  color: rgba(255, 255, 255, 0.6);
}

.calendar-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-section {
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 25px;
}

.guest-label {
  color: white;
  font-size: 14px;
}

.guest-label span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.counter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.counter-value {
  color: white;
  font-size: 16px;
  min-width: 20px;
  text-align: center;
}

.book-now-btn {
  background: white;
  color: #6b4e3d;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  cursor: pointer;
  transition: all 0.3s;
}

.book-now-btn:hover {
  background: #f0f0f0;
}

/* ===== ROOMS SLIDER ===== */
.rooms-slider {
  width: 100%;
  max-width: 100%;
  padding-bottom: 60px;
  overflow: hidden !important;
}

.rooms-slider .swiper-wrapper {
  align-items: center;
}

.rooms-slider .swiper-slide {
  transition: all 0.5s ease;
}

.rooms-slider .swiper-slide-active {
  z-index: 10;
}

.rooms-slider .swiper-slide-active img {
  filter: grayscale(0%);
}

.rooms-slider .swiper-slide:not(.swiper-slide-active) img {
  filter: grayscale(100%);
  opacity: 0.8;
}

.rooms-slider .swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.9);
}

.rooms-next,
.rooms-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  cursor: pointer;
  width: auto;
  height: auto;
  margin-top: 0;
}

.rooms-next {
  right: 20px;
}

.rooms-prev {
  left: 20px;
}

.rooms-next:after,
.rooms-prev:after {
  display: none;
}

.rooms-next > div,
.rooms-prev > div {
  width: 70px;
  height: 70px;
}

.rooms-pagination {
  bottom: 0 !important;
}

.rooms-pagination .swiper-pagination-bullet {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  opacity: 1;
  margin: 0 4px;
}

.rooms-pagination .swiper-pagination-bullet-active {
  background: #a67c52;
}

/* ===== ROOM BADGE - RIBBON SHAPE ===== */
.room-badge {
  position: absolute;
  top: 0;
  left: 2rem;
  background-color: #a67c52;
  padding: 2.5rem 1rem 1rem 1rem;
  width: 191px;
  height: 212px;
  text-align: center;
  clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* ===== SERVICE TABS ===== */
.service-tab {
  position: relative;
  padding-bottom: 8px;
  transition: all 0.3s ease;
}

.service-tab.active::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 0;
  right: 0;
  height: 2px;
  background: #a67c52;
}

.service-tab:hover {
  color: #a67c52;
}

/* Service Tabs Scrollbar Hide */
.service-tabs-bar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.service-tabs-bar::-webkit-scrollbar {
  display: none;
}

/* Service Slider Pagination */
.service-pagination .swiper-pagination-bullet {
  width: 48px;
  height: 2px;
  border-radius: 0;
  background: #d1d5db;
  opacity: 1;
  margin: 0 !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-pagination .swiper-pagination-bullet-active {
  background: #a67c52;
}

/* Fix for Service Slider Width Issue on Mobile */
.service-slider .swiper-slide {
  width: 100% !important;
}

/* ===== SECTION 4 SLIDER PAGINATION ===== */
.section4-pagination {
  align-items: center;
}

.section4-pagination .swiper-pagination-bullet {
  width: 48px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 !important;
}

.section4-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
}

/* ===== SHOWCASE SLIDER (Used in Room Details & Restaurant) ===== */
.showcase-slider {
  position: relative;
}

.showcase-slider .swiper-slide {
  border-radius: 0;
  overflow: hidden;
}

.showcase-prev,
.showcase-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.showcase-prev::after,
.showcase-next::after {
  display: none;
}

.showcase-prev {
  left: 0;
}

.showcase-next {
  right: 0;
}

.showcase-slider .swiper-pagination {
  position: relative;
  bottom: 0;
}

.showcase-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(166, 124, 82, 0.3);
  opacity: 1;
}

.showcase-slider .swiper-pagination-bullet-active {
  background: #a67c52;
}

/* ===== CUSTOM SCROLLBAR FOR REVIEWS ===== */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(166, 124, 82, 0.1);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(166, 124, 82, 0.4);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(166, 124, 82, 0.6);
}

/* ===== BLOG CARD & PAGINATION ===== */
.blog-card {
  background: white;
  border: 1px solid #a67c52;
  border-radius: 20px;
  overflow: hidden;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.pagination-btn.active {
  background: #a67c52;
  color: white;
}

.pagination-btn:hover:not(.active) {
  background: #f5f5f5;
  color: #a67c52;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .hero-section {
    height: 100vh;
    min-height: 600px;
  }

  .center-title {
    font-size: 18px;
    letter-spacing: 4px;
  }

  .reservation-bar {
    min-width: auto;
    width: 95%;
    padding: 10px 20px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    position: fixed;
    bottom: 15px;
  }

  .awards-badge {
    padding: 15px 20px;
  }

  /* Room Details Responsive */
  .room-details-section h2 {
    font-size: 2.5rem;
  }

  .room-details-section .grid {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
  .hero-section {
    height: 100vh;
    min-height: 500px;
  }

  .hero-section img {
    object-position: center center;
  }

  header {
    padding: 15px !important;
  }

  .center-title {
    display: none;
  }

  nav {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  #toggler-btn {
    display: flex !important;
  }

  .awards-badge {
    left: 10px;
    bottom: 180px;
    padding: 12px 15px;
    border-radius: 0 15px 15px 0;
  }

  .awards-badge .text-2xl {
    font-size: 1.2rem;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    right: 20px;
    bottom: 200px;
    width: 40px;
    height: 60px;
  }

  /* Reservation Bar - Mobile Vertical Fixed Bottom */
  .reservation-bar {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 10px);
    margin: 0;
    flex-direction: column;
    border-radius: 25px;
    padding: 20px;
    gap: 15px;
    min-width: auto;
  }

  .date-section {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .guest-section {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 0;
    padding-top: 15px;
    width: 100%;
    justify-content: center;
  }

  .book-now-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .rooms-next > div,
  .rooms-prev > div {
    width: 50px;
    height: 50px;
  }

  /* Room Details Responsive */
  .room-details-section h2 {
    font-size: 2rem;
  }

  .room-details-section p {
    font-size: 0.95rem;
  }

  .room-details-section .max-w-4xl {
    padding: 0 1rem;
  }
}

/* Awards Badge - Hide on screens smaller than 827px */
@media (max-width: 827px) {
  .awards-badge {
    display: none !important;
  }
}

/* Room Badge - Mobile */
@media (max-width: 640px) {
  .room-badge {
    left: 1rem;
    padding: 1.5rem 0.5rem 0.5rem 0.5rem;
    width: 140px;
    height: 160px;
  }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
  .logo-shield {
    width: 80px;
    height: 52px;
  }

  .logo-text-main {
    font-size: 11px;
  }

  .logo-text-top,
  .logo-text-bottom {
    font-size: 6px;
  }

  .awards-badge {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  h2 {
    font-size: 2rem !important;
  }

  .tour-card {
    height: 280px !important;
  }

  .tour-card[style*="height: 480px"] {
    height: 320px !important;
    margin-bottom: 20px !important;
  }

  .tour-card[style*="margin-bottom: 80px"] {
    margin-bottom: 30px !important;
  }
}

/* Tablet (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .reservation-bar {
    min-width: 700px;
  }

  .tour-card {
    height: 300px !important;
  }

  .tour-card[style*="height: 480px"] {
    height: 380px !important;
    margin-bottom: 50px !important;
  }
}

/* ===== GALLERY PAGE ===== */

/* Gallery Tab Styles */
.gallery-tab {
  position: relative;
  padding-bottom: 16px;
  transition: all 0.3s ease;
}

.gallery-tab.active {
  color: #a67c52;
}

.gallery-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #a67c52;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Gallery Grid Styles */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.gallery-item:hover .zoom-icon {
  opacity: 1;
}

/* ===== LIGHTBOX STYLES ===== */
.lightbox-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-swiper .swiper-slide img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-swiper .swiper-button-prev,
.lightbox-swiper .swiper-button-next {
  color: white;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.lightbox-swiper .swiper-button-prev:after,
.lightbox-swiper .swiper-button-next:after {
  font-size: 20px;
}

.lightbox-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
}

.lightbox-swiper .swiper-pagination-bullet-active {
  background: #a67c52;
}

/* ===== VIDEO MODAL STYLES ===== */
#video-modal .video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

#video-modal video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
}

/* ===== SERVICE CARDS (Services Page) ===== */
.service-card {
  min-height: 240px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .service-card {
    min-height: 200px;
    padding: 20px 12px !important;
  }
  .service-card .w-16 {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 12px !important;
  }
  .service-card h3 {
    font-size: 13px !important;
    margin-bottom: 4px !important;
  }
  .service-card p {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }
}

/* Custom Flatpickr */
.flatpickr-calendar {
  background: #1e3a5f !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
  padding: 20px !important;
  width: 360px !important;
  margin-bottom: 10px !important;
}

.flatpickr-calendar.arrowBottom:after,
.flatpickr-calendar.arrowBottom:before {
  border-top-color: #1e3a5f !important;
}

.flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowTop:before {
  border-bottom-color: #1e3a5f !important;
}

.flatpickr-months {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 10px 20px 10px !important;
  margin-bottom: 10px !important;
  position: relative !important;
}

.flatpickr-month {
  order: 2 !important;
  flex: 0 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 10 !important;
}

.flatpickr-prev-month {
  left: 10px !important;
}

.flatpickr-next-month {
  right: 10px !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  color: white !important;
}

.flatpickr-current-month {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  left: 0 !important;
  width: 100% !important;
  position: relative !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  background: transparent !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  text-align: center !important;
  padding: 0 !important;
  border: none !important;
}

.flatpickr-current-month .numInputWrapper {
  display: inline-block !important;
  width: 60px !important;
}

.flatpickr-weekdays {
  display: none !important;
}

.flatpickr-weekday {
  display: none !important;
}

.flatpickr-days {
  background: white !important;
  border-radius: 12px !important;
  padding: 10px !important;
  width: 100% !important;
}

.dayContainer {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0 !important;
}

.flatpickr-day {
  border: none !important;
  color: #333 !important;
  font-size: 14px !important;
  height: 38px !important;
  line-height: 38px !important;
  margin: 2px 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.flatpickr-day:hover {
  background: rgba(166, 124, 82, 0.15) !important;
  color: #333 !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #bbb !important;
}

.flatpickr-day.today {
  border: none !important;
  background: transparent !important;
}

/* Range Selection Styling */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #a67c52 !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
}

.flatpickr-day.startRange {
  border-radius: 8px 0 0 8px !important;
}

.flatpickr-day.endRange {
  border-radius: 0 8px 8px 0 !important;
}

.flatpickr-day.startRange.endRange {
  border-radius: 8px !important;
}

.flatpickr-day.inRange {
  background: rgba(166, 124, 82, 0.2) !important;
  color: #333 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.flatpickr-day.disabled {
  color: #ddd !important;
}

/* Custom Footer Buttons */
.flatpickr-calendar .custom-footer {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  margin-top: 5px;
}

.flatpickr-calendar .custom-footer button {
  flex: 1;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.flatpickr-calendar .custom-footer .cancel-btn {
  background: transparent;
  color: white;
}

.flatpickr-calendar .custom-footer .cancel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.flatpickr-calendar .custom-footer .apply-btn {
  background: #a67c52;
  color: white;
}

.flatpickr-calendar .custom-footer .apply-btn:hover {
  background: #8b6914;
}

/* Hide default flatpickr elements */
.flatpickr-time,
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  display: none !important;
}

/* Custom arrow icons */
.flatpickr-prev-month::after {
  content: "‹";
  font-size: 24px;
  color: white;
  line-height: 1;
}

.flatpickr-next-month::after {
  content: "›";
  font-size: 24px;
  color: white;
  line-height: 1;
}

/* Month year display */
.flatpickr-current-month {
  font-size: 16px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  margin-right: 5px !important;
}

/* Month dropdown options */
.flatpickr-monthDropdown-months option {
  color: black !important;
}

/* ==========================================
   ROOMS LISTING PAGE STYLES
   ========================================== */

/* Rooms Listing Sidebar */
.rooms-listing-sidebar {
  position: sticky;
  top: 0px;
}

.rooms-listing-category {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rooms-listing-category:hover {
  color: #a67c52;
}

.rooms-listing-category.active {
  color: #999;
  border-bottom-color: #999;
}

/* Rooms Listing Card */
.rooms-listing-card {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 0;
}

.rooms-listing-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.rooms-listing-badge {
  position: absolute;
  top: 0;
  right: 20px;
  background: #a67c52;
  color: white;
  padding: 22px 24px 40px 24px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 1.5;
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
  min-width: 130px;
  letter-spacing: 0.5px;
}

.rooms-listing-card-title {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  text-align: center;
  border-bottom: 2px solid white;
  padding-bottom: 8px;
  font-family: "FH Ampersand Display Test", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Rooms Section Header */
.rooms-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.rooms-section-title {
  font-size: 36px;
  color: #a67c52;
  font-weight: 500;
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
}

.rooms-section-description {
  font-size: 14px;
  color: #666;
  max-width: 400px;
  text-align: right;
  line-height: 1.6;
}

/* Sidebar Reservation Widget */
.sidebar-reservation {
  background: #a67c52;
  border-radius: 16px;
  padding: 24px 20px;
  margin-top: 30px;
  color: white;
}

.sidebar-date-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
}

.sidebar-date-row:last-of-type {
  border-bottom: none;
}

.sidebar-calendar-icon {
  font-size: 18px;
  color: white;
}

.sidebar-date-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.sidebar-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 8px 0;
  margin-top: 8px;
}

.sidebar-guest-icon {
  font-size: 18px;
  color: white;
}

.sidebar-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-counter-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 10px;
}

.sidebar-counter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sidebar-counter-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.sidebar-counter-value {
  font-size: 16px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.sidebar-guest-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.sidebar-book-btn {
  width: 100%;
  background: white;
  color: #a67c52;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.sidebar-book-btn:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}

.sidebar-book-btn i {
  font-size: 12px;
}

/* ROOMS LISTING RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .rooms-section-title {
    font-size: 28px;
  }

  .rooms-section-description {
    text-align: left;
    max-width: 100%;
  }

  .rooms-listing-sidebar {
    position: relative;
    top: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .rooms-listing-category {
    border-bottom: none;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 25px;
  }

  .rooms-listing-category.active {
    background: #a67c52;
    color: white;
  }

  /* Sidebar Reservation Responsive */
  .sidebar-reservation {
    margin-top: 20px;
    padding: 20px 16px;
  }

  .sidebar-date-text {
    font-size: 13px;
  }

  .sidebar-counter-value {
    font-size: 14px;
  }

  .sidebar-book-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Flatpickr responsive for tablet */
  .flatpickr-calendar {
    width: 320px !important;
    padding: 15px !important;
  }

  .flatpickr-days {
    padding: 8px !important;
  }

  .flatpickr-day {
    height: 36px !important;
    line-height: 36px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 768px) {
  .rooms-section-header {
    flex-direction: column;
  }

  .rooms-listing-card-title {
    font-size: 18px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    border-bottom: 2px solid white;
    padding-bottom: 6px;
  }

  .rooms-listing-badge {
    padding: 16px 18px 28px 18px;
    font-size: 12px;
    top: 0;
    right: 10px;
    min-width: 100px;
    line-height: 1.4;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
  }

  /* Sidebar reservation - Mobile horizontal layout */
  .sidebar-reservation {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    margin-top: 20px;
    align-items: center;
  }

  .sidebar-date-row {
    flex: 1;
    min-width: 120px;
    padding: 8px 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 10px;
  }

  .sidebar-date-row:last-of-type {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .sidebar-date-text {
    font-size: 12px;
  }

  .sidebar-guest-row {
    padding: 0;
    margin-top: 0;
    gap: 8px;
  }

  .sidebar-guest-label {
    display: none;
  }

  .sidebar-counter {
    gap: 8px;
  }

  .sidebar-counter-btn {
    width: 24px;
    height: 24px;
    font-size: 9px;
  }

  .sidebar-counter-value {
    font-size: 14px;
  }

  .sidebar-book-btn {
    padding: 10px 16px;
    font-size: 12px;
    flex: 0 0 auto;
  }

  /* Flatpickr mobile adjustments */
  .flatpickr-calendar {
    width: calc(100vw - 40px) !important;
    max-width: 360px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 15px !important;
  }

  .flatpickr-calendar .custom-footer {
    padding-top: 15px !important;
  }

  .flatpickr-calendar .custom-footer button {
    padding: 12px 16px !important;
    font-size: 13px !important;
  }
}
