/* Ensure Netlify review form is clickable and above other elements */
form[name="guest-review"] {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
section h2 {
  color: #2a4d69;
}
.flashy-book-btn {
  display: inline-block;
  margin: 4rem auto 4rem auto;
  padding: 2.8rem 7rem;
  font-size: 3.2rem;
  font-weight: bold;
  color: #fff;
  background: #4fbcff;
  border: none;
  border-radius: 80px;
  box-shadow: 0 20px 80px 16px #ffd700, 0 0 80px 24px #a259c6, 0 0 48px 16px #fff7b2, 0 0 0 8px #fff7b2 inset;
  text-decoration: none;
  text-shadow: 0 6px 24px rgba(0,0,0,0.28), 0 0 16px #ffd700, 0 0 8px #fff7b2;
  letter-spacing: 3px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, background 0.25s;
  animation: sparkle-gradient 1s linear infinite;
  filter: drop-shadow(0 0 32px #ffd700) drop-shadow(0 0 24px #a259c6);
  cursor: pointer;
  border-radius: 100px 100px 100px 100px / 60px 60px 60px 60px;
  border: 4px solid #fff7b2;
}
.flashy-book-btn::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.45) 0 2px, transparent 2px 10px);
  opacity: 0.45;
  z-index: 2;
  mix-blend-mode: lighten;
  animation: glitter 0.5s linear infinite;
}
.flashy-book-btn:hover {
  transform: scale(1.16) rotate(-2deg);
  box-shadow: 0 32px 128px 32px #ffd700, 0 0 128px 48px #a259c6, 0 0 64px 24px #fff7b2, 0 0 0 16px #fff7b2 inset;
  background: #0099e6;
  color: #ffd700;
  filter: drop-shadow(0 0 64px #ffd700) drop-shadow(0 0 32px #a259c6);
}
  
.book-direct-btn:hover {
  background: #005fa3;
  color: #ffd700;
  transform: scale(1.06) rotate(-1deg);
}
body.about-page {
  background: url('static/images/71.jpg') no-repeat center center fixed;
  background-size: cover;
}
.property-btn {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.property-cards-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 1.2rem;
  margin: 2.5rem 0 5.5rem 0;
}
.property-cards-row .property {
  flex: 0 1 240px;
  max-width: 260px;
  min-width: 180px;
  min-height: 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(44, 77, 105, 0.10);
  padding: 0.7rem 0.6rem 0.6rem 0.6rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
}
/* Property cards side by side on desktop, stacked on mobile */
.property-cards-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  margin: 2.5rem 0 5.5rem 0;
}
.property-cards-row .property {
  flex: 0 0 220px;
  max-width: 220px;
  min-width: 140px;
  min-height: 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(44, 77, 105, 0.10);
  padding: 0.7rem 0.6rem 0.6rem 0.6rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.property-cards-row {
  gap: 1.2rem;
}
.property-cards-row .property h3 {
  font-size: 2.1rem;
  margin-bottom: 1.1rem;
}
.property-cards-row .property p {
  font-size: 1.13rem;
  margin-bottom: 1.6rem;
}

/* Main property buttons at top */
.main-property-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 2.2rem 0 1.2rem 0;
}
.main-property-btn {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  border-radius: 32px;
  background: #0078d7;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 12px 2px rgba(79,140,255,0.13), 0 0 16px 2px rgba(162,89,198,0.10);
  transition: background 0.22s, transform 0.18s;
  margin: 0;
}
.main-property-btn:hover {
  background: #005fa3;
  color: #fff;
  transform: scale(1.08) rotate(-1deg);
}
/* Property cards side by side on desktop, stacked on mobile */
.property-cards-row {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  margin: 2.5rem 0 5.5rem 0;
  flex-wrap: nowrap;
}
.property-cards-row .property {
  flex: 1 1 420px;
  max-width: 520px;
  min-width: 320px;
  min-height: 420px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(44, 77, 105, 0.10);
  padding: 2.5rem 2.2rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0;
}
.property-cards-row .property h3 {
  font-size: 2.1rem;
  margin-bottom: 1.1rem;
}
.property-cards-row .property p {
  font-size: 1.13rem;
  margin-bottom: 1.6rem;
}
@media (max-width: 900px) {
  .property-cards-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
  }
  .property-cards-row .property {
    max-width: 98vw;
    min-width: 0;
    min-height: 320px;
  }
}
.property-cards-row {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  margin: 2.5rem 0 5.5rem 0;
  flex-wrap: wrap;
}
.property-cards-row .property {
  flex: 1 1 420px;
  max-width: 520px;
  min-width: 320px;
  min-height: 420px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(44, 77, 105, 0.10);
  padding: 2.5rem 2.2rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0;
}
.property-cards-row .property h3 {
  font-size: 2.1rem;
  margin-bottom: 1.1rem;
}
.property-cards-row .property p {
  font-size: 1.13rem;
  margin-bottom: 1.6rem;
}
@media (max-width: 900px) {
  .property-cards-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .property-cards-row .property {
    max-width: 98vw;
    min-width: 0;
    min-height: 320px;
  }
}
/* Property card buttons */
.property-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.7em 2.2em;
  font-size: 1.18em;
  font-weight: 700;
  color: #fff;
  background: #0078d7;
  border: none;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 2px 12px 2px rgba(79,140,255,0.13), 0 0 16px 2px rgba(162,89,198,0.10);
  transition: background 0.22s, transform 0.18s;
  cursor: pointer;
}
.property-btn:hover {
  background: #005fa3;
  color: #fff;
  transform: scale(1.08) rotate(-1deg);
}
/* World Heritage Blue Mountains highlight section */
.heritage-highlight {
  background: linear-gradient( rgba(32,54,90,0.22), rgba(32,54,90,0.13) ), url('static/images/bluemountains.jpg') center center/cover no-repeat;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(44, 77, 105, 0.10);
  margin: 2.5rem auto 2.5rem auto;
  padding: 2.2rem 2.5rem 1.7rem 2.5rem;
  max-width: 800px;
  text-align: center;
}
.heritage-highlight h2, .heritage-highlight p {
  color: #ffffff !important;
  font-weight: 900;
  text-shadow: 0 2px 8px #0008;
}
.heritage-highlight h2 {
  font-size: 2.7rem;
  letter-spacing: 2px;
}
.heritage-highlight p {
  font-size: 1.35rem;
  font-weight: 700;
}
.heritage-highlight h2 {
  color: #2a4d69;
  font-size: 2.3rem;
  margin-bottom: 0.7rem;
  letter-spacing: 1.2px;
}
.heritage-highlight p {
  color: #234;
  font-size: 1.18rem;
  margin: 0 auto;
  line-height: 1.6;
}
/* Property cards side by side */
.property-cards-row {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  margin: 2.5rem 0 5.5rem 0;
  flex-wrap: wrap;
}
.property-cards-row .property-link {
  flex: 1 1 320px;
  max-width: 480px;
  min-width: 280px;
  text-decoration: none;
}
.property-cards-row .property {
  height: 100%;
}
@media (max-width: 900px) {
  .property-cards-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}
