/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Font files missing - commented out to avoid 404 errors
@font-face {
  font-family: "Host Grotesk";
  src: url("/assets/HostGrotesk-VariableFont_wght.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Host Grotesk";
  src: url("/assets/HostGrotesk-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}
*/

:root {
  --landing-accent: #cb6246;
  --landing-dark: #6c312e;
  --landing-soft: #e2b5d2;
  --landing-green: #5fa67d;
  --mobile-footbar-height: 56px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background-color: var(--landing-accent);
}

body {
  font-family: "Host Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  background: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  flex: 1;
}

/* Shared navbar */
.landing-top.landing-top--shared {
  position: sticky;
  top: 0;
  z-index: 10;
  pointer-events: auto;
  align-items: center;
  padding: env(safe-area-inset-top, 0px) clamp(20px, 2.5vw, 40px) 0;
  background-color: var(--landing-accent);
  overflow: visible;
  height: calc(clamp(72px, 9vw, 100px) + env(safe-area-inset-top, 0px));
}

.landing-top.landing-top--shared.landing-top--transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  background-image: linear-gradient(
    to bottom,
    var(--landing-accent) 0,
    var(--landing-accent) env(safe-area-inset-top, 0px),
    transparent env(safe-area-inset-top, 0px)
  );
}

.landing-top--shared .landing-brand-link {
  margin: 0;
  margin-left: clamp(-20px, -3vw, -40px);
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.landing-top--shared .landing-brand {
  height: clamp(200px, 40vw, 280px);
  max-width: none;
  filter: brightness(0) invert(1);
}

.landing-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: none;
  background: none;
  cursor: pointer;
  color: #fff;
  z-index: 11;
}

.landing-top-book {
  display: none;
}

.landing-nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.landing-top--nav-open .landing-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.landing-top--nav-open .landing-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.landing-top--nav-open .landing-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .landing-top--shared .landing-brand {
    height: clamp(160px, 44vw, 220px);
  }

  .landing-nav-toggle {
    display: none;
  }

  .landing-top--shared .landing-nav {
    display: none;
  }

  .landing-top a.landing-top-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 8px 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--landing-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: auto;
  }

  body:has(.mobile-footbar) {
    padding-bottom: calc(var(--mobile-footbar-height) + env(safe-area-inset-bottom, 0px));
  }
}

/* Mobile footbar */
.mobile-footbar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-footbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    align-items: stretch;
    justify-content: space-around;
    gap: 2px;
    min-height: var(--mobile-footbar-height);
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
    background: var(--landing-accent);
  }

  .mobile-footbar-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: lowercase;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  }

  .mobile-footbar-item svg {
    display: block;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
  }

  .mobile-footbar-item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-footbar-item--active {
    color: #fff;
    font-weight: 600;
  }

  .mobile-footbar-item--sign-out {
    color: rgb(255 255 255 / 0.85);
  }

  .mobile-footbar-item:active {
    background: rgb(255 255 255 / 0.12);
  }
}

/* Shared Footer */
.shared-footer {
  background: var(--landing-accent);
  flex-shrink: 0;
  padding: 28px 24px;
}

.shared-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.shared-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.shared-footer-logo-link {
  display: block;
  line-height: 0;
}

.shared-footer-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.shared-footer-tagline {
  color: #fff;
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
  max-width: 22ch;
  line-height: 1.35;
}

.shared-footer-copyright {
  color: #fff;
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
}

.shared-footer-links {
  display: flex;
  gap: 64px;
}

.shared-footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shared-footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.shared-footer-link:hover {
  opacity: 0.8;
}

