/* Enhanced Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Global styles with smooth scrolling */
html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
}

html {
  font: 1em/1.5 "Lato", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
}

body {
  font-size: 1.3em;
}

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

header {
  height: 70vh;
  position: relative;
  overflow: hidden;
  background: url(/sources/images/houseImages/outside/bighuus.jpg) center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  animation: fadeIn 1s ease-in-out;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(130, 178, 193, 0.1) 0%, rgba(143, 168, 163, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

header .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

header h1, header h2 {
  margin: 0;
}

header h2 {
  text-transform: uppercase;
  margin-top: -.5em;
}

header hgroup {
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  border: 5px solid #fff;
  padding: 1.5em 2.5em;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 3;
  backdrop-filter: blur(10px);
  border-radius: 15px;
  animation: float 6s ease-in-out infinite;
  transition: all 0.3s ease;
  max-width: 90%;
  box-sizing: border-box;
}

header hgroup h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: none;
}

header hgroup .hero-tagline {
  font-size: 1rem;
  margin: 0.75rem 0 1rem;
  text-transform: none;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.4;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-cta-primary {
  background: #82b2c1;
  color: #fff !important;
  border: 2px solid #82b2c1;
}

.hero-cta-primary:hover {
  background: #6a9bb0;
  border-color: #6a9bb0;
  transform: scale(1.05);
}

.hero-cta-secondary {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

header hgroup:hover {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: #82b2c1;
  transform: translate(-50%, -50%) scale(1.05);
}
header .overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background:#333 center no-repeat;
  background-size: cover;
  z-index: 0;
  opacity: 0;
  -webkit-filter: blur(4px);
  filter: blur(4px);
}
img{
  margin-right:20px
}
.site {
  /* padding: 2em 0; */
  text-align: center;
  background-color: #efefef;
  font-size: .8em;
  color: #444;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.site a {
  color: #666;
  text-decoration: none;
}


.site nav{
  position:sticky;}

  .main-content {
    flex: 1;
  }

  /* Section Animations */
  .hero-info-section {
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
  }

  .amenities-section-wrapper {
    animation: slideInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
    opacity: 0;
  }

  .reviews-section {
    animation: fadeIn 0.8s ease-out 0.4s;
    animation-fill-mode: both;
    opacity: 0;
  }

  .location-section {
    animation: slideInUp 0.8s ease-out 0.6s;
    animation-fill-mode: both;
    opacity: 0;
  }

  /* Enhanced Column Container */

    .columncontainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 gelijke kolommen */
    gap: 10px;
    width: calc(100% - 40px);
    max-width: 1400px; /* Add max-width for better centering */
    margin: 25px auto; /* Center the container */
    padding: 0 20px; /* Add some padding */
  }

  .big-box {
    grid-column: span 2; /* neemt 2 kolommen in */
    background: linear-gradient(135deg, #82b2c1 0%, #6a9bb0 100%);
    height: auto;
    min-height: 300px;
    border-radius: 20px;
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(130, 178, 193, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInLeft 0.8s ease-out 0.3s;
    animation-fill-mode: both;
    opacity: 0;
  }

  .big-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(130, 178, 193, 0.4);
  }

  .big-box h2 {
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
  }

  .big-box .description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .big-box .description p {
    margin-bottom: 1rem;
  }

  .big-box .description a {
    color: #ffffff;
    text-decoration: underline;
  }

  .big-box .description a:hover {
    color: #f0f0f0;
  }

  .big-box .button-container {
    text-align: center;
    margin-top: auto;
  }

  .big-box .button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .big-box .photo-button {
    display: inline-block;
    background: #16619059;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: capitalize;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
  }

  .big-box .photo-button-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
  }

  .big-box .hero-highlights {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
  }

  .big-box .hero-highlights li {
    padding: 0.35rem 0;
    font-size: 0.95rem;
  }

  .big-box .hero-highlights i {
    width: 1.25rem;
    margin-right: 0.5rem;
    opacity: 0.9;
  }

  .big-box .photo-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
  }

  .big-box .photo-button:hover::before {
    width: 300px;
    height: 300px;
  }

  .big-box .photo-button:hover {
    background: rgba(17, 58, 83, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(35, 102, 145, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
  }

  .big-box .photo-button span {
    position: relative;
    z-index: 1;
  }

  .small-box {
    /* background: linear-gradient(135deg, #8fa8a3 0%, #7a9590 100%); */
    background: transparent;
    height: 380px;
    width: 400px;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 8px 32px rgba(143, 168, 163, 0.3); */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInRight 0.8s ease-out 0.5s;
    animation-fill-mode: both;
    opacity: 0;
  }

  /* .small-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(143, 168, 163, 0.4);
  } */

  /* Booking Widget Styling */
  .booking-widget {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 0.6s ease-out 0.7s;
    animation-fill-mode: both;
    opacity: 0;
  }

  .booking-widget:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    transform: translateY(-2px);
  }

  .booking-property-selection {
    margin-bottom: 16px;
  }

  .booking-property-selection label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .booking-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #222;
    cursor: pointer;
  }

  .booking-select:focus {
    outline: none;
    border-color: #222;
  }

  .booking-dates {
    margin-bottom: 16px;
  }

  .date-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }

  .date-input {
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .date-input:first-child {
    border-right: 1px solid #ddd;
  }

  .date-input:hover {
    background-color: #f7f7f7;
  }

  .date-input label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .date-input input {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #222;
    width: 100%;
    cursor: pointer;
  }

  .date-input input:focus {
    outline: none;
  }

  .date-input input::placeholder {
    color: #717171;
  }

  /* Selected Dates Display Styling */
  #selectedDatesText {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
  }

  #selectedDatesText .date-range {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.2px;
  }

  /* Booking Calendar - Centered popup */
  .booking-calendar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 1000;
    min-width: 600px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Overlay background */
  .booking-calendar::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(135, 158, 153, 0.5);
    z-index: -1;
  }

  .booking-widget {
    position: relative; /* Ensure proper positioning context */
  }

  .calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .cal-nav-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #222;
    transition: all 0.2s ease;
  }

  .cal-nav-btn:hover {
    border-color: #222;
    background-color: #f7f7f7;
  }

  .calendar-months {
    display: flex;
    gap: 40px;
  }

  .calendar-months h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
  }

  .two-month-calendar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .month-calendar {
    min-width: 280px;
  }

  /* Month titles - hidden on desktop, shown individually above each calendar on mobile */
  .month-title {
    display: none;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0 0 12px 0;
    text-align: center;
  }

  .calendar-weekdays-small {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 8px;
  }

  .weekday-small {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #717171;
    padding: 8px 4px;
  }

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

  .booking-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #222;
    position: relative;
    z-index: 2;
    min-height: 32px;
    min-width: 32px;
    margin: 4px;
  }

  .booking-day:hover:not(.other-month):not(.fully-booked):not(.selected):not(.in-range):not(.unavailable):not(.past) {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
  }

  .booking-day.other-month {
    color: #ccc;
    cursor: not-allowed;
  }

  /* Booking calendar color coding - same as main calendar */
  /* Booking calendar - simplified styling */
  .booking-day.available {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #222;
    cursor: pointer;
  }

  .booking-day.available:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
  }

  /* Unavailable dates - greyed out with strikethrough */
  .booking-day.unavailable,
  .booking-day.main-house-booked,
  .booking-day.cottage-booked,
  .booking-day.fully-booked {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border: 1px solid #e0e0e0;
    position: relative;
  }

  /* Add strikethrough effect with a dash */
  .booking-day.unavailable::after,
  .booking-day.main-house-booked::after,
  .booking-day.cottage-booked::after,
  .booking-day.fully-booked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background-color: #999;
    transform: translateY(-50%);
    border-radius: 1px;
  }

  .booking-day.unavailable:hover,
  .booking-day.main-house-booked:hover,
  .booking-day.cottage-booked:hover,
  .booking-day.fully-booked:hover {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
  }

  /* Selected dates (check-in and check-out) */
  .booking-calendar .booking-day.selected,
  .booking-day.selected {
    background-color: #007bff !important;
    color: #fff !important;
    border: 1px solid #007bff !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    z-index: 3 !important;
  }

  .booking-calendar .booking-day.selected:hover,
  .booking-day.selected:hover {
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
    color: #fff !important;
  }

  .booking-calendar .booking-day.selected.start-date,
  .booking-day.selected.start-date {
    background-color: #007bff !important;
    /* border-radius: 4px !important; */
  }

  .booking-calendar .booking-day.selected.end-date,
  .booking-day.selected.end-date {
    background-color: #007bff !important;
    /* border-radius: 4px !important; */
  }

  .booking-calendar .booking-day.selected.single-date,
  .booking-day.selected.single-date {
    background-color: #007bff !important;
    border-radius: 4px !important;
  }

  /* Date range background */
  .booking-day.in-range {
    background-color: transparent !important;
    color: #0056b3 !important;
    /* color: red !important; */
    position: relative;
    border: none !important;
  }

  .booking-day.in-range:hover {
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
  }

  /* Smooth range connection */
  .booking-day.in-range::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    right: -1px;
    bottom: 0;
    /* background-color: #007bff; */
    z-index: -1;
  }

  /* First day of range - keep the selected styling */
  .booking-calendar .booking-day.in-range.range-start,
  .booking-day.in-range.range-start {
    color: #0056b3 !important;
    /* color: red !important; */
    border: none !important;
  }

  /* Last day of range - keep the selected styling */
  .booking-calendar .booking-day.in-range.range-end,
  .booking-day.in-range.range-end {
    color: #0056b3 !important;
    /* color: red !important; */
    border: none !important;
  }

  /* Single selected date */
  .booking-day.selected:not(.in-range) {
    border-radius: 50% !important;
    background-color: #007bff !important;
    color: #fff !important;
  }

  /* Force override any conflicting styles */
  .booking-calendar .calendar-days-grid .booking-day.selected,
  .booking-calendar div.booking-day.selected,
  div.booking-day.selected {
    /* background-color: #007bff !important; */
    color: #ffffff !important;
    border: none !important;
  }

  /* Additional specific overrides */
  .booking-day.selected.start-date,
  .booking-day.selected.end-date,
  .booking-day.selected.single-date {
    /* background-color: #007bff !important; */
    color: #ffffff !important;
  }

  .booking-guests {
    margin-bottom: 16px;
  }

  .booking-guests label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .booking-price {
    margin-bottom: 16px;
    padding: 16px 0;
    border-top: 1px solid #ddd;
  }

  .price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .price-line {
    display: none; /* Hide the nightly rate breakdown line */
    justify-content: space-between;
    font-size: 14px;
    color: #222;
  }

  .price-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 16px;
    color: #222;
    padding-top: 8px;
    border-top: 1px solid #ddd;
  }

  .reserve-btn {
    background: #427da2;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: capitalize;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
  }

  .reserve-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
  }

  .reserve-btn:hover::before {
    width: 300px;
    height: 300px;
  }

  .reserve-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 117, 113, 0.4);
  }

  .reserve-btn span {
    position: relative;
    z-index: 1;
  }

  .reserve-btn:disabled {
    background: #f7f7f7;
    color: #b0b0b0;
    cursor: not-allowed;
    transform: none;
  }

  .booking-note {
    text-align: center;
  }

  .booking-note small {
    color: #717171;
    font-size: 12px;
  }

  /* Calendar Header Info */
  .calendar-header-info {
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ddd;
  }

  .selected-dates-info {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }

  /* Calendar Footer */
  .calendar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #ddd;
    margin-top: 16px;
  }

  .clear-dates-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 0;
  }

  .clear-dates-btn:hover {
    color: #e0e0e0;
  }

  .close-calendar-btn {
    background: #82b2c1;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .close-calendar-btn:hover {
    background: #6a9bb0;
  }





