/* ============================================================
   TDKSV v2 — Kurumsal Vakıf Sitesi
   Tasarım: Koyu, ağır, prestijli
   Font: Playfair Display (serif) + Source Sans 3 (sans)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Ana renkler */
  --dark: #0C1222;
  --dark-navy: #152238;
  --navy: #1B3A5C;
  --slate: #2C4A6E;

  /* Nötr */
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --gray: #6C757D;
  --dark-gray: #343A40;

  /* Vurgu */
  --gold: #C8A54D;
  --gold-light: #D4B86A;
  --gold-dark: #A8893D;
  --sky-blue: #4A90D9;
  --red: #C0392B;
  --green: #27AE60;

  /* Gölgeler */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);

  /* Geçiş */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-light);
}

::selection {
  background: var(--gold);
  color: var(--dark);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-gray);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

@media (min-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
}

p {
  margin-bottom: 1rem;
}

.text-gold { color: var(--gold) !important; }
.text-dark-custom { color: var(--dark) !important; }
.bg-dark-custom { background-color: var(--dark) !important; }
.bg-dark-navy { background-color: var(--dark-navy) !important; }
.bg-off-white { background-color: var(--off-white) !important; }

/* ---------- Section Heading ---------- */
.section-label {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 12px;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading.text-white { color: var(--white) !important; }

.section-desc {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* ---------- Navbar ---------- */
.navbar-v2 {
  padding: 0.75rem 0;
  transition: var(--transition);
  background: transparent;
  z-index: 1050;
}

.navbar-v2 .container {
  display: flex;
  align-items: center;
}

.navbar-v2.scrolled {
  background: var(--dark);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-v2 .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-v2 .navbar-brand img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  object-fit: contain;
  transition: var(--transition);
}

.navbar-v2.scrolled .navbar-brand img {
  height: 46px;
  width: 46px;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.navbar-brand-text .brand-line1 {
  font-family: 'Playfair Display', serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.navbar-brand-text .brand-line2 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@media (max-width: 575px) {
  .navbar-brand-text { display: none; }
}

.navbar-v2 .nav-link {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
}

.navbar-v2 .nav-link:hover,
.navbar-v2 .nav-link.active {
  color: var(--gold) !important;
}

.navbar-v2 .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gold);
}

/* MENÜ Button */
.navbar-menu-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-left: auto;
}

.navbar-menu-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.menu-lines {
  display: flex;
  flex-direction: column;
  gap: 4.5px;
}

.menu-lines span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: var(--transition);
}

.menu-label {
  line-height: 1;
}

/* Offcanvas */
.offcanvas-v2 {
  background: var(--dark) !important;
  width: 380px !important;
  max-width: 90vw;
  z-index: 1100 !important;
}

.offcanvas-v2 .offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.1rem 1.5rem;
}

/* Offcanvas brand (logo + name in header) */
.offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.offcanvas-brand img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  object-fit: contain;
}