/* Contact card Book Direct button styles */
.contact-phone-card {
  position: relative;
}
.contact-nav-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 16px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 2.4rem;
  padding: 1.3rem 4.2rem;
  border-radius: 36px;
  background: #0078d7;
  box-shadow: 0 6px 22px 6px rgba(0,120,215,0.18);
  overflow: hidden;
  transition: background 0.3s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  z-index: 1;
}
.contact-nav-btn::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.25) 0 2px, transparent 2px 8px);
  opacity: 0.25;
  z-index: 2;
  mix-blend-mode: lighten;
  animation: glitter 1.2s linear infinite;
}
.contact-nav-btn:hover {
  color: #fff;
  background: #005fa3;
  transform: scale(1.10) rotate(-2deg);
  box-shadow: 0 6px 24px 4px rgba(0,120,215,0.18);
}
/* Bottom card styles (scrolls with page, button fills card) */
.bottom-card-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 0;
}
.bottom-card {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border-radius: 14px 14px 0 0;
  padding: 32px 40px 24px 40px;
  min-width: 320px;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.bottom-card .flashy-book-btn {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 3.2rem;
  padding: 2.8rem 0;
  margin: 0;
}
/* Bottom card styles */
.bottom-card-container {
  width: 100%;
  display: flex;
  justify-content: center;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1000;
  pointer-events: none;
}
.bottom-card {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border-radius: 14px 14px 0 0;
  padding: 32px 40px 24px 40px;
  margin-bottom: 0;
  min-width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}
.flashy-book-btn-large {
  padding: 3.2rem 8rem;
  font-size: 3.8rem;
  border-width: 6px;
}
.property#retreat {
  background: url('static/images/retreat.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.property#retreat h3, .property#retreat p {
  position: relative;
  z-index: 1;
}

.property#retreat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}
.property#palace {
  background: url('static/images/palace.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.property#palace h3, .property#palace p {
  position: relative;
  z-index: 1;
}

.property#palace::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
  background: url('static/images/32.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.32);
  z-index: 0;
}

header, main, footer {
  position: relative;
  z-index: 1;
}

header {
  background: none;
  color: #fff;
  padding: 2rem 0 1.2rem 0;
  text-align: center;
  border-radius: 0 0 16px 16px;
  box-shadow: none;
}

nav a {
  color: #fff;
  margin: 0 1.2rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.15rem;
  padding: 0.5rem 1.2rem;
  border-radius: 24px;
  background: #4fbcff;
  box-shadow: 0 2px 12px 2px rgba(255,215,0,0.18), 0 0 16px 2px rgba(162,89,198,0.12);
  position: relative;
  overflow: hidden;
  transition: background 0.3s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  z-index: 1;
  animation: sparkle-gradient 3s linear infinite;
}
@keyframes sparkle-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
nav a::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.25) 0 2px, transparent 2px 8px);
  opacity: 0.25;
  z-index: 2;
  mix-blend-mode: lighten;
  animation: glitter 1.2s linear infinite;
}
@keyframes glitter {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}
nav a:hover {
  color: #ffd700;
  transform: scale(1.10) rotate(-2deg);
    color: #fff;
    background: #005fa3;
    box-shadow: 0 6px 24px 4px rgba(0,120,215,0.18);
}

