/* ============================================
   ROOT & DESIGN TOKENS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-primary: #f5f3ef;
  --bg-dark: #0e0e0e;
  --bg-surface: #141414;
  --bg-card: #1a1a1a;
  --bg-card-hover: #202020;
  --border: rgba(255,255,255,0.07);
  --border-light: rgba(0,0,0,0.08);
  --accent: #d4a853;
  --accent-dim: rgba(212,168,83,0.15);
  --accent-glow: rgba(212,168,83,0.3);
  --text-primary-dark: #f0ede8;
  --text-secondary-dark: rgba(240,237,232,0.5);
  --text-primary-light: #0e0e0e;
  --text-secondary-light: rgba(14,14,14,0.55);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary-dark);
  overflow-x: hidden;
}

* { cursor: auto; }

::selection { background: var(--accent); color: var(--bg-dark); }

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

a { text-decoration: none; color: inherit; }

ul, ol { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   CUSTOM CURSOR — disabled, using default
   ============================================ */
.cursor { display: none; }
.cursor-dot { display: none; }
.cursor-ring { display: none; }

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #e8c06a);
  z-index: 9000;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition), border-bottom var(--transition);
}

.nav.scrolled {
  background: rgba(14,14,14,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-primary-dark);
  transition: color var(--transition-fast);
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary-dark);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover { color: var(--text-primary-dark); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 100px;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  background: #e8c06a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-primary-dark);
  transition: var(--transition-fast);
}

/* Mobile nav overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-mobile-overlay.open { opacity: 1; pointer-events: all; }

.nav-mobile-overlay .nav-link {
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary-dark);
  letter-spacing: -0.02em;
  text-transform: none;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
  box-sizing: border-box;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #d4a853, transparent);
  top: -150px; right: -100px;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6366f1, transparent);
  bottom: 0; left: 10%;
  animation-delay: 3s;
}

.hero-glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #06b6d4, transparent);
  top: 30%; right: 20%;
  animation-delay: 5s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 48px 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.15s forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary-dark);
  background: rgba(255,255,255,0.03);
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

.hero-meta-divider {
  width: 1px; height: 16px;
  background: var(--border);
}

.hero-meta-text {
  font-size: 0.75rem;
  color: var(--text-secondary-dark);
  letter-spacing: 0.04em;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary-dark);
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}

.hero-headline .accent-word {
  color: transparent;
  -webkit-text-stroke: 1px rgba(240,237,232,0.3);
}

.hero-headline .highlight { color: var(--accent); }

.hero-sub {
  margin-top: 32px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
}

.hero-desc {
  max-width: 400px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary-dark);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.65s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  background: #e8c06a;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--accent-glow);
}

.btn-primary svg { transition: transform var(--transition-fast); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary-dark);
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary-dark);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1.2s cubic-bezier(0.16,1,0.3,1) 1.1s forwards;
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary-dark);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

.hero-stats {
  position: absolute;
  right: 48px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  animation: fadeIn 1s cubic-bezier(0.16,1,0.3,1) 0.8s forwards;
}

.hero-stat {
  text-align: right;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-primary-dark);
  letter-spacing: -0.03em;
}

.hero-stat-num span { color: var(--accent); }

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section {
  padding: 120px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary-dark);
}

.section-subheading {
  margin-top: 16px;
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary-dark);
}

/* ============================================
   REVEAL ANIMATIONS — Smooth & Futuristic
   ============================================ */

/* Base — fade up with blur */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(4px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

/* Fade + scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.93) translateY(22px);
  filter: blur(4px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

/* Fade from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  filter: blur(4px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

/* Fade from right */
.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  filter: blur(4px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

/* Visible state — all types */
.reveal.visible,
.reveal-scale.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
  filter: blur(0px);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.28s; }
.reveal-delay-4 { transition-delay: 0.38s; }
.reveal-delay-5 { transition-delay: 0.48s; }

/* ============================================
   ABOUT / BIO SECTION
   ============================================ */
.about-section {
  background: var(--bg-primary);
  padding: 0;
}

.about-inner {
  padding: 120px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.about-portrait-wrap {
  position: relative;
}

.about-portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-dark);
}

.about-portrait-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-portrait-card:hover img { transform: scale(1.03); }

.about-portrait-accent {
  position: absolute;
  top: -20px; right: -20px;
  width: 140px; height: 140px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.about-portrait-accent .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--bg-dark);
  letter-spacing: -0.04em;
}

.about-portrait-accent .label {
  font-size: 0.7rem;
  color: rgba(14,14,14,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.about-content { color: var(--text-primary-light); }

.about-content .section-tag { color: var(--accent); }

.about-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary-light);
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary-light);
  margin-bottom: 20px;
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.skill-tag {
  padding: 6px 16px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary-light);
  background: transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--text-primary-light);
  background: var(--accent-dim);
}

