/* =======================================
   LUCASVN.COM — Portfolio 2026
   Design: Emerald Green · Light · Premium
   Font: Outfit (heading) + Inter (body)
   ======================================= */

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

:root {
  --emerald: #2ABB9B;
  --emerald-dark: #1fa886;
  --emerald-light: #e8faf6;
  --emerald-pale: #f0fdf9;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --orange: #f97316;
  --blue: #3b82f6;
  --purple: #8b5cf6;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 48px rgba(0,0,0,0.12);
  --shadow-emerald: 0 8px 24px rgba(42,187,155,0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}
.btn-primary:hover {
  background: var(--emerald-dark);
  border-color: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-emerald);
}
.btn-outline {
  background: transparent;
  color: var(--slate-700);
  border-color: var(--slate-300);
}
.btn-outline:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* --- SECTION COMMON --- */
section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--slate-500);
  max-width: 540px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

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

/* =====================
   NAVIGATION
   ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--slate-100);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  flex-shrink: 0;
}
.nav-logo::after {
  content: '.';
  color: var(--emerald);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-500);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--emerald); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================
   HERO
   ===================== */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, var(--white) 0%, var(--emerald-pale) 100%);
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-light);
  border: 1px solid rgba(42,187,155,0.3);
  color: var(--emerald-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; }
.hero-photo-wrap {
  position: relative;
  width: 380px;
  height: 440px;
}
.hero-photo-bg {
  position: absolute;
  inset: 20px 20px 0 0;
  background: var(--emerald-light);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(42,187,155,0.2);
}
.hero-photo-placeholder {
  position: absolute;
  inset: 0 0 20px 20px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}
.hero-photo-placeholder svg { width: 140px; height: 140px; }
.photo-hint {
  font-size: 0.8rem;
  color: var(--slate-300);
  font-style: italic;
}

/* Floating cards */
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  min-width: 180px;
  z-index: 10;
  animation: float 3s ease-in-out infinite;
}
.floating-card strong { display: block; color: var(--slate-900); font-weight: 700; font-size: 0.9rem; }
.floating-card small { color: var(--slate-500); }
.card-icon { font-size: 1.2rem; }
.card-seo { top: 40px; right: -20px; animation-delay: 0s; }
.card-data { bottom: 60px; left: -20px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Hero scroll hint */
.hero-scroll-hint {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.scroll-dot {
  width: 6px;
  height: 40px;
  background: linear-gradient(to bottom, var(--emerald), transparent);
  border-radius: 4px;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =====================
   IMPACT NUMBERS
   ===================== */
.impact {
  padding: 64px 0;
  background: var(--slate-900);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.impact-item:last-child { border-right: none; }
.impact-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 8px;
}
.impact-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =====================
   PORTFOLIO / CASE STUDIES
   ===================== */
.portfolio { background: var(--white); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(42,187,155,0.2);
}
.portfolio-card:hover::before { transform: scaleX(1); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-flag { font-size: 2rem; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag-emerald { background: var(--emerald-light); color: var(--emerald-dark); }
.tag-blue { background: #eff6ff; color: #1d4ed8; }
.tag-orange { background: #fff7ed; color: #c2410c; }
.tag-purple { background: #f5f3ff; color: #6d28d9; }

.card-agency {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.card-desc {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.7;
}
.card-brands {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.card-brands strong { color: var(--slate-700); }
.brand-chip {
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px solid var(--slate-100);
  margin-top: auto;
}
.card-kpis { display: flex; gap: 8px; flex-wrap: wrap; }
.kpi-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--slate-100);
  color: var(--slate-700);
  border-radius: 100px;
}
.kpi-badge.kpi-green { background: var(--emerald-light); color: var(--emerald-dark); }
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--emerald);
  white-space: nowrap;
  transition: color var(--transition);
}
.card-link:hover { color: var(--emerald-dark); }

/* =====================
   BRANDS MARQUEE
   ===================== */
.brands {
  padding: 64px 0;
  background: var(--slate-100);
  overflow: hidden;
}
.brands-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-500);
  margin-bottom: 32px;
}
.marquee-wrap { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-logos { display: flex; gap: 0; }
.logo-item {
  display: inline-flex;
  align-items: center;
  padding: 0 48px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-500);
  white-space: nowrap;
  border-right: 1px solid var(--slate-300);
  transition: color var(--transition);
}
.logo-item:hover { color: var(--emerald); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================
   ABOUT + SKILLS
   ===================== */
.about { background: var(--emerald-pale); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 8px 0 20px;
}
.about-bio {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--slate-500);
  margin-bottom: 32px;
}
.about-bio strong { color: var(--slate-900); }

.education-strip { display: flex; flex-direction: column; gap: 14px; }
.edu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.edu-icon { font-size: 1.3rem; }
.edu-item strong { display: block; font-size: 0.95rem; color: var(--slate-900); }
.edu-item small { font-size: 0.82rem; color: var(--slate-500); }

.skills-group { margin-bottom: 28px; }
.skills-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.skills-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-badge {
  padding: 7px 14px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: var(--transition);
  cursor: default;
}
.skill-badge:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-light);
}

/* =====================
   BLOG
   ===================== */
.blog { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-100);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.blog-img-1 { background: linear-gradient(135deg, #1a3c34 0%, #2ABB9B 100%); }
.blog-img-2 { background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%); }
.blog-img-3 { background: linear-gradient(135deg, #2d1b69 0%, #8b5cf6 100%); }

.blog-body { padding: 24px; }
.blog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin-bottom: 10px;
  display: block;
}
.blog-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--slate-900);
}
.blog-excerpt {
  font-size: 0.88rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--emerald);
  transition: color var(--transition);
}
.blog-link:hover { color: var(--emerald-dark); }

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

/* =====================
   CONTACT
   ===================== */
.contact {
  background: var(--slate-900);
  padding-top: 100px;
  padding-bottom: 100px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.section-label-white {
  background: rgba(42,187,155,0.2);
  color: var(--emerald);
}
.contact-title {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 12px 0 16px;
}
.contact-sub {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.contact-link:hover {
  background: rgba(42,187,155,0.1);
  border-color: rgba(42,187,155,0.3);
  color: var(--emerald);
}
.contact-icon { font-size: 1.2rem; }

/* Form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--emerald); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* =====================
   FOOTER
   ===================== */
.footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
  background-color: #07101f;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--emerald); }
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
}

/* =====================
   RESPONSIVE
   ===================== */
.hide-mobile { display: inline; }

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  /* Nav */
  .nav-links, .nav-cta {
    display: none;
  }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .nav-links.open ~ .nav-cta { display: flex; }

  /* Hero */
  .hero { padding-top: 120px; padding-bottom: 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hide-mobile { display: none; }
  .hero-ctas { flex-direction: row; }

  /* Impact */
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .impact-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .impact-item:nth-last-child(-n+2) { border-bottom: none; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 480px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; }
  .btn-lg { width: 100%; }
}

/* =====================
   ANIMATIONS
   ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
