/* General Styles */
:root {
  --primary: #8888ff;
  --primary-light: rgba(136, 136, 255, 0.2);
  --dark-bg: #050510;
  --dark-text: #333333;
  --light-text: #eeeeee;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-primary: rgba(136, 136, 255, 0.3);
}

.logo-img {
  max-height: 48px;     /* NavBar yüksekliğiyle orantılı */
  width: auto;
  object-fit: contain;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  height: 60px; /* NavBar yüksekliğine göre ayarla */
  padding: 6px 0;
  overflow: hidden;     /* Taşmayı engeller */
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--light-text);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-primary {
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style-type: none;
}

/* Vanta.js Background */
.vanta-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: var(--dark-bg);
  background-image: 
    radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 7px),
    radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 5px),
    radial-gradient(white, rgba(255,255,255,.1) 1px, transparent 3px);
  background-size: 550px 550px, 350px 350px, 250px 250px;
  background-position: 0 0, 40px 60px, 130px 270px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark-bg);
}

.btn-primary:hover {
  background-color: rgba(136, 136, 255, 0.9);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: rgba(136, 136, 255, 0.1);
}

.btn-full {
  width: 100%;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(136, 136, 255, 0.2);
}

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

/* Language Selector Styles */
.language-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  position: relative;
}

.language-selector span {
  font-size: 0.75rem;
  color: var(--gray-300);
}

.language-selector select {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--light-text);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}

.language-selector select:hover,
.language-selector select:focus {
  border-color: var(--primary);
}

.language-selector select option {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.nav-language-container {
  display: flex;
  align-items: center;
}

/* Language Buttons (Mobile) */
.language-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.language-btn {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--gray-300);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-btn.active,
.language-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

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

.logo-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle span {
  color: var(--dark-bg);
  font-weight: 700;
  font-size: 0.875rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-links {
  display: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
  margin: 0 1rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--light-text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: none;
  background-color: rgba(5, 5, 16, 0.95);
  padding: 1rem;
  border-bottom: 1px solid rgba(136, 136, 255, 0.2);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-links .nav-link {
  padding: 0.5rem 0;
  margin: 0;
}

/* Section Styles */
.section {
  padding: 5rem 0 4rem;
  margin-top: 4rem;
}

.section-dark {
  background-color: rgba(5, 5, 16, 0.7);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray-300);
  max-width: 36rem;
  margin: 1.5rem auto 0;
}

.section-divider {
  width: 4rem;
  height: 2px;
  background-color: var(--primary);
  margin: 0 auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.hero-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 5rem auto 0;
}

.stat-card {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  text-align: center;
}

.stat-number {
  color: var(--primary);
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-text {
  color: var(--gray-300);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.mission-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mission-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.mission-item p {
  margin-bottom: 0;
  color: var(--gray-300);
}

.about-image {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(136, 136, 255, 0.3);
  box-shadow: 0 0.5rem 1.5rem rgba(136, 136, 255, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  text-align: center;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(136, 136, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-300);
  line-height: 1.7;
}

/* Projects Section */
.carousel-container {
  position: relative;
  padding: 1rem 0;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(136, 136, 255, 0.8);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-nav:hover {
  background-color: var(--primary);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-nav-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--dark-bg);
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding: 1rem 2.5rem;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.carousel::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 18.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  display: block;
}

.project-card-content {
  padding: 1.5rem;
}

.project-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: var(--gray-300);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tag {
  font-size: 0.75rem;
  background-color: rgba(136, 136, 255, 0.2);
  color: var(--primary);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.project-link {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(136, 136, 255, 0.2);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form-container {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
}

.contact-form-container h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(136, 136, 255, 0.3);
  border-radius: 0.5rem;
  color: var(--light-text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: none;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(136, 136, 255, 0.2);
}

.google-map {
  width: 100%;
  height: 18.75rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.contact-info {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
}

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

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-text h4 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--gray-300);
}

.social-media {
  margin-top: 2rem;
}

.social-media h4 {
  font-weight: 500;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(136, 136, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: rgba(136, 136, 255, 0.4);
}

/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(136, 136, 255, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-column p {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column ul li a {
  color: var(--gray-300);
  font-size: 0.875rem;
}

.footer-column ul li a:hover {
  color: var(--primary);
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(136, 136, 255, 0.3);
  border-radius: 0.5rem 0 0 0.5rem;
  color: var(--light-text);
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--dark-bg);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--gray-300);
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-400 {
  animation-delay: 400ms;
}

.delay-600 {
  animation-delay: 600ms;
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
  
  .hero-content h1 {
    font-size: 3.75rem;
  }
  
  .nav-links {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .stats-section {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}
