/* =============================================================
   UPYE — Saf, Temiz CSS Tasarım Sistemi
   Hiçbir framework veya kütüphane kullanılmamıştır.
   ============================================================= */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --color-primary:    #003388;   /* Lacivert */
  --color-primary-d:  #002266;   /* Koyu Lacivert */
  --color-primary-l:  #0044aa;   /* Açık Lacivert */
  --color-accent:     #00bcd4;   /* Turkuaz */
  --color-accent-l:   #00c9e3;   /* Açık Turkuaz hover */
  --color-dark:       #3c3950;   /* Koyu Arka Plan / Başlıklar */
  --color-text:       #2c2c3e;
  --color-muted:      #6b7280;
  --color-light:      #f4f6f9;   /* Açık Gri Bölümler */
  --color-white:      #ffffff;
  --color-border:     #e2e8f0;

  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body:    'Source Sans Pro', 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.16);

  --transition: 0.28s ease;

  --container: 1200px;
  --header-h:  80px;
}

/* ── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }

/* ── 4. LAYOUT UTILITIES ───────────────────────────────────── */
.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding-block: 80px;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-title p {
  color: var(--color-muted);
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

/* ── 5. TOP BAR ────────────────────────────────────────────── */
.top-bar {
  background: var(--color-dark);
  color: rgba(255,255,255,.8);
  font-size: 0.8rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-contacts a {
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
}
.top-bar-contacts a:hover { color: var(--color-accent); }

.top-bar-contacts span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contacts .icon {
  width: 14px; height: 14px;
  opacity: .7;
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-socials a {
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
  font-size: .9rem;
}
.top-bar-socials a:hover { color: var(--color-accent); }

/* ── 6. HEADER / NAV ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo img {
  height: 52px;
  width: auto;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0; }

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-nav > ul > li {
  position: relative;
}

.site-nav > ul > li > a {
  display: block;
  padding: 28px 18px;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color var(--transition);
  white-space: nowrap;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li.active > a {
  color: var(--color-primary);
}

.site-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px 2px 0 0;
}

.site-nav > ul > li:hover > a::after,
.site-nav > ul > li.active > a::after {
  transform: scaleX(1);
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--color-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

.has-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
  border-bottom: 1px solid var(--color-border);
}

.dropdown-menu li:last-child a { border-bottom: none; }

.dropdown-menu li a:hover {
  color: var(--color-primary);
  background: var(--color-light);
  padding-left: 28px;
}

/* Nested dropdown */
.has-dropdown .has-dropdown > .dropdown-menu {
  top: 0;
  left: 100%;
  transform: translateX(-8px);
}

.has-dropdown .has-dropdown:hover > .dropdown-menu {
  transform: translateX(0);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── 7. HERO / SLIDER ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-d) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/online-meeting-platform-koyu.jpg') center/cover no-repeat;
  opacity: .2;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding-block: 80px;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  margin-bottom: 1.5rem;
}

.hero-content .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ── 8. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(139,26,26,.4);
}

.btn-primary:hover {
  background: var(--color-primary-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,26,26,.5);
}

.btn-outline {
  border: 2px solid currentColor;
  color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn-accent:hover {
  filter: brightness(.9);
  transform: translateY(-2px);
}

/* ── 9. CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 24px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.card-text {
  color: var(--color-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── 10. STATS / COUNTER BAR ───────────────────────────────── */
.stats-bar {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 48px 0;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
}

.stat-item .stat-label {
  margin-top: 8px;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

/* ── 11. PAGE HERO (İç sayfalar) ───────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary-d));
  color: var(--color-white);
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/upye-iletisim-banner.jpg') center/cover no-repeat;
  opacity: .15;
}

.page-hero .container { position: relative; }

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}

.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb-sep { opacity: .5; }

/* ── 12. MEMBERS TABLE ─────────────────────────────────────── */
.members-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.members-table th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.members-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.members-table tr:last-child td { border-bottom: none; }
.members-table tr:nth-child(even) td { background: var(--color-light); }
.members-table tr:hover td { background: rgba(139,26,26,.04); }

/* ── 13. TEAM CARDS ────────────────────────────────────────── */
.team-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px 24px;
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--color-primary);
  padding: 3px;
  background: var(--color-white);
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.team-card-title {
  font-size: .85rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* ── 14. GALLERY GRID ──────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139,26,26,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
}

/* ── 15. CONTACT SECTION ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--color-dark);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg { width: 18px; height: 18px; fill: white; }

.contact-item-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 2px;
}

.contact-item-text a,
.contact-item-text span {
  color: var(--color-text);
  transition: color var(--transition);
}

.contact-item-text a:hover { color: var(--color-primary); }

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.contact-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all var(--transition);
}

.contact-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ── 16. CONTACT FORM ──────────────────────────────────────── */
.contact-form {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139,26,26,.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-message {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 16px;
  display: none;
}

.form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; }
.form-message.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }

/* ── 17. MAP ────────────────────────────────────────────────── */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-wrapper iframe {
  width: 100%; height: 100%;
  border: none;
}

/* ── 18. ACCORDION (Tüzük vb.) ─────────────────────────────── */
.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 24px;
  background: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.accordion-trigger:hover { background: var(--color-light); }

.accordion-trigger[aria-expanded="true"] {
  background: var(--color-primary);
  color: var(--color-white);
}

.accordion-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  transition: transform var(--transition);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  display: none;
  padding: 20px 24px;
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
}

