/* Forestina - modern forest cabin theme.
   Loaded after style.css. Palette tokens first; everything below uses them. */

:root {
  --spruce: #173118;   /* deep forest: footer, nav, hero shade */
  --pine:   #1F3A2D;   /* buttons, headings on light */
  --moss:   #5E7B52;   /* quiet accents */
  --moss-d: #3E6A45;   /* links, icons (AA on birch) */
  --lichen: #E7ECE3;   /* alternate section background */
  --birch:  #F5F6F1;   /* page background */
  --bark:   #6B4A33;   /* wood: prices, blazes */
  --lantern:#E3A63B;   /* light in the window: CTA on dark, active nav */
  --ink:    #34423A;   /* body text */
  --line:   #CBD5C5;
  --slab: "Zilla Slab", Georgia, serif;
  --sans: "Figtree", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--birch); color: var(--ink); font-family: var(--sans); line-height: 1.75; }
p { color: var(--ink); }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--slab); color: var(--pine); font-weight: 600; line-height: 1.2; letter-spacing: -0.005em;
}
a { color: var(--moss-d); }
a:hover, a:focus { color: var(--bark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--moss-d) !important; outline-offset: 3px;
}
.ftco-navbar-light a:focus-visible, .ftco-footer a:focus-visible, .hero-wrap a:focus-visible, .home-slider a:focus-visible {
  outline-color: var(--lantern) !important;
}
::selection { background: var(--lantern); color: var(--spruce); }

