/* Basic page styling */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f3f7fb;
  color: #222;
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #163447;
}

h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

section > p {
  margin-top: 0.25rem;
}


/* Center the content and limit width */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header area */
header {
  background-color: #0b4f6c;
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
/* Ensure header text is high-contrast */
header h1,
header p {
  color: #fdfdfd;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo text */
.logo-area h1 {
  margin: 0;
  font-size: 1.6rem;
}

.logo-area p {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* Base nav links */
nav a {
  display: inline-block;
  text-decoration: none;
  color: #fdfdfd;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;

  /* Always-on subtle pill */
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.15s ease, transform 0.08s ease;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* Stack header on small screens */
@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
  }
}

.logo-area p {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  opacity: 0.9;
}
/* Section headings */
h2 {
  margin-top: 2rem;
}


/* Hero Image Section */
.hero {
  position: relative;
  height: 75vh;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: white;
}

/* soft gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.4));
}

.hero-text {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 1.5rem 3rem;
  border-radius: 14px;
  max-width: 650px;
}

.hero-text h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.hero-text p {
  margin: 0;
  font-size: 1rem;
}
.hero-text,
.hero-text h2,
.hero-text p {
  color: #ffffff;
}

.hero-text h2 {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-text p {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Section spacing */
main {
  padding: 2.5rem 0 3.5rem;
}

main section {
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
  padding: 1.75rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  scroll-margin-top: 90px;
}

/* Make the very first section sit closer to hero */
main section:first-of-type {
  margin-top: -2rem;
}

/* Details grid */
.details-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 1rem;
}

.details-grid h3 {
  margin-top: 0;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 1.25rem;
}

/* Equal-sized gallery images with subtle hover */
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;      /* all images use the same shape */
  object-fit: cover;        /* crop gently to fill the box */
  border-radius: 14px;
  display: block;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.gallery-grid img:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

.gallery-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Contact layout */
.contact-layout {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  margin-top: 1rem;
}

.contact-layout h3 {
  margin-top: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form label {
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0b4f6c;
  box-shadow: 0 0 0 2px rgba(11, 79, 108, 0.15);
}

.contact-form button {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.55rem 1.4rem;
  border: none;
  border-radius: 999px;
  background-color: #0b4f6c;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.1s ease;
}

.contact-form button:hover {
  background-color: #0d6184;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.75rem;
}
.booking-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* Stack contact on small screens */
@media (max-width: 700px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.map-container {
  margin-top: 1.25rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* Offset scroll position so sticky header doesn't cover section titles */
main section {
  scroll-margin-top: 90px; /* adjust if your header gets taller/shorter */
}
/* Footer */
footer {
  background-color: #0b4f6c;
  color: #e5f2f8;
  margin-top: 3rem;
  padding: 2.25rem 0 1.25rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-brand h3 {
  margin: 0 0 0.35rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: #ffffff;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

.footer-links a {
  text-decoration: none;
  color: #e5f2f8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(229, 242, 248, 0.3);
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.9;
}

.footer-credit {
  margin-top: 0.15rem;
}

/* Stack footer columns on small screens */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Mobile tweaks */
@media (max-width: 600px) {

  body {
    font-size: 15px;
  }

  header {
    /* reduce header height a bit on small screens */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  }

  .header-inner {
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }

  nav ul {
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  nav a {
    padding: 0.3rem 0.8rem;
  }

  .hero {
    height: 60vh;                /* a bit shorter so phones see more than just image */
    padding: 0 12px;
  }

  .hero-text {
    padding: 1rem 1.5rem;
    margin: 0 0.5rem;
  }

  .hero-text h2 {
    font-size: 1.4rem;
  }

  main {
    padding: 1.5rem 0 2.5rem;
  }

  main section {
    margin: 0 0.75rem 1.75rem;
    padding: 1.25rem 1.25rem;
  }

  .details-grid {
    gap: 1.25rem;
  }

  .gallery-grid {
    gap: 1rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;  /* already set in another media query, but this reinforces it */
    gap: 1.5rem;
  }

  .contact-form button {
    width: 100%;                 /* big easy tap target */
    text-align: center;
  }

  .footer-inner {
    padding: 0 1.25rem;
  }
}
/* Lightbox hidden by default */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;              /* key */
  z-index: 1000;
}
.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Only show when open */
.lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

/* The dark overlay */
#lightboxBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
  position: relative;
  width: fit-content;
  max-width: 92vw;
  max-height: 88vh;
}

.lightbox-stage {
  position: relative; /* anchors the arrows */
  display: inline-block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* Keep arrows fixed in the same place */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;

  display: grid;
  place-items: center;

  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;

  z-index: 10000;
}

/* consistent placement */
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-nav:hover { background: rgba(0,0,0,0.7); }

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-nav:hover { background: rgba(0, 0, 0, 0.7); }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.7);
}
@media (max-width: 600px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-nav { width: 44px; height: 44px; }
}
.availability-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid rgba(0,0,0,0.08);
}

.pill.available { background: #eaf7ee; }
.pill.booked { background: #fdecec; }

/* Availability */
#availability .muted {
  opacity: 0.8;
  margin-top: 0.25rem;
}

.availability-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.25rem;
}

.pill {
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.pill.is-active {
  background: rgba(11, 70, 92, 0.12);
  border-color: rgba(11, 70, 92, 0.35);
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1rem;
}

@media (max-width: 1000px) {
  .availability-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
}
@media (max-width: 560px) {
  .availability-grid { grid-template-columns: 1fr; }
}

.week-card {
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
}

.week-card.is-available {
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.25);
}

.week-card.is-booked {
  background: rgba(231, 76, 60, 0.08);
  border-color: rgba(231, 76, 60, 0.25);
}

.week-range {
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.week-status {
  margin: 0;
  opacity: 0.85;
  font-weight: 600;
}

.availability-note {
  margin-top: 1.25rem;
  opacity: 0.8;
}
.week-price{
  margin-top: 6px;
  font-weight: 700;
  opacity: 0.9;
}



