/* Main CSS file */
:root {
  /* Ana Renkler */
  --primary-color: #4a6fa5; /* Koyu mavi ton */
  --secondary-color: #4285f4; /* Canlı mavi ton - turuncu/kırmızı yerine */
  --accent-color: #3498db; /* Canlı mavi ton - aynı kaldı */
  --accent-color-dark: #2980b9; /* Aynı kaldı */
  --text-color: #2d3748; /* Koyu gri, modern ve net */
  --text-light: #4a5568; /* Orta gri */
  --text-muted: #718096; /* Açık gri */
  --background-dark: #f8f9fa; /* Açık gri arka plan */
  --background-light: #ffffff; /* Beyaz arka plan */
  --card-bg: #ffffff; /* Beyaz kart arka planı */
  --card-bg-hover: #f0f4f8; /* Açık mavi-gri hover */
  --border-color: rgba(0, 0, 0, 0.1); /* Hafif görünür sınırlar */
  --shadow-color: rgba(0, 0, 0, 0.1); /* Hafif gölgeler */
  
  /* Yazı tipleri */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  /* Geçiş Süreleri */
  --transition-fast: 0.3s;
  --transition-medium: 0.5s;
  --transition-slow: 0.8s;
  
  /* Diğer */
  --border-radius: 10px;
  --container-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--background-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: 0.3px;
  font-size: 16px; /* Base font size */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text-color); /* Daha parlak başlıklar */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Temiz okunabilirlik için çok hafif bir gölge */
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  font-weight: 800; /* Daha kalın başlık */
}

h2 {
  font-size: 2.8rem;
  margin-bottom: 1.8rem;
  font-weight: 700;
}

h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

h5 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

h6 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light); /* Daha parlak paragraf metni */
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color var(--transition-fast) ease, transform 0.2s ease;
  font-weight: 500;
}

a:hover {
  color: var(--accent-color-dark);
  text-decoration: none; /* Sade görünüm için altı çizgisini kapat */
}

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

.btn {
  display: inline-block;
  padding: 15px 32px; /* Biraz daha geniş butonlar */
  background-color: var(--secondary-color);
  color: #ffffff; /* Buton metni beyaz */
  border: none;
  border-radius: 8px; /* Daha modern köşeler */
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3); /* Daha modern gölge */
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none; /* Altı çizgili olmaması için */
}

.btn:hover {
  background-color: #3367d6; /* Biraz daha koyu mavi hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(66, 133, 244, 0.4);
  color: #ffffff; /* Hover durumunda da beyaz text */
  text-decoration: none; /* Hover durumunda da altı çizgisiz */
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color); /* Buton metni mavi */
  box-shadow: none; /* Outline butonda gölge yok */
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: #ffffff; /* Hover durumunda beyaz metin */
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3); /* Hover durumunda gölge ekle */
}

.btn-lg {
  padding: 18px 36px; /* Daha büyük buton */
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Buton içindeki ikonlar için stil */
.btn i {
  margin-right: 8px;
  font-size: 1.1em;
}

/* Pulse efekti için yeni stil */
.btn-pulse {
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7); /* Mavi pulse animasyonu için */
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(66, 133, 244, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
  }
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: 800;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  text-shadow: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  margin-right: 15px;
}

.brand-logo-footer {
  height: 54px;
  width: auto;
}

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

.nav-link {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--secondary-color);
  transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.mobile-menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
}

.mobile-menu-link {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding: 10px 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background-color: var(--secondary-color);
  width: 0;
  z-index: 1001;
  transition: width 0.1s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--background-light);
  padding-top: 80px;
  padding-bottom: 30px; /* Alt kısım için ekstra padding */
}

.hero-small {
  height: 60vh;
  min-height: 500px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%; /* Sol tarafa daha fazla alan */
  gap: 40px; /* Kolonlar arası daha fazla boşluk */
  align-items: center;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* İçeriği dikey olarak ortala */
  justify-content: center; /* İçeriği dikey olarak ortala */
}

.hero-title {
  font-size: 4.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--primary-color);
  line-height: 1.1;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 20px; /* Sağdan biraz boşluk */
}

.character-image {
  max-width: 80%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25)); /* Biraz daha belirgin gölge */
  transform: scale(1);
  transition: all 0.5s ease-in-out;
  animation: float 6s ease-in-out infinite; /* Hafif yüzen animasyon */
}

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

.hero-image:hover .character-image {
  animation-play-state: paused; /* Hover durumunda animasyonu durdur */
  transform: scale(1.03);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-medium) ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.service-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Features Section */
.why-us {
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  background-color: var(--card-bg);
  border-radius: 10px;
  transition: all var(--transition-medium) ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-color);
}

.feature-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  background-color: rgba(231, 76, 60, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.feature-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Projects Section */
.projects-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.project-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--card-bg);
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all var(--transition-medium) ease;
  border: 1px solid var(--border-color);
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-color);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium) ease;
}

.project-item:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 20px;
  text-align: center;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--text-light);
}

.project-category {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

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

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #7fa1d1 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: #f0f4f8;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links-title {
  font-size: 1.3rem;
  color: var(--text-color);
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  letter-spacing: 0.5px;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 1.5px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links-list a {
  color: var(--text-muted);
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.footer-links-list a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-list i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  border-color: var(--secondary-color);
}

.copyright {
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-light);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity var(--transition-medium) ease;
}

.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animasyon sınıfları */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-medium) ease, 
              transform var(--transition-medium) ease;
}

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

/* Responsive tasarım */
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .hero {
    min-height: 600px;
    padding-top: 100px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr; /* Tek kolon */
    gap: 20px;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-image {
    order: -1; /* Mobilde görsel üstte */
    margin-bottom: 10px;
  }
  
  .character-image {
    max-width: 70%;
    margin: 0 auto;
    animation: none; /* Mobilde animasyon kapalı */
  }
  
  .services-grid,
  .features-grid,
  .projects-slider {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 12px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 20px;
  }
  
  .character-image {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .services-grid,
  .features-grid,
  .projects-slider {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  .container {
    width: 100%;
    padding: 0 15px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .hero {
    min-height: 500px;
    padding-top: 80px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column-reverse; /* Assuming footer-bottom is flex */
    text-align: center;
  }
}

/* Modern Stats Section Styles */
.modern-stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
}

.modern-stat-item {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.03); /* Daha açık bir arka plan */
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}

.modern-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.05); /* Hover durumunda biraz daha koyu */
}

.modern-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0) 100%); /* Gradient'i güncelliyorum */
  z-index: 0;
}

.stat-content {
  flex: 1;
  z-index: 1;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--secondary-color); /* Accent color yerine secondary color kullanıyorum */
  margin-left: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.03); /* Arka plan rengini güncelliyorum */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

.stat-title {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Responsive adjustments for stats */
@media (max-width: 768px) {
  .modern-stats-container {
    gap: 20px;
  }
  
  .modern-stat-item {
    flex: 1 1 100%;
    padding: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }
} 