/* ============================================
   NZ Gondola & Luge Explorer — Style Sheet
   Nature-inspired: Deep Green/Teal + Mountain Blue
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #1a5c45;
  --primary-dark: #0f3d2e;
  --primary-light: #2a7a5e;
  --accent: #3a7ca5;
  --accent-light: #5a9cc5;
  --accent-dark: #2a5c7a;
  --bg: #f8faf9;
  --bg-alt: #eef3f0;
  --bg-dark: #111b16;
  --text: #2c3e36;
  --text-light: #5a6e64;
  --text-muted: #8a9e94;
  --white: #ffffff;
  --border: #d0ddd6;
  --border-light: #e5ece8;
  --shadow: rgba(26, 92, 69, 0.08);
  --shadow-md: rgba(26, 92, 69, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.text-center { text-align: center; }

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo svg {
  width: 36px;
  height: 36px;
  fill: var(--primary);
}

.site-logo span {
  white-space: nowrap;
}

/* --- Navigation --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--bg-alt);
  color: var(--primary);
}

/* --- Language Toggle --- */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 3px;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 17px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.lang-toggle button.active {
  background: var(--primary);
  color: var(--white);
}

/* --- Mobile Nav Toggle --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 61, 46, 0.45) 0%,
    rgba(15, 61, 46, 0.55) 50%,
    rgba(15, 61, 46, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* --- Sections --- */
section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: var(--bg-alt);
}

/* --- Articles Grid --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.article-card:hover {
  box-shadow: 0 8px 30px var(--shadow-md);
  transform: translateY(-2px);
}

.article-header {
  padding: 1.5rem 1.5rem 0;
}

.article-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.article-header h3 .expand-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  transition: transform var(--transition);
  stroke: var(--accent);
}

.article-card.expanded .article-header h3 .expand-icon {
  transform: rotate(180deg);
}

.article-excerpt {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.article-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.article-card.expanded .article-body {
  max-height: 3000px;
}

.article-body-inner {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
}

.article-body-inner p {
  margin-bottom: 1rem;
}

.article-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.read-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1.5rem 1.25rem;
  transition: color var(--transition);
}

.read-toggle:hover {
  color: var(--accent-dark);
}

.read-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.article-card.expanded .read-toggle svg {
  transform: rotate(180deg);
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--accent);
  transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Seasonal Guide --- */
.seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.season-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.season-card:hover {
  box-shadow: 0 8px 30px var(--shadow);
  transform: translateY(-3px);
}

.season-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
}

.season-icon svg {
  width: 100%;
  height: 100%;
}

.season-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.season-months {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.season-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Visitor Tips --- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tip-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.tip-card:hover {
  box-shadow: 0 8px 30px var(--shadow);
  transform: translateY(-2px);
}

.tip-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.tip-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}

.tip-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.tip-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Lead Form --- */
.form-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.form-section h2,
.form-section .section-label {
  color: var(--white);
}

.form-section .section-desc {
  color: rgba(255,255,255,0.8);
}

.lead-form {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.9);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
}

.form-group select option {
  background: var(--primary-dark);
  color: var(--white);
}

.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.consent-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent-light);
}

.consent-group label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  cursor: pointer;
}

.consent-group a {
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 0.9rem 2rem;
  background: var(--white);
  color: var(--primary-dark);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-submit:hover {
  background: var(--bg-alt);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success svg {
  width: 56px;
  height: 56px;
  stroke: var(--white);
  margin-bottom: 1rem;
}

.form-success h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: rgba(255,255,255,0.8);
}

/* --- Image Banner --- */
.image-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,61,46,0.2), rgba(15,61,46,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-banner-overlay blockquote {
  color: var(--white);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  text-align: center;
  max-width: 600px;
  padding: 0 2rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand svg {
  width: 30px;
  height: 30px;
  fill: var(--primary-light);
}

.footer-brand span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.25rem;
}

.footer-disclaimer a {
  color: rgba(255,255,255,0.55);
}

.footer-disclaimer a:hover {
  color: var(--white);
}

/* --- Inner Pages --- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 6rem 0 3rem;
  margin-top: var(--header-height);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

.page-content {
  padding: 3rem 0 5rem;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.page-content h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.page-content ul, .page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.page-content strong {
  color: var(--primary-dark);
}

.disclaimer-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}

.disclaimer-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .seasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .nav-toggle {
    display: block;
  }

  .header-nav-wrap {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .header-nav-wrap.open {
    transform: translateX(0);
  }

  .main-nav {
    flex-direction: column;
    gap: 0.25rem;
  }

  .main-nav a {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }

  .lang-toggle {
    margin: 1rem 0 0 0;
    align-self: flex-start;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .seasons-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .image-banner {
    height: 280px;
  }

  .image-banner-overlay blockquote {
    font-size: 1.15rem;
  }

  section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .site-logo span {
    font-size: 0.95rem;
  }

  .season-card {
    padding: 1.5rem 1rem;
  }
}
