:root {
  --ieee-blue: #00629b;
  --light-blue: #e6f2fa;
  --dark-text: #0a2540;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: var(--dark-text);
}

/* ================= NAVBAR ================= */
.navbar {
  background-color: var(--ieee-blue);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 55px; /* 70px navbar için ideal max */
  width: auto;
  display: block;
}

.brand-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.sep {
  opacity: 0.6;
}

/* LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin-left: -80px; /* değeri -40, -80 yapıp dene */
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.75;
}

/* CTA */
.nav-cta {
  background-color: #ffffff;
  color: var(--ieee-blue);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.nav-cta:hover {
  background-color: var(--light-blue);
}

/* MOBILE NAV */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  padding: 90px 20px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: auto;
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.logos img {
  height: 80px;
}

.logos .icon {
  height: 55px;
}

.hero h1 {
  color: var(--ieee-blue);
  font-size: 2.4rem;
  margin-bottom: 6px;
}

.hero h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 1.05rem;
  color: #475569;
}

/* ================= ABOUT ================= */
.about-pro {
  padding: 100px 20px;
  background-color: #ffffff;
}

.about-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.about-text h2 {
  color: var(--ieee-blue);
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 15px;
}

/* ================= EVENTS ================= */
.events {
  padding: 90px 20px;
  background-color: var(--light-blue);
  text-align: center;
}

.events h3 {
  font-size: 2rem;
  color: var(--ieee-blue);
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto 0;
}

.event-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 25px;
  border: 1px solid #eef2f7;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
  text-align: left;
}

.event-card:hover {
  transform: translateY(-6px);
}

.event-card h4 {
  color: var(--ieee-blue);
  margin-bottom: 10px;
}

.event-card p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 12px;
}

.event-card span {
  font-size: 0.85rem;
  color: #64748b;
}

/* ================= FOOTER ================= */
.ieee-footer {
  background-color: #0b1625;
  color: #9aa4b2;
  padding: 80px 20px 30px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.85rem;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: #9aa4b2;
  margin-bottom: 12px;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.logo-col img {
  max-width: 220px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.3rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .event-card {
    text-align: center;
  }
}
/* ===== HAKKIMIZDA SAYFASI ORTALAMA VE GENİŞLİK ===== */

.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.about-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 80px;
}

