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

:root {
  --primary: #166534;
  --primary-light: #22c55e;
  --primary-dark: #0d3320;
  --accent: #22c55e;
  --accent-light: #4ade80;
  --dark: #0a0a0a;
  --dark-card: #111111;
  --gray-900: #111111;
  --gray-700: #a1a1aa;
  --gray-500: #71717a;
  --gray-300: #27272a;
  --gray-100: #18181b;
  --white: #fafafa;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -4px rgba(0,0,0,0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.5), 0 8px 10px -6px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(34,197,94,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --heading: #fafafa;
  --body: #a1a1aa;
  --muted: #71717a;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --field-bg: rgba(255,255,255,0.03);
  --surface: #111111;
  --surface-hover: #17171a;
  --base: #0a0a0a;
  --base-alt: #000000;
  --nav-bg: rgba(10, 10, 10, 0.9);
  --nav-bg-scrolled: rgba(10, 10, 10, 0.98);
  --nav-border: rgba(34,197,94,0.1);
  --nav-link: rgba(255,255,255,0.7);
  --nav-link-hover: #ffffff;
  --nav-mobile-bg: rgba(10, 10, 10, 0.98);
  --logo-color: var(--white);
}

html[data-theme="light"] {
  --heading: #0a0a0a;
  --body: #52525b;
  --muted: #71717a;
  --line: rgba(0,0,0,0.10);
  --line-strong: rgba(0,0,0,0.16);
  --field-bg: #f4f4f5;
  --surface: #ffffff;
  --surface-hover: #fafafa;
  --base: #f7f7f5;
  --base-alt: #efefec;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.08);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.98);
  --nav-border: rgba(0,0,0,0.08);
  --nav-link: #333333;
  --nav-link-hover: var(--accent);
  --nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --logo-color: #111111;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--body);
  line-height: 1.6;
  background-color: var(--base);
  overflow-x: hidden;
}

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

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

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

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hero entrance animation */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroLineGrow {
  from { width: 0; }
  to { width: 60px; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 40px rgba(34,197,94,0.4); }
}

.hero-animated h1 {
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animated .hero-line {
  animation: heroLineGrow 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animated p {
  animation: heroFadeIn 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-animated .hero-buttons {
  animation: heroFadeIn 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34,197,94,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-3px);
  border-color: var(--white);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  transition: all var(--transition);
  padding-top: env(safe-area-inset-top, 0px);
}

.navbar.scrolled {
  background: var(--nav-bg-scrolled);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

html[data-theme="light"] .navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--logo-color);
  letter-spacing: 2px;
}

.logo img {
  height: 52px;
  width: auto;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  color: var(--nav-link);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--nav-link-hover);
  background: rgba(34,197,94,0.08);
}

.nav-links a:hover::after {
  width: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--logo-color);
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.nav-toggle-btn {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.nav-toggle-btn:hover {
  background: rgba(34,197,94,0.25);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.lang-wrap {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  line-height: 1;
}

.lang-toggle svg,
.lang-opt svg {
  display: block;
}

.lang-bar {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 200;
  pointer-events: none;
}

.lang-wrap.lang-open .lang-bar {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 4px;
  opacity: 0.75;
  transition: all 0.15s ease;
  line-height: 1;
}

.lang-opt:hover {
  opacity: 1;
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .nav-controls {
    margin-left: 0;
    padding: 14px 18px 20px;
  }

  .nav-toggle-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .lang-toggle {
    padding: 6px 10px;
  }

  .lang-bar {
    right: auto;
    left: 0;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #000000 0%, #0a1a10 30%, #0d3320 60%, #166534 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(34,197,94,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34,197,94,0.06) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(34,197,94,0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(13,51,32,0.6) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 20px 80px;
  opacity: 0;
}

.hero-animated .hero-content {
  opacity: 1;
}

.hero-line {
  width: 0;
  height: 4px;
  background: var(--accent);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.accent {
  color: var(--accent);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats */
.stats {
  background: var(--base-alt);
  padding: 60px 0;
  border-top: 1px solid rgba(34,197,94,0.1);
  border-bottom: 1px solid rgba(34,197,94,0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat-item:hover {
  background: rgba(34,197,94,0.05);
}

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(34,197,94,0.1);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(34,197,94,0.15);
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--heading);
}

/* Hakkımızda */
.hakkimizda {
  padding: 100px 0;
  background: var(--base);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--body);
}

.about-list {
  list-style: none;
  margin-top: 24px;
}

.about-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--body);
  font-weight: 500;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(34,197,94,0.1) 100%);
}

/* Projeler */
.projeler {
  padding: 100px 0;
  background: var(--base-alt);
}

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

.project-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--line);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: rgba(34,197,94,0.3);
}