.about-cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--bg-dark);
  color: var(--text-primary-dark);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section { background: var(--bg-dark); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg-surface);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover { background: var(--bg-card); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(212,168,83,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.service-icon svg { color: var(--accent); }

.service-num {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary-dark);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary-dark);
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.service-card:hover .service-more { opacity: 1; transform: translateY(0); }

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section { background: var(--bg-dark); padding-top: 0; }

.projects-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-secondary-dark);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.filter-btn:hover {
  border-color: rgba(212,168,83,0.4);
  color: var(--text-primary-dark);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
  font-weight: 600;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.projects-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary-dark);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.projects-link:hover { color: var(--accent); gap: 12px; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  will-change: transform;
}

.project-card:hover { transform: translateY(-6px); border-color: rgba(212,168,83,0.25); box-shadow: 0 20px 48px rgba(0,0,0,0.35); }

/* Video project card — 9:16 aspect ratio */
.project-thumb--video {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.project-thumb--video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  display: block;
}

.project-thumb--video .project-tag-bubble {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
}

.project-card--video .project-thumb-overlay {
  pointer-events: none;
}

.project-card.hidden {
  display: none !important;
}

.project-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-card);
}

.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}

.project-card:hover .project-thumb img { transform: scale(1.06); }

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(14,14,14,0.6));
}

.project-tag-bubble {
  position: absolute;
  top: 16px; right: 16px;
  padding: 5px 12px;
  background: rgba(14,14,14,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.project-info { padding: 24px 28px 28px; }

.project-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary-dark);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-secondary-dark);
  margin-bottom: 20px;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-techs {
  display: flex;
  gap: 8px;
}

.project-tech {
  font-size: 0.7rem;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary-dark);
}

.project-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary-dark);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.project-card:hover .project-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
  transform: rotate(-45deg);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: var(--bg-primary);
  padding: 120px 0;
}

.testimonials-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.testimonials-track-wrap {
  overflow: hidden;
  margin-top: 64px;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-card {
  flex: 0 0 calc(33.33% - 14px);
  padding: 36px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg { color: var(--accent); }

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary-light);
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary-light);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-secondary-light);
  margin-top: 2px;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.testimonials-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary-light);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.testimonials-btn:hover {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #fff;
}

.testimonials-dots {
  display: flex;
  gap: 6px;
}

.testimonials-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast), width var(--transition-fast);
}

.testimonials-dot.active { background: var(--bg-dark); width: 20px; border-radius: 3px; }

/* ============================================
   VIDEO ADS SECTION
   ============================================ */
.video-ads-section { background: var(--bg-dark); }

.video-ads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}

.video-ad-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  will-change: transform;
}

.video-ad-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,168,83,0.35);
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
}

/* 9:16 ratio container */
.video-ad-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}

.video-ad-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* 16:9 landscape ratio */
.video-ad-frame--wide { aspect-ratio: 16 / 9; }

/* 4:3 ratio */
.video-ad-frame--43 { aspect-ratio: 4 / 3; }

/* Landscape card — spans full row at end */
.video-ad-card--wide { grid-column: 1 / -1; }

.video-ad-card--half { grid-column: span 1; }
.video-ad-card--half:nth-child(4) { grid-column: 1 / span 2; }
.video-ad-card--half:nth-child(5) { grid-column: 3 / span 1; }

.video-ad-info {
  padding: 20px 22px 24px;
}

.video-ad-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.video-ad-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.video-ad-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-secondary-dark);
}

@media (max-width: 1100px) {
  .video-ads-grid { grid-template-columns: repeat(2, 1fr); }
  .video-ad-card--wide { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .video-ads-grid { grid-template-columns: 1fr; }
  .video-ad-card--wide { grid-column: 1 / -1; }
}

/* Responsive */
@media (max-width: 1100px) {
  .video-ads-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .video-ads-grid { grid-template-columns: 1fr; }
}

/* ============================================
   BLOG / INSIGHTS SECTION
   ============================================ */
.blog-section { background: var(--bg-dark); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.blog-featured { grid-column: span 1; }

.blog-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,168,83,0.25);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}

.blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-card);
  position: relative;
}

.blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  display: block;
}

.blog-card:hover .blog-thumb img { transform: scale(1.05); }

.blog-featured .blog-thumb { aspect-ratio: 16/9; }

.blog-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

.blog-content {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.blog-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary-dark);
  line-height: 1.4;
  flex: 1;
}

.blog-featured .blog-title { font-size: 1.1rem; }

.blog-excerpt {
  display: none;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.blog-date {
  font-size: 0.7rem;
  color: var(--text-secondary-dark);
  letter-spacing: 0.03em;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition-fast), opacity var(--transition-fast);
}

.blog-card:hover .blog-read-more { gap: 9px; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--bg-dark);
  padding: 0 0 120px;
}

.contact-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.contact-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.contact-left {
  padding: 72px 64px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.contact-left-glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.12), transparent);
  top: -100px; left: -100px;
  pointer-events: none;
}

.contact-invite {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary-dark);
  margin-bottom: 20px;
}

.contact-invite span { color: var(--accent); }

.contact-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary-dark);
  max-width: 340px;
  margin-bottom: 48px;
}

