/* Contact page styles. Bootstrap 5.3 provides the grid, spacing and form-floating. */

:root {
  --bg: #F7F4EF;
  --surface: #EAE3D5;
  --ink: #1A1715;
  --muted: #7A6A5C;
  --gold: #C5A880;
  --gold-deep: #A8875E;
  --line: rgba(140, 122, 107, 0.25);
  --nav: rgba(247, 244, 239, 0.85);
  --error: #B5573A;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-bs-theme="dark"] {
  --bg: #110E0C;
  --surface: #1C1816;
  --ink: #F7F4EF;
  --muted: #A39382;
  --gold-deep: #C5A880;
  --line: rgba(163, 147, 130, 0.2);
  --nav: rgba(17, 14, 12, 0.85);
  --error: #E09A7E;
}

/* Base */
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg) url("bg-axtra.png") !important;
  overflow-x: hidden;
  transition: background-color 0.6s, color 0.6s;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; color: var(--ink); }
em { font-style: italic; color: var(--gold-deep); }
a { color: inherit; }
/* section { padding: clamp(4rem, 8vw, 7rem) 0; } */
.muted { color: var(--muted); }
.sec-title { font-size: clamp(2.1rem, 3.4vw + 1rem, 3.4rem); margin-bottom: 1rem; }
.lbl {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.lbl::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* Header */
.ps-header { color: #F7F4EF; padding: 1.5rem 0; transition: 0.6s var(--ease); }
.ps-header.is-scrolled {
  color: var(--ink);
  background: var(--nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(197, 168, 128, 0.15);
  padding: 0.75rem 0;
}
.ps-brand { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase; color: inherit !important; }
.ps-link { font-size: 0.66rem; letter-spacing: 0.25em; text-transform: uppercase; color: inherit !important; text-decoration: none; }
.ps-link:hover, .ps-link.active { color: var(--gold) !important; }
.ps-theme {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent; color: inherit;
  display: grid; place-items: center;
  transition: 0.5s var(--ease);
}
.ps-header.is-scrolled .ps-theme { border-color: var(--line); }
.ps-theme:hover { background: var(--ink); color: var(--bg); }
.ps-toggler .navbar-toggler-icon { filter: invert(1); }
.ps-header.is-scrolled .ps-toggler .navbar-toggler-icon,
[data-bs-theme="dark"] .ps-toggler .navbar-toggler-icon { filter: none; }
@media (max-width: 991.98px) {
  #mainNav { background: var(--nav); backdrop-filter: blur(20px); margin: 0 -1.5rem; padding: 1rem 1.5rem; color: var(--ink); }
}

/* Hero */
.hero {
  position: relative;
  height: 56vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: #F7F4EF;
  background: #0A0807;
  overflow: hidden;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #140E0A 5%, rgba(20, 14, 10, 0.3)); }
.hero .container { position: relative; z-index: 1; padding-bottom: 4rem; }
.hero .lbl { color: var(--gold); }
.hero .lbl::before { display: none; }
.hero h1 { color: #F7F4EF; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.98; }
.hero h1 em { color: var(--gold); }

/* Contact details */
.detail a, .detail p { display: block; font-size: 0.95rem; text-decoration: none; transition: color 0.3s; }
.detail a:hover { color: var(--gold-deep); }

/* Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 24px 50px -24px rgba(26, 23, 21, 0.2);
}
.form-title { font-style: italic; color: var(--gold-deep); font-size: 1.8rem; margin-bottom: 2rem; }
.form-floating > .form-control,
.form-floating > textarea.form-control {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  font-size: 0.9rem;
  padding: 1.25rem 0 0.4rem;
}
.form-floating > textarea.form-control { min-height: 130px; }
.form-floating > .form-control:focus,
.form-floating > textarea.form-control:focus { border-bottom-color: var(--gold); background: transparent; }
.form-floating > .form-control.is-invalid { border-bottom-color: var(--error); background-image: none; }
.form-floating > label {
  padding: 1rem 0;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > textarea.form-control:focus ~ label { color: var(--gold-deep); }
.invalid-feedback { color: var(--error); font-size: 0.8rem; margin-top: 0.4rem; }
.sent {
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #0A0807;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1rem 2.4rem;
  border-radius: 2px;
  transition: 0.5s var(--ease);
}
.btn-gold:hover, .btn-gold:focus-visible { background: transparent; color: var(--gold-deep); transform: translateY(-2px); }

/* Booking process (dark band in both themes) */
.process { background: #1A1715; color: #EFE6D4; }
.process h2, .process h3 { color: #fff; }
.process .lbl { color: #B7A58C; }
.process .step { border-top: 1px solid rgba(239, 230, 212, 0.15); padding-top: 2rem; }
.process .num {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.process h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.process p { color: rgba(239, 230, 212, 0.65); font-size: 0.92rem; margin: 0; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq .lbl, .faq .sec-title { text-align: center; }
.faq .lbl { display: flex; justify-content: center; }
.faq .lbl::before { display: none; }
details { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  font-family: var(--display);
  font-size: 1.4rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--gold-deep); }
summary::after { content: "+"; font-family: var(--body); font-weight: 300; font-size: 1.3rem; color: var(--gold-deep); transition: transform 0.4s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); font-size: 0.92rem; margin: 1rem 2rem 0 0; }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); padding: 4rem 0 3rem; font-size: 0.85rem; }
footer a { display: block; text-decoration: none; margin-bottom: 0.5rem; transition: color 0.3s; }
footer a:hover { color: var(--gold-deep); }
.brand-serif { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--ink); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 575.98px) {
  .hero { min-height: 380px; }
  .form-card { padding: 1.5rem; }
  section { padding: 4rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
