/* ===================== RESET & BASE ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal: #14a890;
  --teal-dark: #0e8a76;
  --teal-darker: #0b6f5e;
  --navy: #1a2436;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f8fafb;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --green-icon: #0f9d8a;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.28);
}

.btn-outline {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-divider {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,0.4);
}

.site-header.scrolled .logo-divider {
  background: var(--border-color);
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  padding: 2px;
}

.logo-round {
  border-radius: 50%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-header.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

.site-header.scrolled .menu-toggle {
  color: var(--text-dark);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20,30,45,0.65) 0%, rgba(20,40,55,0.35) 45%, rgba(60,100,130,0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 20px;
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ===================== ABOUT ===================== */
.about-section {
  padding: 100px 0 80px;
  background: #ffffff;
}

.about-title {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.about-desc {
  max-width: 850px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 17px;
  color: var(--text-gray);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.info-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  width: 52px;
  height: 52px;
  background: #d3f3ec;
  color: var(--green-icon);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.info-card p {
  font-size: 14.5px;
  color: var(--text-gray);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 48px;
  margin-bottom: 32px;
}

.mv-card h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--navy);
}

.mv-card p {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.mv-card:first-child {
  padding-right: 40px;
  border-right: 1px solid var(--border-color);
}

.mv-card:last-child {
  padding-left: 40px;
}

/* ===================== TEAM CARD ===================== */
.team-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

.team-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 10px;
}

.team-info p {
  font-size: 14.5px;
  color: var(--text-gray);
}

/* ===================== NEWS ===================== */
.news-section {
  padding: 90px 0;
  background: #ffffff;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.news-header h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
}

.news-sub {
  color: var(--text-gray);
  max-width: 380px;
  font-size: 15px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hidden-news {
  display: none;
}

.hidden-news.show {
  display: flex;
  flex-direction: column;
}

.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.news-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg-light);
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.06);
}

.news-body {
  padding: 24px;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.badge-haber { background: #d8f6e6; color: #1c9a5c; }
.badge-etkinlik { background: #fde2e2; color: #d6486a; }
.badge-egitim { background: #fdf1c9; color: #b5860a; }
.badge-duyuru { background: #fdf1c9; color: #b5860a; }
.badge-kongre { background: #d9f1ee; color: #15897a; }
.badge-isbirligi { background: #dbeafe; color: #2563eb; }
.badge-sempozyum { background: #d9f1ee; color: #15897a; }
.badge-arastirma { background: #ede9fe; color: #7c3aed; }

.news-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-body p {
  font-size: 14.5px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.read-more {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more i {
  transition: transform 0.2s ease;
}

.read-more:hover i {
  transform: translateX(4px);
}

.show-more-wrap {
  text-align: center;
  margin-top: 48px;
}

/* ===================== DUYURULAR ===================== */
.announcements-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.ann-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: start;
}

.ann-side {
  position: sticky;
  top: 110px;
}

.ann-side h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin: 6px 0 18px;
}

.ann-side p {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 26px;
}

.ann-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ann-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.ann-item.highlight {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.ann-item:hover {
  box-shadow: var(--shadow-hover);
}

.ann-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #d3f3ec;
  color: var(--green-icon);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.ann-text {
  flex: 1;
}

.ann-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.ann-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ann-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.ann-text p {
  font-size: 14px;
  color: var(--text-gray);
}

.ann-arrow {
  color: var(--text-light);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ===================== PROJELER ===================== */
.projects-section {
  padding: 90px 0;
  background: #ffffff;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.projects-header h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
}

.projects-header p {
  color: var(--text-gray);
  max-width: 380px;
  font-size: 15px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.project-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-active {
  background: var(--teal);
  color: #fff;
}

.status-active .dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
}

.status-done {
  background: rgba(20,30,45,0.75);
  color: #fff;
}

.year-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(20,30,45,0.75);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
}

.project-body {
  padding: 26px;
}

.project-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.project-body p {
  font-size: 14.5px;
  color: var(--text-gray);
  margin-bottom: 18px;
}

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
}

/* ===================== İLETİŞİM ===================== */
.contact-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.contact-title {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-sub {
  text-align: center;
  color: var(--text-gray);
  font-size: 16px;
  margin-bottom: 56px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-form-card,
.contact-info-card,
.member-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form-card h3,
.contact-info-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

#contactForm label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  margin-top: 18px;
}

#contactForm label:first-of-type {
  margin-top: 0;
}

.req {
  color: #e0506e;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s ease;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--teal);
}

#contactForm textarea {
  resize: vertical;
  min-height: 130px;
}

.char-count {
  text-align: right;
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 6px;
}

.form-status {
  font-size: 13.5px;
  margin-top: 16px;
  padding: 0;
  min-height: 0;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.form-status.success {
  padding: 12px 16px;
  background: #d8f6e6;
  color: #1c9a5c;
}

.form-status.error {
  padding: 12px 16px;
  background: #fde2e2;
  color: #d6486a;
}

.form-status.loading {
  padding: 12px 16px;
  background: #f1f5f9;
  color: var(--text-gray);
}

#contactForm .btn-block {
  margin-top: 24px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #d3f3ec;
  color: var(--green-icon);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.info-row h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.info-row p,
.info-row a {
  font-size: 14.5px;
  color: var(--text-gray);
}

.info-row a:hover {
  color: var(--teal);
}

.member-card {
  background: #e3f7f2;
  border-color: #bdeae1;
}

.member-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.member-card p {
  font-size: 14.5px;
  color: var(--text-gray);
  margin-bottom: 20px;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: linear-gradient(135deg, #0d7e6b, #0a6657);
  color: #e6f4f1;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  margin-bottom: 18px;
  object-fit: cover;
}

.footer-brand p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.8);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.2s ease;
}

.social-icon:hover {
  background: rgba(255,255,255,0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
}

.footer-mini-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
  object-fit: cover;
}

.footer-bottom-right {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--teal-dark);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .ann-layout { grid-template-columns: 1fr; }
  .ann-side { position: static; margin-bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card:first-child { border-right: none; border-bottom: 1px solid var(--border-color); padding: 0 0 32px; margin-bottom: 32px; }
  .mv-card:last-child { padding-left: 0; }
  .team-card { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 18px;
  }
  .main-nav.open .nav-link { color: var(--text-dark); }
  .hero-content h1 { font-size: 40px; }
  .hero-content p { font-size: 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-header, .projects-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-title, .contact-title { font-size: 30px; }
  .news-header h2, .projects-header h2, .ann-side h2 { font-size: 28px; }
}