.about-icon {
  font-size: 48px;
  color: #0056b3;
  min-width: 70px;
  text-align: center;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.about-text p,
.about-text li {
  font-size: 18px;
  line-height: 1.7;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .about-block {
    flex-direction: column;
    text-align: center;
  }

  .about-icon {
    margin-bottom: 15px;
  }
}
/* ===== HAKKIMIZDA SAYFASI ===== */

.about-page {
  padding: 80px 20px;
  background-color: #f8fbff;
}

.page-title {
  text-align: center;
  font-size: 2.4rem;
  color: var(--ieee-blue);
  margin-bottom: 60px;
}

.about-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.about-card {
  background: white;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef2f7;
  transition: transform 0.3s;
}

.about-card:hover {
  transform: translateY(-6px);
}

.about-icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.about-card h2 {
  color: var(--ieee-blue);
  margin-bottom: 15px;
}

.about-card p,
.about-card li {
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-card ul {
  padding-left: 18px;
}
/* ===== EVENTS PAGE ===== */

.events-page {
  padding: 80px 20px 120px;
}

.events-page-container {
  max-width: 1100px;
  margin: auto;
}

.events-page-container h1 {
  text-align: center;
  color: var(--ieee-blue);
  margin-bottom: 60px;
  font-size: 2.4rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.events-grid a {
  text-decoration: none;
  color: inherit;
}

.events-grid .event-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.events-grid .event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

.events-grid .event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-body {
  padding: 20px 22px 24px;
}

.event-body h3 {
  color: var(--ieee-blue);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.event-body span {
  font-size: 0.85rem;
  color: #64748b;
}

.event-body p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #334155;
}
/* EVENT DETAIL PAGE */

.event-detail {
  padding: 80px 20px 120px;
}

.event-detail-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.event-detail-container h1 {
  color: var(--ieee-blue);
  margin-bottom: 30px;
}

.event-detail-container img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 16px;
  margin: 0 auto 30px;
  display: block;
}

.event-detail-container p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 20px;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  text-decoration: none;
  color: var(--ieee-blue);
  font-weight: 600;
}

/* ================= FOOTER LOGO BÜYÜT VE SOLA YASLA ================= */
.logo-col {
  text-align: left; /* logo kolunu sola hizala */
}

.logo-col img {
  max-width: 400px; /* önceki büyüklük */
  height: 200px;
  display: block;
}

.logo-col img {
  max-width: 380px; /* istediğin boyut */
  height: auto;
  display: block;
}
/* FOOTER LOGO SOLA YASLA VE BÜYÜT */
.footer-container {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr; /* logo otomatik, diğerleri esnek */
  gap: 50px;
  align-items: start;
}

.logo-col {
  display: flex;
  justify-content: flex-start; /* sola yasla */
  align-items: flex-start; /* üstten hizala */
}

.footer-socials {
  display: flex;
  gap: 15px; /* ikonlar arasındaki boşluk */
  margin-top: 10px;
}

.footer-socials img {
  width: 30px; /* ikon boyutu */
  height: 30px;
  object-fit: contain;
  transition: transform 0.2s;
}

.footer-socials img:hover {
  transform: scale(1.2); /* hover efekti */
}
.board-card a,
.board-card a:link,
.board-card a:visited,
.board-card a:hover,
.board-card a:active {
  text-decoration: none; /* alt çizgi kalkar */
  color: inherit; /* yazı rengi değişmez */
  background-color: transparent; /* tıklayınca renk değişmez */
}
/* DANISMAN KARTINI BLOK HALİNE GETİR */
.board-card.advisor {
  display: block;
  text-decoration: none; /* alt çizgi kaldır */
  color: inherit; /* yazı rengi değişmesin */
  background-color: transparent; /* tıklayınca arka plan değişmesin */
}

/* TÜM A ETİKETLERİ İÇİN */
.board-card a,
.board-card a:link,
.board-card a:visited,
.board-card a:hover,
.board-card a:active,
.socials a,
.socials a:link,
.socials a:visited,
.socials a:hover,
.socials a:active {
  text-decoration: none;
  color: inherit;
  background-color: transparent;
}

/* İsteğe bağlı: hover efekti eklemek isterseniz */
.board-card.advisor:hover {
  transform: scale(1.02);
  transition: transform 0.3s;
}

/* Sosyal ikonları küçük ve tıklanabilir yap */
.socials a i {
  font-size: 1.2rem;
  color: #00629b; /* LinkedIn mavi veya kendi istediğiniz renk */
}

.board-card:hover {
  transform: scale(1.02);
}
.archive-card {
  display: block;
  background-color: #e6f0fa; /* açık mavi arka plan */
  border: 2px solid #00629b; /* koyu mavi sınır */
  border-radius: 12px;
  padding: 20px;
  margin: 10px;
  text-decoration: none; /* link alt çizgisi kalkar */
  color: inherit; /* yazı rengi değişmez */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.archive-card:hover {
  transform: scale(1.02); /* hover efekti */
}
.board-card {
  display: block;
  background-color: #ffffff; /* beyaz arka plan */
  border: 2px solid #00629b;
  border-radius: 12px;
  padding: 20px;
  margin: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.board-card:hover {
  transform: scale(1.02);
}

.archive-card:hover {
  transform: scale(1.02);
}
.archive-card {
  display: block;
  background-color: #e6f0fa; /* açık mavi arka plan */
  border: 2px solid #00629b; /* koyu mavi sınır */
  border-radius: 12px;
  padding: 20px;
  margin: 10px 0;
  text-decoration: none; /* alt çizgi kalkar */
  color: inherit; /* yazı rengi değişmez */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.archive-card:hover {
  transform: scale(1.02); /* hover efekti */
}
.card {
  display: block;
  background-color: #ffffff; /* kutu içi beyaz */
  border: 2px solid #00629b; /* mavi çerçeve */
  border-radius: 12px;
  padding: 20px;
  margin: 10px 0;
  text-decoration: none; /* link alt çizgisi kalkar */
  color: inherit; /* yazı rengi değişmez */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.02);
}
/* ================= YÖNETİM KURULU SAYFASI ================= */

.board-section {
  padding: 40px 20px 80px;
  max-width: 1200px;
  margin: auto;
}

.board-section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--ieee-blue);
  margin-bottom: 35px;
}

/* ===== HOCANIN KARTI (ORTADA, BÜYÜK DİKDÖRTGEN) ===== */

.advisor-container {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.board-card.advisor {
  display: flex;
  align-items: center;
  gap: 30px;

  width: 100%;
  max-width: 900px;
  padding: 30px;

  background: #ffffff;
  border: 2px solid #00629b;
  border-radius: 20px;

  box-shadow: 0 10px 25px rgba(0, 98, 155, 0.2);
  text-decoration: none;
  color: inherit;
}

/* Hoca foto */
.board-card.advisor img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
}

/* Hoca yazıları */
.advisor-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.advisor-info span {
  font-size: 1rem;
  color: #64748b;
}

/* ===== YÖNETİM KURULU ÜYELERİ ===== */

.board-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.board-card:not(.advisor) {
  width: 220px;
  background-color: #ffffff;
  border: 2px solid #00629b;
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;

  box-shadow: 0 8px 20px rgba(0, 98, 155, 0.15);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.board-card:not(.advisor):hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 98, 155, 0.25);
}