.accordion-panel.open { display: block; }

/* ── 19. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.75);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand img { height: 48px; width: auto; margin-bottom: 16px; }

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255,255,255,.65);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-white);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  align-items: flex-start;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 3px;
  fill: var(--color-primary);
}

.footer-contact-item a {
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--color-white); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ── 20. LIGHTBOX ───────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-overlay.open { display: flex; }

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
}

.lightbox-content img {
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: -44px; right: 0;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  opacity: .8;
  transition: opacity var(--transition);
  background: none;
  border: none;
  padding: 4px;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-caption {
  color: rgba(255,255,255,.8);
  text-align: center;
  margin-top: 12px;
  font-size: .9rem;
}

/* ── 21. ALERTS / BANNERS ───────────────────────────────────── */
.info-box {
  background: var(--color-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.info-box h4 {
  margin-bottom: 8px;
  color: var(--color-primary);
}

/* ── 22. SCROLL TO TOP ──────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-primary-d);
  transform: translateY(-3px);
}

/* ── 23. MOBILE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .section { padding-block: 56px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .top-bar { display: none; }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }

  .site-nav.open { max-height: 90vh; overflow-y: auto; }

  .site-nav > ul { flex-direction: column; gap: 0; }

  .site-nav > ul > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav > ul > li > a::after { display: none; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 4px solid var(--color-primary);
    border-radius: 0;
    background: var(--color-light);
    display: none;
  }

  .has-dropdown.open > .dropdown-menu { display: block; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { text-align: center; }
  .footer-social { justify-content: center; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
}

/* ── 24. TABS ────────────────────────────────────────────────── */
.tabs-container {
  margin-block: 40px;
}
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 32px;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.tab-link {
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  display: block;
}
.tab-link:hover,
.tab-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.tab-content {
  background: var(--color-white);
  padding-top: 16px;
}
.tab-pane {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── 25. HOMEPAGE ADDITIONS ────────────────────────────────────── */

/* Hero Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #1a1a2e;
}
.slides-wrapper {
  display: flex;
  width: 500%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}
.slide-item {
  width: 20%;
  height: 100%;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.slide-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 136, 0.25);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
  z-index: 10;
  cursor: pointer;
  user-select: none;
}
.slider-arrow:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}
.slider-arrow-left { left: 20px; }
.slider-arrow-right { right: 20px; }
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* Bizden Haberler Carousel/Grid */
.news-carousel {
  position: relative;
  overflow: hidden;
  padding-block: 20px;
}
.news-row-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: thin;
}
.news-card-item {
  flex: 0 0 calc(25% - 15px);
  min-width: 260px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
  transition: all 0.3s;
}
.news-card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.news-image-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.news-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card-item:hover .news-image-wrapper img {
  transform: scale(1.08);
}
.news-share-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 136, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s;
}
.news-image-wrapper:hover .news-share-overlay {
  opacity: 1;
}
.news-share-overlay p {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 15px;
}
.news-share-icons {
  display: flex;
  gap: 12px;
}
.news-share-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s;
  font-size: 0.9rem;
}
.news-share-icons a:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}
.news-card-body {
  padding: 18px;
}
.news-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Countdown Timers */
.countdown-box {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-block: 30px;
  flex-wrap: wrap;
}
.countdown-item {
  min-width: 80px;
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.countdown-accent .countdown-item {
  color: var(--color-accent);
  background: var(--color-dark);
  border: none;
}
.countdown-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.countdown-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* Progress Bars */
.progress-list {
  margin-block: 20px;
}
.progress-item {
  margin-bottom: 20px;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-dark);
  text-transform: uppercase;
}
.progress-track {
  width: 100%;
  height: 8px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 4px;
  transition: width 1s ease-out;
}

/* Publications Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
  transition: all 0.4s ease;
  aspect-ratio: 4/3;
}
.portfolio-item.hidden {
  display: none;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 136, 0.9);
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: all 0.35s ease;
}
.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}
.portfolio-item-date {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 8px;
}
.portfolio-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}
.portfolio-item-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 16px;
}
.portfolio-item-tags {
  display: flex;
  gap: 8px;
}
.portfolio-item-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-accent);
  color: var(--color-dark);
  padding: 2px 8px;
  border-radius: 10px;
}

/* Kurullar & Yönetim Organları Kart Tasarımı */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.committee-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px 24px;
  transition: all 0.3s;
  border-top: 4px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.committee-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-accent);
}
.committee-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}
.committee-card-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.committee-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.committee-card-link:hover {
  color: var(--color-accent);
}

/* responsive */
@media (max-width: 992px) {
  .news-card-item { flex: 0 0 calc(50% - 10px); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .committee-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .slider-container { height: 400px; }
  .news-card-item { flex: 0 0 100%; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .committee-grid { grid-template-columns: 1fr; }
}

