/*
Theme Name: Factory Theme V2
Author: Website Factory
Version: 2.1 (Premium)
Description: Modern, minimal, and conversion-focused theme for automated sites.
*/

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --bg-light: #f8fafc;
  --text-main: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --font-heading: 'Segoe UI', SYSTEM-UI, sans-serif;
  --font-body: 'Segoe UI', SYSTEM-UI, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

/* --- CORE LAYOUT --- */
.container {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* --- COMPONENTS --- */
.card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border: 1px solid var(--border);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

/* --- HEADER --- */
header {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--primary);
}

/* --- TRAVEL UI OVERHAUL (New) --- */

/* HERO (Full Screen Override) */
.hero-section {
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  position: relative;
  margin-bottom: 0;
  border-radius: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 2px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* SECTIONS COMMON */
.section-wrapper {
  padding: 60px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

.bg-light {
  background: #f8fafc;
}

.bg-dark {
  background: #1e293b;
  color: white;
}

/* OVERLAP SECTION (Intro) */
.overlap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
  align-items: center;
}

.overlap-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 600px;
}

.overlap-content {
  background: var(--white);
  padding: 80px 60px;
  margin-left: -100px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

@media (max-width: 900px) {
  .overlap-grid {
    grid-template-columns: 1fr;
  }

  .overlap-content {
    margin-left: 0;
    margin-top: -50px;
    padding: 40px;
  }

  .overlap-image {
    min-height: 400px;
  }
}

/* ICON STRIP */
.icon-strip {
  background: #111;
  padding: 60px 0;
  color: white;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -50px;
  position: relative;
  z-index: 5;
}

.icon-box {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px;
  text-align: center;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.9);
  /* Lighter for visibility */
  backdrop-filter: blur(5px);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-box h3 {
  margin: 0 0 5px 0;
  color: var(--text-main);
}

.icon-box p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.icon-box:hover {
  transform: translateY(-5px);
}

/* STATS / TEXT SPLIT */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-block h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-block ul {
  list-style: none;
  padding: 0;
}

.text-block li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* ADVENTURE CARDS */
.adventure-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.adventure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.adventure-card:hover img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 30px;
  color: white;
}

.card-overlay h3 {
  margin: 0;
  font-size: 1.5rem;
}

.card-overlay p {
  margin: 5px 0 0;
  opacity: 0.8;
}

/* TESTIMONIAL */
.testimonial-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 60px;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  margin: 20px 0;
  line-height: 1.6;
  color: var(--text-main);
}

/* TESTIMONIAL CAROUSEL */
.testimonial-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  width: 400px;
  flex-shrink: 0;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  text-align: center;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-main);
  margin-top: 20px;
  display: block;
}

