/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Alumni Sans', sans-serif; /* Fallback font for all copy */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure the body covers the full viewport height */
  font-size: 20px; /* Base font size for the entire site */
}

a {
  text-decoration: none;
  color: inherit;
}

/* Main content container to grow and push the footer down when content is smaller */
.content-section {
  flex-grow: 1; /* Ensure the content section grows to fill the remaining space */
  padding: 1rem;
  background: transparent;
}

/* Overlay Title and Description with Gradient */
.overlay {
  text-align: center;
  color: black;
  padding: 50px 20px 40px; /* Increased bottom padding by 10px for smooth transition */
}

.overlay h1, .overlay h2 {
  line-height: 3.9rem;
  font-family: 'Charmonman', sans-serif; /* Alumni Sans Pinstripe for all H1, H2, H3 tags */
  font-size: 3.5rem; /* Larger font size for readability */
  margin-bottom: 20px;
  color: #067285;
}

.overlay p {
  font-family: 'Alumni Sans', sans-serif; /* Open Sans for regular copy */
  font-size: 1.5rem; /* Increased font size for readability */
}

/* Inline Header */
.inline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  color: #067285;
  position: relative;
}

.inline-header .logo img {
  height: 50px;
}

.inline-header nav ul {
  list-style: none;
  display: flex;
  g-ap: 20px;
}

.inline-header nav ul li a {
  color: #067285;
  font-weight: bold;
  font-size: 1.25rem;
}

.inline-header nav ul li a:hover {
  text-decoration: underline;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;

}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #f7a63b;
  margin: 4px;
  transition: 0.4s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.inline-header nav ul li::after {
  content: "🐚"; /* Insert your desired symbol here */
  margin: 0px 15px; /* Adjust the margin as needed */
}

.inline-header nav ul li:last-child::after {
  content: none; /* Remove the symbol after the last item */
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .inline-header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px;
    width: 285px;
    text-align: right;
    border: #f7a63b 1px solid;
  }

  .inline-header nav.show ul {
    display: flex;
    z-index: 2;
    background-color: rgb(255, 255, 255, 0.9);
    border-radius: 5px;
  }

  .inline-header nav ul li {
    border-bottom: #f7a63b 1px dotted;
  }

  .inline-header nav ul li:last-child {
    border-bottom: none; /* Remove the symbol after the last item */
  }

  .inline-header nav ul li::after {
    content: none; /* Insert your desired symbol here */
    margin: 0px; /* Adjust the margin as needed */
  }
}

/* Sub-navigation container */
/* Subnav Section */
.subnav-section {
  position: relative;
}

.subnav {
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease, background-color 0.3s ease;
}

.subnav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Progress Bar */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: #067285;
  width: 0%;
  transition: width 0.25s ease-out;
}