.board-card:not(.advisor) img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

.board-card:not(.advisor) h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.board-card:not(.advisor) span {
  font-size: 0.85rem;
  color: #64748b;
}

/* ===== SOSYAL İKONLAR ===== */

.socials {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.socials a {
  text-decoration: none;
  color: inherit;
}

.socials i {
  font-size: 1.2rem;
  color: #00629b;
}

/* ===== MOBİL ===== */

@media (max-width: 768px) {
  .board-card.advisor {
    flex-direction: column;
    text-align: center;
  }

  .board-card.advisor img {
    margin-bottom: 10px;
  }

  .board-card:not(.advisor) {
    width: 100%;
    max-width: 320px;
  }
}
/* HOCANIN KARTI – FOTO ÜSTTE, ORTALI */

.board-card.advisor {
  flex-direction: column; /* YAN YANA DEĞİL, ALT ALTA */
  text-align: center;
}

.board-card.advisor img {
  margin-bottom: 15px;
}

.advisor-info {
  text-align: center;
}
/* HOCANIN KARTI – DAHA KÜÇÜK VE TEMİZ */

.board-card.advisor {
  max-width: 650px; /* 900px çoktu */
  padding: 20px; /* 30px çoktu */
  gap: 15px;
}

/* Fotoğraf küçült */
.board-card.advisor img {
  width: 120px; /* 160px → 120px */
  height: 120px;
  margin-bottom: 12px;
}

/* Yazılar biraz küçült */
.advisor-info h3 {
  font-size: 1.2rem; /* 1.4 → 1.2 */
}

.advisor-info span {
  font-size: 0.95rem;
}
/* HOCAYI TAM SAYFA YANLAMASINA YAP */
.advisor-container {
  display: flex;
  justify-content: center;
}

.board-card.advisor {
  display: flex;
  align-items: center;
  gap: 25px;

  width: 100%; /* TAM GENİŞLİK */
  max-width: 1100px; /* sayfayla aynı */
  padding: 20px 30px;

  background: #ffffff;
  border: 2px solid #00629b;
  border-radius: 18px;
}
/* HOCANIN FOTOĞRAFI YUVARLAK */
.board-card.advisor img {
  border-radius: 50%;
}
/* DANIŞMAN ALT BOŞLUĞUNU AZALT */
.advisor-container {
  margin-bottom: 20px;
}
.board-section + .board-section {
  margin-top: -30px;
}
/* SADECE YÖNETİM KURULU BÖLÜMÜNÜ YUKARI AL */
.board-section:nth-of-type(2) {
  padding-top: 0;
  margin-top: -40px;
}
/* HOCANIN KARTINI KÜÇÜLT */
.board-card.advisor {
  max-width: 650px;
  padding: 20px 24px;
  gap: 20px; /* foto-yazı arası */
}
.calendar-section {
  padding: 80px 20px 120px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.calendar-section h1 {
  color: var(--ieee-blue);
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.calendar-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* ===== NAVBAR HAMBURGER ===== */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
}

/* Mobil */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .navbar.active .nav-links,
  .navbar.active .nav-cta {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 16px;
    margin-top: 15px;
  }

  /* LOGO + HAMBURGER YAN YANA */
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }
}
/* ===== NAVBAR FIX (DESKTOP + MOBILE) ===== */

