/* Palm Springs Midtown Oasis: site styles
   Colors and fonts carried over from the SiteSwan theme. */
:root {
  --rust: #A85C32;
  --rust-dark: #8F4319;
  --olive: #8A8732;
  --taupe: #B59F8A;
  --taupe-dark: #9C8671;
  --cream: #FAF7F2;
  --charcoal: #2B2B2B;
  --text: #333333;
  --footer: #434343;
  --tan: #C9AA6E;
  --link: #4090CD;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 4vw, 42px); color: var(--rust); text-align: center; }
h3 { font-size: 24px; font-weight: 700; color: var(--charcoal); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.section { padding: 64px 0; }
.cream { background: var(--cream); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #eee; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 40px; }
.brand { text-decoration: none; display: block; }
.brand-title { display: block; font-family: var(--serif); color: var(--rust); font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }
.brand-tagline { display: block; font-family: var(--sans); color: var(--olive); font-size: clamp(14px, 1.6vw, 19px); }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text); text-decoration: none; font-size: 18px; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--text); }
@media (max-width: 700px) {
  .site-header .bar { padding: 10px 16px; flex-wrap: wrap; }
  .nav { gap: 16px; }
  .nav a { font-size: 16px; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none; color: #fff; background: var(--rust); border: 0; border-radius: 10px; padding: 11px 22px; box-shadow: 0 4px 12px 1.28px rgba(0,0,0,.3); cursor: pointer; }
.btn:hover { background: var(--rust-dark); }
.btn-taupe { background: var(--taupe); color: var(--charcoal); }
.btn-taupe:hover { background: var(--taupe-dark); }
.btn-dark { background: var(--charcoal); }
.btn-dark:hover { background: #121212; }

/* Home hero */
.hero { position: relative; color: #fff; text-align: center; padding: 120px 24px 100px; background: #3b4a55 url('/images/39-pool-community.jpg') center 60% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,28,34,.45), rgba(20,28,34,.55)); }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(38px, 5.5vw, 62px); margin: 0 auto .35em; max-width: 14em; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero p { font-size: clamp(18px, 2vw, 22px); max-width: 34em; margin: 0 auto; text-shadow: 0 1px 8px rgba(0,0,0,.4); }

.intro-band { background: var(--charcoal); color: #d9cfc4; text-align: center; padding: 28px 24px 30px; }
.intro-band .facts { color: var(--taupe); font-weight: 700; letter-spacing: .02em; margin-bottom: .6em; }
.intro-band .buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 18px 0 14px; }
.intro-band .call { margin: 0; }
.intro-band .call a { color: #fff; font-weight: 700; text-decoration: none; }

.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; max-width: 760px; margin: 0 auto 28px; padding: 0; list-style: none; }
.highlights li { padding: 3px 0; }
@media (max-width: 600px) { .highlights { grid-template-columns: 1fr; } }
.lead { font-size: clamp(18px, 2vw, 21px); text-align: center; max-width: 46em; margin: 0 auto; }

/* Welcome split */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.split img { border-radius: 4px; }
.split h2 { text-align: left; color: var(--charcoal); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split h2 { text-align: center; } }

/* Gallery */
.gallery-intro { margin-bottom: 40px; }
.group { margin: 0 0 48px; }
.group-head { text-align: center; max-width: 620px; margin: 0 auto 18px; }
.group-head h3 { margin-bottom: .2em; }
.group-head p { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.grid figure { margin: 0; }
.grid a { display: block; overflow: hidden; border-radius: 3px; background: #ddd; }
.grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.grid a:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .grid img { transition: none; } }
.grid figcaption { font-size: 15px; text-align: center; padding-top: 8px; }
.grid figcaption strong { display: block; font-family: var(--serif); font-size: 20px; color: var(--charcoal); }

.features-band { background: var(--taupe); padding: 14px 0; }
.features-band ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 0 auto; padding: 0 24px; max-width: var(--wrap); text-align: center; font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--charcoal); }
@media (max-width: 700px) { .features-band ul { grid-template-columns: repeat(2, 1fr); } }

/* Reviews */
.reviews { background: var(--charcoal); color: #fff; }
.reviews h2 { color: #fff; }
.review { max-width: 620px; margin: 0 auto 36px; text-align: center; }
.review .stars { color: #F2C14E; letter-spacing: 3px; font-size: 20px; }
.review blockquote { margin: 6px 0 10px; font-style: italic; }
.review cite { font-style: normal; font-weight: 700; }

/* Attractions */
.attractions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .attractions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.attractions img { aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.attractions h3 { font-size: 22px; color: var(--rust); margin: 12px 0 4px; }
.attractions p { color: var(--rust); font-size: 15px; }
.subtitle { text-align: center; margin-top: -10px; margin-bottom: 28px; }

/* Amenities */
.amenities { background: var(--taupe); }
.amenities h2 { color: var(--charcoal); }
.amenities .split { grid-template-columns: 1.1fr 1fr; }
.amenities ul { margin: 0; padding-left: 1.1em; }
.amenities li { padding: 4px 0; }
@media (max-width: 800px) { .amenities .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq dt { font-weight: 700; color: var(--charcoal); margin-top: 18px; }
.faq dd { margin: 4px 0 0; color: var(--rust); }

/* Closing band */
.closing { position: relative; color: #fff; text-align: center; padding: 90px 24px; background: #41502f url('/images/46-grapefruit-tree.jpg') center / cover no-repeat; }
.closing::before { content: ""; position: absolute; inset: 0; background: rgba(20,24,16,.5); }
.closing > * { position: relative; }
.closing h2 { color: #fff; font-weight: 700; }
.closing p { font-size: 20px; margin-bottom: 1.4em; }

/* Page banner (inner pages, no photo) */
.page-banner { background: var(--taupe); color: #fff; text-align: center; padding: 44px 24px; }
.page-banner h1 { font-size: clamp(38px, 5vw, 56px); margin: 0; text-shadow: 0 1px 6px rgba(0,0,0,.2); }

/* Availability calendar */
.calendar { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
@media (max-width: 520px) { .calendar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calendar li { text-align: center; padding: 12px 6px; font-size: 20px; line-height: 1.35; }
.calendar span, .calendar strong { display: block; }
.calendar strong { font-weight: 400; }
.calendar .available { background: var(--tan); color: var(--charcoal); }
.calendar .booked { background: var(--charcoal); color: #fff; }
.calendar .booked strong { color: #bdbdbd; font-size: 16px; padding-top: 3px; }
.legend { display: flex; gap: 28px; justify-content: center; margin: 12px 0 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 48px; height: 16px; display: inline-block; }

.book-options { display: grid; grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; border: 1px solid #ddd; background: #fff; }
.book-options > div { text-align: center; border-right: 1px solid #ddd; display: flex; flex-direction: column; }
.book-options > div:last-child { border-right: 0; }
.book-options h3 { background: var(--taupe); margin: 0; padding: 16px 12px; font-size: 28px; min-height: 100px; display: flex; align-items: center; justify-content: center; }
.book-options p { padding: 24px 30px 0; flex: 1; }
.book-options .btn { margin: 0 auto 24px; }
@media (max-width: 640px) { .book-options { grid-template-columns: 1fr; } .book-options > div { border-right: 0; border-bottom: 1px solid #ddd; } }

/* Form */
.inquiry form { max-width: 740px; margin: 28px auto 0; display: grid; gap: 16px; }
.inquiry label { font-size: 14px; font-weight: 700; display: block; margin-bottom: 4px; }
.inquiry input, .inquiry textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 2px; background: #fff; color: var(--text); }
.inquiry textarea { min-height: 120px; resize: vertical; }
.inquiry .hp { display: none; }
.inquiry .submit { text-align: center; }
.form-status { text-align: center; font-weight: 700; min-height: 1.6em; margin: 0; }
.form-status.error { color: #a12a1a; }

/* Prose pages */
.prose h2 { text-align: left; color: var(--charcoal); font-size: 28px; font-weight: 700; margin-top: 1.4em; }
.prose h1 { font-size: clamp(36px, 5vw, 50px); text-align: center; color: var(--charcoal); font-weight: 700; }

/* Footer */
.site-footer { background: var(--footer); color: #fff; padding: 48px 0 28px; font-size: 16px; }
.site-footer a { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 24px; margin-bottom: .4em; }
.footer-tag { font-style: italic; margin: 0 0 .3em; }
.contact { list-style: none; padding: 0; margin: 0; }
.contact li { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.contact svg { width: 16px; height: 16px; flex: none; fill: #fff; }
.footer-links { margin-top: 28px; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-bottom { text-align: center; margin-top: 36px; font-size: 13px; }
.footer-bottom nav { display: flex; gap: 18px; justify-content: center; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.footer-bottom nav a { text-decoration: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 8px 0 0; }
.lightbox button { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