.offcanvas-brand span {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.offcanvas-v2 .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offcanvas-v2 .navbar-brand img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.offcanvas-v2 .btn-close {
  filter: invert(1);
}

.offcanvas-v2 .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 1rem;
  padding: 0.75rem 1.5rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.offcanvas-v2 .nav-link:hover,
.offcanvas-v2 .nav-link.active {
  color: var(--gold) !important;
  background: rgba(255,255,255,0.03);
}

/* Offcanvas sub-menu (accordion style) */
.offcanvas-v2 .nav-sub {
  background: rgba(255,255,255,0.03);
}

.offcanvas-v2 .nav-sub .nav-link {
  font-size: 0.875rem !important;
  padding: 0.5rem 1.5rem 0.5rem 2.5rem !important;
  color: rgba(255,255,255,0.55) !important;
  border-bottom: none;
}

.offcanvas-v2 .nav-sub .nav-link:hover {
  color: var(--gold) !important;
}

.offcanvas-v2 .nav-sub-header {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  padding: 0.6rem 1.5rem 0.2rem 2rem;
  opacity: 0.8;
}

.offcanvas-v2 .nav-toggle-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  width: 100%;
  text-align: left;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.offcanvas-v2 .nav-toggle-btn:hover,
.offcanvas-v2 .nav-toggle-btn.active-parent {
  color: var(--gold);
}

.offcanvas-v2 .nav-toggle-btn .chevron {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.offcanvas-v2 .nav-toggle-btn[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

/* ---------- Desktop navbar: larger logo, wider button ---------- */
@media (min-width: 992px) {
  .navbar-menu-btn {
    padding: 10px 22px;
    font-size: 0.6875rem;
  }

  .offcanvas-v2 {
    width: 420px !important;
  }
}

.navbar-v2 .dropdown-menu {
  background: var(--dark);
  border: 1px solid rgba(200, 165, 77, 0.2);
  border-radius: 4px;
  margin-top: 0 !important;
  min-width: 230px;
  padding: 0.4rem 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  animation: dropFadeIn 0.18s ease;
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.navbar-v2 .dropdown-item {
  color: rgba(255,255,255,0.72);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  padding: 0.35rem 1.1rem;
  transition: var(--transition);
  white-space: normal;
}

.navbar-v2 .dropdown-item:hover,
.navbar-v2 .dropdown-item:focus {
  color: var(--gold);
  background: rgba(200, 165, 77, 0.06);
}

.navbar-v2 .dropdown-header {
  color: var(--gold);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.5rem 1.1rem 0.2rem;
}

.navbar-v2 .dropdown-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 0.3rem 0;
}

/* Active underline should NOT apply on dropdown-toggle */
.navbar-v2 .dropdown-toggle.active::after {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--dark);
}

@media (min-width: 768px) {
  .hero { min-height: 100vh; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12,18,34,0.88) 0%,
    rgba(12,18,34,0.55) 50%,
    rgba(12,18,34,0.92) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding: 0 1.5rem;
}

.hero-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

@media (min-width: 576px) {
  .hero h1 { font-size: 2.25rem; }
}

@media (min-width: 768px) {
  .hero h1 { font-size: 2.75rem; }
}

@media (min-width: 992px) {
  .hero h1 { font-size: 3.25rem; }
}

.hero-slogan {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-slogan { font-size: 1.25rem; }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.4);
  font-size: 1.5rem;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Page Header (Alt Sayfalar) ---------- */
.page-header {
  background: var(--dark);
  padding: 8rem 0 3rem;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header .breadcrumb {
  justify-content: center;
  margin: 0;
  font-size: 0.875rem;
}

.page-header .breadcrumb-item a {
  color: var(--gold);
}

.page-header .breadcrumb-item.active {
  color: rgba(255,255,255,0.5);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.3);
}

/* ---------- Sections ---------- */
.section-light {
  background: var(--off-white);
  padding: 4rem 0;
}

.section-white {
  background: var(--white);
  padding: 4rem 0;
}

.section-dark {
  background: var(--dark);
  padding: 4rem 0;
  color: rgba(255,255,255,0.75);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark-navy {
  background: var(--dark-navy);
  padding: 4rem 0;
  color: rgba(255,255,255,0.75);
}

.section-dark-navy h2,
.section-dark-navy h3,
.section-dark-navy h4 {
  color: var(--white);
}

@media (min-width: 768px) {
  .section-light,
  .section-white,
  .section-dark,
  .section-dark-navy {
    padding: 5rem 0;
  }
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  border: 2px solid var(--gold);
  padding: 12px 32px;
  border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(200,165,77,0.3);
}

.btn-outline-gold {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 12px 32px;
  border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 28px;
  border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

@media (max-width: 575.98px) {
  .btn-gold,
  .btn-outline-gold,
  .btn-outline-white {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Cards ---------- */
.card-v2 {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-v2 .card-img-top {
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-v2 .card-body {
  padding: 1.5rem;
}

.card-v2 .card-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.card-v2 .card-text {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.7;
}

.card-v2 .card-meta {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

/* Card on dark background */
.card-dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}

.card-dark:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.05);
}

.card-dark .card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(200,165,77,0.1);
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.card-dark h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.card-dark p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

/* ---------- Stats / Counter ---------- */
.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-number { font-size: 3rem; }
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Light bg version */
.stat-item-light .stat-number {
  color: var(--dark);
}

.stat-item-light .stat-label {
  color: var(--gray);
}

/* ---------- Quote / Başkan Mesajı ---------- */
.quote-block {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--gold);
}

.quote-block .quote-icon {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -1rem;
}

.quote-block p {
  font-size: 1.0625rem;
  line-height: 1.8;
  font-style: italic;
}

.quote-block .quote-author {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.quote-block .quote-title {
  font-style: normal;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Partners ---------- */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.partner-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-bottom: 3px solid var(--gold);
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 200px;
}

.partner-item:hover {
  border-bottom-color: var(--gold);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* ---------- News / Haber Card ---------- */
.news-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.news-card .news-img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.news-card .news-card-img {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--light-gray);
}

.news-card .news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.04);
}

.news-card .news-body {
  padding: 1.25rem;
}

.news-card .news-card-body {
  padding: 1.25rem;
}

.news-card .news-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(200,165,77,0.1);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.news-card .news-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-card .news-excerpt {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- Filter Buttons ---------- */
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--light-gray);
  color: var(--gray);
  padding: 8px 20px;
  border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--gold);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .gallery-grid { gap: 1rem; }
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--dark);
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 34, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gallery-overlay i {
  font-size: 1.75rem;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.gallery-item:hover .gallery-overlay {
  background: rgba(12, 18, 34, 0.45);
}

.gallery-item:hover .gallery-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--light-gray);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--off-white);
  z-index: 1;
  margin-left: -5px;
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* Dark bg timeline */
.section-dark .timeline::before {
  background: rgba(255,255,255,0.1);
}

.section-dark .timeline-item::before {
  border-color: var(--dark);
}

/* ---------- Tabs (Kurullar) ---------- */
.tabs-v2 .nav-tabs {
  border-bottom: 2px solid var(--light-gray);
  gap: 0;
}

.tabs-v2 .nav-link {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--gray);
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.75rem 1.25rem;
  border-radius: 0;
  transition: var(--transition);
}