/* DESKTOP */
@media (min-width: 769px) {
  .nav-container {
    flex-direction: row;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 28px;
    margin: 0;
  }

  .nav-cta {
    display: inline-block;
    margin: 0;
  }

  .nav-toggle {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .navbar.active .nav-links,
  .navbar.active .nav-cta {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 16px;
    margin-top: 15px;
  }
}
/* ===== MOBILE DROPDOWN MENU FIX ===== */

@media (max-width: 768px) {
  /* Navbar relative olsun */
  .navbar {
    position: relative;
  }

  /* Menü gizliyken */
  .nav-links {
    position: absolute;
    top: 70px; /* navbar yüksekliği */
    left: 0;
    width: 100%;
    background: #00629b;

    flex-direction: column;
    align-items: center;

    padding: 20px 0;
    display: none;
  }

  /* Açılınca */
  .navbar.active .nav-links {
    display: flex;
  }

  /* Üye Ol butonu da alta gelsin */
  .nav-cta {
    position: absolute;
    top: calc(70px + 220px); /* menünün altı */
    left: 50%;
    transform: translateX(-50%);
    display: none;
  }

  .navbar.active .nav-cta {
    display: block;
  }
}
/* ===== MOBILE DROPDOWN MENU (CTA DAHİL) ===== */

@media (max-width: 768px) {
  /* Navbar referans noktası */
  .navbar {
    position: relative;
  }

  /* Menü alanı */
  .nav-links {
    position: absolute;
    top: 55px; /* navbar yüksekliği */
    left: 0;
    width: 100%;
    background: #00629b;

    flex-direction: column;
    align-items: center;

    padding: 20px 0;
    display: none;
  }

  /* Açılınca */
  .navbar.active .nav-links {
    display: flex;
  }

  /* Üye Ol'u menü içine al */
  .nav-cta {
    display: none;
    margin: 15px 0 5px;
  }

  .navbar.active .nav-cta {
    display: block;
  }

  /* CTA'yı da alt alta hizala */
  .navbar.active .nav-links,
  .navbar.active .nav-cta {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    min-height: 280px; /* arttırabilirsin */
  }
}

/* ===== MOBILE MENU SLIDE DOWN ===== */

@media (max-width: 768px) {
  .nav-links {
    overflow: hidden;

    max-height: 0; /* kapalıyken */
    opacity: 0;

    transition:
      max-height 0.4s ease,
      opacity 0.3s ease;

    display: flex !important; /* display:none yerine */
  }

  /* Açılınca */
  .navbar.active .nav-links {
    max-height: 500px; /* menü uzunluğuna göre arttır */
    opacity: 1;
  }
}
/* ===== MOBILE SLIDE DOWN MENU (WORKING) ===== */

@media (max-width: 768px) {
  /* Menü her zaman var ama kapalı */
  .nav-links {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    background: #00629b;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;

    max-height: 0;
    opacity: 0;

    transition:
      max-height 0.4s ease,
      opacity 0.3s ease;
  }

  /* Açılınca */
  .navbar.active .nav-links {
    max-height: 600px; /* ihtiyaca göre artır */
    opacity: 1;
  }

  /* Üye Ol gizli */
  .nav-cta {
    display: none;
  }

  /* Açılınca göster */
  .navbar.active .nav-cta {
    display: block;
    margin: 15px auto;
  }
}
/* Hamburger sola çek - ZORLA */

@media (max-width: 768px) {
  .nav-toggle {
    margin-right: 5px !important;
  }
}

/* Hamburger pozisyon fix */

@media (max-width: 768px) {
  .nav-container {
    gap: 15px; /* logo ile hamburger arası */
  }

  .nav-toggle {
    margin-right: 0 !important;
  }
}

/* Hamburger biraz sola gelsin (safe fix) */

@media (max-width: 768px) {
  .nav-toggle {
    position: relative;
    right: 30px; /* sağdan sola iter */
  }
}

/* ===== MOBILE FOOTER STACK FIX ===== */

@media (max-width: 768px) {
  .footer-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-col {
    width: 100% !important;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-col a,
  .footer-col p {
    display: block;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}
/* Navbar içeriğini sola çek (logo + hamburger) */

@media (max-width: 768px) {
  .nav-container {
    padding-left: 4px !important; /* sola yaklaştırır */
    padding-right: 4px !important; /* sağ boşluğu da dengeler */
  }
}
/* ===== GLOBAL MOBILE HAMBURGER FIX ===== */

@media (max-width: 768px) {
  .nav-toggle {
    display: block !important;
  }

  .nav-links {
    display: flex !important;
  }
}
/* Desktop navbar yazı boyutu */

@media (min-width: 769px) {
  .nav-links li a {
    font-size: 1.15rem; /* büyüklük */
  }

  .nav-cta {
    font-size: 1.1rem;
  }
}
/* ===== TEMIZ SLIDER ===== */

.hero-slider {
  width: 100%;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.slider img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;

  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider img.active {
  opacity: 1;
  z-index: 2;
}

/* Oklar */

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: rgba(0, 0, 0, 0.6);
  color: white;

  border: none;
  width: 40px;
  height: 40px;

  border-radius: 50%;
  cursor: pointer;

  z-index: 5;
}

.slider .prev {
  left: 10px;
}

.slider .next {
  right: 10px;
}

/* Mobil */

@media (max-width: 768px) {
  .hero-slider {
    height: 360px;
  }

  .slider {
    width: 95%;
  }
}
/* PC'de slider üst boşluk */

@media (min-width: 769px) {
  .hero-slider {
    margin-top: 30px; /* İstersen 20 / 40 yapabilirsin */
  }
}
/* Mobilde slider boşluklarını azalt */

@media (max-width: 768px) {
  .hero-slider {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Mobilde slider etrafındaki tüm boşlukları sıfırla */

@media (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
  }

  section {
    margin: 0;
    padding: 0;
  }

  .hero-slider {
    margin: 0 !important;
    padding: 0 !important;
  }

  .slider {
    margin: 0 !important;
    padding: 0 !important;
  }

  .slider img {
    display: block;
    margin: 0 auto;
  }
}
/* Sadece mobilde slider oklarını ayarla */

@media (max-width: 768px) {
  .slider {
    position: relative;
  }

  .slider .prev {
    left: 5px; /* Sola mesafe */
  }

  .slider .next {
    right: 5px; /* Sağa mesafe */
  }

  .slider .prev,
  .slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: row; /* Logo ve hamburger aynı satırda */
    justify-content: space-between; /* Logo solda, hamburger sağda */
    align-items: center;
    padding: 10px 15px;
  }

  .nav-toggle {
    align-self: auto; /* Row yönünde align-self gerekmez */
    margin: 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .navbar.active .nav-links,
  .navbar.active .nav-cta {
    display: flex;
  }
}

@media (max-width: 768px) {
  /* Navbar container column yönünde kalsın */
  .nav-container {
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  /* Hamburger sağa yaslansın */
  .nav-toggle {
    align-self: flex-end;
    margin: 10px 15px 0 0; /* Üstten ve sağdan boşluk */
  }

  /* Menü paneli açıldığında */
  .navbar.active .nav-links,
  .navbar.active .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: center; /* Menü elemanları ortalanır */
    width: calc(100% - 30px); /* Sağ ve solda 15px boşluk bırak */
    max-width: 400px; /* Panelin maksimum genişliği */
    background: var(--ieee-blue); /* Arkaplan rengi menü ile aynı */
    padding: 10px 15px; /* Panel içi boşluk */
    border-radius: 10px; /* İsteğe bağlı yuvarlatma */
    box-sizing: border-box;
  }

  /* Menü linkleri */
  .nav-links {
    gap: 14px;
    margin: 10px 0 0 0;
    width: 100%;
  }

  /* Üye Ol butonu panel içinde */
  .nav-cta {
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Navbar column yönünde, logo ve hamburger aynı satırda */
  .nav-container {
    flex-direction: row; /* logo ve hamburger aynı satırda */
    justify-content: space-between; /* logo solda, hamburger sağda */
    align-items: center;
    padding: 10px 15px;
  }

  /* Hamburger görünür ve sağda */
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000; /* menünün üstünde olsun */
  }

  .nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 2px;
  }

  /* Menü paneli */
  .nav-links,
  .nav-cta {
    display: none; /* başlangıçta gizli */
    flex-direction: column;
    align-items: center;
    width: calc(100% - 30px); /* sağ ve soldan boşluk */
    max-width: 400px; /* panelin genişliği */
    background: var(--ieee-blue);
    padding: 10px 15px;
    border-radius: 10px;
    margin-top: 10px;
  }

  /* Menü açıldığında */
  .navbar.active .nav-links,
  .navbar.active .nav-cta {
    display: flex;
  }

  /* Menü linkleri */
  .nav-links {
    gap: 14px;
    width: 100%;
  }

  /* Üye Ol butonu panel içinde */
  .nav-cta {
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
    z-index: 1000;
  }

  .nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 2px;
  }

  /* Menü paneli */
  .nav-links,
  .nav-cta {
    display: none;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 30px);
    max-width: 400px;
    background: var(--ieee-blue);
    padding: 10px 15px;
    border-radius: 10px;
    margin-top: 10px;
  }

  /* Menü açıldığında hem linkler hem Üye Ol görünür */
  .navbar.active .nav-links,
  .navbar.active .nav-cta {
    display: flex;
  }

  /* Menü linkleri */
  .nav-links {
    gap: 14px;
    width: 100%;
  }

  /* Üye Ol panelin en altına */
  .nav-cta {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    color: var(--ieee-blue);
    padding: 8px 20px;
    border-radius: 20px;
  }
}

/* ===== MOBILE MENU ÜYE OL BUTON STİLİ ===== */
@media (max-width: 768px) {
  .navbar.active .nav-cta {
    display: block;
    background: transparent; /* içi şeffaf */
    color: #ffffff; /* yazı beyaz */
    border: 2px solid #ffffff; /* beyaz çerçeve */
    border-radius: 999px; /* tam yuvarlak */
    padding: 10px 26px;
    font-weight: 600;
  }

  .navbar.active .nav-cta:hover {
    background: rgba(255, 255, 255, 0.15); /* hover efekti */
  }
}
/* ===== MOBILE MENU ÜYE OL BUTONU (BEYAZ) ===== */
@media (max-width: 768px) {
  .navbar.active .nav-cta {
    display: block;
    background: #ffffff; /* içi beyaz */
    color: #00629b; /* yazı mavi */
    border: 2px solid #ffffff; /* beyaz çerçeve */
    border-radius: 999px; /* tam yuvarlak */
    padding: 10px 26px;
    font-weight: 700;
  }

  .navbar.active .nav-cta:hover {
    background: #e6f2fa; /* hover */
  }
}
/* ===== MOBILE MENU ÜYE OL BUTONU (YAZI KADAR) ===== */
@media (max-width: 768px) {
  .navbar.active .nav-cta {
    display: inline-block; /* 🔴 TAM ÖNEMLİ: içeriği kadar genişlik */
    width: auto !important; /* panel genişliğini iptal eder */
    background: #ffffff;
    color: #00629b;
    border: 2px solid #ffffff;
    border-radius: 999px;
    padding: 6px 18px; /* sadece yazıyı saran boşluk */
    font-weight: 700;
    text-align: center;
  }
}

/* ===== MOBILE MENU ÜYE OL KONUM AYARI ===== */
@media (max-width: 768px) {
  .navbar.active .nav-cta {
    margin-left: -12px; /* sola kaydırır (−5, −15 deneyebilirsin) */
    margin-top: -6px; /* yukarı alır (−3, −10 deneyebilirsin) */
  }
}

/* ===== MOBILE HAMBURGER YUKARI AL ===== */
@media (max-width: 768px) {
  .nav-toggle {
    transform: translateY(-6px); /* -4, -8 deneyebilirsin */
  }
}

/* ===== MOBILE CENTERED DROPDOWN + SMOOTH ANIMATION ===== */
@media (max-width: 768px) {
  /* Navbar referans */
  .navbar {
    position: relative;
  }

  /* Menü paneli (ortalanmış kart gibi) */
  .nav-links {
    position: absolute;
    top: 58px; /* navbar altı */
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.98);

    width: calc(100% - 30px);
    max-width: 420px;

    background: var(--ieee-blue);
    border-radius: 14px;
    padding: 14px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    /* animasyon için başlangıç durumu */
    opacity: 0;
    pointer-events: none;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      box-shadow 0.25s ease;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  }

  /* Açılınca */
  .navbar.active .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  /* Üye Ol butonu panel içinde, ortada */
  .nav-cta {
    display: none;
  }

  .navbar.active .nav-cta {
    display: inline-block;
    margin: 6px auto 2px;

    background: #ffffff; /* içi beyaz */
    color: #00629b; /* yazı mavi */
    border: 2px solid #ffffff;
    border-radius: 999px;
    padding: 6px 18px; /* yazıyı saran */
    font-weight: 700;
    width: auto; /* tam genişlik olmasın */
  }
}