/* Responsive footer */
@media (max-width: 768px) {
  .shared-footer {
    padding: 24px 20px;
  }

  .shared-footer-content {
    flex-direction: column;
    gap: 28px;
    align-items: center;
    text-align: center;
  }

  .shared-footer-brand {
    align-items: center;
  }

  .shared-footer-links {
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .shared-footer-column {
    align-items: center;
  }
}

/* Location page */
.location {
  min-height: 100vh;
}

.location-contact {
  position: relative;
  width: 100%;
  height: 580px;
  background: #6c312e;
  box-sizing: border-box;
}

.location-contact-inner {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
}

.location-contact-intro {
  position: absolute;
  left: 2.89%;
  right: 66.67%;
  top: 44px;
  font-family: "Gosha Sans", "Host Grotesk", "Avenir Next", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  color: #ffffff;
}

.location-contact-title {
  margin: 0;
  font: inherit;
  color: inherit;
}

.location-contact-subtitle {
  margin: 16px 0 0;
  font-family: "Gosha Sans", "Host Grotesk", "Avenir Next", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: #e2b5d2;
}

.location-contact-form {
  position: static;
}

.location-field {
  position: static;
}

.location-label,
.location-privacy {
  position: absolute;
  margin: 0;
  font-family: "Gosha Sans", "Host Grotesk", "Avenir Next", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: #e2b5d2;
  white-space: nowrap;
}

.location-label--first-name {
  left: 34.78%;
  top: 44px;
}

.location-label--last-name {
  left: 66.72%;
  top: 44px;
}

.location-label--email {
  left: 34.78%;
  top: 140px;
}

.location-label--message {
  left: 34.78%;
  top: 236px;
}

.location-privacy {
  left: 34.78%;
  right: 18.29%;
  top: 430px;
  white-space: normal;
  line-height: 1.35;
  font-size: 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.location-privacy-checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--landing-soft);
  cursor: pointer;
}

.location-privacy-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-privacy-link:hover {
  color: var(--landing-soft);
}

.location-submit {
  position: absolute;
  left: 34.78%;
  top: 500px;
  padding: 12px 32px;
  border: 1px solid #e2b5d2;
  background: transparent;
  color: #ffffff;
  font-family: "Gosha Sans", "Host Grotesk", "Avenir Next", sans-serif;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.location-submit:hover {
  background: #e2b5d2;
  color: #6c312e;
}

.location-input {
  position: absolute;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e2b5d2;
  border-radius: 0;
  padding: 0 0 8px;
  margin: 0;
  color: #ffffff;
  caret-color: #ffffff;
  font-family: "Gosha Sans", "Host Grotesk", "Avenir Next", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  outline: none;
  resize: none;
}

.location-input:focus {
  border-bottom-color: #ffffff;
}

.location-input--first-name {
  left: 34.78%;
  width: 30.44%;
  top: 72px;
  height: 40px;
}

.location-input--last-name {
  left: 66.67%;
  width: 30.44%;
  top: 72px;
  height: 40px;
}

.location-input--email {
  left: 34.78%;
  width: 62.33%;
  top: 168px;
  height: 40px;
}

.location-input--message {
  left: 34.78%;
  width: 62.33%;
  top: 268px;
  height: 120px;
}

.location-map {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  min-height: clamp(400px, 48vw, 560px);
  background: #f7f2ef;
}

.location-map-embed {
  position: relative;
  min-height: clamp(400px, 48vw, 560px);
}

.location-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(400px, 48vw, 560px);
  border: 0;
}

.location-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: clamp(400px, 48vw, 560px);
  padding: 24px;
  background: #f5f5f5;
  color: #333;
  text-align: center;
  font-size: 16px;
}

.location-map-placeholder p {
  margin: 0;
}

.location-map-placeholder-link {
  color: var(--landing-accent);
  font-weight: 500;
}

.location-map-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4vw, 40px);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
  background:
    linear-gradient(160deg, rgba(95, 166, 125, 0.14), transparent 42%),
    #f7f2ef;
  color: var(--landing-dark);
  border-left: 1px solid color-mix(in srgb, var(--landing-green) 35%, transparent);
}

.location-map-legend-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: none;
}

.location-map-legend-title {
  margin: 0;
  font-family: "Gosha Sans", "Host Grotesk", "Avenir Next", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--landing-dark);
}

.location-map-legend-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--landing-dark) 72%, white);
}

