/* Existing styles */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Gochi+Hand&family=Raleway:wght@300&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    fixed;
    background-size: cover;
    color: #333;
    overflow-x: hidden;
}

footer p {
    margin: 0;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #049a9a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 1s forwards 2s;
}

#loadingScreen h1 {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    text-align: center;
    animation: fadeInOut 4s infinite;
}

#loadingScreen p {
    font-family: 'Gochi Hand', cursive;
    font-size: 1.5rem;
    text-align: center;
    margin-top: 10px;
    animation: fadeInOut 4s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background-image: url('images/Background4.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 10px 20px;
    position: relative; /* Added for positioning the weather container */
    border-bottom: 2px solid #ffffff; /* Add this line for the border */
}



.header-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    text-align: center;
    animation: fadeInDown 1s;
}

.header-subtitle {
    font-family: 'Gochi Hand', cursive;
    font-size: 1.2rem;
    text-align: center;
    animation: fadeInUp 1s;
}

.menu-button {
    position: absolute;
    left: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    animation: fadeInLeft 1s;
}

.weather-container {
    font-family: 'Gochi Hand', cursive;
    position: absolute;
    top: 25%;
    right: 20px;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #049a9abd;
    color: #fff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.weather-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.weather-container div {
    margin-bottom: 5px;
}

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


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

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

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

.body-content {
    position: relative; /* Ensure the pseudo-element is positioned relative to .body-content */
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-image: url('images/Background3.png');
    background-size: cover;
    background-position: center;
    animation: fadeIn 1s;
}

.body-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.311); /* Semi-transparent grey overlay */
    z-index: 0; /* Ensure it is behind other content */
}

.body-content > * {
    position: relative;
    z-index: 1; /* Ensure other content is above the overlay */
}

.box {
    background-color: #ffffffde;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.box.half {
    width: 100%;
    max-width: 45%;
}

@media (max-width: 768px) {
    .box.half {
        max-width: 100%;
    }
}

.video-container {
    position: relative;
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden; /* Ensure the video fits within the rounded corners */
    transition: height 0.3s ease; /* Smooth transition for height change */
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire container */
    border-radius: 8px; /* Match the container's border radius */
}


.amenities ul,
.rooms-and-beds ul,
.essentials ul,
.nearby-activities ul,
.more-notes ul {
    list-style-type: disc;
    padding-left: 20px;
}


.amenities li, .rooms-and-beds li, .essentials li, .nearby-activities li, .more-notes li {
    margin: 5px 0;
}

    footer {
      background-color: #049a9a;
      padding: 10px;
      text-align: center;
      font-size: 0.8rem;
    }
    .footer-title {
      text-align: center;
      animation: fadeInDown 1s;
      color: #fff;
      margin: 0;
    }

/* Calendar Styles */
#calendar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    max-width: 90%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s;
}

