/* ===== components.css (reusable components) ===== */
.site-header {
    background: var(--brand-bg);
    color: var(--brand-fg);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}
.brand {
    display: flex;
    align-items: center;
}
.brand-logo {
    height: 40px;
    width: auto;
    margin-right: 12px;
    display: block;
}
.brand-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-fg);
    white-space: nowrap;
}
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: var(--brand-fg);
    border-radius: 8px;
    cursor: pointer;
}
.nav-toggle-bar {
    width: 20px; height: 2px; background: currentColor; position: relative; display: block;
}
.nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after  { top:  6px; }
.nav { display: none; }
.nav.open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list li { border-top: 1px solid rgba(255,255,255,0.08); }
.nav-list a {
    display: block; color: var(--brand-fg); text-decoration: none; padding: 12px 0;
}
.nav-list a:hover { text-decoration: underline; }
@media (min-width: 900px){
    .nav-toggle { display: none; }
    .nav { display: block; }
    .nav-list { display: flex; gap: 24px; align-items: center; border: 0; }
    .nav-list li { border: 0; }
}

/* ------------------------------------------- */

/* ===== HERO SECTION (SLIDING CAROUSEL VERSION) ===== */

.hero {
    position: relative;
    min-height: 60vh;
    display: grid;
    justify-items: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; /* Hide slides outside of view */
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.40) 60%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* ===== Hero Image Slider (Continuous Left→Right Scroll) ===== */
.hero-slider {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
}

.hero-slider .slide-track {
  display: flex;
  width: calc(608px * 8); /* new: 4 originals + 4 clones */
  animation: scrollRight 40s linear infinite;
}

.hero-slider .slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slider .slide img {
  width: 100%;
  max-width: 608px;  /* stop stretching past native size */
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}


/* Reverse direction so images move left→right instead of right→left */
@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Optional: Pause on hover */
.hero-slider .slide-track:hover {
  animation-play-state: paused;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .hero-slider {
    top: 65%;
  }
}

/* Hero text (top layer) */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 16px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title,
.hero-subtitle {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1.05;
    margin-bottom: 12px;
}

.hero-subtitle {
    display: inline-block;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 24px;
    font-size: clamp(16px, 2.2vw, 22px);
    line-height: 1.4;
    opacity: 0.98;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.desktop-break { display: none; }
@media (min-width: 768px) { .desktop-break { display: inline; } }
.hero-subtitle { font-size: clamp(16px, 2.2vw, 22px); margin: 0 0 24px; opacity: 0.98; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.btn-primary  { background: var(--accent);    color: #111; }
.btn-secondary{ background: var(--accent-2); color: #fff; }
.hero-ctas .btn { box-shadow: 0 2px 10px rgba(0,0,0,0.18); }
.pre-footer.tour-alert {
    background: #fff3cd;
    color: #664d03;
    padding: 10px 12px;
    text-align: center;
    font-size: 15px;
    border-top: 2px solid #ffecb5;
    border-bottom: 2px solid #ffecb5;
    margin-bottom: 0;
}
.pre-footer.tour-alert p { margin: 6px 0; }
.site-footer {
    background: var(--brand-bg);
    color: var(--accent);
    margin-top: 0;
}
.footer-inner {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}
.footer-inner p { margin: 0; }