/* ==========================================================================
   TRAVELWILD — TIJDELIJKE LANDINGSPAGINA STYLESHEET
   Afgestemd op de actuele Travelwild web setup
   ========================================================================== */

:root {
  /* Huisstijl Kleurenpalet (conform globals.css / Brand Guide) */
  --primary: #122b22;                /* Deep Forest Pine */
  --primary-foreground: #faf7f2;     /* Earth Sand */
  --background: #0b1914;             /* Night Forest */
  --foreground: #faf7f2;             /* Warm Chalk / Sand */
  --muted: #1b3028;
  --muted-foreground: #93ada2;       /* Slate Sage */
  --border: rgba(255, 255, 255, 0.12);

  /* Accenten */
  --accent: #d97706;                /* Safari Amber */
  --accent-hover: #f59e0b;
  --color-pine: #2d4a3e;            /* Primaire knopkleur */
  --color-pine-hover: #385b4d;
  --color-gold-border: #c59b6d;     /* Prestige Contact outline & status badge */
  --color-gold-hover: #dfb689;
  --color-emerald: #10b981;

  /* Typografie */
  --font-hero: 'Bebas Neue', Impact, sans-serif;
  --font-brand: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Afronding conform design tokens */
  --radius-sm: 4px;                  /* Architecturale knoppen & badges */
  --radius-xl: 12px;                 /* Inputs, kaarten, social buttons */
  --radius-full: 9999px;             /* Pillen & badges */

  --container-max: 1280px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button, input {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Hero Achtergrond met Directionele Vignette
   (Donker links voor tekstleesbaarheid, helder rechts voor de wandelaar op de top)
   -------------------------------------------------------------------------- */
.hero-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right 30% center;
  transform: scale(1.02);
  filter: brightness(0.9) contrast(1.04);
}

@media (min-width: 1024px) {
  .hero-image {
    background-position: center right;
  }
}

/* Links-naar-rechts verloop: 88% donker links tot transparant rechts */
.hero-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 25, 20, 0.95) 0%,
    rgba(11, 25, 20, 0.88) 35%,
    rgba(11, 25, 20, 0.45) 65%,
    rgba(11, 25, 20, 0.15) 100%
  );
}

@media (max-width: 768px) {
  .hero-overlay-left {
    background: linear-gradient(
      to bottom,
      rgba(11, 25, 20, 0.92) 0%,
      rgba(11, 25, 20, 0.82) 60%,
      rgba(11, 25, 20, 0.95) 100%
    );
  }
}

.hero-overlay-top {
  position: absolute;
  inset-x: 0;
  top: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(11, 25, 20, 0.85) 0%, transparent 100%);
}

.hero-overlay-bottom {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(11, 25, 20, 0.9) 0%, transparent 100%);
}

/* --------------------------------------------------------------------------
   Pagina Wrapper & Header
   -------------------------------------------------------------------------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  position: relative;
  z-index: 50;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: linear-gradient(180deg, rgba(11, 25, 20, 0.8) 0%, transparent 100%);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo img {
  width: 145px;
  height: auto;
}

@media (min-width: 640px) {
  .brand-logo img {
    width: 165px;
  }
}

/* Statusbadge met goud/amber rand (overeenkomstig de Contact-knop in Header.tsx) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-gold-border);
  background: rgba(11, 25, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  box-shadow: 0 0 8px var(--color-emerald);
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--color-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 1; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Hero Content & Typografie (Conform HeroBlock.tsx)
   -------------------------------------------------------------------------- */
.site-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero-content {
  max-width: 680px;
  text-align: left;
}

.hero-badge {
  margin-bottom: 1.25rem;
}

.badge-accent {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.35rem 0.95rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.hero-heading {
  font-family: var(--font-hero);
  font-size: clamp(3.2rem, 6.8vw, 5.6rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.text-accent {
  color: var(--accent);
}

.hero-subheading {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(250, 247, 242, 0.92);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Inschrijvingspaneel (Geïntegreerd, Clean & Strak)
   -------------------------------------------------------------------------- */
.signup-panel {
  background: rgba(17, 35, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  max-width: 580px;
}

@media (min-width: 640px) {
  .signup-panel {
    padding: 2.25rem;
  }
}

.signup-header {
  margin-bottom: 1.5rem;
}

.signup-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-border);
  margin-bottom: 0.35rem;
}

.signup-title {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.signup-desc {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Formulier (Enkel Naam & E-mail) */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

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

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1.25fr;
  }

  .form-group-full {
    grid-column: 1 / -1;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--foreground);
}

.form-label .optional {
  font-weight: 400;
  color: var(--muted-foreground);
  font-size: 11px;
}

.form-label .required {
  color: var(--accent);
}

/* Input matching travelwild Input.tsx */
.form-input {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 25, 20, 0.65);
  padding: 0 1rem;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-input:focus {
  border-color: var(--color-gold-border);
  background: rgba(11, 25, 20, 0.9);
  box-shadow: 0 0 0 3px rgba(197, 155, 109, 0.25);
}

.form-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

.form-error {
  font-size: 11px;
  color: #f87171;
  font-weight: 500;
  min-height: 0;
}

.form-error:not(:empty) {
  min-height: 14px;
}

/* Knoppen conform HeroBlock.tsx: bg-[#2d4a3e] hover:bg-[#385b4d] */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
}

.btn-pine {
  background-color: var(--color-pine);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.btn-pine:hover {
  background-color: var(--color-pine-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-pine:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-icon {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.btn-pine:hover .btn-icon {
  transform: translateX(3px);
}

/* Spinner */
.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.is-loading .btn-text,
.is-loading .btn-icon {
  visibility: hidden;
}

.is-loading .spinner {
  display: block;
  position: absolute;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 11px;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.privacy-note svg {
  flex-shrink: 0;
  color: var(--color-gold-border);
}

/* Successtatus */
.signup-success-state {
  text-align: center;
  padding: 1rem 0;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid var(--color-emerald);
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.success-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.success-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-border);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gold-border);
  background: rgba(197, 155, 109, 0.1);
}

/* --------------------------------------------------------------------------
   Features Bar (Exact conform FeaturesBlock.tsx in Travelwild web)
   -------------------------------------------------------------------------- */
.features-bar {
  background: rgba(11, 25, 20, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: transform 0.25s ease, color 0.25s ease;
}

.feature-item:hover .feature-icon-wrapper {
  transform: scale(1.08);
  color: var(--accent);
}

.feature-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.feature-desc {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 320px;
}

/* --------------------------------------------------------------------------
   Footer (Gecentreerd & Zonder Social/Contact)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  opacity: 0.95;
  transition: transform 0.2s ease;
}

.footer-logo-icon:hover {
  transform: scale(1.05);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.footer-title {
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffffff;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.75);
}

.footer-copyright {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.footer-copyright .copyright {
  font-size: 12px;
  color: rgba(250, 247, 242, 0.55);
}

/* --------------------------------------------------------------------------
   Toegankelijkheid & Focus
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