/* ===== NAVBAR HER ZAMAN ÜSTTE KALSIN ===== */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

body {
  padding-top: 80px; /* NAVBAR yüksekliği kadar */
}

@media (max-width: 768px) {
  .footer-col.logo-col {
    justify-content: center;
    text-align: center;
  }
}


/* ===============================
   GEÇMİŞ ETKİNLİKLER – ARŞİV LİSTESİ
   =============================== */

.events-page-only .events-page {
  padding: 40px 20px;
}

/* Sayfa başlığı */
.events-page-only .events-page-container h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 35px;
  text-align: center;
  color: #00629b; /* IEEE mavisi */
}

/* Liste kutusu */
.events-page-only .archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #dcdcdc;
  background-color: #ffffff;
}

/* Satır */
.events-page-only .archive-list li {
  border-top: 1px solid #e5e5e5;
}

.events-page-only .archive-list li:first-child {
  border-top: none;
}

/* Kutunun tamamı tıklanabilir */
.events-page-only .archive-item {
  display: block;
  padding: 14px 18px;
  text-decoration: none;
  color: #222;
  transition: background-color 0.2s ease;
}

.events-page-only .archive-item:hover {
  background-color: #f4f8fb;
  cursor: pointer;
}

/* Etkinlik başlığı */
.events-page-only .archive-item .title {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1a1a1a;
}

