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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #C5C7C9;
  background-color: #0F1B2B;
  overflow-x: hidden;
}

/* Header */
header {
  background: linear-gradient(135deg, #0F1B2B, rgba(15, 27, 43, 0.95));
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(178,180,182,0.2)"/><circle cx="80" cy="40" r="1" fill="rgba(178,180,182,0.2)"/><circle cx="40" cy="70" r="1" fill="rgba(178,180,182,0.2)"/></svg>');
  opacity: 0.5;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  transition: transform 0.3s ease;
  position: relative;
}

.logo-icon:hover {
  transform: scale(1.05);
}

.logo-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(178, 180, 182, 0.3));
}

.logo-image:hover {
  filter: drop-shadow(0 4px 15px rgba(178, 180, 182, 0.5));
  transform: scale(1.02);
}

.logo-text {
  font-size: 2rem;
  font-weight: bold;
  color: #C5C7C9;
  text-shadow: 0 0 20px rgba(178, 180, 182, 0.5);
}

/* Legacy logo class for compatibility */
.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #C5C7C9;
  text-shadow: 0 0 20px rgba(178, 180, 182, 0.5);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: #C5C7C9;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(178, 180, 182, 0.1);
  transition: width 0.3s ease;
  border-radius: 25px;
}

nav a:hover::before {
  width: 100%;
}

nav a:hover {
  color: #B2B4B6;
}

/* Hero Section */
#hero {
  background: linear-gradient(135deg, #0F1B2B, rgba(15, 27, 43, 0.8), #0F1B2B);
  color: #C5C7C9;
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(178, 180, 182, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(197, 199, 201, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(178, 180, 182, 0.05) 0%, transparent 50%);
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #C5C7C9, #B2B4B6, #C5C7C9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(178, 180, 182, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
  font-style: italic;
  font-weight: 600;
}

@keyframes glow {
  from { text-shadow: 0 0 30px rgba(178, 180, 182, 0.3); }
  to { text-shadow: 0 0 40px rgba(178, 180, 182, 0.6); }
}

#hero p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
}

#hero h3 {
  font-size: 2rem;
  color: #B2B4B6;
  font-style: italic;
  margin-top: 2rem;
}

/* Slideshow */
#slideshow {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F1B2B, rgba(15, 27, 43, 0.9));
  position: relative;
}

.slideshow-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slides {
  position: relative;
  height: 400px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  text-align: center;
  color: #C5C7C9;
  background: rgba(15, 27, 43, 0.6);
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.slide-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #B2B4B6;
}

/* Navigation dots */
.dots-container {
  text-align: center;
  padding: 20px 0;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: #B2B4B6;
  transform: scale(1.2);
}

/* Modules Section */
#modules {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F1B2B, rgba(15, 27, 43, 0.8));
  color: #C5C7C9;
}

#modules h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #B2B4B6;
}

.module-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(178, 180, 182, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;
}

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(178, 180, 182, 0.3);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #B2B4B6, #C5C7C9);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0F1B2B;
  font-weight: bold;
}

.card h3 {
  color: #B2B4B6;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  opacity: 0.9;
  line-height: 1.6;
}

/* Contact Section */
#contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F1B2B, rgba(15, 27, 43, 0.9));
  color: #C5C7C9;
  text-align: center;
}

#contact h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #B2B4B6;
}

/* Contact Container */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Contact Form Section */

