:root {
  --site-brown: rgb(112, 67, 44);
  --site-brown-dark: rgb(80, 34, 11);
  --site-cream: #f8e7cb;
  --site-text: #50220b;
  --site-shadow-soft: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
  --site-radius: 12px;
  --site-transition: 0.2s ease;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  font-family: Alike, serif;
  color: var(--site-text);
  overflow-y: scroll;
}

body.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--site-text);
  font-family: Alike, serif;
  background-color: #fff;
  text-rendering: optimizeLegibility;
}

.site-main {
  flex: 1 0 auto;
}

img,
svg {
  max-width: 100%;
}

a {
  position: relative;
  text-decoration: none;
  transition:
    color var(--site-transition),
    background-color var(--site-transition),
    border-color var(--site-transition),
    text-shadow 0.2s ease;
}

a:hover,
a:focus {
  text-shadow:
    0 0 4px rgba(248, 231, 203, 0.5),
    0 0 8px rgba(248, 231, 203, 0.3);
}

/* Disable text glow on buttons and icon links */
.btn:hover,
.btn:focus,
.shared-btn:hover,
.shared-btn:focus,
.site-nav-button:hover,
.site-nav-button:focus,
.site-footer a:hover,
.site-footer a:focus,
.navbar-brand:hover,
.navbar-brand:focus {
  text-shadow: none;
}

/* Buttons */
.shared-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 0.75rem;
  width: 100px;
  line-height: 1;
  font-family: Alike, serif;
  background: var(--site-brown);
  color: var(--site-cream);
  border: 0;
  border-radius: 0.25rem;
  text-align: center;
  box-sizing: border-box;
}

.site-nav-button {
  font-family: Alike, serif;
  background: var(--site-brown);
  color: var(--site-cream);
  width: 100px;
  min-width: 100px;
  border: 0;
}

/* Site-wide button hover/lift behavior */
.btn,
.shared-btn,
.site-nav-button {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover,
.shared-btn:hover,
.site-nav-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.btn:active,
.shared-btn:active,
.site-nav-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.site-nav-button:hover,
.site-nav-button:focus,
.site-nav-button:active {
  background: var(--site-brown);
  color: var(--site-cream);
}

/* Navbar */
.site-navbar {
  width: 100%;
  height: 75px;
  padding: 8px 0;
  font-family: Alike, serif;
  background: #fff;
}

.site-navbar .container {
  display: flex;
  align-items: center;
}

.site-brand {
  color: var(--site-text);
  padding: 0;
  margin-right: 1rem;
}

.site-brand__logo {
  display: block;
  width: 48px;
  height: 50px;
  flex: 0 0 48px;
  flex-shrink: 0;
  background: url("../img/nav_sm.png") center / contain no-repeat;
  background-color: transparent;
}

.site-nav-collapse {
  flex: 1 1 auto;
  background: #ffffff;
  padding: 10px;
}

.site-nav-link {
  color: var(--site-text);
  font-family: Alike, serif;
  font-size: 18px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.site-nav-link:hover,
.site-nav-link:focus,
.site-nav-link.active {
  color: var(--site-text);
}

/* Hero */
.hero-carousel {
  position: relative;
  height: clamp(300px, 65vh, 650px);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile fix */
@media (max-width: 767.98px) {
  .site-nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.75rem;
  }

  .site-nav-actions .site-nav-button {
    width: 100%;
    min-width: 100%;
  }
}

@media (min-width: 1200px) {
  .hero-carousel {
    height: auto;
    aspect-ratio: 16 / 5;
    max-height: 1000px;
  }
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-img-1 {
  object-position: center 30%;
}

.hero-img-2 {
  object-position: center 50%;
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  pointer-events: none;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next,
.hero-carousel .carousel-indicators {
  z-index: 2;
}

/* Messages */
.site-banner {
  z-index: 1050;
}

.site-alert {
  border-radius: 0 !important;
}

/* Shared box */
.info-highlight-box {
  max-width: 700px;
  padding: 1.25rem 1.5rem;
  background: var(--site-cream);
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow-soft);
}

/* Footer */
.site-footer {
  font-family: Alike, serif;
}

.site-footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding-left: 0;
}

.site-footer li {
  display: flex;
  align-items: center;
}

.site-social-icon,
.site-mail-icon {
  display: block;
  width: 24px;
  height: 24px;
  color: rgb(80, 34, 11);
}

.site-footer svg {
  transition: transform 0.2s ease;
}

.site-footer a:hover svg {
  transform: translateY(-2px);
}

.site-footer-email {
  font-family: Alike, serif;
  font-size: 19px;
}

.site-footer-copy {
  font-family: Alike, serif;
  color: rgb(80, 34, 11) !important;
  font-size: 12px;
}

.site-footer-links {
  font-family: Alike, serif;
  color: rgb(80, 34, 11) !important;
  font-size: 12px;
}

.site-footer-links a {
  color: inherit;
  text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a:focus {
  color: green;
}

/* Mobile */
@media (max-width: 767.98px) {
  .site-navbar {
    height: auto;
  }

  .site-nav-collapse {
    width: 100%;
    padding: 10px 0;
  }
}