/* Curated Navigation */
.curated-navigation {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.curated-navigation li {
  cursor: pointer;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.curated-navigation li.active {
  background-color: #067285;
  border: #f7a63b 1px solid;
  color: #ffffff;
}

/* Mobile Dropdown */
.subnav-dropdown-wrapper {
  position: relative;
  display: none;
}

.subnav-dropdown {
  cursor: pointer;
  padding: 12px 16px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-arrow {
  margin-left: 10px;
}

.dropdown-options {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-options li {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.dropdown-options li:hover {
  background-color: #ddd;
}

.show .dropdown-options {
  display: block;
}

@media (max-width: 768px) {
  .curated-navigation {
    display: none;
  }
}

/* @media (max-width: 768px) {
  .curated-navigation {
    display: none;
  }

  .subnav-dropdown-wrapper {
    display: none;
  }
} */

/* Fullscreen Video Background */
.fullscreen-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -10;
  overflow: hidden;
}

.background-image,
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.background-video {
  display: none;
}

.video-mask {
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
  background: linear-gradient(
   rgba(255, 255, 255, 0.85),  /* Same opacity as the header at the top */
   rgba(255, 255, 255, 0.65)     /* Fully transparent at the bottom */
  );
}
/* Content Section */
.content-tiles {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.tile {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 40%; /* Tiles will take up to 40% of screen width */
}

.tile img {
  width: 100%;
  height: 25vh;
  min-height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.tile h2 {
  margin: 15px 0;
  font-size: 2rem;
  font-family: 'Charmonman', sans-serif; /* Alumni Sans for titles */
  color: #067285;
}

.tile p {
  margin-bottom: 10px;
  font-family: 'Alumni Sans', sans-serif; /* Open Sans for regular text */
  font-size: 1.3rem;
}

.tile .features {
  font-size: 1.1rem;
  font-style: italic;
}

.tile a, .form-container a, .hero-overlay a, #booking-inquiry .fc-button-primary, .hero-pinned-cta-link {
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  margin: 0 5px;
  border: 2px solid #f7a63b;
  color: #067285;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 1.3rem;
  background-color: white;
}

#booking-inquiry .fc-button-primary {
  font-size: 1rem;
}

.tile a:hover, .form-container a:hover, .hero-overlay a:hover, #booking-inquiry .fc-button-primary:hover, .hero-pinned-cta-link:hover {
  box-shadow: 0 0 10px #f7a63b;
  font-size: 1.4rem;
}

/* Footer Styles */
footer {
  background: linear-gradient(
    rgba(255, 255, 255, 0),  
    rgba(255, 255, 255, 0.9)     
  );
  color: black;
  text-align: center;
  padding: 20px;
  width: 100%;
  margin-top: 275px; /* Push the footer to the bottom of the page */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Design for Stacked Tiles and Smaller Screens */
@media (max-width: 768px) {
  .overlay h1 {
    line-height: 2.8rem;
    font-size: 2.5rem;
  }

  .overlay p {
    /* font-size: 1.3rem; */
  }

  .content-tiles {
    flex-direction: column;
    gap: 10px;
  }

  .tile {
    width: 100%; 
    margin: 0 auto; /* Center the tiles when stacked */
  }

  .tile h2 {
    line-height: 1.8rem;
    font-size: 1.5rem;
  }
  
}

/* Basic carousel styles */
#review-carousel-section {
  padding: 1rem;
  text-align: center;
}

#review-carousel-section .carousel {
  width: 100%;
  overflow-y: auto;
  margin: auto;
  position: relative;
  height: 170px; /* Maintain a fixed height for the carousel */
}

#review-carousel-section h2 {
  font-size: 2rem;
  color: #067285;
  text-align: center;
  margin-bottom: 1rem;
}

#review-carousel-section .full-review {
  font-size: 1rem; 
  color: #333;
  font-style: italic;
  text-align: center;
}

#review-carousel-section .full-review a {
  color: #067285;
}

.carousel-container {
  position: relative;
  height: 100%; /* Ensure it takes the full height */
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Ensure each review fills the container */
  box-sizing: border-box;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  border-radius: 10px;
  border: #f7a63b 1px solid;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.5s ease-in-out; /* Fade transition */
}

.carousel-item.active {
  opacity: 1; /* Show the active item */
}

.carousel-item .review-title {
  color: #067285;
  margin-bottom: 10px;
  font-size: 1.35rem; /* Adjusted for responsiveness */
  line-height: 1.4rem;
  font-style: italic;
}

.carousel-review-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Show 3 lines */
  -webkit-box-orient: vertical;
  max-height: 6em; /* Approx height for 3 lines */
  transition: max-height 0.3s ease; /* Smooth height transition */
}

.carousel-review-text.expanded {
  -webkit-line-clamp: unset; /* Remove line clamp */
  max-height: none; /* Allow full content display */
}

.read-more-btn {
  cursor: pointer;
  color: #067285;
  text-decoration: underline;
  font-size: 0.9em;
  margin-top: 10px;
  background: none;
  border: none;
  display: none; /* Hidden by default */
}

.carousel-item p {
  color: #333;
  font-style: italic;
  font-size: 1.1rem; /* Adjusted for responsiveness */
}

.carousel-item p.review-credit {
  color: #333;
  font-size: 0.9rem; /* Adjusted for responsiveness */
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  width: 100%;
}

.carousel-controls button {
  background-color: #fff;
  color: #f7a63b;
  border: none;
  padding: 10px;
  font-size: 5rem; /* Adjust button size */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-controls button:hover {
  background-color: #005b6a; /* Darken on hover */
}

#home .carousel {
  height: 200px; /* Adjusted height for the home page */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #home .carousel {
    height: 275px; /* Adjusted height for the home page */
  }
}

/* Namespacing all styles within the #booking-inquiry section */
#booking-inquiry {
  position: relative;
  text-align: center;
  height: 100%;
  padding: 1rem;
}

#booking-inquiry h2 {
  font-size: 2rem;
  color: #067285;
  text-align: center;
  margin-bottom: 1rem;
}

