/*
 * 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-farro {
  font-family: 'Farro', sans-serif;
}

.font-bebas {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.05em;
}

/* The Loki palette. These are colour names — they mean the same thing on
   every site and are NOT overridden per site. */
:root {
        --loki-green: #88a48a;
        --loki-blue: #648ba9;
        --loki-orange: #f5a741;
        --loki-red: #af7f90;

        /* Semantic tokens: the role a colour plays, not the colour itself.
           These are what a site re-points; the palette above stays fixed, so
           .text-loki-green is always the Loki green everywhere. */
        --loki-background: var(--loki-green);  /* page + header/footer chrome */
        --loki-cta: var(--loki-blue);          /* primary action buttons */

        /* RGB triplet of --loki-background, for rgba() composition in JS
           (the header scroll-fade effect). Keep in sync with it. */
        --loki-background-rgb: 136, 164, 138;
      }

/* Loki Boutique (lokiboutique.com; html gets data-site from the layout).
   Shares the palette above and only re-points the semantic tokens: deep blue
   chrome, and green CTAs so buttons stand off that background. */
html[data-site="boutique"] {
        --loki-background: #3e4c54;
        --loki-background-rgb: 62, 76, 84;
        --loki-cta: var(--loki-green);
      }

.bg-loki-background { background-color: var(--loki-background); }
.text-loki-background { color: var(--loki-background); }
.border-loki-background { border-color: var(--loki-background); }

.bg-loki-cta { background-color: var(--loki-cta); }
.text-loki-cta { color: var(--loki-cta); }
.border-loki-cta { border-color: var(--loki-cta); }

.bg-loki-green { background-color: var(--loki-green); }
.bg-loki-blue { background-color: var(--loki-blue); }
.bg-loki-orange { background-color: var(--loki-orange); }
.bg-loki-red { background-color: var(--loki-red); }

.text-loki-green { color: var(--loki-green); }
.text-loki-blue { color: var(--loki-blue); }
.text-loki-orange { color: var(--loki-orange); }
.text-loki-red { color: var(--loki-red); }

.border-loki-green { border-color: var(--loki-green); }
.border-loki-blue { border-color: var(--loki-blue); }
.border-loki-orange { border-color: var(--loki-orange); }
.border-loki-red { border-color: var(--loki-red); }

.hover\:bg-loki-blue:hover { background-color: var(--loki-blue); }
.hover\:bg-loki-orange:hover { background-color: var(--loki-orange); }

/* Hero gradient overlay for text readability */
.hero-gradient-overlay {
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}

/* View Transitions for room images */
/* @view-transition {
  navigation: auto;
}

::view-transition-group(*){
  animation-duration: 5s;
} 

@supports (view-transition-name: card-hero-image) {
  ::view-transition-old(card-hero-image) {
    animation: 0.5s ease-in both slide-out;
  }

  ::view-transition-new(card-hero-image) {
    animation: 0.5s ease-out both slide-in;
  }

  .card-hero-transition {
    view-transition-name: card-hero-image;
  }
}

@keyframes slide-out {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.95);
    opacity: 0;
  }
}

@keyframes slide-in {
  from {
    transform: scale(1.05);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
 */