/* FAQ (Smooth) */
.faq-item {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question span {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease;
  padding: 0 20px;
  color: var(--text-light);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

/* NEWSLETTER */
.newsletter-section {
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.newsletter-section .container {
  position: relative;
  z-index: 2;
}

.newsletter-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 500px;
  margin: 30px auto 0;
}

.newsletter-form input {
  padding: 15px;
  border-radius: 4px;
  border: none;
  flex: 1;
  min-width: 0;
}

/* FOOTER OVERRIDE */
footer {
    /* background: #111; */
    color: #888;
    /* padding: 80px 0 40px; */
    margin-top: 0;
}

/* Landing page */
.wf-landing {
  --landing-bg: #0a1222;
  --landing-surface: #111d35;
  --landing-text: #e5ecff;
  --landing-muted: #adc0e7;
  --landing-accent: #2ec4b6;
  --landing-accent-2: #ffd166;
  background: radial-gradient(circle at 20% 10%, #1a2f55 0%, #0a1222 48%, #050913 100%);
  color: var(--landing-text);
  font-family: 'Outfit', var(--font-body);
  overflow: hidden;
}

.wf-landing h1,
.wf-landing h2,
.wf-landing h3 {
  font-family: 'Space Grotesk', var(--font-heading);
  letter-spacing: -0.02em;
  margin-top: 0;
}

.wf-landing p {
  margin-top: 0;
}

.wf-landing-hero {
  padding: 92px 0 84px;
  position: relative;
}

.wf-landing-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
}

.wf-landing-eyebrow {
  margin-bottom: 14px;
  color: var(--landing-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
}

.wf-landing h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.wf-landing-lead {
  color: var(--landing-muted);
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.wf-landing-cta-row {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.wf-landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.wf-landing-btn:hover {
  transform: translateY(-2px);
}

.wf-landing-btn-primary {
  background: linear-gradient(120deg, var(--landing-accent), #6ee7de);
  color: #052723;
  box-shadow: 0 12px 24px rgba(46, 196, 182, 0.28);
}

.wf-landing-btn-ghost {
  border-color: rgba(173, 192, 231, 0.4);
  color: var(--landing-text);
  background: rgba(255, 255, 255, 0.03);
}

.wf-landing-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.wf-landing-metric {
  padding: 18px;
  border: 1px solid rgba(173, 192, 231, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.wf-landing-metric span {
  font-family: 'Space Grotesk', var(--font-heading);
  font-size: 1.4rem;
  color: var(--landing-accent);
}

.wf-landing-metric p {
  margin: 4px 0 0;
  color: var(--landing-muted);
}

.wf-landing-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.wf-landing-glow-left {
  width: 260px;
  height: 260px;
  background: #2ec4b6;
  top: -30px;
  left: -70px;
}

.wf-landing-glow-right {
  width: 320px;
  height: 320px;
  background: #4f8cff;
  right: -90px;
  bottom: 20px;
}

.wf-landing-section {
  padding: 72px 0;
}

.wf-landing-section-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.wf-landing-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.wf-landing-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wf-landing-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(173, 192, 231, 0.24);
  border-radius: 18px;
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}

.wf-landing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 196, 182, 0.65);
}

.wf-landing-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.wf-landing-card p {
  color: var(--landing-muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}

.wf-landing-chatbot-band {
  background: linear-gradient(180deg, rgba(17, 29, 53, 0.5), rgba(8, 14, 25, 0.9));
}

.wf-landing-chatbot-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.wf-landing-copy {
  color: var(--landing-muted);
  margin-bottom: 14px;
}

.wf-landing-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.wf-landing-list li {
  margin-bottom: 8px;
  color: var(--landing-muted);
}

.wf-landing-list li::before {
  content: '->';
  margin-right: 8px;
  color: var(--landing-accent-2);
}

.wf-chatbot-preview {
  border-radius: 20px;
  border: 1px solid rgba(173, 192, 231, 0.3);
  background: #0c172b;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(6, 11, 20, 0.45);
}

.wf-chatbot-head {
  padding: 14px 16px;
  background: #132647;
  font-weight: 600;
  color: #e7eeff;
}

.wf-chatbot-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.wf-chat-msg {
  margin: 0;
  padding: 11px 12px;
  border-radius: 12px;
  width: fit-content;
  max-width: 92%;
  font-size: 0.94rem;
}

.wf-chat-msg.bot {
  background: #1a335e;
  color: #d9e6ff;
}

.wf-chat-msg.user {
  margin-left: auto;
  background: #2ec4b6;
  color: #032622;
}

.wf-landing-contact {
  padding-top: 52px;
}

.wf-landing-contact-inner {
  text-align: center;
  max-width: 760px;
}

.wf-landing-contact-inner p {
  color: var(--landing-muted);
}

.wf-landing-contact-meta {
  margin-top: 20px;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .wf-landing-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .wf-landing-hero {
    padding: 70px 0 50px;
  }

  .wf-landing-section {
    padding: 56px 0;
  }

  .wf-landing-metrics,
  .wf-landing-service-grid,
  .wf-landing-chatbot-wrap {
    grid-template-columns: 1fr;
  }

  .wf-landing-glow-left,
  .wf-landing-glow-right {
    display: none;
  }
}