#booking-inquiry p {
  font-size: 1.1rem; /* Adjusted for responsiveness */
  margin-bottom: 1rem;
}

#booking-inquiry #calendar {
  width: 90%; /* Ensure the calendar scales well on all devices */
  max-width: 800px;
  height: 100%;
  text-align: center;
  margin: 40px auto;
}

/* Style for booked dates in the calendar */
#booking-inquiry .fc-booked {
  background-color: #ff4d4d !important; /* Red for booked dates */
  color: white;
}
/* Style for highlighted dates in the calendar */
.fc .fc-highlight {
  background: rgb(23, 94, 201, 0.25) !important; /* Blue for highlighted dates */
  color: white;
}

/* Form container styling */
#booking-inquiry .form-container {
  max-width: 100%; /* Ensure full width on smaller screens */
  margin: 20px auto;
  padding: 0 20px; /* Padding for smaller screens */
}

/* Form layout styling */
#booking-inquiry form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#booking-inquiry label {
  font-weight: bold;
  font-size: 1rem;
}

#booking-inquiry .fc-button-primary {
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  margin: 0 5px;
  border: 2px solid #f7a63b;
  color: #067285;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  background-color: white;
}

#booking-inquiry input, 
#booking-inquiry select, 
#booking-inquiry button {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%; /* Ensure fields are full-width on smaller screens */
  box-sizing: border-box; /* Include padding and border in element's width and height */
}

#booking-inquiry button {
  background-color: #f7a63b;
  color: #067285;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s, color 0.3s;
}

#booking-inquiry button:hover {
  background-color: #067285;
  color: white;
}

#booking-inquiry .pricing-event div {
  font-size: 1.5rem !important; /* Larger font size for pricing */
  height: 100%;
}

/* Error and confirmation message styling */
#booking-inquiry .error {
  color: red;
  margin-top: -10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

#booking-inquiry .confirmation {
  color: green;
  font-size: 1rem;
}

#booking-inquiry .fc-daygrid-day {
  height: 7vh; /* Adjusted height for calendar days */
}

/* Pricing events: Centered text with background color */
#booking-inquiry .fc-daygrid-day .pricing-event {
  background-color: white; /* Light green background for pricing */
  color: black;                      /* Bold text for prices */
}

/* Booked events: Red background, no text */
#booking-inquiry .fc-daygrid-day .fc-event-background {
  background-color: rgba(255, 0, 0, 0.3); /* Light red background for booked dates */
}



/* Larger screens (desktops) */
@media (min-width: 768px) {
  #booking-inquiry .form-container {
      max-width: 600px; /* Form size optimized for desktops */
  }

  #booking-inquiry input, 
  #booking-inquiry select, 
  #booking-inquiry button {
      font-size: 1.1rem; /* Slightly larger text for desktops */
  }

  #booking-inquiry button {
      padding: 12px 20px;
  }
}

/* Smaller screens (tablets and mobile phones) */
@media (max-width: 767px) {
  #booking-inquiry .form-container {
      max-width: 100%; /* Full width for tablets and mobile phones */
      padding: 0 15px;
  }

  #booking-inquiry input, 
  #booking-inquiry select, 
  #booking-inquiry button {
      font-size: 0.9rem; /* Adjust font size for smaller screens */
  }

  #booking-inquiry button {
      padding: 10px 15px; /* Adjust button padding for smaller screens */
  }
}

/* Extra small screens (very small phones) */
@media (max-width: 480px) {
  #booking-inquiry #calendar {
      margin: 20px auto; /* Adjust margin for small screens */
  }

  #booking-inquiry input, 
  #booking-inquiry select, 
  #booking-inquiry button {
      font-size: 0.85rem;
      padding: 8px 10px;
  }

  #booking-inquiry button {
      padding: 8px 10px;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  background-color: #f7f7f7;
}

.hero-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Adds opacity mask */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px;
}

.hero-overlay h1 {

  line-height: 3.9rem;
  font-family: 'Charmonman', sans-serif; /* Alumni Sans Pinstripe for all H1, H2, H3 tags */
  font-size: 3rem; /* Larger font size for readability */
  margin-bottom: 20px;
  color: #f7a63b;
  ;
}

.hero-overlay p {
  font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 520px) {
  .hero-overlay {
    padding: 50px 20px;
  }
}