.tabs-v2 .nav-link:hover {
  color: var(--dark-gray);
  border-color: var(--light-gray);
}

.tabs-v2 .nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: transparent;
}

/* ---------- Contact ---------- */
.contact-info-card {
  padding: 2rem;
  border-radius: 6px;
  height: 100%;
}

.contact-info-card i {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.contact-info-card p {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.contact-form .form-control {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,165,77,0.15);
  background: var(--white);
}

.contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  border-top: 1px solid var(--gold);
}

.footer-main {
  padding: 3.5rem 0 2rem;
}

.footer-brand img {
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}

.footer-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h5 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-contact i {
  color: var(--gold);
  width: 18px;
  margin-right: 8px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,165,77,0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  font-size: 0.8125rem;
}

/* ---------- Project Card ---------- */
.project-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
}

.project-card .project-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

.project-card .project-body {
  padding: 1.5rem;
}

.project-card .project-status {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.project-card .status-active {
  background: rgba(39,174,96,0.1);
  color: var(--green);
}

.project-card .status-planned {
  background: rgba(74,144,217,0.1);
  color: var(--sky-blue);
}

.project-card .status-completed {
  background: rgba(200,165,77,0.1);
  color: var(--gold);
}

/* ---------- Members List ---------- */
.member-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.member-item:last-child {
  border-bottom: none;
}

.member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.member-info h5 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.125rem;
}

.member-info p {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ---------- Breadcrumb on dark ---------- */
.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: rgba(255,255,255,0.3);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(200,165,77,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  background: var(--dark);
  color: var(--gold);
  border: 1px solid rgba(200,165,77,0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ---------- Misc ---------- */
.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto;
}

.img-rounded {
  border-radius: 6px;
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

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

.letter-spacing-wide {
  letter-spacing: 2px;
}

/* Fade in animation util */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dark section link colors */
.section-dark a:not(.btn-gold):not(.btn-outline-gold):not(.btn-outline-white),
.section-dark-navy a:not(.btn-gold):not(.btn-outline-gold):not(.btn-outline-white) {
  color: var(--gold);
}

/* Badge */
.badge-gold {
  background: rgba(200,165,77,0.12);
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 3px;
}

/* ---------- Responsive Fine Tuning ---------- */
@media (max-width: 767.98px) {
  .section-light,
  .section-white,
  .section-dark,
  .section-dark-navy {
    padding: 3rem 0;
  }

  .page-header {
    padding: 6.5rem 0 2rem;
  }

  .footer-main {
    padding: 2.5rem 0 1.5rem;
  }

  .quote-block {
    padding-left: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .stat-number {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* Logo kapsayıcı alan (Eski ikonun kapladığı alan gibi düşünebilirsin) */
.uni-logo-wrapper {
  height: 50px;       
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  margin-bottom: 1rem; 
}
.uni-card-logo {
  max-height: 100%;   
  max-width: 140px;  
  object-fit: contain;
  
  
}

