/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #1a1a2e, #2c3e50);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-295px * 10));
  }
}

@keyframes scrollReverse {
  0% {
    transform: translateX(calc(-320px * 5));
  }
  100% {
    transform: translateX(0);
  }
}

/* Loading Screen */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #2c3e50);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-text {
  color: #4caf50;
  font-size: 2rem;
  animation: pulse 1.5s infinite;
}

/* Navigation */
nav {
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #4caf50;
  font-size: 1.5rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a i {
  font-size: 1rem;
}

.nav-links a:hover {
  color: #4caf50;
  transform: translateY(-2px);
}

.nav-links a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #4caf50;
  transition: all 0.3s;
  transform: translateX(-50%);
}

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

/* Hero Section */
.hero {
  height: 87vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #1a1a2e, #2c3e50);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  z-index: 1;
  position: relative;
  animation: slideInUp 1s ease-out;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  border: 4px solid #4caf50;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceIn 1.5s ease-out;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4caf50;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

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

.social-links a {
  color: white;
  font-size: 1.5rem;
  margin: 0 1rem;
  transition: all 0.3s;
  display: inline-block;
}

.social-links a:hover {
  color: #4caf50;
  transform: translateY(-5px) scale(1.2);
}

/* Stats Section */
.fun-stats {
  padding: 3rem 2rem;
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  color: white;
  text-align: center;
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
}

.stats-row-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.stats-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.stat-card {
  padding: 2rem 1rem;
  transition: transform 0.3s;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Experience Section */
.experience {
  padding: 3rem 2rem;
  background: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  border-radius: 2px;
}

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

.experience-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid #4caf50;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.experience-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.company-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: all 0.3s;
  overflow: hidden;
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.experience-card:hover .company-logo {
  transform: scale(1.1);
}

.company-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.role {
  color: #4caf50;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.duration {
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tag {
  background: #e8f5e8;
  color: #2e7d2e;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.tech-tag:hover {
  background: #4caf50;
  color: white;
  transform: scale(1.1);
}

/* Projects Section */
.projects {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  overflow: hidden;
}

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

.projects-carousel {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.projects-track {
  display: flex;
  gap: 15px;
  animation: scroll 30s linear infinite;
  padding-left: 10px;
}

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

.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  flex: 0 0 280px;
  width: 280px;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
}

.project-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4caf50;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(76, 175, 80, 0.5);
}

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

.project-title {
  font-size: 1.2rem;
  margin: 0;
  color: #2c3e50;
  font-weight: bold;
}

.play-store-btn {
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
  margin-top: auto;
}

.play-store-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
}

/* Testimonials Section - UPDATED */
.testimonials {
  padding: 3rem 0;
  background: white;
  overflow: hidden;
}

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

.testimonials-carousel {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  animation: scroll 40s linear infinite; /* scrollReverse yerine scroll kullanın ve süreyi artırın */
  padding-left: 10px;
}

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

.testimonial-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  flex: 0 0 300px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.student-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #4caf50;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-name {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.student-role {
  color: #4caf50;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.company-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}

.company-logo-large {
  width: 80px;
  height: 80px;
  padding: 15px;
  background: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.company-logo-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-name-large {
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Removed old testimonial styles */
.student-header,
.student-info h4,
.testimonial-text,
.company-logo-small,
.company-name-small,
.rating {
  display: none;
}

/* Footer */
footer {
  background: #1a1a2e;
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.footer-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #4caf50;
}

.contact-button {
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  margin: 1rem 0;
}

.contact-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(76, 175, 80, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .profile-img {
    width: 150px;
    height: 150px;
  }

  .stats-row-1 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row-2 {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    flex: 0 0 200px;
    width: 200px;
  }

  .project-title {
    font-size: 1rem;
  }

  .project-image {
    width: 60px;
    height: 60px;
  }

  .play-store-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .testimonial-card {
    flex: 0 0 250px;
    width: 250px;
  }

  .student-photo {
    width: 100px;
    height: 100px;
  }

  .company-logo-large {
    width: 60px;
    height: 60px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-215px * 10));
    }
  }

  @keyframes scrollReverse {
    0% {
      transform: translateX(calc(-270px * 5));
    }
    100% {
      transform: translateX(0);
    }
  }
}

@media (max-width: 480px) {
  .project-card {
    flex: 0 0 150px;
    width: 150px;
  }

  .testimonial-card {
    flex: 0 0 200px;
    width: 200px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-165px * 10));
    }
  }
}

/* Text Animation */
.hero h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4caf50;
  min-height: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.hero h2.show {
  opacity: 1;
  transform: translateY(0);
}

.hero h2.hide {
  opacity: 0;
  transform: translateY(-20px);
}