.flatpickr {
    width: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.flatpickr:focus {
    border-color: #049a9a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flatpickr-calendar {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    animation: fadeIn 0.3s ease-in-out;
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background-color: #049a9a;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, color 0.3s;
}

.flatpickr-day:hover {
    background-color: #086e6e;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.flatpickr-day.selected.startRange {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}

.flatpickr-day.selected.endRange {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

#estimated-rate {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #049a9a;
}

/* Review section styles */
/* Reviews Section */
.review-section {
  background-color: #fff;
  padding: 30px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-section h3 {
    text-align: center;
    font-size: 2.5rem; /* Increase the font size */
    color: #049a9a; /* Optional: Make the color pop */
    margin-bottom: 20px;
    font-family: 'Pacifico', cursive; /* Match the style of other headers */
    animation: fadeInDown 1s; /* Optional: Add a smooth animation */
}


.review {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.review-header .profile-pic {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid #049a9a;
}

.review-header span {
  font-size: 1.2rem;
  color: #333;
}

.review p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-images img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.star-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}

.star-rating input:checked ~ label,
.star-rating input:checked ~ label ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffca28;
}

.star-rating label:before {
    content: '★';
}

.review {
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.review img {
    width: 100px;
    height: 100px;
    margin: 5px;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.anon-checkbox {
    display: flex;
    align-items: center;
}

.anon-checkbox input {
    margin-left: 10px;
}

.leave-review-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #049a9a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s;
}

.leave-review-button:hover {
    background-color: #086e6e;
}

.review-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
}

.review-popup h2 {
    margin-top: 0;
}

.review-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.review-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.image-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
}

.image-popup img {
    width: 100%;
    height: auto;
}

.image-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.review-section form input,
.review-section form textarea,
.review-section form button {
    border: none;
    outline: none;
    padding: 15px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.review-section form input,
.review-section form textarea {
    background: #f9f9f9;
    border-radius: 5px;
}

.review-section form button {
    background: #049a9a;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.review-section form button:hover {
    background: #086e6e;
}

.manager-info {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.manager-info h3 {
    color: #049a9a;
    margin-bottom: 10px;
}

.manager-info p {
    color: #555;
    margin: 5px 0;
}

.manager-info strong {
    color: #333;
}

.manager-box {
    padding: 10px;
    margin: 10px auto;
    width: 90%;
    box-sizing: border-box;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.manager-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.full-gallery-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #049a9a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s;
}

.full-gallery-button:hover {
    background-color: #086e6e;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    background-color: #049a9a;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    border-right: 2px solid #086e6e;
    box-shadow: 3px 0px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: #086e6e;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.sidebar-bottom {
    margin-top: auto;
    padding-bottom: 20px;
    margin-bottom: 15%; /* Added margin to bring the manager box slightly up */
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #049a9a;
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
}

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

.property-description h2,
.rooms-and-beds h3,
.essentials h3,
.nearby-activities h3,
.more-notes h3,
.property-manager h3 {
    color: #049a9a;
}

.property-description p,
.rooms-and-beds ul,
.essentials ul,
.nearby-activities ul,
.more-notes ul,
.property-manager p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    #calendar-container {
        padding: 10px;
    }

    .fc-toolbar {
        padding: 5px;
    }

    .fc-button {
        padding: 3px 5px;
    }
}

#weather-widget {
    text-align: center;

    margin: 20px auto;
    width: auto;

}

#weather-widget {
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

.weatherwidget-io {
    width: 100%;
    height: auto;
    color: #333 !important;
    font-family: 'Raleway', sans-serif !important;
    background-color: #cbf2e9 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Override specific widget elements */
.weatherwidget-io div {
    background: none !important;
    color: #333 !important;
}

.weatherwidget-io .current-temp,
.weatherwidget-io .current-weather {
    color: #333 !important;
}

.weatherwidget-io .forecast-label {
    color: #5fc6ae !important;
}

.weatherwidget-io .forecast-temp {
    color: #086e6e !important;
}
/* Existing styles */

.three-column-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.column {
    flex: 1;
    min-width: 300px;
    max-width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.column .calendar-box,
.column .events-box,
.column .gps-box {
    background-color: #ffffffde;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    animation: fadeIn 1s;
}

.column .calendar-box {
    width: 500px;
}

.column h3 {
    color: #049a9a;
    margin-bottom: 15px;
}

/* Ensure event buttons are the same size */
.event-button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #049a9a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s;
    width: 300px;
    box-sizing: border-box;
}

.event-button:hover {
    background-color: #086e6e;
}

.event-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 80vh; /* Prevents excessive height */
    overflow-x: hidden; /* Prevents unnecessary horizontal scrolling */
    overflow-y: auto; /* Enables vertical scrolling */
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
}

/* Ensure iframe is fully responsive */
.event-popup iframe {
    width: 100%;
    height: 70vh;
    border: 0;
}

/* Custom Scrollbar */
.event-popup::-webkit-scrollbar {
    width: 8px;
}

.event-popup::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

.event-popup::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.event-popup::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

/* Close button styling */
.event-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #555;
    transition: color 0.3s ease;
}

.event-popup-close:hover {
    color: #000;
}



@media (max-width: 768px) {
    .three-column-container {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .column {
        max-width: 380px;
        margin-bottom: 1px;
        align-items: center;
    }

    .column .events-box,
    .column .gps-box {
        background-color: #ffffffde;
        width: auto;
        margin: 0 auto;
        height: auto;
    }
    .column .calendar-box {
        background-color: #ffffffde;
        width: 380px;
        margin: 0 auto;
    }
}



.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

