:root {
  /* Ana Renkler (Organic / Professional Light Theme) */
  --color-primary: #244832; /* Forest Green */
  --color-primary-rgb: 36, 72, 50;
  --color-secondary: #02a95c; /* Bright Green */
  --color-accent: #cdf88d; /* Light Lime for highlights */

  /* Alternatif Renkler */
  --color-alt-yellow: #ffda5b;
  --color-alt-blue: #264f73;
  --color-alt-purple: #6f2d83;

  /* Nötr Renkler (Light Theme) */
  --color-bg: #f8f6f2; /* Off-white / Cream */
  --color-bg-rgb: 248, 246, 242;
  --color-surface: #ffffff; /* White (Kartlar vs) */
  --color-surface-hover: #fafafa; 
  --color-text-primary: #150c06; /* Very dark brown/black */
  --color-text-secondary: #4a5c50; /* Muted Green */
  --color-border: rgba(36, 72, 50, 0.1); /* Soft Green border */
  --color-border-strong: rgba(36, 72, 50, 0.25);

  /* Spacing Sistemi (8px grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadow Sistemi (Light) */
  --shadow-sm: 0 2px 8px rgba(36, 72, 50, 0.04);
  --shadow-md: 0 8px 24px rgba(36, 72, 50, 0.06);
  --shadow-lg: 0 16px 48px rgba(36, 72, 50, 0.08);
  --shadow-accent: 0 12px 32px rgba(2, 169, 92, 0.15);

  /* Tipografi */
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Noise Overlay */
.grain-overlay::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Tipografi Kuralları */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary); 
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw + 1rem, 4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem); }
p { font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem); color: var(--color-text-secondary); }

.accent-text {
  color: var(--color-secondary);
  font-style: italic;
  font-weight: 400;
}

/* Layout & Grid */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-4xl) 0;
}

.hero-section {
  padding-top: calc(var(--space-5xl) + 60px);
  padding-bottom: var(--space-5xl);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(205, 248, 141, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(2, 169, 92, 0.08) 0%, transparent 40%),
    var(--color-bg);
  z-index: -1;
}

.grid {
  display: grid;
  gap: var(--space-2xl);
}

.grid-asymmetric { grid-template-columns: 1.2fr 1fr; align-items: center; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 992px) {
  .grid-asymmetric, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* Components - Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-4px);
  background: var(--color-secondary);
  box-shadow: var(--shadow-accent);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-ghost:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(2, 169, 92, 0.05);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--space-lg) 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(248, 246, 242, 0.8); /* Updated to --color-bg */
  border-bottom: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  padding: var(--space-md) 0;
  background: rgba(248, 246, 242, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-secondary); /* Updated */
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-secondary);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--color-secondary);
}

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

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom right, rgba(205, 248, 141, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--color-border);
}

/* Team Section */
.team-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  filter: grayscale(20%) contrast(1.05); /* Lighter filter for light theme */
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid var(--color-border);
}

.team-card:hover .team-img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

/* Animation System */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.is-visible {
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

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

/* Utilities */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Logo Bar */
.logo-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
  background: var(--color-surface);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--color-primary); /* Dark green footer */
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) 0 var(--space-lg);
}

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

footer h4 {
  color: #ffffff;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

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

/* Responsive Overrides */
@media (max-width: 768px) {
  .nav-links { display: none; }
  section { padding: var(--space-3xl) 0; }
  .hero-section { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Gallery Slider */
.gallery-slider {
  overflow: hidden;
  width: 100%;
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.gallery-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  width: 300px;
  height: 400px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

@keyframes scroll {
  to { transform: translateX(calc(-50% - 16px)); }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px;
  z-index: 9998;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-content p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .cookie-banner {
    bottom: 24px;
    left: 24px;
    right: auto;
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--color-surface);
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-secondary);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  color: var(--color-primary);
}
