/* FILE: /public/styles.css */

/* Reset / base */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f0f7f9; /* Fresh background for Noosa House */
  color: #221b33;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout */
.page,
.page-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-block { display: flex; flex-direction: column; }

.logo-title {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a2540;
}

.logo-subtitle { font-size: 0.85rem; opacity: 0.8; }

.top-nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.top-nav a:hover { background-color: rgba(0, 0, 0, 0.05); }

.top-nav a.active {
  background-color: #005f73;
  color: #fff;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
  color: #0a2540;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.hero-highlights li {
  margin: 0.15rem 0;
  padding-left: 1.2em;
  position: relative;
}

.hero-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #005f73;
  font-weight: bold;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn.primary {
  background-color: #ff385c; /* Airbnb style primary */
  color: #fff;
}

.btn.primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn.outline {
  border-color: #005f73;
  color: #005f73;
  background-color: transparent;
}

.btn.outline:hover {
  background-color: rgba(0, 95, 115, 0.05);
}

/* Hero slider */
.hero-image { position: relative; }

.hero-slider {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  aspect-ratio: 4/3;
}

.hero-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.hero-slide.active { display: block; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider-btn.prev { left: 8px; }
.hero-slider-btn.next { right: 8px; }
.hero-slider-btn:hover { background: rgba(0, 0, 0, 0.55); }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.hero-dot.active { background-color: #005f73; }

/* Sections */
.section { margin-top: 3.5rem; }

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: #0a2540;
}

.section p {
  line-height: 1.7;
  max-width: 60rem;
}

/* Two-column section */
.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

/* Cards */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}

.card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.card h3 { margin-top: 0; color: #005f73; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 1rem;
}

.gallery-item {
  border-radius: 0.9rem;
  overflow: hidden;
  background-color: #ddd;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item img:hover { transform: scale(1.03); }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* Enquiry form */
.contact-wrapper {
  max-width: 650px;
  margin: 40px auto 60px auto;
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.contact-wrapper label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.contact-wrapper input,
.contact-wrapper textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 16px;
}

.contact-wrapper button {
  width: 100%;
  background: #005f73;
  padding: 14px;
  border: none;
  color: #fff;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

.contact-wrapper button:hover { background: #004655; }

.row { display: flex; gap: 20px; }
.row > div { flex: 1; }

/* Simple content layout */
.content-narrow { max-width: 720px; }

/* Footer */
.site-footer {
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.65);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background-color: #fff;
  margin-top: 4rem;
}

/* Responsive */
@media (max-width: 800px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .hero,
  .two-cols {
    grid-template-columns: 1fr;
  }

  .hero-image { order: -1; }

  .row { flex-direction: column; }
}
