
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');
/* Global resets, typography, containers, and utility classes. */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", Inter, Arial, Helvetica, sans-serif;
}
html, body {
  height: 100%;
  background-color: var(--background-main);
  color: #0f1724;
  line-height: 1.5;
  font-size: 14px; /*main font size */
}
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}


/* HEADINGS */

h1{
	
}


h2{
	margin: 10px 0 10px 0;
	font-size:1.8em;
	position:relative;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;                   /* align to left edge */
  width: 50%;                /* half the width of the h2 */
  border-bottom: 4px solid var(--accent-teal);
}

/* ARTICLES */

.article-gap{
	font-size:1.1em;
	margin-bottom:60px;
}
.article-nogap{
	font-size:1.1em;
	
}
.list-gap{
	margin-bottom:100px;
}


/* EMBEDDED MAP IN ABOUT US */

    /* === Map Section === */
.map-section {
  margin-top: 60px;
  text-align: center;
}

.map-note {
  margin-top: 10px;
  color: #5b6470;
  font-size: 0.95rem;
}

/* === Map Container === */
.map-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10, 44, 102, 0.15);
  pointer-events: none;
  transition: filter 0.3s ease;
}

.map-container.active iframe {
  pointer-events: auto;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.map-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.map-message {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
}

/* BOOKING PAGE */

/* Modal overlay */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


/* Modal box */
.modal-content {
 background: var(--background-main);
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  margin: auto;

}

/* Modal buttons */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.close-modal{
	cursor:pointer;
}
/* Tile state polish */
.call-closed h3, .call-closed p {
  color: #ff6666;
}
.call-open h3, .call-open p {
  color: #2ecc71;
}
/* Smooth fade + scale for call-to-book tile text */
#call-to-book h3,
#call-to-book p {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#call-to-book.fading h3,
#call-to-book.fading p {
  opacity: 0;
  transform: scale(0.95); /* shrink slightly while fading out */
}


/* ===========================
   MODAL FOR CONTACT BUTTON
   =========================== */




/* Overlay */
.call-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 23, 36, 0.7); /* darker overlay */
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1100;
  animation: fadeIn 0.4s ease forwards;
}

