/* =====================================================
   Smoky Mountains — Tennessee Trip 2006
   tennessee.css
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,600;0,700;1,300&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* =====================================================
   Reset & Base
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2e2a24;
  background: #e8e3da;
}

a { color: #3a6b4f; }
a:hover { color: #1e4430; text-decoration: underline; }

/* =====================================================
   Site Wrapper
   ===================================================== */
.site-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: #faf8f4;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
}

/* =====================================================
   Site Header
   ===================================================== */
.site-header {
  background: linear-gradient(160deg, #162b1f 0%, #243d2e 55%, #2e5240 100%);
  padding: 36px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.site-header h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
}

.site-header .subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.72rem, 2vw, 1.0rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
  letter-spacing: 0.12em;
  position: relative;
}

/* =====================================================
   Navigation
   ===================================================== */
.site-nav {
  background: #2e5240;
  border-bottom: 3px solid #162b1f;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 5px 8px;
  gap: 1px;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9ecfb2;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.site-nav a.current {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* =====================================================
   Hero Image
   ===================================================== */
.hero {
  width: 100%;
  overflow: hidden;
  background: #111;
  line-height: 0;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 340px;
  object-fit: cover;
  object-position: center 40%;
}

.hero--short img {
  max-height: 200px;
}

/* =====================================================
   Main Content
   ===================================================== */
.content {
  padding: 36px 44px 48px;
}

/* Intro block */
.intro {
  overflow: hidden;
  margin-bottom: 32px;
}

.intro-thumb {
  float: left;
  margin: 8px 20px 12px 0;
  border-radius: 3px;
  max-width: 155px;
  height: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  padding: 4px;
  border: 1px solid #bbb;
}

.intro p {
  font-size: 1.1rem;
  color: #3a342c;
  margin-bottom: 0.9em;
}

.intro p:last-child {
  margin-bottom: 0;
}

/* =====================================================
   Photo Gallery
   ===================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 7px;
  margin-top: 4px;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: #d5d0c9;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.25s ease;
}

.gallery a:hover img {
  transform: scale(1.07);
  opacity: 0.88;
}

/* =====================================================
   Video Sub-Navigation
   ===================================================== */
.video-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0 0 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid #ddd8d0;
}

.video-subnav a,
.video-subnav .current-video {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 13px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.video-subnav a {
  color: #3a6b4f;
  background: #e4ede8;
  border: 1px solid #c5d9cc;
}

.video-subnav a:hover {
  background: #2e5240;
  color: #fff;
  border-color: #2e5240;
  text-decoration: none;
}

.video-subnav .current-video {
  background: #2e5240;
  color: #fff;
  border: 1px solid #2e5240;
}

/* =====================================================
   Video Embed
   ===================================================== */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* video.html "select a video" prompt */
.video-prompt {
  text-align: center;
  padding: 48px 20px;
  color: #7a7268;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.video-prompt hr {
  border: none;
  border-top: 1px solid #ddd8d0;
  max-width: 300px;
  margin: 0 auto 18px;
}

/* =====================================================
   Links Page
   ===================================================== */
.links-list {
  list-style: none;
  margin-top: 8px;
}

.links-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid #e4e0d8;
  font-size: 0.95rem;
}

.links-list li:first-child {
  border-top: 1px solid #e4e0d8;
}

.links-list .link-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #5a5248;
  text-transform: uppercase;
}

.links-list a {
  font-size: 0.9rem;
  word-break: break-all;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  text-align: center;
  padding: 18px 20px;
  background: #2e5240;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer a {
  color: #9ecfb2;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer .sep {
  color: rgba(158, 207, 178, 0.4);
  margin: 0 10px;
}

/* =====================================================
   Lightbox
   ===================================================== */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 5, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lb-overlay.active {
  display: flex;
}

.lb-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
}

.lb-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 3px;
}

.lb-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  line-height: 1;
}

.lb-prev {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 2.2rem;
  line-height: 1;
}

.lb-next {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 2.2rem;
  line-height: 1;
}

.lb-close,
.lb-prev,
.lb-next {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.lb-counter {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 720px) {
  .content {
    padding: 24px 20px 32px;
  }
  .site-header {
    padding: 26px 20px;
  }
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 5px;
  }
  .intro-thumb {
    max-width: 110px;
    margin-right: 14px;
  }
}

@media (max-width: 480px) {
  .site-nav a {
    padding: 7px 9px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
  .video-subnav a,
  .video-subnav .current-video {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
}
