/* Temel Renk Paleti */
:root {
  --main-blue: #66a3ff;
  --accent-orange: #ff8000;
  --background-light: #f8f9fa;
  --text-dark: #222;
}

/* Genel Gövde Ayarları */
body {
  margin: 0;
  font-family: 'Helvetica', sans-serif;
  background-color: var(--background-light);
  color: var(--text-dark);
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Top Header */
.top-header {
  background-color: white;
  color: var(--accent-orange);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-desktop {
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.logo-mobile {
  display: none;
  height: 80px;
  object-fit: contain;
  max-width: 100%;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}

.top-header a {
  color: var(--accent-orange);
  text-decoration: none;
  font-size: 0.95em;
}

.top-header a:hover {
  text-decoration: underline;
}

/* Hamburger Menü Butonu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: var(--accent-orange);
  cursor: pointer;
  margin-left: auto;
}

/* Navigasyon */
nav {
  background-color: var(--accent-orange);
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px 0;
  flex-wrap: wrap;
  flex-direction: row;
}

nav a {
  display: inline-block;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
  background-color: white;           /* Arka plan beyaz */
  color: var(--main-blue);           /* Yazı rengi mavi (#66a3ff) */
  transform: translateY(-2px);       /* Hafif yukarı animasyon */
}

/* Menü Grupları */
nav .menu-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

nav .menu-extra {
  display: none;
}

nav .menu-extra a {
  color: white;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav .menu-extra a:hover {
  background-color: white;
  color: var(--main-blue);
  border-radius: 6px;
  padding-left: 6px;
  padding-right: 6px;
}

/* Sayfa Başlığı */
header {
  background-color: var(--main-blue);
  color: white;
  text-align: center;
  padding: 30px 10px;
}

/* Ana İçerik */
main {
  padding: 40px 20px;
}

main h2,
main p {
  text-align: center;
}

/* Slider */
.image-slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 400px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.image-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

/* Slogan Balonu */
.slogan-bubble {
  max-width: 600px;
  margin: 20px auto 50px;
  padding: 20px 30px;
  background-color: #ffffff;
  border: 2px solid var(--accent-orange);
  border-radius: 30px;
  position: relative;
  font-size: 1.2em;
  font-style: italic;
  font-weight: bold;
  color: var(--main-blue);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slogan-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-top-color: var(--accent-orange);
  border-bottom: 0;
  margin-left: -15px;
}

/* Info Kutuları */
.info-section {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Tüm kutular en uzun kutuya eşit yükseklikte olur */
  gap: 30px;
  margin: 60px auto;
  flex-wrap: wrap;
  max-width: 1200px;
  padding: 0 20px;
}

.info-box {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: white;
  border: 1px solid #ddd;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* İçeriği dengeli dağıt */
}

.info-box h3 {
  color: var(--accent-orange);
  margin-bottom: 10px;
}

.info-box p {
  line-height: 1.6;
  font-size: 0.95em;
}

/* Team Section */
.team-section {
  padding: 40px 20px;
}

.team-section h2 {
  text-align: center;
  color: var(--main-blue);
  margin-bottom: 30px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 220px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.team-card h3 {
  color: var(--accent-orange);
  font-size: 1.1em;
  margin: 5px 0;
}

.team-card p {
  font-size: 0.9em;
  color: var(--text-dark);
}

/* Footer */
footer {
  background-color: #0d0d1a;
  color: white;
  padding: 50px 20px;
  font-size: 0.95em;
  margin-top: 60px;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

footer .footer-section {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .footer-section h4 {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--accent-orange);
}

footer .footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95em;
}

footer .footer-section a:hover {
  color: var(--accent-orange);
}

footer .footer-section i {
  margin-right: 6px;
}

footer .footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85em;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .top-right {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--accent-orange);
    width: 100%;
    position: relative;
    top: 0;
    right: 0;
    z-index: 999;
    padding: 20px;
  }

  nav.active {
    display: flex;
  }

  nav .menu-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  nav .menu-extra {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 15px;
  }

  nav .menu-extra a {
    color: white;
    text-decoration: none;
    white-space: nowrap;
  }

  nav .menu-extra a:hover {
    text-decoration: underline;
  }

  nav .menu-extra::before {
    content: "Contact & Social";
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
  }

  footer .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .footer-section {
    align-items: center;
  }

  header {
    padding: 20px 10px;
  }

  header h1 {
    font-size: 1.6em;
    line-height: 1.4;
    margin: 0;
  }
}

html[lang="tr"] nav .menu-extra::before {
  content: "İletişim & Sosyal";
}

html[lang="en"] nav .menu-extra::before {
  content: "Contact & Social";
}

html[lang="ar"] nav .menu-extra::before {
  content: "التواصل والإجتماعي";
  direction: rtl;
  text-align: right;
}
