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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.header-logo h1 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.3rem;
  color: #D4AF37;
  cursor: pointer;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.desktop-nav {
  display: flex;
  gap: 3rem;
}

.nav-link {
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 300;
  color: #2c2c2c;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  letter-spacing: 0.05rem;
}

.nav-link:hover {
  opacity: 0.7;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  color: #2c2c2c;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  opacity: 0.7;
}

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

.language-flag-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.language-flag-button:hover {
  transform: scale(1.1);
}

.current-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(44, 44, 44, 0.1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #2c2c2c;
  flex-direction: column;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: #2c2c2c;
  margin: 2px 0;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-top: 1px solid rgba(44, 44, 44, 0.1);
}

.mobile-nav.show {
  display: block;
}

.mobile-nav-link {
  display: block;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 300;
  color: #2c2c2c;
  text-decoration: none;
  cursor: pointer;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
  width: 100%;
  text-align: left;
  transition: opacity 0.3s ease;
}

.mobile-nav-link:hover {
  opacity: 0.7;
}

.mobile-language-selector {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(44, 44, 44, 0.1);
}

.language-option-mobile {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #2c2c2c;
}

.mobile-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(44, 44, 44, 0.1);
}

.language-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.language-modal-overlay.show {
  display: flex;
}

.language-modal {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.language-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
}

.language-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #2c2c2c;
}

.close-button {
  background: none;
  border: none;
  cursor: pointer;
  color: #2c2c2c;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.close-button:hover {
  background: rgba(44, 44, 44, 0.1);
}

.language-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.language-option-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: none;
  border: 2px solid rgba(44, 44, 44, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: #2c2c2c;
  text-decoration: none;
}

.language-option-button:hover {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.05);
}

.language-option-button.active {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.1);
}

.flag-image {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* Kırpma olmadan tam kaplama için cover */
  object-position: center;
  display: block;
}

.hero-content {
  text-align: center;
  color: #2c2c2c;
  z-index: 1;
}

.hero-logo {
  max-width: 600px; /* Logoyu daha büyük yaptık */
  width: 90%; /* Ekran küçüldüğünde taşmasını önler */
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(5px 5px 12px rgba(0, 0, 0, 0.35)); /* Gölgeyi biraz daha belirgin yaptık */
  opacity: 0;
  transform: translateY(50px);
  animation: heroFadeIn 1s ease 1s forwards;
}

/* Responsive için ekleme */
@media (max-width: 768px) {
  .hero-logo {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 300px;
  }
}


.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: 2px solid #2c2c2c;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c2c2c;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-indicator:hover {
  background: #2c2c2c;
  color: #ffffff;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.our-story {
  padding: 8rem 0;
  background: #fafafa;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.story-animate .story-content {
  opacity: 1;
  transform: translateY(0);
}

.story-title {
  font-size: 3rem;
  font-weight: 100;
  letter-spacing: 0.3rem;
  margin-bottom: 3rem;
  color: #2c2c2c;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.story-text p {
  margin-bottom: 2rem;
}

.story-highlight {
  font-weight: 400;
  font-size: 1.3rem;
  color: #2c2c2c;
}

.gallery {
  padding: 8rem 0;
  background: #ffffff;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
  cursor: pointer;
}

.gallery-item-animate {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-large {
  grid-column: span 2;
  height: 400px;
}

.gallery-item-medium {
  height: 300px;
}

.gallery-item-small {
  height: 200px;
}

.gallery-item-tall {
  grid-row: span 2;
  height: 500px;
}

.gallery-item img,
.university-image,
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.university-card:hover .university-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 44, 44, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content p {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
}

.team {
  padding: 8rem 0;
  background: #f8f8f8;
}

.team-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.team-animate .team-header {
  opacity: 1;
  transform: translateY(0);
}

.team-title {
  font-size: 3rem;
  font-weight: 100;
  letter-spacing: 0.3rem;
  margin-bottom: 2rem;
  color: #2c2c2c;
}

.team-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

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

.university-card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.team-animate .university-card {
  opacity: 1;
  transform: translateY(0);
}

.university-image-container {
  position: relative;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.university-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.university-card:hover .university-image {
  transform: scale(1.05);
}

.university-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(44, 44, 44, 0.8));
  color: #ffffff;
  padding: 2rem;
  transform: translateY(50px);
  transition: transform 0.3s ease;
}

.university-card:hover .university-overlay {
  transform: translateY(0);
}

.university-name {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.university-description {
  font-size: 1rem;
  opacity: 0.9;
}

.improving {
  padding: 8rem 0;
  background: #ffffff;
}

.improving-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.improving-animate .improving-content {
  opacity: 1;
  transform: translateY(0);
}

.improving-text {
  padding-right: 2rem;
}

.improving-title {
  font-size: 3rem;
  font-weight: 100;
  letter-spacing: 0.3rem;
  margin-bottom: 2rem;
  color: #2c2c2c;
}

.improving-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.improving-gallery {
  position: relative;
  width: 100%;
}

.gallery-carousel {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  height: 400px;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(44, 44, 44, 0.3);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: #2c2c2c;
}

.features {
  padding: 8rem 0;
  background: #fafafa;
}

.features-title {
  font-size: 3rem;
  font-weight: 100;
  letter-spacing: 0.3rem;
  text-align: center;
  margin-bottom: 4rem;
  color: #2c2c2c;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.features-animate .features-title {
  opacity: 1;
  transform: translateY(0);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
}

.features-animate .feature-item {
  opacity: 1;
  transform: translateY(0);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 1.5rem;
  color: #2c2c2c;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.feature-name {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #2c2c2c;
}

.feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

/* Footer */
.footer {
  background: #2c2c2c;
  color: #ffffff;
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  font-size: 2rem;
  font-weight: 100;
  letter-spacing: 0.3rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.7;
  letter-spacing: 0.1rem;
}

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

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
}

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

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .improving-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .improving-text {
    padding-right: 0;
    text-align: center;
  }

  .hero-logo {
    max-width: 350px;
  }
}

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

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-logo {
    max-width: 280px;
  }

  .story-title,
  .team-title,
  .improving-title,
  .features-title {
    font-size: 2rem;
  }

  .improving-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .container {
    padding: 0 1rem;
  }

  .gallery-carousel {
    height: 300px;
  }

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

@media (max-width: 480px) {
  .hero-logo {
    max-width: 220px;
    margin-bottom: 1.5rem;
  }

  .story-title,
  .team-title,
  .improving-title,
  .features-title {
    font-size: 1.5rem;
  }

  .header-content {
    padding: 1rem;
  }

  .our-story,
  .team,
  .improving,
  .features {
    padding: 4rem 0;
  }

  .gallery-carousel {
    height: 250px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
.nav-extra {
  display: none;
}

@media (min-width: 769px) {
  .nav-extra {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

.mobile-menu.open .nav-extra {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px; /* elemanlar arası boşluk */
}

.mobile-inline-language {
  display: flex;
  gap: 6px;
}

.mobile-inline-language .flag-circle {
  width: 26px;
  height: 26px;
}