main {
  max-width: 950px;
  margin: 2.5rem auto;
  background: none;
  border-radius: 12px;
  box-shadow: none;
  padding: 2.5rem 2rem 2rem 2rem;
}

.property-link, .property-link * {
  text-decoration: none !important;
  color: inherit;
}

.property-link {
  display: block;
}

.property, .intro, #manuals, #contact {
  background: none;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 1.5rem 1rem;
  margin-bottom: 2rem;
}

.property {
  margin-bottom: 2.8rem;
}
.property-img {
  width: 100%;
  max-width: 520px;
  border-radius: 10px;
  margin: 1.2rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
  display: block;
}
section h2 {
  color: #2a4d69;
.flashy-book-btn {
  display: inline-block;
  margin: 4rem auto 4rem auto;
  padding: 2.8rem 7rem;
  font-size: 3.2rem;
  font-weight: bold;
  color: #fff;
  background: #4fbcff;
  border: none;
  border-radius: 80px;
  box-shadow: 0 20px 80px 16px #ffd700, 0 0 80px 24px #a259c6, 0 0 48px 16px #fff7b2, 0 0 0 8px #fff7b2 inset;
  text-decoration: none;
  text-shadow: 0 6px 24px rgba(0,0,0,0.28), 0 0 16px #ffd700, 0 0 8px #fff7b2;
  letter-spacing: 3px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, background 0.25s;
  animation: sparkle-gradient 1s linear infinite;
  filter: drop-shadow(0 0 32px #ffd700) drop-shadow(0 0 24px #a259c6);
  cursor: pointer;
  border-radius: 100px 100px 100px 100px / 60px 60px 60px 60px;
  border: 4px solid #fff7b2;
}
.flashy-book-btn::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.45) 0 2px, transparent 2px 10px);
  opacity: 0.45;
  z-index: 2;
  mix-blend-mode: lighten;
  animation: glitter 0.5s linear infinite;
}
.flashy-book-btn:hover {
  transform: scale(1.16) rotate(-2deg);
  box-shadow: 0 32px 128px 32px #ffd700, 0 0 128px 48px #a259c6, 0 0 64px 24px #fff7b2, 0 0 0 16px #fff7b2 inset;
  background: #0099e6;
  color: #ffd700;
  filter: drop-shadow(0 0 64px #ffd700) drop-shadow(0 0 32px #a259c6);
}
  margin-top: 0.5rem;
}
ul {
  padding-left: 1.2rem;
}
footer {
  background: rgba(42, 77, 105, 0.95);
  color: #fff;
  text-align: center;
  padding: 1.2rem 0;
  margin-top: 2.5rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.10);
}