/* Media Queries for Responsive Design */

/* Large Tablets and Small Desktops (1024px and down) */
@media screen and (max-width: 1024px) {
  .columncontainer {
    width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
    gap: 15px;
  }

  .big-box {
    padding: 1.5rem;
  }

  .big-box h2 {
    font-size: 1.6rem;
  }
}

/* Tablets (768px and down) */
@media screen and (max-width: 768px) {
  body {
    font-size: 1.1em;
  }

  header {
    height: 40vh;
    background-attachment: scroll;
    background-position: center 30%;
  }

  .columncontainer {
    grid-template-columns: 1fr; /* Single column layout */
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
    gap: 20px;
  }

  .big-box {
    grid-column: span 1; /* Take only one column */
    padding: 1.5rem;
    min-height: 250px;
  }

  /* Booking widget mobile styles */
  .booking-widget {
    position: relative;
    padding: 12px;
    margin: 8px auto;
    border-radius: 8px;
    display: block !important;
    visibility: visible !important;
    max-width: 100%;
    width: 100%;
  }

  /* Ensure big-box containing booking widget is visible */
  .big-box {
    display: block !important;
    visibility: visible !important;
    padding: 12px;
  }

  .booking-calendar {
    position: fixed;
    top: 5%;
    left: 1%;
    right: 1%;
    bottom: 5%;
    transform: none;
    border-radius: 8px;
    padding: 10px;
    overflow-y: auto;
    z-index: 1001;
    min-width: auto;
    max-width: none;
    max-height: none;
    height: 90vh; /* Explicit height for taller calendar */
    background-color:#a5b6b3;
  }

  .booking-calendar::before {
    border-radius: 8px;
  }

  /* Mobile calendar navigation */
  .calendar-navigation {
    padding: 8px 0;
    margin-bottom: 12px;
  }

  .cal-nav-btn {
    padding: 8px 12px;
    font-size: 16px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 6px;
  }

  /* Mobile calendar layout */
  .two-month-calendar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 60px; /* Add space at bottom to prevent overlap with footer buttons */
  }

  /* Hide the navigation month titles on mobile */
  .calendar-months {
    display: none;
  }

  /* Show individual month titles above each calendar on mobile */
  .month-title {
    display: block !important;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0 0 12px 0;
    text-align: center;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
  }

  .month-calendar {
    min-width: auto;
  }

  /* Mobile calendar days */
  .calendar-weekdays-small {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 6px;
  }

  .weekday-small {
    font-size: 10px;
    font-weight: 600;
    color: #666;
    text-align: center;
    padding: 4px 2px;
  }

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

  .booking-day {
    min-height: 34px;
    font-size: 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-width: 34px;
    touch-action: manipulation;
  }

  /* Mobile input fields - improved touch targets */
  .date-input-group {
    border-radius: 8px !important;
  }

  .date-input {
    padding: 14px 8px !important;
    font-size: 14px !important;
    min-height: 48px !important;
    touch-action: manipulation;
  }

  .date-input label {
    font-size: 11px !important;
    margin-bottom: 4px !important;
    text-align: left !important;
  }

  .date-input input {
    font-size: 14px !important;
    min-height: 20px !important;
  }

  /* Mobile property selection */
  .booking-property-selection {
    margin-bottom: 16px !important;
  }

  .booking-select {
    padding: 14px 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    min-height: 48px !important;
    touch-action: manipulation;
  }

  /* Mobile guest selection */
  .booking-guests {
    margin-bottom: 16px !important;
  }

  /* Mobile reserve button - larger touch target */
  .reserve-btn {
    width: 100% !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    min-height: 54px !important;
    touch-action: manipulation;
    margin-bottom: 12px !important;
  }

  /* Mobile calendar close/clear buttons */
  .calendar-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 8px 0;
    border-top: 1px solid #ddd;
    margin-top: 15px;
  }

  .calendar-footer .calendar-actions {
    display: flex;
    gap: 8px;
    justify-content: space-between;
  }

  .close-calendar-btn,
  .clear-dates-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    min-height: 36px;
    touch-action: manipulation;
  }

  .big-box h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .big-box .description p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .big-box .photo-button {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .small-box {
    display: block !important; /* Show small-box on mobile for booking widget */
    width: 100% !important;
    height: auto !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 500px !important;
  }

  /* Booking widget mobile improvements */
  .booking-widget {
    margin: 0 auto !important;
    padding: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hide only the mini calendar inside small-box, not the booking widget */
  .small-box .calendar-container {
    display: none; /* Hide mini calendar on tablets and smaller */
  }

  header hgroup {
    padding: 0.5em 2em;
  }

  header hgroup h1 {
    font-size: 1.5rem;
  }

  header hgroup h2 {
    font-size: 1rem;
  }
}

/* Mobile Phones (480px and down) */
@media screen and (max-width: 480px) {
  body {
    font-size: 1em;
  }
   
  #quicklinks{
    display: none;
  }

  .columncontainer {
    width: calc(100% - 10px);
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 15px;
    gap: 15px;
  }

  .big-box {
    padding: 1rem;
    min-height: 200px;
    border-radius: 15px;
  }

  .big-box h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .big-box .description {
    margin-bottom: 1rem;
  }

  .big-box .description p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .big-box .photo-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 20px;
  }

  .small-box {
    display: block !important; /* Show small-box on mobile for booking widget */
    width: 100% !important;
    height: auto !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  /* Booking widget mobile improvements for small screens */
  .booking-widget {
    margin: 0 auto !important;
    padding: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
  }

  /* Hide only the mini calendar inside small-box, not the booking widget */
  .small-box .calendar-container {
    display: none; /* Hide mini calendar on mobile phones */
  }


  header hgroup {
    padding: 0.3em 1.5em;
    border-width: 3px;
  }

  header hgroup h1 {
    font-size: 1.2rem;
  }

  header hgroup h2 {
    font-size: 0.8rem;
  }
}

