/* Header logo + nav colors
 * Top (transparent): white logo / white text
 * Sticky scroll: dark logo / dark text (current look)
 */

header a.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  min-height: 40px;
  position: relative;
}

header a.logo img {
  display: block;
  max-height: 36px;
  width: auto;
  height: auto;
}

/* Default (top): show white logo */
header .logo .logo-light,
header .logo .logo-light.default {
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  position: static;
  pointer-events: auto;
}

header .logo .logo-dark {
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  position: absolute;
  pointer-events: none;
}

/* Sticky: show dark logo, hide white */
header.sticky .logo .logo-dark,
header.header-appear .logo .logo-dark {
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  position: static;
  pointer-events: auto;
}

header.sticky .logo .logo-light,
header.header-appear .logo .logo-light {
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  position: absolute;
  pointer-events: none;
}

/* Top: white nav / search / hamburger */
header:not(.sticky) nav.navbar-top.background-transparent {
  background: rgba(0, 0, 0, 0.45) !important;
  box-shadow: none;
}

header:not(.sticky) nav.white-link .navbar-nav > li > a,
header:not(.sticky) nav.white-link .header-searchbar a,
header:not(.sticky) nav.white-link .search-button {
  color: #fff !important;
}

header:not(.sticky) nav.white-link .navbar-toggler .icon-bar {
  background: #fff !important;
}

/* Sticky: restore dark nav (current) */
header.sticky nav.header-light.white-link .navbar-nav > li > a,
header.sticky nav.header-light.white-link .header-searchbar a,
header.sticky nav.header-light.white-link .search-button,
header.header-appear nav.header-light.white-link .navbar-nav > li > a,
header.header-appear nav.header-light.white-link .header-searchbar a,
header.header-appear nav.header-light.white-link .search-button {
  color: #232323 !important;
}

header.sticky nav.header-light.white-link .navbar-nav > li > a:hover,
header.sticky nav.header-light.white-link .navbar-nav > li.active > a,
header.header-appear nav.header-light.white-link .navbar-nav > li > a:hover,
header.header-appear nav.header-light.white-link .navbar-nav > li.active > a {
  color: rgba(0, 0, 0, 0.55) !important;
}

header.sticky nav.header-light.white-link .navbar-toggler .icon-bar,
header.header-appear nav.header-light.white-link .navbar-toggler .icon-bar {
  background: #232323 !important;
}

.footer-logo {
  max-height: 48px;
  width: auto;
  height: auto;
}

/* Key visual — soft shadow for white text readability */
.swiper-container.full-screen .swiper-slide h1.text-white-2,
.swiper-container.full-screen .swiper-slide p.text-white-2 {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 2px 12px rgba(0, 0, 0, 0.25);
}

.swiper-container.full-screen .swiper-slide p.text-white-2 {
  font-weight: 500;
}

/* Light hero slide — soft wash + darker brand text for wool backgrounds */
.swiper-container.full-screen .hero-light-slide {
  position: relative;
}

.swiper-container.full-screen .hero-light-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 248, 240, 0.82) 0%,
    rgba(255, 248, 240, 0.48) 36%,
    rgba(255, 248, 240, 0.08) 62%,
    rgba(255, 248, 240, 0) 78%
  );
}

.swiper-container.full-screen .hero-light-slide > .container {
  position: relative;
  z-index: 2;
}

.swiper-container.full-screen .hero-light-slide h1.text-deep-pink {
  color: var(--base-color-dark) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 18px rgba(255, 248, 240, 0.95),
    0 1px 2px rgba(90, 60, 30, 0.12);
}

.swiper-container.full-screen .hero-light-slide p.text-deep-pink {
  color: #6b4f32 !important;
  font-weight: 500;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 14px rgba(255, 248, 240, 0.9);
}

/* Hero slides 2–3 — soft staggered caption reveal */
@keyframes heroCaptionIn {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.swiper-container.full-screen .hero-caption-slide .hero-anim {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  will-change: opacity, transform;
}

.swiper-container.full-screen .hero-caption-slide.swiper-slide-active .hero-anim-title,
.swiper-container.full-screen .hero-caption-slide.swiper-slide-duplicate-active .hero-anim-title {
  animation: heroCaptionIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.swiper-container.full-screen .hero-caption-slide.swiper-slide-active .hero-anim-text,
.swiper-container.full-screen .hero-caption-slide.swiper-slide-duplicate-active .hero-anim-text {
  animation: heroCaptionIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.swiper-container.full-screen .hero-caption-slide.swiper-slide-active .hero-anim-btns,
.swiper-container.full-screen .hero-caption-slide.swiper-slide-duplicate-active .hero-anim-btns {
  animation: heroCaptionIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@media (prefers-reduced-motion: reduce) {
  .swiper-container.full-screen .hero-caption-slide .hero-anim,
  .swiper-container.full-screen .hero-caption-slide.swiper-slide-active .hero-anim,
  .swiper-container.full-screen .hero-caption-slide.swiper-slide-duplicate-active .hero-anim {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.object-fit-cover {
  object-fit: cover;
}

/* Hero video background (first slide) */
.swiper-container.full-screen .hero-video-slide {
  position: relative;
  overflow: hidden;
  background-color: #111;
  height: 100%;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero-video-bg video.is-ready {
  opacity: 1;
}

.hero-video-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.22);
}

.hero-video-content {
  position: relative !important;
  z-index: 3 !important;
  height: 100%;
}

.hero-video-content .text-white-2 {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 4px 18px rgba(0, 0, 0, 0.35);
}