.location-map-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-width: none;
}

.location-map-legend-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--landing-dark) 12%, transparent);
}

.location-map-legend-item:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--landing-dark) 12%, transparent);
}

.location-map-legend-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Gosha Sans", "Host Grotesk", "Avenir Next", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.location-map-legend-icon--logo {
  display: block;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--landing-dark) 10%, transparent);
}

.location-map-legend-icon--metro {
  background: var(--landing-dark);
  border-radius: 6px;
}

.location-map-legend-icon--parking {
  background: var(--landing-accent);
  border-radius: 50%;
}

.location-map-legend-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  font-size: 16px;
  line-height: 1.3;
}

.location-map-legend-label strong {
  font-family: "Gosha Sans", "Host Grotesk", "Avenir Next", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--landing-dark);
}

.location-map-legend-label span {
  color: color-mix(in srgb, var(--landing-dark) 68%, white);
  font-size: 15px;
}

.location-map-legend-meta {
  color: var(--landing-accent) !important;
  font-size: 14px !important;
  font-weight: 500;
}

.location-info {
  background: #f7f2ef;
  color: var(--landing-dark);
  padding: 40px clamp(20px, 4vw, 64px);
}

.location-info-inner {
  max-width: 920px;
  margin: 0 auto;
}

.location-info-title {
  margin: 0 0 12px;
  font-family: "Gosha Sans", "Host Grotesk", "Avenir Next", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.2;
}

.location-info-copy {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.5;
  max-width: 62ch;
}

.location-info-address {
  margin: 0 0 12px;
  font-style: normal;
  font-size: 17px;
  line-height: 1.55;
}

.location-info-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 16px;
}

.location-info-email {
  color: var(--landing-accent);
  text-decoration: none;
}

.location-info-email:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .location-contact {
    height: auto;
    min-height: 0;
    padding: 32px 24px 40px;
  }

  .location-contact-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .location-contact-intro,
  .location-field,
  .location-label,
  .location-input,
  .location-privacy,
  .location-submit {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
  }

  .location-contact-intro {
    font-size: clamp(28px, 6vw, 36px);
    line-height: 1.25;
  }

  .location-contact-subtitle {
    font-size: 18px;
  }

  .location-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .location-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .location-label {
    font-size: 18px;
    white-space: normal;
  }

  .location-input {
    min-height: 44px;
    font-size: 18px;
    padding: 8px 0;
  }

  .location-input--message {
    min-height: 96px;
  }

  .location-privacy {
    font-size: 16px;
    margin-top: 4px;
  }

  .location-submit {
    align-self: flex-start;
    margin-top: 4px;
    min-height: 48px;
    padding: 12px 28px;
    font-size: 18px;
  }

  .location-map {
    grid-template-columns: 1fr;
  }

  .location-map-side {
    min-height: 0;
    padding: 36px 24px 40px;
    gap: 24px;
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--landing-green) 35%, transparent);
  }

  .location-map-legend-intro,
  .location-map-legend {
    max-width: none;
  }

  .location-map-legend-title {
    font-size: 28px;
  }
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 24px;
  background: var(--landing-dark);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

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

.cookie-consent-text {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  flex: 1;
}

.cookie-consent-link {
  color: var(--landing-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-link:hover {
  opacity: 0.85;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-consent-btn {
  padding: 10px 24px;
  border: 1px solid #fff;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cookie-consent-btn--reject {
  background: transparent;
  color: #fff;
}

.cookie-consent-btn--reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-consent-btn--accept {
  background: #fff;
  color: var(--landing-dark);
  border-color: #fff;
}

.cookie-consent-btn--accept:hover {
  background: var(--landing-soft);
  border-color: var(--landing-soft);
}

@media (max-width: 768px) {
  body:has(.mobile-footbar) .cookie-consent {
    bottom: calc(var(--mobile-footbar-height) + env(safe-area-inset-bottom, 0px));
  }

  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-consent-actions {
    justify-content: center;
  }
}