/* Extra Small Mobile Phones (360px and down) */
@media screen and (max-width: 360px) {
  body {
    font-size: 0.9em;
  }

  .columncontainer {
    width: calc(100% - 5px);
    margin-left: 2.5px;
    margin-right: 2.5px;
  }

  .big-box {
    padding: 0.8rem;
    border-radius: 12px;
  }

  .big-box h2 {
    font-size: 1.1rem;
  }

  .big-box .description p {
    font-size: 0.8rem;
  }

  .big-box .photo-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .small-box {
    display: block !important; /* Show small-box on mobile for booking widget */
    width: 100% !important;
    height: auto !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  /* Booking widget mobile improvements for extra small screens */
  .booking-widget {
    margin: 0 auto !important;
    padding: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    font-size: 14px !important;
  }

  /* Hide only the mini calendar inside small-box, not the booking widget */
  .small-box .calendar-container {
    display: none; /* Hide mini calendar on extra small mobile phones */
  }
}

/* Section titles */
.section-title {
  font-size: 1.75rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Property cards */
.property-cards-section {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 20px;
  animation: slideInUp 0.8s ease-out 0.15s;
  animation-fill-mode: both;
  opacity: 0;
}

.property-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.property-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0;
}

.property-card-body {
  padding: 1.25rem;
}

.property-card h3 {
  margin: 0 0 0.25rem;
  color: #2c3e50;
  font-size: 1.25rem;
}

.property-guests {
  color: #6a9bb0;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.property-card ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #555;
}

.property-card-links {
  display: flex;
  gap: 1rem;
}

.property-card-links a {
  color: #6a9bb0 !important;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Highlights strip */
.highlights-strip {
  max-width: 1400px;
  margin: 2.5rem auto;
  padding: 0 20px;
  animation: slideInUp 0.8s ease-out 0.2s;
  animation-fill-mode: both;
  opacity: 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.highlight-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.highlight-item i {
  font-size: 1.75rem;
  color: #6a9bb0;
  margin-bottom: 0.75rem;
}

.highlight-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #2c3e50;
}

.highlight-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Photo highlights */
.photo-highlights-section {
  max-width: 1400px;
  margin: 2.5rem auto;
  padding: 0 20px;
  animation: slideInUp 0.8s ease-out 0.25s;
  animation-fill-mode: both;
  opacity: 0;
}

.photo-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.photo-highlights-grid a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.photo-highlights-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  transition: transform 0.3s ease;
}

.photo-highlights-grid a:hover img {
  transform: scale(1.05);
}

/* Reviews */
.reviews-section {
  max-width: 1400px;
  margin: 2.5rem auto;
  padding: 0 20px;
}

.reviews-disclaimer {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
  margin: -0.5rem 0 1.5rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-align: left;
  position: relative;
}

.review-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fff3cd;
  color: #856404;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.review-quote {
  font-style: italic;
  color: #444;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.review-author {
  font-weight: 600;
  color: #6a9bb0;
  margin: 0;
  font-size: 0.9rem;
}