.contact-form {
  background: rgba(178, 180, 182, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(178, 180, 182, 0.1);
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #B2B4B6;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(15, 27, 43, 0.8);
  border: 1px solid rgba(178, 180, 182, 0.2);
  border-radius: 8px;
  color: #C5C7C9;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #B2B4B6;
  box-shadow: 0 0 0 3px rgba(178, 180, 182, 0.1);
  background: rgba(15, 27, 43, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(197, 199, 201, 0.5);
}

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

/* Floating label effect */
.form-group.focused label {
  color: #B2B4B6;
  transform: translateY(-2px);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #B2B4B6, #C5C7C9);
  color: #0F1B2B;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #C5C7C9, #B2B4B6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(178, 180, 182, 0.3);
}



.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #B2B4B6, #C5C7C9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #0F1B2B;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(178, 180, 182, 0.3);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(178, 180, 182, 0.4);
  background: linear-gradient(135deg, #C5C7C9, #B2B4B6);
}

.social-icon:hover svg {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: #0F1B2B;
  color: #C5C7C9;
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(178, 180, 182, 0.1);
}

.footer-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Admin İstatistik Butonu - Footer'da - Çok Gizli */
.admin-stats-container {
  position: absolute;
  right: 0.5rem; /* En sağa yakın */
  top: 50%;
  transform: translateY(-50%);
}

.admin-stats-btn {
  display: inline-block;
  font-size: 0.9rem; /* Daha küçük font */
  color: rgba(197, 199, 201, 0.3); /* Çok soluk renk */
  text-decoration: none;
  padding: 0.2rem; /* Çok küçük padding */
  border-radius: 3px; /* Köşeli, yuvarlak değil */
  transition: all 0.3s ease;
  opacity: 0.05; /* Çok düşük opacity */
  background: transparent; /* Arka plan yok */
  border: none; /* Çerçeve yok */
  cursor: pointer;
}

.admin-stats-btn:hover {
  opacity: 0.4 !important; /* Hover'da bile çok soluk */
  color: rgba(197, 199, 201, 0.6);
  transform: scale(1.05); /* Çok az büyüme */
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .admin-stats-container {
    position: static;
    margin-top: 0.5rem;
    transform: none;
  }
  
  .admin-stats-btn {
    opacity: 0.08; /* Mobilde de çok gizli */
    font-size: 0.8rem; /* Mobilde daha da küçük */
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .module-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

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

  .slides {
    height: 300px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }

      nav ul {
      flex-direction: column;
      gap: 1rem;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: linear-gradient(135deg, rgba(15, 27, 43, 0.95), rgba(15, 27, 43, 0.9));
      padding: 1rem;
      display: none;
      backdrop-filter: blur(10px);
    }

  nav ul.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  #hero {
    padding: 120px 0 60px;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero p {
    font-size: 1rem;
    line-height: 1.6;
  }

  #hero h3 {
    font-size: 1.5rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .slides {
    height: 250px;
  }

  .slide-content {
    padding: 1rem;
  }

  .slide-content h3 {
    font-size: 1.5rem;
  }

  .module-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .social-icons {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .contact-container {
    padding: 0 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #modules h2, #contact h2 {
    font-size: 2rem;
  }

  .slideshow-container {
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  #hero h1 {
    font-size: 2rem;
  }

  #hero h3 {
    font-size: 1.2rem;
  }

  .slides {
    height: 200px;
  }

  .slide-content h3 {
    font-size: 1.2rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
  }

  .logo-text {
    font-size: 1.3rem;
  }
  
  .logo-image {
    width: 45px;
    height: 45px;
  }

  .logo-image {
    width: 60px;
    height: 60px;
  }
  
  .logo-container {
    gap: 0.7rem;
  }

  nav a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
}

/* Smooth scrolling - İyileştirilmiş */
html {
  scroll-behavior: auto; /* Native smooth scroll'u kapatıp kendi animasyonumuzu kullanacağız */
}

/* Scroll performansı iyileştirmeleri */
body {
  -webkit-overflow-scrolling: touch; /* iOS için daha iyi scroll */
  scroll-behavior: auto;
}

/* Scroll performansı için hardware acceleration */
.fade-in, .card, .slide, .hero-content {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Paragraf scroll performansı */
#hero p {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: auto; /* Sadece gerektiğinde değişim */
}

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

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

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

.float-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(178, 180, 182, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(178, 180, 182, 0); }
  100% { box-shadow: 0 0 0 0 rgba(178, 180, 182, 0); }
}

.card-icon {
  animation: pulse 2s infinite;
}

/* Mobile menu styles */
.mobile-menu-btn {
  background: none !important;
  border: none !important;
  color: white !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  display: none !important;
  padding: 0.5rem !important;
  border-radius: 5px !important;
  transition: background-color 0.3s ease !important;
}

.mobile-menu-btn:hover {
  background-color: rgba(178, 180, 182, 0.2) !important;
}

/* Particle background effect */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(178, 180, 182, 0.5);
  border-radius: 50%;
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(-100px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* Enhanced card hover effects */
.card:hover .card-icon {
  transform: scale(1.05);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0F1B2B;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #B2B4B6, #C5C7C9);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #C5C7C9, #B2B4B6);
} 