.contact-info-items { display: flex; flex-direction: column; gap: 20px; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(212,168,83,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.72rem;
  color: var(--text-secondary-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.9rem;
  color: var(--text-primary-dark);
  font-weight: 500;
}

.contact-right {
  padding: 72px 64px;
  background: var(--bg-card);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary-dark);
}

.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary-dark);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  width: 100%;
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(240,237,232,0.25); }

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  background: rgba(212,168,83,0.05);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select option { background: var(--bg-card); }

.form-submit {
  margin-top: 8px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  width: 100%;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.form-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.form-submit:hover {
  background: #e8c06a;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px var(--accent-glow);
}

.form-submit:hover::after { transform: translateX(100%); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 48px 40px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--text-primary-dark);
  margin-bottom: 16px;
}

.footer-brand-logo span { color: var(--accent); }

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary-dark);
  max-width: 280px;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary-dark);
  font-size: 0.85rem;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.footer-social:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary-dark);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary-dark);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link:hover { color: var(--text-primary-dark); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-secondary-dark);
}

.footer-copy span { color: var(--accent); }

.footer-back-top {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary-dark);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.footer-back-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS — Cinematic & Futuristic
   ============================================ */

/* Hero text: elegant slide up with soft blur */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

/* Fade in pure — for stats, hints */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

/* Ambient glow float — slow, dreamy */
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  33%       { transform: translateY(-18px) scale(1.04); }
  66%       { transform: translateY(-8px) scale(0.98); }
}

/* Badge dot pulse — subtle breathe */
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); box-shadow: 0 0 0 0 rgba(212,168,83,0.4); }
  50%       { opacity: 0.7; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(212,168,83,0); }
}

/* Scroll line — smooth draw */
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0) translateY(-4px); transform-origin: top; }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1) translateY(4px); transform-origin: bottom; }
}

/* Shimmer sweep — for accent elements */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Subtle orbit */
@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Glow pulse on accent borders */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,168,83,0); }
  50%       { box-shadow: 0 0 24px 4px rgba(212,168,83,0.18); }
}
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  background: var(--accent);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-dark);
  white-space: nowrap;
}

.marquee-sep { color: rgba(14,14,14,0.4); }

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

/* ============================================
   IMAGE FALLBACK STYLES
   ============================================ */
.about-portrait-card img[src="assets/images/portrait.png"]:not([complete]),
.about-portrait-card img:not([src]) {
  min-height: 400px;
  background: linear-gradient(135deg, #1c1c1c 0%, #222 50%, #1a1a1a 100%);
}

/* Placeholder for project thumbs when image fails */
.project-thumb img {
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
  min-height: 200px;
}

/* Graceful gradient for portrait area */
.about-portrait-card {
  background: linear-gradient(155deg, #1c1c1c 0%, #252525 60%, #1a1a1a 100%);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-mobile-overlay { display: flex; }

  .hero-content { padding: 90px 24px 60px; }
  .hero-stats { display: none; }

  .section { padding: 80px 24px; }
  .about-inner { padding: 80px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-portrait-card { aspect-ratio: 3/2; }

  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-left { padding: 48px 32px; }
  .contact-right { padding: 48px 32px; }

  .footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-inner { padding: 0 24px; }
  .contact-inner { padding: 0 24px; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .hero-desc { font-size: 0.9rem; }
  .hero-content { padding: 80px 20px 50px; }
  .hero-sub { flex-direction: column; gap: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-meta { gap: 12px; flex-wrap: wrap; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .testimonials-track .testimonial-card { flex: 0 0 90%; }
  .form-row { grid-template-columns: 1fr; }
  body { cursor: auto; }
  .cursor { display: none; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Accessibility — disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left, .reveal-right {
    transition: opacity 0.3s ease !important;
    filter: none !important;
    transform: none !important;
  }
  .hero-meta, .hero-headline, .hero-sub, .hero-actions, .hero-stats, .hero-scroll-hint {
    animation: fadeIn 0.3s ease forwards !important;
    filter: none !important;
  }
  .hero-glow { animation: none !important; }
}

/* ===================================================
   LIGHTBOX MODAL STYLES
   =================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  margin: auto;
}

.lightbox-body {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface, #1a1a2e);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease;
}

.lightbox-modal.active .lightbox-body {
  transform: scale(1);
  opacity: 1;
}

#lightbox-img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #000;
  display: block;
}

.lightbox-details {
  padding: 24px 32px;
  background: var(--bg-surface, #1a1a2e);
  border-top: 1px solid var(--border, rgba(255,255,255,0.1));
}

.lightbox-details h3 {
  margin: 0 0 8px 0;
  color: var(--text-primary-dark, #fff);
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.lightbox-details p {
  margin: 0;
  color: var(--text-secondary-dark, rgba(255,255,255,0.65));
  font-size: 0.95rem;
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
  background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .lightbox-content {
    width: 95%;
  }

  #lightbox-img {
    max-height: 50vh;
  }

  .lightbox-details {
    padding: 16px 20px;
  }

  .lightbox-details h3 {
    font-size: 1.15rem;
  }

  .lightbox-details p {
    font-size: 0.85rem;
  }

  .lightbox-close {
    top: -42px;
    right: 4px;
  }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37,211,102,0.6);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 32px rgba(37,211,102,0.75), 0 0 0 8px rgba(37,211,102,0.1); }
}
