/* ==========================================================================
   Site footer (templates/base.html)
   Dark, quiet surface; warm gold (from the logo) for small accents;
   brand purple kept for the primary action, matching "Book a stay".
   ========================================================================== */

.site-footer {
  --ft-bg: #0a0e17;
  --ft-surface: #171b24;
  --ft-line: rgba(255, 255, 255, 0.08);
  --ft-text: rgba(255, 255, 255, 0.64);
  --ft-heading: #ffffff;
  --ft-gold: #d9b66a;
  --ft-primary: #1f2a44;
  --ft-primary-hover: #151d31;

  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 100% 0%, rgba(31, 42, 68, 0.16), transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, rgba(217, 182, 106, 0.07), transparent 60%),
    var(--ft-bg);
  color: var(--ft-text);
  font-size: 0.95rem;
  padding-top: 4.5rem;
}

/* fine gold hairline across the top */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 182, 106, 0.55), transparent);
}

/* style.css removes the container's side padding site-wide; the footer needs it
   so content doesn't touch the screen edges (and rows don't overflow) on phones */
.site-footer .container {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--ft-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Booking call-to-action ---------- */

.ft-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2.25rem 2.5rem;
  margin-bottom: 4rem;
  border: 1px solid var(--ft-line);
  border-radius: 1.25rem;
  background:
    linear-gradient(120deg, rgba(31, 42, 68, 0.22), rgba(31, 42, 68, 0.04) 55%, rgba(217, 182, 106, 0.08)),
    var(--ft-surface);
}

.ft-eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--ft-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ft-cta h2 {
  margin: 0 0 0.4rem;
  color: var(--ft-heading);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  line-height: 1.2;
}

.ft-cta p {
  margin: 0;
  max-width: 34rem;
}

.ft-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ft-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.site-footer .ft-btn-primary {
  background: var(--ft-primary);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(31, 42, 68, 0.8);
}

.site-footer .ft-btn-primary:hover {
  background: var(--ft-primary-hover);
  transform: translateY(-1px);
}

.site-footer .ft-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.site-footer .ft-btn-ghost:hover {
  border-color: var(--ft-gold);
  color: var(--ft-gold);
}

/* ---------- Main columns ---------- */

.ft-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

/* the logo file has wide transparent margins: crop into the badge */
.ft-logo {
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
  overflow: hidden;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ft-line);
  display: grid;
  place-items: center;
}

.ft-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.9);
}

.ft-brand-name {
  color: var(--ft-heading);
  font-family: var(--bs-heading-font-family, "Playfair Display", Georgia, serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer .ft-brand-sub {
  display: block;
  margin-top: 0.2rem;
  color: var(--ft-gold);
  font-family: var(--bs-body-font-family);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.ft-about {
  max-width: 24rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.ft-title {
  margin-bottom: 1.25rem;
  color: var(--ft-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ft-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ft-links li + li {
  margin-top: 0.7rem;
}

.ft-links a {
  display: inline-flex;
  align-items: center;
}

/* small gold dash slides in on hover (takes no space until then) */
.ft-links a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--ft-gold);
  transition: width 0.2s ease, margin-right 0.2s ease;
}

.ft-links a:hover::before,
.ft-links a:focus-visible::before {
  width: 0.75rem;
  margin-right: 0.45rem;
}

/* ---------- Social ---------- */

.ft-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ft-social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.ft-social a:hover {
  border-color: var(--ft-gold);
  background: var(--ft-gold);
  color: var(--ft-bg);
  transform: translateY(-2px);
}

/* ---------- Contact ---------- */

.ft-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ft-contact li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.ft-contact li + li {
  margin-top: 1rem;
}

.ft-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: rgba(217, 182, 106, 0.1);
  color: var(--ft-gold);
  font-size: 1rem;
}

.ft-contact small {
  display: block;
  margin-bottom: 0.1rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ft-contact a,
.ft-contact span {
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere; /* long email addresses wrap on phones */
}

/* ---------- Bottom bar ---------- */

.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--ft-line);
  font-size: 0.875rem;
}

.ft-bottom p {
  margin: 0;
}

.ft-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ft-payments .label {
  margin-right: 0.35rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* uniform white chips so the four card logos look like one set */
.ft-payments img {
  display: block;
  height: 1.75rem;
  width: 2.9rem;
  padding: 0.3rem 0.4rem;
  object-fit: contain;
  background: #fff;
  border-radius: 0.35rem;
}

/* ---------- Small screens ---------- */

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 3rem;
  }

  .ft-cta {
    padding: 1.75rem 1.5rem;
    margin-bottom: 3rem;
  }

  .ft-cta-actions,
  .ft-cta-actions .ft-btn {
    width: 100%;
    justify-content: center;
  }

  .ft-bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .ft-links a::before {
    transition: none;
  }
}