/* Modal box */
.call-modal-content {
  background: var(--background-main, #fff);
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  padding: 30px 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  transform: translateY(-40px);
  opacity: 0;
  animation: slideIn 0.5s ease forwards;
  text-align: center;
}

/* Header with logo + close */
.call-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.call-modal-logo {
  height: 40px;
}

.call-modal-close {
  font-size: 1.5rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
}
.call-modal-close:hover {
  color: var(--accent-teal, #2ecc71);
}

/* Heading + subtext */
.call-modal-content h2 {
  color: var(--accent-teal, #2ecc71);
  margin-bottom: 8px;
}
.call-modal-content p {
  color: #5b6470;
  margin-bottom: 20px;
}

/* Buttons */
.call-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.call-modal-actions .btn {
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn.primary {
  background: var(--accent-teal, #2ecc71);
  color: #fff;
}
.btn.primary:hover {
  background: #27ae60;
}

.btn.danger {
  background: #d63c2c;
  color: #fff;
}
.btn.danger:hover {
  background: #b83224;
}

.btn.secondary {
  background: #f0f0f0;
  color: #333;
}
.btn.secondary:hover {
  background: #e0e0e0;
}

.btn.close {
  background: transparent;
  color: #666;
}
.btn.close:hover {
  color: #000;
}

/* Animations */
@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from { background: rgba(15,23,36,0); }
  to   { background: rgba(15,23,36,0.7); }
}

/* ===========================
   FAQ SECTION STYLES
   =========================== */

.faq {
  background: var(--card-bg, #fff);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.faq h3 {
  font-size: 1.2rem;
  color: var(--heading-color, #0a2c66);
  margin-bottom: 0.75rem;
  position: relative;
  padding-right: 1.5rem;
}

.faq h3::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: var(--accent-color, #d63c2c);
  transition: transform 0.3s ease;
}

.faq.open h3::after {
  content: "–";
  transform: rotate(90deg);
}

.faq p {
  font-size: 1rem;
  color: var(--text-color, #333);
  line-height: 1.6;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq.open p {
  max-height: 500px; /* ensures smooth expansion */
  opacity: 1;
}

/* Container spacing for FAQ sections */
section.article-gap .faq + .faq {
  margin-top: 1rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .faq {
    padding: 1rem 1.25rem;
  }

  .faq h3 {
    font-size: 1.1rem;
  }

  .faq p {
    font-size: 0.95rem;
  }
}

/* Modal backdrop */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  padding: 24px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Header layout */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Brand group (logo + title) */
.modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-logo {
  height: 40px;
}

.modal-title {
  margin: 0;
  font-size: 1.5rem;
}

/* Close button */
.close-modal {
  font-size: 1.5rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.close-modal:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f9f9f9;
}

.no-match-tile {
  display: block;
  padding: 20px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.no-match-tile:hover {
  background: #f0f0f0;
}

.indent{
	padding-left:40px;
}





/* Reviews */

/* Container Masonry */
.review-masonry {
    column-count: 3;
    column-gap: 20px;
    margin-top: 30px;
}

.review-card {
    break-inside: avoid;
    background: #fffaf5; /* Matches your modal cream */
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

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

/* Braden-style Avatar */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.review-meta h3 {
    font-size: 0.95rem;
    margin: 0;
    color: #062940;
}

.v-check { color: #2b6777; font-size: 0.8rem; }
.review-date { font-size: 0.75rem; color: #777; }

.review-stars { color: #ff9900; margin-bottom: 8px; }

/* Subject/Summary */
.review-subject {
    font-size: 1rem;
    font-weight: bold;
    color: #062940;
    margin: 5px 0 10px 0;
}

/* Expandable Content Logic */
.review-content {
  position: relative;
  overflow: hidden;
  max-height: none; /* Show full text by default */
  transition: max-height 0.4s ease;
}

.review-card.expanded .review-content {
    max-height: 1000px; /* Large enough to show all text */
}

.review-body {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
    margin: 0;
}

.read-more-btn {
    background: none;
    border: none;
    color: #2b6777;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 0;
    font-size: 0.85rem;
    margin-top: 5px;
}

.read-more-btn:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 992px) { .review-masonry { column-count: 2; } }
@media (max-width: 600px) { .review-masonry { column-count: 1; } }


.review-card.expanded .review-content {
    max-height: 2000px; /* High enough to show any review */
    transition: max-height 0.4s ease-in;
}

.review-card.expanded .review-content::after {
    opacity: 0; /* Remove fade when expanded */
    pointer-events: none;
}

/* Ensure images don't get squashed */
.review-photo-grid {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
/* Ensure the container is ready for the absolute-positioned fade */
.review-content {
  position: relative;
  overflow: hidden;
  max-height: none; /* Show full text for short reviews */
}

/* 1. THE FADE FIX: Only apply to long, collapsed reviews */
.review-content.is-long:not(.expanded)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, #ffffff); /* Matches your card white */
  pointer-events: none;
  display: block;
}

/* Hide the fade when expanded */
.review-content.expanded::after {
  display: none !important;
}

/* Standard height for long reviews */
.review-content.is-long:not(.expanded) {
  max-height: 100px; /* Adjust to fit your design */
}

/* Smooth transition when opening */
.review-content.expanded {
  max-height: 1000px;
  transition: max-height 0.6s ease-in-out;
}
/* --- DYNAMIC REVIEW CONTENT ENGINE --- */

/* 1. Base style: Short reviews show fully with no fade */
.review-content {
    position: relative;
    overflow: hidden;
    max-height: none; 
    transition: max-height 0.5s ease-in-out;
}

/* 2. Long reviews: Capped at exactly 3 lines (4.5em) */
.review-content.is-long:not(.expanded) {
    max-height: 4.5em; 
}

/* 3. The Fade: Only exists on long, collapsed reviews */
.review-content.is-long:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px; /* Subtle fade at the bottom of the 3rd line */
    background: linear-gradient(to bottom, rgba(255,250,245,0), #fffaf5); 
    pointer-events: none;
}

/* 4. Expanded state: Show everything and kill the fade */
.review-content.expanded {
    max-height: 1500px; /* Large enough for any review */
}

.review-content.expanded::after {
    display: none !important;
}
/* ==========================================
   PHOTO GRID SIZE LIMITS
   ========================================== */
.review-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    max-height: 220px; /* Limits the total size of the grid */
    overflow: hidden;
    border-radius: 8px;
}

.photo-item img {
    width: 100%;
    height: 110px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    cursor: zoom-in; /* Hint that it's clickable */
    transition: filter 0.3s;
}

.photo-item img:hover {
    filter: brightness(0.8);
}

/* ==========================================
   LIGHTBOX / GALLERY MODE
   ========================================== */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 3000; /* Higher than regular modal */
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.review-content.is-long::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(transparent, #ffffff); /* Match card background color */
  pointer-events: none;
  transition: opacity 0.3s;
}

/* Remove fade when user clicks 'Read More' */
.review-content.expanded.is-long::after {
  opacity: 0;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 20px 15px;
    cursor: pointer;
    transition: background 0.3s;
    user-select: none;
    z-index: 3010;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev { left: 10px; border-radius: 0 5px 5px 0; }
.lightbox-nav.next { right: 10px; border-radius: 5px 0 0 5px; }

/* Counter styling */
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.5);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Hide navigation if there is only one image */
.lightbox-overlay.single-image .lightbox-nav {
    display: none;
}

@media (max-width: 600px) {
    .lightbox-nav {
        padding: 40px 10px; /* Larger hit area for thumbs */
        background: transparent;
    }
}
