/* ═══════════════════════════════════════════════════════
   Travelator — Marketing Website Styles
   Warm, friendly, family-oriented travel brand
   ═══════════════════════════════════════════════════════ */

:root {
  /* ── Colour Palette ── */
  --primary:        #0D9488;
  --primary-dark:   #0F766E;
  --primary-light:  #CCFBF1;
  --accent:         #FCD34D;
  --accent-light:   #FFFBEB;

  --bg:             #FAFDFB;
  --surface:        #FFFFFF;
  --surface-alt:    #F0FDFA;

  --text:           #2D2A26;
  --text-muted:     #7A7268;
  --text-light:     #A89F95;

  --border:         #EDE4DB;
  --border-light:   #F5EFE9;

  --success:        #5B9A6B;
  --warning:        #E8A838;

  /* ── Typography ── */
  --font-heading:   'Quicksand', sans-serif;
  --font-body:      'Nunito Sans', sans-serif;

  /* ── Spacing & Radii ── */
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  /* ── Shadows ── */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.10);

  /* ── Transitions ── */
  --transition:     0.2s ease;
}

/* ═══════════════════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* ═══════════════════════════════════════════════════════
   Layout Utilities
   ═══════════════════════════════════════════════════════ */

.section {
  padding: 100px 24px;
}

.section-alt {
  background: var(--surface-alt);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 0 auto;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════ */

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 253, 251, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 14px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  transition: opacity var(--transition);
}

.nav-logo:hover {
  opacity: 0.8;
  color: var(--text);
}

.nav-logo-img {
  height: 36px;
  width: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════ */

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}

.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-body);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--text);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* ═══════════════════════════════════════════════════════
   Legacy Banner
   ═══════════════════════════════════════════════════════ */

.legacy-banner {
  background: linear-gradient(135deg, var(--accent-light) 0%, #FEF9E7 100%);
  border-bottom: 1px solid var(--accent);
  padding: 14px 24px;
  text-align: center;
}

.legacy-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.legacy-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: var(--text);
  white-space: nowrap;
}

.legacy-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.legacy-text strong {
  color: var(--text);
}

.legacy-link {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.2);
}

.legacy-link:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .legacy-banner-inner {
    flex-direction: column;
    gap: 8px;
  }

  .legacy-text {
    font-size: 0.88rem;
  }
}

/* ═══════════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════════ */

.hero {
  position: relative;
  padding: 120px 24px 100px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13, 148, 136, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(252, 211, 77, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   Steps Grid (How It Works)
   ═══════════════════════════════════════════════════════ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: var(--border);
  font-family: var(--font-heading);
  line-height: 1;
}

.step-icon {
  color: var(--primary);
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   Features Grid
   ═══════════════════════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  color: var(--primary);
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════
   Showcase
   ═══════════════════════════════════════════════════════ */

.showcase-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.showcase-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.showcase-icon {
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
}

.showcase-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.showcase-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   CTA Section
   ═══════════════════════════════════════════════════════ */

.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, #0F766E 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 40px rgba(13, 148, 136, 0.3);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.cta-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
  background: rgba(255,255,255,0.95);
  color: var(--text);
}

.cta-input:focus {
  border-color: rgba(255,255,255,0.6);
}

.cta-input::placeholder {
  color: var(--text-light);
}

.cta-card .btn-primary {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.cta-card .btn-primary:hover {
  background: #FDE68A;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-note {
  margin-top: 16px;
  font-size: 0.8rem;
  opacity: 0.65;
}

/* ═══════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════ */

.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 38px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .steps-grid,
  .features-grid,
  .showcase-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 20px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .hero {
    padding: 80px 20px 64px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .steps-grid,
  .features-grid,
  .showcase-wrapper {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.btn-primary) {
    display: none;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-form {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-tagline {
    margin-left: 0;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}