.reviews-summary {
  max-width: 900px;
  margin: 2.5em auto 1.5em auto;
  background: rgba(255,255,255,0.98);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 2em 1.5em 1.5em 1.5em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2em;
}
.reviews-summary-col {
  flex: 1;
  min-width: 220px;
}
.reviews-summary-title {
  color: #1565c0;
  font-size: 2.1em;
  margin: 0 0 0.5em 0;
}
.reviews-summary-average {
  font-size: 1.3em;
  color: #1976d2;
  font-weight: 600;
  margin-bottom: 0.3em;
}
.reviews-summary-average .star {
  color: #ffd700;
  font-size: 1.1em;
}
.reviews-summary-count {
  color: #888;
  font-size: 1.05em;
}
.reviews-summary-breakdown-label {
  margin-bottom: 0.7em;
  font-weight: 500;
  color: #1976d2;
}
.reviews-summary-breakdown-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.3em;
}
.reviews-summary-breakdown-row span {
  width: 2.5em;
}
.reviews-summary-breakdown-row .count {
  color: #888;
}
.reviews-summary-breakdown-row progress {
  width: 120px;
}
@media (max-width: 700px) {
  main {
    padding: 1rem;
  }
  .property-img {
    max-width: 100%;
  }
}

/* Utility classes moved from inline styles */
.contact-profile-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  text-align: center;
}
.contact-profile-box img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  margin-bottom: 0.5em;
}
.contact-profile-box .label {
  margin-bottom: 0.4em;
  font-size: 0.95em;
  color: #fff;
  background: #42a5f5;
  border-radius: 8px;
  padding: 0.2em 0.7em;
  font-weight: 500;
}

/* Background helper for property cards when specific background image is required */
.property-bg-palace {
  background: url('static/images/33.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(255,255,255,0.18);
}
.property-bg-retreat {
  background: url('static/images/13.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(255,255,255,0.18);
}

/* Reusable large button used on palace/retreat pages */
.btn-large-primary {
  display: inline-block;
  background: #42a5f5;
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  padding: 1em 2.5em;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  letter-spacing: 1px;
  transition: background 0.2s;
}

.property-cards-row.inline-flex {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
}

.property-card-compact {
  margin-bottom: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  padding: 1.5rem;
}

.palace-nav-inline {
  text-align: center;
  margin-bottom: 2em;
}
.palace-nav-inline a {
  margin: 0 1em;
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

/* Contact page background centralized */
body.contact-page {
  background: url('static/images/77.jpg') center/cover no-repeat fixed;
  background-blend-mode: multiply;
  background-color: rgba(255,255,255,0.18);
}

/* Utility for centered block wrappers */
.centered-block {
  text-align: center;
  margin: 3em 0 2em 0;
}

/* Form utilities for reviews and other small forms */
.form-compact {
  margin-bottom: 2em;
  background: #f5faff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(21,101,192,0.07);
  padding: 1.5em 1em;
}
.form-field {
  margin-bottom: 1em;
}
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3em;
}
.form-input {
  width: 100%;
  padding: 0.5em;
  border-radius: 6px;
  border: 1px solid #b3c6e0;
  box-sizing: border-box;
}
.reviews-title {
  color: #1565c0;
  margin-top: 0;
}
.btn-primary {
  background: #1976d2;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 0.7em 1.5em;
  cursor: pointer;
}
.btn-primary:hover {
  background: #1565c0;
}