/* Cottage notice in booking widget */
.cottage-notice {
  background: rgba(255, 193, 7, 0.15);
  border-left: 3px solid #ffc107;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #856404;
  text-align: left;
  border-radius: 0 6px 6px 0;
}

.cottage-notice i {
  margin-right: 0.35rem;
}

.calendar-note {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.calendar-note a {
  color: #6a9bb0 !important;
  font-weight: 600;
}

/* Activities teaser */
.activities-teaser {
  max-width: 1400px;
  margin: 2.5rem auto 3rem;
  padding: 0 20px;
  animation: slideInUp 0.8s ease-out 0.7s;
  animation-fill-mode: both;
  opacity: 0;
}

.activities-teaser-inner {
  background: linear-gradient(135deg, #82b2c1 0%, #6a9bb0 100%);
  color: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
}

.activities-teaser-inner h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.activities-teaser-inner p {
  margin: 0 0 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.activities-teaser .hero-cta-primary {
  background: #fff;
  color: #6a9bb0 !important;
  border-color: #fff;
}

.activities-teaser .hero-cta-primary:hover {
  background: #f0f0f0;
}

/* forCalendar div - Hidden by default, shown when calendar is open on mobile */
.forCalendar {
  display: none;
}

/* Show forCalendar only on mobile when calendar is active */
@media screen and (max-width: 768px) {
  .forCalendar.calendar-active {
    display: block;
  }
}

/* amenities */
/* Property selector styling */
.property-selector-old {
  margin: 20px auto;
  max-width: 900px;
  text-align: center;
  display: none; /* Hide the old property selector */
}

.amenities-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin: 30px auto;
  width: 95%;
  max-width: 1200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.amenities-box h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

/* 3-column grid voor amenities */
.amenities-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px; /* verticale en horizontale ruimte */
  width: 100%;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  line-height: 1.4;
  min-height: 24px;
}

/* Airbnb-style Amenities Section */
.amenities-section {
  /* background: #f2f2f2; */
  /* background: red; */
  padding: 48px 0;
  margin: 48px auto;
  width: 95%;
  max-width: 1700px;
}

.amenities-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.amenities-section h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 30px;
  color: #222222;
  margin: 0;
  text-align: left;
  animation: slideInLeft 0.6s ease-out;
}

/* Property selector styling - moved to header */
.property-selector {
  margin: 0;
  text-align: right;
  display: block; /* Make it visible */
}

.property-selector label {
  display: inline-block;
  margin-right: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #222222;
}

.property-selector select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #222;
  cursor: pointer;
  min-width: 150px;
}