/* ---------- Navigation ---------- */
.ftco-navbar-light { top: 14px; }
.ftco-navbar-light .navbar-brand {
  font-family: var(--slab); font-weight: 700; font-size: 30px; letter-spacing: 0; color: var(--birch);
}
.ftco-navbar-light .navbar-brand span { color: var(--birch); }
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: rgba(245, 246, 241, .92); padding-left: 16px; padding-right: 16px;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover { color: var(--lantern); }
.ftco-navbar-light .navbar-nav > .nav-item.active > a {
  color: #fff; box-shadow: inset 0 -3px 0 var(--lantern);
}
.ftco-navbar-light.scrolled { background: var(--spruce) !important; box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.ftco-navbar-light.scrolled .nav-link { color: rgba(245, 246, 241, .92) !important; }
.ftco-navbar-light.scrolled .nav-item.active > a { color: #fff !important; box-shadow: inset 0 -3px 0 var(--lantern); }
.ftco-navbar-light.scrolled .nav-link:hover { color: var(--lantern) !important; }
.ftco-navbar-light.scrolled .navbar-brand { color: var(--birch); }
.ftco-navbar-light .navbar-toggler { color: var(--birch) !important; border-color: rgba(245,246,241,.5) !important; }
@media (max-width: 991.98px) {
  .ftco-navbar-light { background: var(--spruce) !important; top: 0; }
  .ftco-navbar-light .navbar-nav > .nav-item.active > a { box-shadow: none; color: var(--lantern); }
}

/* ---------- Heroes: forest shade + treeline ---------- */
.hero-wrap { height: 560px; background-size: cover; background-position: center; }
.hero-wrap .slider-text { height: 560px; }
.hero-wrap .overlay,
.owl-carousel.home-slider .slider-item::before {
  opacity: 1;
  background: linear-gradient(180deg, rgba(23,49,24,.72) 0%, rgba(23,49,24,.38) 42%, rgba(23,49,24,.62) 100%);
}
.owl-carousel.home-slider .slider-item::before { content: ''; position: absolute; inset: 0; }
.hero-wrap::after,
.owl-carousel.home-slider .slider-item::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: 1; pointer-events: none;
  background: url(../images/treeline-birch.svg) repeat-x left bottom / auto 120px;
}
.hero-wrap .container, .owl-carousel.home-slider .slider-item .container { position: relative; z-index: 2; }
.hero-wrap .slider-text .text { padding-bottom: 150px; }
.hero-wrap .slider-text .bread {
  font-family: var(--slab); font-weight: 700; font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.01em; color: var(--birch);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-wrap .slider-text .breadcrumbs { text-transform: none; letter-spacing: 0; font-size: 15px; }
.hero-wrap .slider-text .breadcrumbs span { border-bottom: 0; color: rgba(245,246,241,.8); }
.hero-wrap .slider-text .breadcrumbs span a { color: var(--birch); text-decoration: underline; text-underline-offset: 3px; }
.owl-carousel.home-slider, .owl-carousel.home-slider .slider-item, .owl-carousel.home-slider .slider-item .slider-text { height: min(100vh, 780px); min-height: 560px; }
.owl-carousel.home-slider .slider-item .slider-text .text { padding-bottom: 90px; }
.owl-carousel.home-slider .slider-item .slider-text h1 {
  font-family: var(--slab); font-weight: 700; font-size: clamp(40px, 6.4vw, 88px); line-height: 1.04; letter-spacing: -0.015em;
  color: var(--birch); text-shadow: 0 3px 24px rgba(0,0,0,.4);
}
.owl-carousel.home-slider .slider-item .slider-text h2 {
  font-family: var(--slab); font-style: italic; font-weight: 500; font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--lantern);
}

/* ---------- Section headings ---------- */
.ftco-section { padding: 5.5em 0; }
.bg-light { background: var(--lichen) !important; }
.heading-section h2 { font-family: var(--slab); font-weight: 600; font-size: clamp(30px, 4vw, 44px); color: var(--pine); }
.heading-section .subheading {
  font-family: var(--slab); font-style: italic; font-weight: 500; font-size: 19px;
  text-transform: none; letter-spacing: 0; color: var(--bark); margin-bottom: 4px;
}
.heading-section .subheading::before {  /* trail blaze */
  content: ''; display: inline-block; width: 6px; height: 17px; background: var(--bark);
  border-radius: 1px; margin-right: 11px; vertical-align: -2px;
}

/* ---------- Buttons ---------- */
.btn { border-radius: 4px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.btn.btn-primary, .btn-primary {
  background: var(--pine); border-color: var(--pine); color: var(--birch); border-radius: 4px;
}
.btn.btn-primary:hover, .btn-primary:hover, .btn-primary:focus { background: var(--moss-d); border-color: var(--moss-d); color: #fff; }
.btn-outline-primary { color: var(--pine); border-color: var(--pine); background: transparent; }
.btn-outline-primary:hover { background: var(--pine); border-color: var(--pine); color: var(--birch); }
.hero-wrap .slider-text .btn-primary, .home-slider .btn-primary {
  background: var(--lantern); border: 0; color: var(--spruce); border-radius: 4px;
}
.hero-wrap .slider-text .btn-primary:hover, .home-slider .btn-primary:hover { background: #fff !important; color: var(--spruce); }

/* ---------- Highlights (icon cards on home) ---------- */
.services { background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.services .icon { background: var(--birch); border: 1px solid var(--line); box-shadow: none; }
.services .icon span { color: var(--moss-d); }
.services .media-body h3 { font-family: var(--slab); font-size: 21px; color: var(--pine); }
.services.active, .services:hover { background: var(--pine); border-color: var(--pine); }
.services.active h3, .services:hover h3 { color: var(--birch); }
.services.active .icon span, .services:hover .icon span { color: var(--pine); }

/* ---------- Room cards ---------- */
.room-wrap { background: #fff; }
.room-wrap .half { background: #fff; }
.room-wrap .text .star span, .room .text .star span { color: var(--lantern); }
.room-wrap .text span.price { font-family: var(--slab); font-weight: 700; font-size: 30px; color: var(--bark); }
.room-wrap .text span.per { color: var(--ink); font-size: 14px; }
.room-wrap .text h3 { font-family: var(--slab); font-size: 26px; margin-bottom: .2rem !important; }
.room-wrap .text h3 a { color: var(--pine); }
.room-teaser { font-size: 15px; line-height: 1.5; margin: 0 0 12px; color: var(--ink); }
.room-wrap .text .btn-custom {
  color: var(--pine); border: 1px solid var(--pine); border-radius: 4px; background: transparent; font-weight: 600;
}
.room-wrap .text .btn-custom:hover, .room-wrap:hover .text .btn-custom { background: var(--pine); color: var(--birch); border-color: var(--pine); }
.room-wrap:hover .text span.price, .room-wrap:focus .text span.price { color: var(--bark); }
.room-single .list li span { color: var(--bark); font-family: var(--slab); font-weight: 600; font-size: 17px; }
.room-single .list { padding-left: 0; list-style: none; }
.room-single h2 { font-size: 38px; }

/* ---------- Menu / restaurant ---------- */
.pricing-entry { background: #fff; border-radius: 6px; overflow: hidden; }
.pricing-entry h3 { font-family: var(--slab); color: var(--pine); }
.pricing-entry .price span, .pricing-entry span.price { color: var(--bark); font-family: var(--slab); font-weight: 700; }

/* ---------- Forms ---------- */
.form-control { border-radius: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink); height: auto; padding: .7rem .9rem; }
.form-control:focus { border-color: var(--moss-d); box-shadow: 0 0 0 3px rgba(62,106,69,.2); }
.contact-info .info { border: 1px solid var(--line); box-shadow: none !important; }
.contact-info .info span { color: var(--bark); font-family: var(--slab); font-weight: 600; }
#pay-form, .contact-form { border: 1px solid var(--line); border-radius: 6px; }
#pay-form label { font-weight: 600; color: var(--pine); }

/* ---------- Footer: spruce, with the treeline rising out of it ---------- */
.ftco-footer { background: var(--spruce); }
.ftco-footer .overlay { background: var(--spruce); opacity: .93; }
.ftco-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: -119px; height: 120px; pointer-events: none;
  background: url(../images/treeline-spruce.svg) repeat-x left bottom / auto 120px;
}
.ftco-footer .ftco-heading-2, .ftco-footer .ftco-footer-widget h2 {
  font-family: var(--slab); color: var(--birch); font-size: 22px; font-weight: 600;
}
.ftco-footer p, .ftco-footer a { color: rgba(245,246,241,.78); }
.ftco-footer a:hover { color: var(--lantern); }
.ftco-footer .ftco-footer-widget ul li a span { color: inherit; }
.ftco-footer-social li a { background: rgba(245,246,241,.08); border-radius: 4px; }
.ftco-footer-social li a:hover { background: var(--lantern); }
.ftco-footer-social li a:hover span { color: var(--spruce); }

/* ---------- Loader ---------- */
#ftco-loader { background: var(--birch); }

/* ---------- Motion: respect reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ftco-animate { opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; }
}

/* Specificity fix: template sets white text on .room-wrap .text p */
.room-wrap .text .room-teaser { color: var(--ink); }

.alert-info { background: var(--lichen); border-color: var(--line); color: var(--pine); }
.alert-info a { color: var(--moss-d); text-decoration: underline; }
.alert-success { background: #E1EDDD; border-color: #BFD5B8; color: var(--pine); }
.alert-danger { background: #F3E1DA; border-color: #E2BFB2; color: #6B2E1A; }

/* Leave room for the footer treeline that overlaps the last section */
body > section:last-of-type { padding-bottom: 9em; }

/* ---------- Logo ---------- */
.ftco-navbar-light .navbar-brand { padding: 0; line-height: 0; }
.ftco-navbar-light .navbar-brand img {
  display: block; height: 86px; width: auto;
  filter: drop-shadow(0 0 1px rgba(245,246,241,.85)) drop-shadow(0 3px 8px rgba(0,0,0,.4));
  transition: height .25s ease;
}
.ftco-navbar-light.scrolled .navbar-brand img { height: 64px; }
@media (max-width: 991.98px) {
  .ftco-navbar-light .navbar-brand img, .ftco-navbar-light.scrolled .navbar-brand img { height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .ftco-navbar-light .navbar-brand img { transition: none; } }

/* Footer logo + mobile nav spacing */
.footer-logo { width: 150px; height: auto; display: block; margin-bottom: 16px; }
@media (max-width: 991.98px) { .ftco-navbar-light { padding: 8px 15px; } }

/* Pages without a photo hero (messages, results): solid nav so links stay readable */
.page-plain .ftco-navbar-light { position: relative; top: 0; background: var(--spruce) !important; padding: 8px 0; }
.page-plain .ftco-navbar-light.scrolled { position: fixed; }

/* Footer newsletter */
.footer-subscribe label { color: var(--birch); font-family: var(--slab); font-size: 17px; }
.footer-subscribe input[type=email] { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid rgba(245,246,241,.35); background: rgba(245,246,241,.08); color: var(--birch); border-radius: 4px 0 0 4px; }
.footer-subscribe input[type=email]::placeholder { color: rgba(245,246,241,.6); }
.footer-subscribe button { padding: 9px 16px; border: 0; background: var(--lantern); color: var(--spruce); font-weight: 600; border-radius: 0 4px 4px 0; cursor: pointer; }
.footer-subscribe small { display: block; margin-top: 6px; color: rgba(245,246,241,.6); }
