/* ============================================
   GEOPROJE - Geoteknik Muhendislik Cozumleri
   Muhendislik/Teknik Odakli Tasarim - LIGHT THEME
   ============================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - Light Theme */
  --primary: #1a2332;
  --primary-light: #243447;
  --primary-dark: #0f1620;
  --accent: #f0c800;
  --accent-light: #ffe14d;
  --accent-dark: #d4a900;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f5;
  --gray-200: #e2e6ea;
  --gray-300: #ced4da;
  --gray-400: #adb5bd;
  --gray-500: #868e96;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --white: #ffffff;
  --success: #28a745;
  --error: #dc3545;

  /* Typography */
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.6s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol { list-style: none; }

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

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section--dark {
  background: var(--gray-50);
  color: var(--gray-800);
}

.section--dark h2,
.section--dark h3 {
  color: var(--gray-900);
}

.section--gray {
  background: var(--gray-50);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 20px auto 0;
}

.section--dark .section-header p {
  color: var(--gray-600);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.btn--outline:hover {
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--gray-900);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-900);
}

.btn--outline-dark:hover {
  background: var(--gray-900);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- HEADER / NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header.scrolled {
  background: rgba(255,255,255,0.98);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

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

.nav a {
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 12px;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.lang-switch button {
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.lang-switch button.active {
  background: var(--accent);
  color: var(--gray-900);
}

.nav-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  transition: var(--transition);
}

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

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

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

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  color: var(--gray-800);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 10px 20px;
}

.mobile-nav a:hover {
  color: var(--accent-dark);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}

/* Subtle gradient mesh - light theme */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(240,200,0,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(240,200,0,0.04) 0%, transparent 50%),
    linear-gradient(160deg, var(--white) 0%, var(--gray-50) 100%);
}

/* Blueprint grid overlay - light theme */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,200,0,0.12);
  color: var(--accent-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(240,200,0,0.25);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--gray-900);
  margin-bottom: 24px;
  line-height: 1.15;
  white-space: pre-line;
}

.hero h1 span {
  color: var(--accent-dark);
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 540px;
}

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

/* Decorative geometric elements */
.hero-decoration {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  height: 460px;
  pointer-events: none;
}

/* Outer ring */
.hero-decoration::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(240,200,0,0.12);
  border-radius: 50%;
  animation: hero-rotate 40s linear infinite;
}

/* Inner ring */
.hero-decoration::after {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1.5px solid rgba(240,200,0,0.08);
  border-radius: 50%;
  animation: hero-rotate 30s linear infinite reverse;
}

/* Floating accent dots */
.hero-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-dot--1 {
  width: 6px;
  height: 6px;
  background: var(--accent);
  right: 18%;
  top: 22%;
  opacity: 0.6;
  animation: hero-float 6s ease-in-out infinite;
}

.hero-dot--2 {
  width: 4px;
  height: 4px;
  background: var(--accent-light);
  right: 8%;
  top: 55%;
  opacity: 0.5;
  animation: hero-float 8s ease-in-out 1s infinite;
}

.hero-dot--3 {
  width: 8px;
  height: 8px;
  background: var(--accent);
  right: 28%;
  bottom: 25%;
  opacity: 0.35;
  animation: hero-float 7s ease-in-out 2s infinite;
}

/* Accent line */
.hero-line {
  position: absolute;
  right: 12%;
  top: 30%;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,200,0,0.25), transparent);
  transform: rotate(-35deg);
  pointer-events: none;
}

.hero-line--2 {
  right: 22%;
  top: 65%;
  width: 80px;
  transform: rotate(25deg);
}

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

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

/* --- STATS BAR --- */
.stats-bar {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 2;
  margin-top: -50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.stat-item {
  padding: 40px 30px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--gray-50);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- SERVICES SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition-slow);
  z-index: 1;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-img {
  width: 100%;
  height: 200px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.service-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

.service-card-body {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(240,200,0,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.5;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

.service-card .btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 0.85rem;
  align-self: flex-start;
}

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

/* --- FEATURED PROJECTS --- */
.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--gray-800);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--gray-900);
  font-weight: 600;
}

.filter-count {
  font-size: 0.75rem;
  background: rgba(0,0,0,0.08);
  padding: 2px 8px;
  border-radius: 50px;
}

.filter-btn.active .filter-count {
  background: rgba(0,0,0,0.12);
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card-body {
  padding: 28px;
}

.project-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.project-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(240,200,0,0.1);
  padding: 4px 10px;
  border-radius: 50px;
}

.project-card-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.project-card-location {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.project-card-client {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.project-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-service-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.project-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: auto;
}

.project-youtube-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ff0000;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.project-youtube-btn:hover {
  background: #cc0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.project-youtube-btn svg {
  flex-shrink: 0;
}

.project-youtube-btn.yt-icon-only {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  gap: 0;
}

.project-youtube-btn.yt-icon-only svg {
  width: 18px;
  height: 18px;
}

/* --- APP PLATFORM BANNER --- */
.app-banner {
  position: relative;
  background: linear-gradient(135deg, #1a2332 0%, #0f1923 50%, #162030 100%);
  padding: 80px 0;
  overflow: hidden;
}

.app-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,200,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,200,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.app-banner-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240,200,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.app-banner-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.app-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,200,0,0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(240,200,0,0.25);
  margin-bottom: 24px;
}

.app-banner-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.app-banner-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}

