:root {
  /* Color Palette */
  --bg-main: #F8FAFC;
  --bg-secondary: #EEF2F7;
  --accent-blue: #25be8a;
  /* Ana yeşil (2596be → yeşil karşılığı) */
  --accent-indigo: #1f9e73;
  /* %15–20 daha koyu yeşil */
  --text-headings: #0f2a20;
  /* Yeşil bazlı koyu başlık */
  --text-paragraphs: #355f4f;
  /* Okunabilir yeşil-gri metin */

  --white: #FFFFFF;

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
  --gradient-soft: linear-gradient(135deg, rgba(37, 150, 190, 0.05), rgba(26, 123, 158, 0.05));

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-paragraphs);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-headings);
  line-height: 1.2;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 100px 0 40px 0;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(37, 150, 190, 0.39);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-base);
}

header.scrolled {
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-headings);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-paragraphs);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-base);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(248, 250, 252, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--bg-secondary);
  color: var(--accent-indigo);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-paragraphs);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-paragraphs);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(59, 130, 246, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* About Section */
.about-flex {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-content {
  flex: 1;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px solid var(--bg-secondary);
  border-radius: 40px;
  z-index: -1;
}

/* Contact Section */
.contact-container {
  background: var(--white);
  border-radius: 32px;
  padding: 4rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--bg-secondary);
  background: var(--bg-main);
  font-family: inherit;
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Logo Carousel (Ticker) - Premium Version */
.logos-section {
  padding: 80px 0;
  background: var(--bg-main);
  overflow: hidden;
  position: relative;
}

.logos-section::before,
.logos-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.logos-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.logos-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  padding: 20px 0;
}

.logos-track {
  display: flex;
  gap: 6rem;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  align-items: center;
}

.logo-item {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-headings);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.5);
  padding: 1.5rem 3rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(8px);
  transition: var(--transition-base);
}

.logo-item i {
  font-size: 1.5rem;
  color: var(--accent-blue);
}

.logo-item:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--accent-blue);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Memorable Services Section (Modern Cards) */
.services-memorable {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.memorable-card {
  height: 380px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition-slow);
  cursor: pointer;
  background: var(--bg-secondary);
}

.memorable-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.9) 100%);
  z-index: 1;
  opacity: 0.8;
  transition: var(--transition-base);
}

.memorable-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  z-index: 0;
}

.memorable-card:hover img {
  transform: scale(1.1);
}

.memorable-card:hover::before {
  opacity: 1;
  background: linear-gradient(180deg, transparent 20%, var(--accent-blue) 100%);
}

.card-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  transform: translateY(20px);
  transition: var(--transition-base);
}

.memorable-card:hover .card-content {
  transform: translateY(0);
}

.card-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  z-index: 2;
  line-height: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-md);
}

.card-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.card-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  opacity: 0;
  transition: var(--transition-base);
}

.memorable-card:hover .card-content p {
  opacity: 1;
}

/* Image Showcase Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1.5rem;
  margin-bottom: 100px;
}

.showcase-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-large {
  grid-column: span 2;
  grid-row: span 2;
}

/* Animations */
[data-fade] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-fade].appear {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 968px) {
  .about-flex {
    flex-direction: column;
  }

  .contact-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

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

  .hero h1 {
    font-size: 3rem;
  }

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

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

  .item-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}