/* GENEL AYARLAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* ÜST MENÜ */
.navbar {
  width: 100%;
  background-color: #6c0484;
  color: #ffffff;
  padding: 20px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo h1 {
  font-size: 24px;
  letter-spacing: 1px;
}

.menu a {
  color: white;
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
  font-weight: bold;
}

.menu a:hover {
  color: #f6c453;
}

/* ANA GÖRSEL ALANI */
.hero {
    min-height: 85vh;
    background-image: url("images/logo.jpeg");
    background-size: 45%;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 80px 90px;
}

.hero-card h2 {
    color: #4b2478;
    font-size: 30px;
    font-weight: 800;
}

.hero-text {
  max-width: 650px;
}

.hero-text h2 {
  font-size: 52px;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-text p {
  font-size: 19px;
  margin-bottom: 30px;
}

/* BUTONLAR */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-right: 10px;
}

.primary {
  background-color: transparent;
  color: #e9c36b;
   border: 2px solid #e9c36b;
}

.secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.primary:hover {
  background-color: #e3af35;
  color: #0b1f3a;
}

.secondary:hover {
  background-color: white;
  color: #0b1f3a;
}

/* BÖLÜMLER */
.section {
  padding: 80px 70px;
}

.gray {
  background-color:  #f7efff;

}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 36px;
  color: #0b1f3a;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title p {
  color: #666;
  font-size: 17px;
}

/* HAKKIMIZDA */
.about-box {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
}

#subeler .card{
  background-color: #f7efff;
}

/* EĞİTİM KARTLARI */
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card {
  background-color: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card h3 {
  color: #0b1f3a;
  margin-bottom: 12px;
}

.card p {
  color: #666;
}

/* KADRO */
.team-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 850px;
    margin: 0 auto;
}

.team-card {
    background-color: #f7efff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.10);
}


.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 20px;
    border: 4px solid #f8d77a;
}

.fitin-photo{
  object-position: center 30%;
}

.team-card h3 {
    color: #3b245f;
    font-size: 23px;
    margin-bottom: 6px;
}

.team-role {
    color: #6d4aa8;
    font-weight: bold;
    margin-bottom: 12px;
}

.team-desc {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

/* GALERİ */
.gallery-container {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 20px 5px 35px;
  scroll-behavior: smooth;
}

.gallery-container::-webkit-scrollbar {
  display: none;
}

.gallery-container {
  scrollbar-width: none;
}

.gallery-container {
  cursor: grab;
}

.gallery-container.active {
  cursor: grabbing;
}

.gallery-box {
  min-width: 260px;
  height: 190px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-box:hover {
  transform: scale(1.25) translateX(22px);
  box-shadow: 0 16px 35px rgba(75, 36, 120, 0.25);
  z-index: 5;
}

/* İLETİŞİM */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: stretch;
}

.contact-info,
.map-box {
  background-color: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
  color: #0b1f3a;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 12px;
}

.map-box {
  min-height: 280px;
  background-color: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1f3a;
  font-weight: bold;
}

/* FOOTER */
.footer {
    background-color: #8503a2;
    padding: 50px 70px 22px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 25px;
}

.footer-contact-box,
.footer-map-box {
    background-color: #f8f1ff;
    border-radius: 18px;
    min-height: 300px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

.footer-contact-box {
    padding: 38px;
    color: #3b245f;
}

.footer-contact-box h2 {
    color: #3b245f;
    font-size: 32px;
    margin-bottom: 22px;
}

.footer-contact-box p {
    color: #3b245f;
    font-size: 17px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-map-box {
    overflow: hidden;
}

.footer-map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 18px;
    text-align: center;
}

.footer-bottom p {
    color: #f8f1ff;
    font-size: 14px;
}

.footer-social{
    color: #3b245f;
    text-decoration: none;
    
}

.footer-social:hover{
    color: #d6a84f;
}

/* MOBİL UYUMLULUK */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    padding: 20px;
  }

.footer {
    padding: 45px 25px 18px;
}

.footer-container {
    grid-template-columns: 1fr;
}

.footer-contact-box {
    text-align: left;
}

  .menu {
    margin-top: 15px;
    text-align: center;
  }

  .menu a {
    display: inline-block;
    margin: 8px;
  }

  .hero {
    padding: 70px 25px;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 36px;
  }

  .section {
    padding: 60px 25px;
  }
  .card-container,
  .team-container,
  .gallery-container,
  .contact-container {
    grid-template-columns: 1fr;
  }
}