.property-selector select:focus {
  outline: none;
  border-color: #82b2c1;
}

/* Enhanced Amenities Grid with staggered animations */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 100px; /* row-gap column-gap */
  margin-bottom: 32px;
}

.amenity-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: none;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.amenity-item:nth-child(1) { animation-delay: 0.1s; opacity: 0; }
.amenity-item:nth-child(2) { animation-delay: 0.2s; opacity: 0; }
.amenity-item:nth-child(3) { animation-delay: 0.3s; opacity: 0; }
.amenity-item:nth-child(4) { animation-delay: 0.4s; opacity: 0; }
.amenity-item:nth-child(5) { animation-delay: 0.5s; opacity: 0; }
.amenity-item:nth-child(6) { animation-delay: 0.6s; opacity: 0; }
.amenity-item:nth-child(7) { animation-delay: 0.7s; opacity: 0; }
.amenity-item:nth-child(8) { animation-delay: 0.8s; opacity: 0; }
.amenity-item:nth-child(9) { animation-delay: 0.9s; opacity: 0; }

.amenity-item:hover {
  transform: translateX(10px);
  color: #82b2c1;
}

.amenity-item:hover i {
  color: #82b2c1;
  transform: scale(1.1);
}

@media screen and (max-width: 1200px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.amenity-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: none;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.amenity-item:nth-child(1) { animation-delay: 0.1s; opacity: 0; }
.amenity-item:nth-child(2) { animation-delay: 0.2s; opacity: 0; }
.amenity-item:nth-child(3) { animation-delay: 0.3s; opacity: 0; }
.amenity-item:nth-child(4) { animation-delay: 0.4s; opacity: 0; }
.amenity-item:nth-child(5) { animation-delay: 0.5s; opacity: 0; }
.amenity-item:nth-child(6) { animation-delay: 0.6s; opacity: 0; }
.amenity-item:nth-child(7) { animation-delay: 0.7s; opacity: 0; }
.amenity-item:nth-child(8) { animation-delay: 0.8s; opacity: 0; }
.amenity-item:nth-child(9) { animation-delay: 0.9s; opacity: 0; }

.amenity-item:hover {
  transform: translateX(10px);
  color: #82b2c1;
}

.amenity-item:hover i {
  color: #82b2c1;
  transform: scale(1.1);
}

.amenity-item i {
  width: 30px;
  height: 30px;
  margin-right: 16px;
  color: #222222;
  font-size: 30px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.amenity-item span {
  font-size: 16px;
  line-height: 20px;
  color: #222222;
  font-weight: 400;
  transition: all 0.3s ease;
}

.amenity-item.unavailable span {
  text-decoration: line-through;
  color: #717171;
}

.amenity-item.unavailable i {
  color: #717171;
}

.show-all-amenities {
  background: transparent;
  border: 2px solid #222222;
  border-radius: 8px;
  color: #222222;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  padding: 13px 23px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out 1s;
  animation-fill-mode: both;
  opacity: 0;
}

.show-all-amenities::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(130, 178, 193, 0.4), transparent);
  transition: left 0.6s;
  transform: translateY(-50%);
}

