@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
  --bg-color: #0d110d; /* Very dark forest black */
  --panel-bg: rgba(18, 27, 20, 0.75); /* Deep green-ish dark */
  --accent-color: #2e7d32; /* Rich Forest Green */
  --text-primary: #ecfdf5; /* Off-white with mint touch */
  --text-secondary: #94a3b8; /* Slate / Neutral */
  --glass-border: rgba(255, 255, 255, 0.08);
  --header-gradient: linear-gradient(135deg, #1b5e20 0%, #43a047 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  padding-top: 80px; /* Space for fixed header */
  overflow-x: hidden;
}

/* Reusable Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.center { text-align: center; }

/* Background blob animations */
.blob {
  position: fixed;
  width: 600px;
  height: 600px;
  background: var(--header-gradient);
  filter: blur(120px);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.1;
  animation: move 25s infinite alternate linear;
}

@keyframes move {
  from { transform: translate(-20%, -20%); }
  to { transform: translate(20%, 20%); }
}

/* Typography */
h1, h2, h3 {
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  background: var(--header-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 2.2rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--header-gradient);
  color: white;
  box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.1);
}

.btn.big {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}

/* HERO */
.hero {
  padding: 12rem 0 10rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(13, 17, 13, 0.6), rgba(13, 17, 13, 0.7)), url('../img/hero_motorhome.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom, #ffffff 30%, #a8e6cf 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* TRUST BAR */
.trust {
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin: 4rem auto;
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.trust-grid div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.3s ease;
}

.trust-grid i {
  color: var(--accent-color);
  width: 20px;
  height: 20px;
}

.trust-grid div:hover {
  color: var(--text-primary);
}

/* HOW IT WORKS (STEPS) */
section {
  padding: 8rem 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.step {
  background: var(--panel-bg);
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  transition: 0.3s;
  position: relative;
}

.step:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  font-weight: 800;
}

.step-header i {
  color: var(--accent-color);
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-secondary);
}

/* SERVICES GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2.5rem;
  background: var(--panel-bg);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.card i {
  display: block;
  font-size: 3.5rem;
  color: #a8e6cf;
  margin-bottom: 2rem;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #a8e6cf;
}

/* SEO TEXT */
.seo-text {
  max-width: 800px;
  margin: 0 auto;
}

.seo-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* CTA FINAL */
.cta-final {
  background: linear-gradient(to bottom, rgba(46, 125, 50, 0.1), transparent);
  padding: 8rem 0;
  border-radius: 40px;
  margin: 4rem 2rem;
}

/* LOCATION */
.location iframe {
  border-radius: 24px;
  margin-top: 2rem;
  filter: invert(90%) hue-rotate(100deg) brightness(0.8);
}

/* FOOTER */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.footer-seo-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-links a, .footer-seo-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.3s;
  opacity: 0.7;
}

.footer-links a:hover, .footer-seo-links a:hover {
  color: var(--accent-color);
  opacity: 1;
}

/* FLOATING CTA */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--header-gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.4s;
}

.floating-cta:hover {
  transform: scale(1.05) translateY(-5px);
}

/* Header & Nav Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  height: 65px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.logo-text {
  height: 41px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s ease;
}

.header.scrolled .logo-img {
  width: 53px;
  height: 53px;
}

.header.scrolled .logo-text {
  height: 34px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--header-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* Language Selector */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  background: rgba(0, 0, 0, 0.03);
  padding: 0.3rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn {
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1f2937;
  transition: all 0.3s ease;
  z-index: 2;
}

.lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.lang-dropdown {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-selector.active {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.3rem 0.6rem 0.3rem 0.3rem;
}

.lang-selector.active .lang-dropdown {
  width: 120px;
  opacity: 1;
  padding: 0 0.8rem;
}

.lang-option {
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.lang-option:hover {
  transform: scale(1.2);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1f2937;
  cursor: pointer;
  z-index: 1100;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  display: none; /* Controlled by media query */
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .nav-menu.active { 
    right: 0;
    transform: translateX(0);
  }

  .nav-menu li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu .nav-link { font-size: 1.5rem; }

  .lang-selector { margin-left: auto; margin-right: 1rem; }

  .blob { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  
  .steps { grid-template-columns: 1fr !important; }
  .grid { grid-template-columns: 1fr !important; }
  
  .trust-grid {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
  }

  .trust-grid div {
    justify-content: center;
    width: 100%;
    max-width: 340px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-primary);
    font-size: 0.9rem;
  }

  .trust-grid i {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 5px rgba(46, 125, 50, 0.3));
  }

  .step, .card {
    padding: 2rem 1.5rem;
  }
}
