/* ═══════════════════════════════════════
   SHARED INNER PAGE STYLES
   ═══════════════════════════════════════ */

/* ── Page Header / Banner ── */
.page-header {
  background: linear-gradient(135deg, #13222a, #1f3a46);
  color: #fff;
}

.page-banner {
  padding: 7.5rem 0 3.5rem;
  text-align: center;
}

.page-banner h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 0.5rem;
}

.page-banner p {
  max-width: 50ch;
  margin: 0 auto;
  opacity: 0.85;
}

.page-banner .eyebrow { color: #f3d8a5; }

.page-section {
  padding: 5rem 0;
}

.page-section + .page-section {
  border-top: 1px solid var(--line);
}

.page-section.alt {
  background: linear-gradient(180deg, #fffefb, #f6efe4);
}

.page-section.dark {
  background: linear-gradient(135deg, #13222a, #1f3a46);
  color: #f8fafb;
}

.page-section.dark .eyebrow { color: #f3d8a5; }
.page-section.dark .section-text { color: rgba(248,250,251,0.7); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.section-text {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 0.6rem;
}

.section-text a {
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(135, 102, 48, 0.35);
}

.section-text a:hover { border-bottom-color: var(--gold-deep); }

/* ═══════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════ */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gf-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.gf-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.gf-btn.active { background: var(--gold); color: #111; border-color: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.gallery-item {
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  pointer-events: none;
}

.gallery-item:hover::after { background: rgba(0,0,0,0.15); }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 0.6rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lb-close:hover { opacity: 1; }

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-arrow:hover { background: rgba(255,255,255,0.2); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

/* ═══════════════════════════════
   DINING PAGE
   ═══════════════════════════════ */
.dining-venues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 1.5rem;
}

.venue-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(23,32,38,0.16);
}

.venue-card h3,
.venue-card p {
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}

.venue-card h3 { padding-top: 1.2rem; }
.venue-card p:last-child { padding-bottom: 1.3rem; }

.venue-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.venue-body {
  padding: 1.4rem;
}

.venue-body h3 {
  font-size: 1.5rem;
  margin: 0 0 0.3rem;
}

.venue-hours {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
}

.venue-body p:last-child {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.dining-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.dining-highlight img {
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.dining-highlight-text h2 { margin-bottom: 0.5rem; }

.dining-highlight-text ul {
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ═══════════════════════════════
   SPA PAGE
   ═══════════════════════════════ */
.spa-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.treatment-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(23,32,38,0.14);
}

.treatment-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.treatment-card h3 {
  font-size: 1.4rem;
  margin: 0 0 0.3rem;
}

.treatment-duration {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}

.treatment-card p:last-child {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.92rem;
}

.spa-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.spa-feature {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 1rem;
  padding: 1.4rem 1rem;
  text-align: center;
}

.spa-feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.spa-feature h3 {
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
  color: #f8fafb;
}

.spa-feature p {
  color: rgba(248,250,251,0.65);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* ═══════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-block {
  margin-bottom: 2rem;
}

.contact-info-block h3 {
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}

.contact-info-block p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.contact-info-block a {
  color: var(--gold-deep);
  text-decoration: none;
}

.contact-info-block a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

/* Honeypot: invisible to humans, filled only by spam bots */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.contact-form label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.map-wrap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ═══════════════════════════════
   OFFERS PAGE
   ═══════════════════════════════ */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  transition: transform 0.25s, box-shadow 0.25s;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(23,32,38,0.16);
}

.offer-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.offer-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-badge {
  display: inline-block;
  background: rgba(180,139,79,0.12);
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  align-self: flex-start;
}

.offer-body h3 {
  font-size: 1.5rem;
  margin: 0 0 0.4rem;
}

.offer-body p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.offer-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-bottom: 0.8rem; }
.offer-meta-discount {
  display: inline-block; background: #2e7d32; color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px;
}
.offer-meta-tag {
  display: inline-block; background: rgba(180,139,79,0.10); color: var(--gold-deep);
  font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 999px;
}
.offer-meta-stay {
  display: inline-block; color: var(--muted); font-size: 0.72rem; font-style: italic;
  padding: 0.25rem 0;
}

.offer-body .btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}

/* ═══════════════════════════════
   POLICIES PAGE
   ═══════════════════════════════ */
.policies-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-block {
  margin-bottom: 2.5rem;
}

.policy-block h2 {
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.policy-block p,
.policy-block li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-block ul {
  padding-left: 1.3rem;
  margin: 0.5rem 0;
}

.policy-block li + li { margin-top: 0.3rem; }

/* ═══════════════════════════════
   PRIVACY PAGE
   ═══════════════════════════════ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.6rem;
  margin: 2rem 0 0.5rem;
}

.privacy-content h2:first-child { margin-top: 0; }

.privacy-content p {
  color: var(--muted);
  line-height: 1.75;
}

.privacy-content a {
  color: var(--gold-deep);
  text-decoration: none;
}

.privacy-content a:hover { text-decoration: underline; }

/* ═══════════════════════════════
   404 PAGE
   ═══════════════════════════════ */
.not-found {
  text-align: center;
  padding: 8rem 2rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.not-found h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--line);
  margin: 0;
  line-height: 1;
}

.not-found h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0.5rem 0 1rem;
}

.not-found p {
  color: var(--muted);
  max-width: 40ch;
  margin: 0 auto 1.5rem;
}

/* ═══════════════════════════════
   COOKIE CONSENT BAR
   ═══════════════════════════════ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #10191f;
  color: #dbe4eb;
  padding: 1rem 2rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  display: none;
}

.cookie-bar.show { display: block; }

.cookie-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(219,228,235,0.8);
}

.cookie-inner a { color: #f3d8a5; text-decoration: none; }
.cookie-inner a:hover { text-decoration: underline; }

#cookie-accept {
  background: var(--gold, #b48b4f);
  color: #111;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

#cookie-accept:hover { background: #c79a57; }

/* ═══════════════════════════════
   FOOTER ENHANCEMENTS
   ═══════════════════════════════ */
.footer-inner { }

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(243,216,165,0.25);
  color: #f3d8a5;
  transition: background 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background: rgba(243,216,165,0.1);
  border-color: #f3d8a5;
}

.footer-social svg { flex-shrink: 0; }

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.footer-links a {
  color: rgba(219,228,235,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: #f3d8a5; }

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(219,228,235,0.4);
}

/* ═══════════════════════════════
   ATTRACTIONS SECTION
   ═══════════════════════════════ */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.attraction-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.attraction-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.attraction-card h3 {
  font-size: 1.3rem;
  margin: 0 0 0.3rem;
  color: #f8fafb;
}

.attraction-card p {
  color: rgba(248,250,251,0.6);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .dining-venues { grid-template-columns: 1fr; }
  .dining-highlight { grid-template-columns: 1fr; padding: 0 7vw; }
  .dining-highlight img { height: 300px; }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .spa-features { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-card img { min-height: 200px; }
  .attractions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .page-banner { padding: 6rem 0 2.5rem; }
  .page-section { padding: 3rem 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 180px; }
  .treatments-grid { grid-template-columns: 1fr; }
  .spa-features { grid-template-columns: 1fr; }
  .spa-hero-img { height: 260px; }
  .map-wrap { min-height: 280px; }
  .map-wrap iframe { min-height: 280px; }
  .lb-arrow { width: 38px; height: 38px; font-size: 1.2rem; }
  .lb-close { top: 0.8rem; right: 0.8rem; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Contact form submission note ── */
.form-note {
  font-family: 'Manrope', sans-serif; font-size: 0.88rem;
  color: var(--muted, #666); background: #f6f3ee;
  border-left: 3px solid var(--gold, #b99256);
  padding: 0.8rem 1rem; margin-top: 1rem; line-height: 1.5;
}

/* ── Cookie consent buttons ── */
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
#cookie-essential {
  background: transparent; color: #dbe4eb; border: 1px solid #46545e;
  padding: 0.55rem 1.1rem; border-radius: 6px; font: inherit; font-size: 0.85rem; cursor: pointer;
}
#cookie-essential:hover { border-color: #7d8d98; }
@media (max-width: 600px) {
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}

/* ── Consent-gated map placeholder ── */
.map-consent {
  height: 100%; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; text-align: center; padding: 1.5rem;
  background: #eef1f4; border-radius: 8px;
}
.map-consent p {
  font-family: 'Manrope', sans-serif; font-size: 0.9rem; color: #667; max-width: 320px;
}