/* Tarih */
.events-page-only .archive-item .date {
  font-size: 0.85rem;
  color: #666;
  margin-left: 6px;
  white-space: nowrap;
}

/* Mobil */
@media (max-width: 600px) {
  .events-page-only .events-page-container h1 {
    font-size: 1.3rem;
  }

  .events-page-only .archive-item {
    padding: 12px 14px;
  }
}
.events-page-only {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.events-page-only .events-page {
  flex: 1;
}




/* ============================= */
/* TANISMA TOPLANTISI SAYFASI  */
/* ============================= */

/* Üstteki büyük foto */
.event-detail-container img {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 12px;
}

/* Galeri alanı */
.event-detail .gallery {
  display: grid;
  grid-template-columns: repeat(3, 250px); /* Küçük kutular */
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}

/* Küçük fotoğraflar */
.event-detail .gallery img {
  width: 230px;
  height: 230px;          /* Hepsi aynı boy */
  object-fit: cover;     /* Oranı bozmaz */
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.event-detail .gallery img:hover {
  transform: scale(1.08);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  padding: 0;              /* Padding kaldırıldı */
  background: transparent; /* Beyaz arka plan kaldırıldı */
  box-shadow: none;        /* Gölge varsa kaldır */
}

.modal-content img {
  max-width: 600px;
  max-height: 80vh;
  border-radius: 10px;
  display: block;
}

/* Çarpı */
.close-btn {
  position: absolute;
  top: -15px;
  right: -2px;   /* Biraz sola kaydı */
  font-size: 42px; /* Büyüdü */
  font-weight: bold;
  color: white;  
  cursor: pointer;
}


.back-link {
  display: block;
  text-align: center;
  margin: 15px 0 40px 0; 
}




/* Tablet */
@media (max-width: 900px) {
  .event-detail .gallery {
    grid-template-columns: repeat(3, 100px);
  }

  .event-detail .gallery img {
    width: 100px;
    height: 100px;
  }
}

/* Mobil */
@media (max-width: 600px) {
  .event-detail .gallery {
    grid-template-columns: repeat(3, 90px); /* 3'lü devam */
    gap: 6px;
  }

  .event-detail .gallery img {
    width: 90px;
    height: 90px;
  }
}
@media (max-width: 600px) {
  .modal-content img {
    max-width: 95%;   /* Daha küçük */
    max-height: 60vh; /* Daha kısa */
  }

  .modal-content {
    padding: 10px;
  }
}




/* MEMBER PAGE */

.member-page{
  background:#f3f5f9;
}

.member-container{
  max-width:1100px;
  margin:auto;
  padding:20px 20px 40px;
}
/* breadcrumb */

.member-breadcrumb{
font-size:14px;
color:#8b96a8;
margin-bottom:25px;
}

.member-breadcrumb span{
color:#2f4f82;
font-weight:600;
}

/* profile */

.member-profile{
display:flex;
gap:30px;
align-items:flex-start;
margin-bottom:35px;
}

.member-profile-img{
width:140px;
height:140px;
object-fit:cover;
border-radius:50%;
border:3px solid #2f4f82;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.member-profile-info h1{
font-size:32px;
color:#2f4f82;
margin-bottom:6px;
}

.member-profile-info h3{
font-size:18px;
font-weight:500;
margin-bottom:6px;
}

.member-department{
color:#6c7b90;
margin-bottom:18px;
}

/* buttons */

.member-buttons{
display:flex;
gap:10px;
}

.member-btn{
padding:10px 18px;
border-radius:6px;
font-size:14px;
text-decoration:none;
}

.member-linkedin{
background:#0a66c2;
color:white;
}

.member-mail{
background:#eef1f6;
border:1px solid #dfe5ef;
color:#4a5a73;
}

/* section */

.member-section{
margin-bottom:25px;
}

.member-section h2{
font-size:22px;
margin-bottom:12px;
padding-bottom:10px;
border-bottom:1px solid #e3e7ef;
color:#2f4f82;
}

.member-section p{
line-height:1.7;
color:#4d5c72;
}

/* cards */

.member-card{
background:white;
border:1px solid #e7ecf4;
border-radius:10px;
padding:22px;
margin-bottom:20px;
}

.member-card h3{
font-size:18px;
color:#2f4f82;
margin-bottom:14px;
}

.member-card ul{
padding-left:18px;
}

.member-card li{
margin-bottom:8px;
color:#4d5c72;
}

.member-full{
margin-top:20px;
}

/* contact */

.member-contact{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
margin-top:20px;
}

.member-contact-box{
background:white;
border:1px solid #e7ecf4;
border-radius:10px;
padding:18px;
font-size:15px;
color:#4d5c72;
}

.member-breadcrumb a{
color:#2f4f82;
text-decoration: underline;
font-weight:600;
}

.member-breadcrumb a:hover{
text-decoration:underline;
}

.member-page{
  margin-top:-10px;
}

.member-buttons {
  margin-top: 10px;
}

.member-icon {
  display: inline-block;
  font-size: 24px; /* ikon boyutu */
  margin-right: 10px;
  color: #0077b5; /* LinkedIn rengi */
  text-decoration: none;
  transition: color 0.3s;
}

.member-icon.member-mail {
  color: #d44638; /* Gmail kırmızı rengi */
}

.member-icon:hover {
  color: #005582; /* hover rengi örneği */
}










/* Member buttons (LinkedIn & Mail) */
.member-buttons {
  margin-top: 15px;
}

.member-buttons a {
  display: inline-block;
  margin-right: 10px;
  color: #00629b; /* Yönetim Kurulu sayfasındaki renk */
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.member-buttons a:hover {
  color: #004a75; /* Hover rengi */
  transform: scale(1.2);
}