.project-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
}

.project-card:hover .project-image svg {
  transform: scale(1.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-info {
  padding: 20px 24px 24px;
  position: relative;
  z-index: 1;
}

.project-type {
  display: inline-block;
  background: rgba(34,197,94,0.12);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.project-info p {
  color: var(--muted);
  font-size: 0.9rem;
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition);
}

.project-img-count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.projects-more {
  text-align: center;
  margin-top: 48px;
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Hizmetler */
.hizmetler {
  padding: 100px 0;
  background: var(--base);
}

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

.service-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--surface);
}

.service-card:hover {
  border-color: rgba(34,197,94,0.3);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(34,197,94,0.1);
  transform: translateY(-6px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(34,197,94,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(34,197,94,0.2);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.service-card p {
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CTA */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a7a3e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(34,197,94,0.15) 0%, transparent 60%);
}

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.cta p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  font-size: 1.05rem;
  position: relative;
}

.cta .btn {
  position: relative;
}

/* İletişim */
.iletisim {
  padding: 100px 0;
  background: var(--base-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  border: 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  padding: 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-item:hover {
  background: rgba(34,197,94,0.05);
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: rgba(34,197,94,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition);
  background: var(--field-bg);
  color: var(--heading);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
  background: rgba(34,197,94,0.03);
}

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

/* Footer */
.footer {
  background: #000000;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(34,197,94,0.1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .logo {
  margin-bottom: 12px;
  color: rgba(255,255,255,0.9);
}

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

.footer-brand p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: calc(72px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    background: var(--nav-mobile-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid var(--nav-border);
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    display: block;
    padding: 14px 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 100px 16px 60px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .contact-form {
    padding: 24px 20px;
  }
}

/* ===== WhatsApp Widget ===== */
.wa-widget {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.wa-launcher {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  color: #fff;
}

.wa-launcher:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.wa-launcher svg {
  width: 34px;
  height: 34px;
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--base);
}

.wa-badge.show {
  display: flex;
}

.wa-box {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wa-box.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.wa-header {
  background: linear-gradient(135deg, #166534, #25d366);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.wa-header-text {
  flex: 1;
  min-width: 0;
}

.wa-header-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-status {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.3);
}

.wa-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.wa-close:hover {
  opacity: 1;
}

.wa-body {
  padding: 16px;
  background: var(--surface);
}

.wa-bubble {
  background: var(--field-bg);
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--body);
  max-width: 85%;
}

.wa-bubble b {
  color: var(--heading);
}

.wa-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.wa-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--field-bg);
  color: var(--heading);
  font-size: 0.86rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.wa-input:focus {
  border-color: var(--accent);
}

.wa-input::placeholder {
  color: var(--muted);
}

.wa-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: none;
  background: #25d366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.wa-send:hover {
  background: #1fb957;
  transform: translateY(-1px);
}

.wa-open-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--field-bg);
  color: var(--heading);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
  box-sizing: border-box;
}

.wa-open-link:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.08);
  color: #25d366;
}

.wa-footer-note {
  margin-top: 10px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .wa-box {
    width: calc(100vw - 40px);
  }
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, var(--primary-dark) 0%, #050705 75%);
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.no-scroll {
  overflow: hidden;
}

.splash.splash-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: splashScale 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.splash-logo img {
  width: min(52vw, 480px);
  height: auto;
  filter: drop-shadow(0 0 22px rgba(34, 197, 94, 0.45)) drop-shadow(0 0 60px rgba(34, 197, 94, 0.25));
  animation: splashGlow 1.8s ease-in-out 0.4s both;
}

.splash-logo::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 78%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.45), transparent 70%);
  filter: blur(4px);
  animation: splashPlatform 2s ease-in-out 0.4s both;
}

@keyframes splashPlatform {
  0% { opacity: 0; transform: translateX(-50%) scaleX(0.4); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

@keyframes splashScale {
  0% { opacity: 0; transform: scale(0.55); }
  55% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes splashGlow {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(34, 197, 94, 0.35)); }
  50% { filter: drop-shadow(0 0 42px rgba(34, 197, 94, 0.65)); }
}