.app-banner-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.app-feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.app-feature-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(240,200,0,0.2);
  transform: translateY(-2px);
}

.app-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(240,200,0,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.app-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.app-feature-card span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}

/* --- WHY US SECTION --- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-us-item {
  text-align: center;
  padding: 40px 24px;
}

.why-us-icon {
  width: 72px;
  height: 72px;
  background: rgba(240,200,0,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.why-us-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.5;
}

.section--dark .why-us-icon {
  background: rgba(240,200,0,0.15);
}

.why-us-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.why-us-item p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

.section--dark .why-us-item p {
  color: var(--gray-600);
}

/* --- REFERENCES --- */
.references-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}

.reference-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: var(--transition);
  filter: grayscale(100%);
  opacity: 0.6;
}

.reference-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.reference-item img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

a.reference-item--link {
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

a.reference-item--link::after {
  content: 'Projeleri Gör →';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--white);
  padding: 2px 8px;
  border-radius: 50px;
  opacity: 0;
  transition: var(--transition);
  white-space: nowrap;
  pointer-events: none;
}

a.reference-item--link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

a.reference-item--link:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(240, 200, 0, 0.2);
}

.client-filter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fff9db, #fff3bf);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.client-filter-banner span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.client-filter-banner svg {
  color: var(--accent-dark);
  flex-shrink: 0;
}

.client-filter-clear {
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--gray-600);
  transition: var(--transition);
}

.client-filter-clear:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--gray-800);
}

/* --- CTA SECTION --- */
.cta-section {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--gray-900);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(0,0,0,0.65);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-section .btn {
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--gray-900);
  font-weight: 700;
}

.cta-section .btn:hover {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--white);
}

/* --- FOOTER --- */
.footer {
  background: var(--gray-50);
  color: var(--gray-600);
  padding: 60px 0 0;
  border-top: 1px solid var(--gray-200);
}

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

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--gray-700);
}

.footer-social a:hover svg {
  fill: var(--gray-900);
}

.footer h4 {
  color: var(--gray-900);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: var(--gray-600);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-dark);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

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

/* --- CONTACT FORM --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240,200,0,0.1);
}

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

.file-upload {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover {
  border-color: var(--accent);
  background: rgba(240,200,0,0.03);
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 12px;
  display: none;
}

.form-message.success {
  background: rgba(40,167,69,0.1);
  color: var(--success);
  border: 1px solid rgba(40,167,69,0.2);
  display: block;
}

.form-message.error {
  background: rgba(220,53,69,0.1);
  color: var(--error);
  border: 1px solid rgba(220,53,69,0.2);
  display: block;
}

/* --- PAGE HEADER (Inner pages) --- */
.page-header {
  background: var(--gray-50);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--gray-900);
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-header .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.page-header .breadcrumb a {
  color: var(--accent-dark);
}

.page-header .breadcrumb span {
  color: var(--gray-400);
}

/* --- PROJECTS FILTER --- */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-700);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: var(--gray-900);
  border-color: var(--accent);
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-card-body {
  padding: 24px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card .read-more {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* --- ABOUT TIMELINE --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline-item .year {
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* --- SOFTWARE/TOOLS --- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.tool-item:hover {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.tool-logo {
  width: 80px;
  height: 60px;
  object-fit: contain;
}

.sap2000-logo {
  filter: brightness(0) saturate(100%) invert(18%) sepia(50%) saturate(600%) hue-rotate(190deg) brightness(90%);
}

.tool-item h4 {
  font-size: 0.9rem;
  margin-top: 12px;
}

/* --- MAP --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .references-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .app-features-grid { grid-template-columns: repeat(2, 1fr); }
  .app-banner-content h2 { font-size: 2rem; }

  .nav-cta { display: none; }
}

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

  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .logo img { height: 28px; max-width: 180px; }
  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-decoration,
  .hero-dot,
  .hero-line { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--gray-200);
  }
  .stat-number { font-size: 2.2rem; }

  .section-header h2 { font-size: 2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .projects-showcase { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-detail { grid-template-columns: 1fr; gap: 30px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .app-features-grid { grid-template-columns: repeat(2, 1fr); }
  .app-banner { padding: 60px 0; }
  .app-banner-content h2 { font-size: 1.7rem; }

  .page-header { padding: 120px 0 50px; }
  .page-header h1 { font-size: 2rem; }

  .cta-section h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-bottom: 1px solid var(--gray-200); }
  .stat-item:last-child { border-bottom: none; }
  .references-grid { grid-template-columns: 1fr 1fr; }
}

/* --- UTILITY CLASSES --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