/* Pinned CTA styling */
.hero-pinned-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 10px;
  background: #f7a63b;
  color: black;
  text-align: center;
  display: block; /* Initially hidden */
  z-index: 15;
  border-bottom: #067285 1px solid;
}

/* Property Features Section */
.property-features {
  padding: 1rem 1rem;
  background-color: #f9f9f9;
}

.property-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.features-grid li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: #333;
  width: 20%
}

.feature-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 0.75rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.feature-icon.bedroom {
  background-image: url('../icons/icon_bedroom.svg'); 
}

.feature-icon.bathroom {
  background-image: url('../icons/icon_bathroom.svg');
}

.feature-icon.guests {
  background-image: url('../icons/icon_guests.svg');
}

.feature-icon.size {
  background-image: url('../icons/icon_size.svg');
}

/* Stack each feature on its own row for mobile screens */
@media (max-width: 870px) {
  .features-grid li {
    width: calc(50% - 1rem);
  }
}

/* Photo Gallery Section */
/* Gallery section container styling */
#gallery-section {
  text-align: center;
  padding: 1rem;
}

#gallery-section h2 {
  text-align: center;
  color: #067285;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#gallery-section p {
  font-size: 1.1rem; /* Adjusted for responsiveness */
  margin-bottom: 1rem;
}

#nanogallery2 {
  --ngy2-font-family: Arial, sans-serif;
}

/* Customize thumbnails */
#gallery-section .nanogallery2 {
  display: flex;
  flex-wrap: wrap;
}

/* #gallery-section .nGY2Thumbnail {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

#gallery-section .nGY2Thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: #f7a63b 1px solid;
} */

.nGY2 .nGY2GThumbnailCustomLayer {
  border-radius: 10px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #gallery-section .nGY2Thumbnail {
    width: 100%;
  }
}

@media (min-width: 768px) {
  #gallery-section .nanogallery2 {
    gap: 10px;
  }
}

/* Amenities Section */
.amenities-section {
  padding: 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.amenities-section .container-outer {
  max-width: 1200px;
  margin: 0 auto;
}

.amenities-section h2 {
  text-align: center;
  color: #067285;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.amenities-section p {
  font-size: 1.1rem; /* Adjusted for responsiveness */
  margin-bottom: 1rem;
}

.amenities-category {
  margin-bottom: 2rem;
}

.amenities-category h3 {
  font-size: 1.2rem;
  color: #067285;
  margin-bottom: 0.5rem;
  text-align: right;
}

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

.amenities-category ul li {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.amenities-feature {
  font-weight: 600;
}

/* Responsive Grid Layout */
.amenities-section .container {
  display: grid;
  grid-template-columns: 25% 75%; /* Two columns: 30% width and 70% width */
  gap: 1.5rem;
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 520px) {
  .amenities-section .container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .amenities-section .container ul {
    border-left: #f7a63b 2px dotted;
    padding-left: 1rem;
  }
  .amenities-category h3 {
    text-align: left;
  }
}

/****************************************
 *  
 * Map Section
 *  
 ****************************************/

#map-embed-section {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center align all child elements */
  text-align: center; /* Center text alignment for title and description */
  padding: 1rem; /* Add spacing around the section */
}

#map-embed-section h2 {
  font-size: 2rem;
  color: #067285;
  margin-bottom: 0.5rem;
  text-align: center;
}

#map-embed-section p {
  font-size: 1.1rem; /* Adjusted for responsiveness */
  margin-bottom: 1rem;
}

#map-embed-section .map-description {
  font-size: 1rem;
  margin-bottom: 20px;
}

#map-embed-section .map-container {
  position: relative;
  width: 100%; /* Full width of the section */
  max-width: 1200px; /* Constrain maximum width to 1200px */
  aspect-ratio: 3 / 1; /* Maintain a 3:1 aspect ratio */
  overflow: hidden;
  border-radius: 10px; /* Optional: rounded corners for the map */
  border:#f7a63b 1px solid; /* border for the map */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for aesthetic */
}

#map-embed-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover; /* Ensure the map or fallback image fills the container */
}

#map-embed-section img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure fallback image fills the container */
}

/* Responsive adjustments */
@media (max-width: 520px) {
  #map-embed-section .map-container {
    aspect-ratio: 3 / 2; /* Change to a square aspect ratio for smaller screens */
  }
}

/* Styles for the animated heading */
.animation-char {
  display: inline-block;
  opacity: 0; /* Start hidden */
}