.show-all-amenities:hover::before {
  left: 100%;
}

.show-all-amenities:hover {
  background-color: #f7f7f7;
  border-color: #82b2c1;
  color: #82b2c1;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(130, 178, 193, 0.2);
}

/* Modal Styles */
.amenities-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  /* Ensure it creates its own stacking context */
  isolation: isolate;
  /* Force hardware acceleration */
  transform: translateZ(0);
  will-change: opacity;
}

.amenities-modal .modal-content {
  position: relative;
  z-index: 1000000 !important;
  /* Ensure it's above everything */
  isolation: isolate;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 780px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0,0,0,0.15);
  animation: slideIn 0.3s ease;
  position: relative;
  z-index: 1000001 !important;
  /* Additional safeguards */
  isolation: isolate;
  transform: translateZ(0);
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #ebebeb;
}

.modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #222222;
}

.modal-close {
  color: #aaa;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: #222;
  text-decoration: none;
}

.modal-body {
  padding: 32px;
  max-height: 60vh;
  overflow-y: auto;
}

/* Modal amenities grid - 2 columns for better readability */
.modal-amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}

.modal-amenities-grid .amenity-item {
  padding: 8px 0;
}

/* Responsive design for amenities */
@media screen and (max-width: 768px) {
  .amenities-section {
    padding: 32px 16px;
  }
  
  .amenities-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .property-selector {
    text-align: left;
    width: 100%;
  }
  
  .property-selector label {
    display: block;
    margin-bottom: 8px;
    margin-right: 0;
  }
  
  .property-selector select {
    width: 100%;
    min-width: auto;
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 32px auto;
  }
  
  .amenities-section h2 {
    font-size: 22px;
    margin-bottom: 0;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-amenities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  
}

/* Map Section Styling */
.mapSection {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 48px 20px;
  margin: 48px auto;
  width: 95%;
  max-width: 1200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.mapSection:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}

.map {
  flex: 2;
  min-width: 0;
  animation: slideInLeft 0.8s ease-out;
}

.map iframe {
  width: 100% !important;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.map iframe:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  transform: scale(1.02);
}

.mapText {
  flex: 1;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: slideInRight 0.8s ease-out 0.2s;
  animation-fill-mode: both;
  opacity: 0;
}

.mapText ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mapText li {
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  padding-left: 28px;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease-out;
  animation-fill-mode: both;
  opacity: 0;
}

.mapText li:nth-child(1) { animation-delay: 0.4s; }
.mapText li:nth-child(2) { animation-delay: 0.6s; }
.mapText li:nth-child(3) { animation-delay: 0.8s; }

.mapText li:hover {
  color: #82b2c1;
  transform: translateX(5px);
  background: rgba(130, 178, 193, 0.05);
  border-radius: 8px;
  padding-left: 32px;
}

.mapText li:last-child {
  border-bottom: none;
}

.mapText li:before {
  content: "•";
  color: #6b9bd1;
  font-weight: bold;
  position: absolute;
  left: 8px;
  transition: all 0.3s ease;
}

.mapText li:hover:before {
  color: #82b2c1;
  transform: scale(1.2);
}

.mapText li:empty {
  display: none;
}

/* Responsive design for map section */
@media screen and (max-width: 768px) {
  .mapSection {
    flex-direction: column;
    padding: 0; /* Remove padding to allow full width map */
    gap: 20px;
    margin: 20px 0; /* Remove side margins */
    width: 100%; /* Full width container */
    border-radius: 0; /* Remove border radius for full width effect */
  }

  .map {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .map iframe {
    width: 100% !important;
    height: 300px;
    border-radius: 0; /* Remove border radius for seamless full width */
    box-shadow: none; /* Remove shadow for cleaner mobile look */
  }

  .mapText {
    padding: 20px 16px; /* Add padding back to text content */
    margin: 0;
  }
}

@media screen and (max-width: 480px) {
  .mapSection {
    padding: 0;
    margin: 15px 0;
  }

  .map iframe {
    height: 250px;
  }

  .mapText {
    padding: 15px 12px;
  }

  .mapText li {
    font-size: 14px;
    padding: 10px 0 10px 24px;
  }
}

/* Calendar Section Styling */
.calendar-section {
  padding: 48px 20px;
  margin: 48px auto;
  width: 95%;
  max-width: 1200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.calendar-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #222222;
  margin: 0 0 32px 0;
  text-align: center;
}

/* Calendar Legend */
.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.legend-color.available {
  background-color: #e8f5e8;
  border-color: #4caf50;
}

.legend-color.main-house-booked {
  background-color: #fff3e0;
  border-color: #ff9800;
}

.legend-color.cottage-booked {
  background-color: #e3f2fd;
  border-color: #2196f3;
}

.legend-color.fully-booked {
  background-color: #ffebee;
  border-color: #f44336;
}

.legend-text {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Calendar Container */
.calendar-container {
  background: #fafafa;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.calendar-nav {
  background: #82b2c1;
  color: white;
  border: none;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.calendar-nav:hover {
  background: #6a9bb0;
}

.current-month {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* Calendar Grid */
.calendar-grid {
  width: 100%;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 8px;
}

.weekday {
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  color: #666;
  font-size: 14px;
}

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

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  min-height: 40px;
}

.calendar-day:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-day.other-month {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.today {
  border: 2px solid #82b2c1;
  font-weight: 700;
}

.calendar-day.available {
  background-color: #e8f5e8;
  color: #2e7d32;
}

.calendar-day.available:hover {
  background-color: #c8e6c9;
}

.calendar-day.main-house-booked {
  background-color: #fff3e0;
  color: #ef6c00;
}

.calendar-day.cottage-booked {
  background-color: #e3f2fd;
  color: #1565c0;
}

.calendar-day.fully-booked {
  background-color: #ffebee;
  color: #c62828;
  cursor: not-allowed;
}

.calendar-day.fully-booked:hover {
  transform: none;
  box-shadow: none;
}

/* Calendar Info */
.calendar-info {
  text-align: center;
  color: #666;
  font-size: 16px;
}

.calendar-info a {
  color: #82b2c1;
  text-decoration: none;
  font-weight: 600;
}

.calendar-info a:hover {
  text-decoration: underline;
}

/* Responsive Calendar */
@media screen and (max-width: 768px) {
  .calendar-section {
    padding: 32px 16px;
  }
  
  .calendar-legend {
    gap: 16px;
  }
  
  .calendar-container {
    padding: 16px;
  }
  
  .calendar-header {
    margin-bottom: 16px;
  }
  
  .current-month {
    font-size: 20px;
  }
  
  .weekday {
    padding: 8px 4px;
    font-size: 12px;
  }
  
  .calendar-day {
    font-size: 12px;
    min-height: 35px;
  }
}

@media screen and (max-width: 480px) {
  .calendar-legend {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .calendar-section h2 {
    font-size: 24px;
  }
  
  .current-month {
    font-size: 18px;
  }
  
  .calendar-day {
    font-size: 11px;
    min-height: 30px;
  }
}

/* Footer Styling */
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 48px 20px 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 32px;
  text-align: center;
}

.footer-section h3 {
  color: #82b2c1;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.footer-section h4 {
  color: #bdc3c7;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #82b2c1;
}

.footer-links a.coming-soon {
  color: #95a5a6;
  cursor: not-allowed;
  position: relative;
}

.footer-links a.coming-soon:hover {
  color: #95a5a6;
}

.footer-links a.coming-soon::after {
  content: " (Coming Soon)";
  font-size: 12px;
  color: #7f8c8d;
}

.footer-section a {
  color: #82b2c1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #a8c8d3;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding: 24px 0;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
  color: #95a5a6;
  font-size: 14px;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
  .footer {
    padding: 32px 16px 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-section h3 {
    font-size: 20px;
  }
  
  .footer-section h4 {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  header {
    height: 40vh;
  }

  .footer {
    padding: 24px 12px 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .footer-section h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .footer-section h4 {
    font-size: 14px;
    margin-bottom: 12px;
  }
}

/* Final override for selected booking dates - should have highest priority */
.booking-day.selected,
.calendar-day.selected {
  background-color: #007bff !important;
  color: white !important;
  border-radius: 4px !important;
  border: 1px solid #007bff !important;
}

.booking-day.selected:hover,
.calendar-day.selected:hover {
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
}

/* Extra small mobile devices (phones in portrait) */
@media screen and (max-width: 480px) {
  .booking-widget {
    margin: 4px auto;
    padding: 8px;
    border-radius: 6px;
  }

  .booking-calendar {
    top: 0.5%;
    left: 0.5%;
    right: 0.5%;
    bottom: 0.5%;
    padding: 6px;
    border-radius: 6px;
  }

  .calendar-months h4 {
    font-size: 12px;
    padding: 4px;
  }

  .month-title {
    font-size: 14px !important;
    margin: 0 0 8px 0 !important;
    padding: 6px !important;
  }

  .weekday-small {
    font-size: 9px;
    padding: 3px 1px;
  }

  .booking-day {
    min-height: 30px;
    min-width: 30px;
    font-size: 11px;
    border-radius: 3px;
  }

  .date-input {
    padding: 6px 4px;
    font-size: 11px;
    min-height: 32px;
  }

  .date-input-group label {
    font-size: 9px;
  }

  .booking-select {
    padding: 6px 4px;
    font-size: 11px;
    min-height: 32px;
  }

  .booking-property-selection label,
  .guest-selection label {
    font-size: 9px;
  }

  .cal-nav-btn {
    padding: 6px 10px;
    font-size: 14px;
    min-width: 32px;
    min-height: 32px;
  }

  .reserve-btn {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 36px;
  }

  .close-calendar-btn,
  .clear-dates-btn {
    padding: 6px 8px;
    font-size: 11px;
    min-height: 32px;
  }

  .price-total {
    font-size: 11px;
  }

  .booking-price {
    padding: 6px 0;
    margin-bottom: 8px;
  }

  .calendar-navigation {
    padding: 6px 0;
    margin-bottom: 8px;
  }

  .two-month-calendar {
    gap: 8px;
  }

  .calendar-footer {
    padding: 6px 0;
    margin-top: 10px;
  }

  .calendar-footer .calendar-actions {
    gap: 6px;
  }

  header {
    height: 35vh;
    background-position: center 25%;
  }
}

/* Enhanced Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Button positioning for ripple */
.photo-button, .reserve-btn, .show-all-amenities {
  position: relative;
  overflow: hidden;
}

/* Smooth scroll animations */
.animate-in {
  animation-play-state: running !important;
}

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

/* Performance optimizations */
.booking-widget, .big-box, .small-box, .mapSection {
  will-change: transform;
}

.amenity-item, .mapText li {
  will-change: transform, color;
}

/* Hide all scrollbars completely while keeping scroll functionality */
/* Global scrollbar hiding for all browsers */
* {
  /* Firefox */
  scrollbar-width: none;
  /* IE 10+ */
  -ms-overflow-style: none;
}

/* Webkit browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

/* Ensure body and html don't show scrollbars */
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Booking calendar - completely invisible scrollbars */
.booking-calendar {
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-y: scroll;
}

.booking-calendar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Modal - completely invisible scrollbars */
/* .modal-body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
} */

/* Amenities modal - completely invisible scrollbars */
/* .amenities-modal {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.amenities-modal::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
} */



