/* UI/UX PRO MAX - CANBOLAT HUKUK DESIGN SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* 60-30-10 Renk Teorisi - Resmi Yargı Bordosu & Altın Hukuk Teması */
  --bg-primary: #080808;       /* %60 - Ana Arka Plan (Derin Yargı Siyah-Bordosu) */
  --bg-secondary: #121212;     /* %60 - İkincil Arka Plan */
  --bg-card: #1A1A1A;          /* %60 - Kart Arka Planı */
  --bg-glass: rgba(10, 10, 10, 0.88);
  
  --text-primary: #EDE5E8;     /* %30 - Metin Ana Renk (Kemik Beyazı) */
  --text-secondary: #AB9B9F;   /* %30 - İkincil Metin */
  --text-muted: #7A696E;       /* %30 - Yardımcı Metin */
  --border: #333333;           /* %30 - Çerçeve Rengi */
  --border-light: rgba(237, 229, 232, 0.12);

  --accent: #C5A059;           /* %10 - Vurgu Rengi (Altın) */
  --accent-hover: #D4AF37;     /* %10 - Vurgu Hover */
  --accent-light: rgba(197, 160, 89, 0.15);
  --accent-glow: rgba(197, 160, 89, 0.35);

  /* Durum Renkleri */
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;

  /* 8dp Boşluk Kuralı (Spacing Grid) */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;

  /* Tipografi */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Cormorant Garamond', serif;

  /* Gölgeler & Geçişler */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 25px rgba(197, 160, 89, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* Sıfırlama & Temel Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 36px; /* sabit news ticker yüksekliği */
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Tipografi Hiyerarşisi */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--s2);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.25rem); font-family: var(--font-main); font-weight: 600; }

p {
  margin-bottom: var(--s2);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Layout Konteyner */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s3);
}

.section {
  padding: 50px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--s6);
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title p {
  max-width: 600px;
  margin: var(--s3) auto 0;
  font-size: 1.1rem;
}

/* Buton Tasarımları */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: var(--font-main);
  letter-spacing: 0.5px;
  text-transform: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #000000;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent-light);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #0F080B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1001;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.top-bar.scrolled {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.top-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: clamp(20px, 4vw, 50px);
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.top-bar-left a, .top-bar-right a {
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left a:hover, .top-bar-right a:hover {
  color: var(--accent);
}

.top-bar-right a {
  font-size: 1rem;
}

.top-bar-right a:hover {
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: top 0.3s ease, height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  top: 0;
  height: 75px;
  background-color: rgba(22, 13, 17, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: clamp(20px, 4vw, 60px);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--s1);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.navbar.scrolled .logo img {
  height: 50px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 28px);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: var(--s1) 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

/* Navbar Dropdown (Ekibimiz vb.) */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown > .nav-link {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-card);
  min-width: 260px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  text-align: center;
}

.dropdown-menu a:hover {
  background-color: rgba(212, 175, 55, 0.12);
  color: var(--accent);
}

.mobile-toggle,
.menu-toggle {
  display: none !important;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.75rem;
  cursor: pointer;
}

/* Hero Bölümü */
.hero {
  padding: 190px 0 60px 0;
  background: linear-gradient(135deg, rgba(22, 13, 17, 0.95) 0%, rgba(30, 18, 23, 0.85) 100%),
              url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80') center/cover;
  position: relative;
}

.hero-content {
  max-width: 750px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--s3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s4);
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin-top: var(--s8);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
}

.stat-item h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--accent);
  margin-bottom: 0;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Kartlar (UI/UX Pro Max Grouping) */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); }

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--s4);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 56px;
  height: 56px;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--s3);
}

/* Kadro Profil Kartları */
.team-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.team-img-wrapper {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-card);
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-info {
  padding: var(--s3);
}

.team-info h3 {
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.team-role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--s2);
  display: block;
}

/* Video ve Blog Kartları */
.media-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.media-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: var(--bg-card);
  overflow: hidden;
}

.media-thumb img,
.media-thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumb-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  cursor: pointer;
  z-index: 2;
}
.media-card:hover .media-thumb-overlay {
  background: rgba(0,0,0,0.2);
}
.play-btn-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f3e5ab);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-left: 3px;
}
.media-card:hover .play-btn-icon {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.8);
}

.media-content {
  padding: var(--s3);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.media-tag {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--s1);
  text-transform: uppercase;
}

/* Form Tasarımı & UX Loading */
.form-group {
  margin-bottom: var(--s3);
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--s1);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* Spinner (Loading State) */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Toast Bildirimi */
#toast-container {
  position: fixed;
  bottom: var(--s4);
  right: var(--s4);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.toast {
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--s1);
  animation: slideIn 0.3s ease, fadeOut 0.5s ease 3.5s forwards;
}

.toast-success { background-color: var(--success); }
.toast-error { background-color: var(--error); }
.toast-warning { background-color: var(--warning); color: #000; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-10px); }
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 13, 17, 0.85);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s2);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Giriş/Kayıt modalleri için alias (app.js modal-overlay class kullanıyor) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 13, 17, 0.85);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s2);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-overlay.active .modal {
  transform: scale(1);
}

.modal {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 550px;
  padding: var(--s4);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s3);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--s2);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: var(--transition);
}
.modal-close:hover { color: var(--accent); background: var(--accent-light); }

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--s8) 0 var(--s4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--s6);
  margin-bottom: var(--s6);
}

.footer-about p {
  font-size: 0.95rem;
}

.footer-col h4 {
  color: #FFFFFF;
  margin-bottom: var(--s3);
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: var(--s1);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Kuralları */
@media (max-width: 900px) {
  .top-bar { display: none !important; }
  .navbar { top: 0 !important; }
}

@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1150px) {
  .nav-container { justify-content: center !important; position: relative; padding: 0 var(--s2); }
  .mobile-toggle, .menu-toggle { display: block !important; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
  .nav-links {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: var(--s4) var(--s3);
    transition: var(--transition);
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-links.active { left: 0; }
  .nav-dropdown { width: 100%; text-align: center; }
  .dropdown-menu {
    display: none;
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    min-width: 100%;
    margin-top: 5px;
  }
  .dropdown-menu a { padding: 10px 12px; font-size: 0.95rem; }
  .navbar .logo img { height: 65px !important; }
  .nav-container { height: 65px; }
  .nav-links { height: calc(100vh - 65px); top: 65px; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr !important; gap: var(--s4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s5); text-align: center; }
  .footer-about { text-align: center; }
  .section { padding: var(--s4) 0; }
  .hero { padding: 220px 0 50px 0; }
  .hero h1 { font-size: 2.2rem !important; line-height: 1.25; }
  .hero p { font-size: 1.05rem !important; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 16px; }
  .hero-buttons .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
  .hero-stats .stat-item h3 { font-size: 1.8rem; }
  .modal { padding: var(--s3); max-width: 95%; max-height: 85vh; }
  table, .table-responsive { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  iframe, video, embed, object { max-width: 100% !important; }
  input, select, textarea { min-height: 48px; }
  .btn { min-height: 44px; }
  .news-ticker-title { font-size: 0.75rem; padding: 0 10px; }
  .news-ticker-content { font-size: 0.85rem; }
  .container { padding: 0 var(--s2); }

  /* Çerez Banner Mobil */
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    bottom: 15px;
    width: calc(100% - 30px);
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: stretch;
    gap: 12px;
  }
  .cookie-banner-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.85rem;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .hero { padding: 220px 0 40px 0; }
  .hero h1 { font-size: 1.85rem !important; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: var(--s1); }
  .hero-stats .stat-item h3 { font-size: 1.5rem; }
  .section { padding: var(--s4) 0; }
  .card { padding: var(--s3) !important; }
  .navbar .logo img { height: 65px !important; }
  .nav-container { height: 65px; }
  .nav-links { height: calc(100vh - 65px); top: 65px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { gap: var(--s3) !important; }
  .container { padding: 0 16px; }
  /* Sadece hero butonlarında tam genişlik, nav butonlarında değil */
  .hero-buttons .btn { width: 100%; }
  /* Section başlıkları */
  .section-title h2 { font-size: 1.6rem !important; }
  /* Form */
  .form-input, .form-select, .form-textarea { font-size: 16px; } /* iOS zoom engellemesi */
  /* hero-stats dar ekranda tek kolon */
  .hero-stats { grid-template-columns: 1fr !important; gap: var(--s2); margin-top: var(--s4); }
  .hero-stats .stat-item { display: flex; align-items: center; gap: var(--s2); }
  .hero-stats .stat-item h3 { margin-bottom: 0; }
}

/* Lang toggle & küçük buton dokunma alanı */
@media (max-width: 768px) {
  .lang-toggle { width: 44px; height: 44px; font-size: 1rem; }
  .btn-sm { padding: 10px 16px; min-height: 44px; font-size: 0.9rem; }
  .footer-links a { display: block; padding: 6px 0; }
  .team-img-wrapper { height: 240px; }
  .section-title p { font-size: 1rem; }
}

/* Toast mobil */
@media (max-width: 480px) {
  #toast-container { left: 16px; right: 16px; bottom: 70px; }
  .toast { width: 100%; }
}

/* ========================================================================= */
/* FAZ 4: İLERİ DÜZEY İYİLEŞTİRMELER (THEME, TICKER, WHATSAPP, LANG) */
/* ========================================================================= */

/* Tema ve Dil Butonları */
/* Google Translate Gizleme */
#google_translate_element { display: none !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0px !important; }
.goog-tooltip { display: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }

/* Masaüstünde mobil iletişim bloğunu gizle */
@media (min-width: 1151px) {
  .mobile-contact-info { display: none !important; }
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 15px;
}
.lang-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-family: var(--font-main);
  font-weight: 600;
  text-decoration: none;
}
.lang-toggle:hover {
  background: var(--accent);
  color: #160D11;
  border-color: var(--accent);
  transform: scale(1.1);
}

/* Kayan Haber Bandı (News Ticker) */
.news-ticker-container {
  background: var(--accent);
  color: #000;
  padding: 6px 0;
  overflow: hidden;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.news-ticker-title {
  background: #000;
  color: var(--accent);
  padding: 6px 15px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-ticker-content {
  white-space: nowrap;
  animation: ticker 75s linear infinite;
  padding-left: 100%;
}
.news-ticker-content:hover {
  animation-play-state: paused;
}
@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* WhatsApp Widget */
.wa-widget {
  position: fixed;
  z-index: 1000;
  bottom: 50px;
  left: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  animation: wa-pulse 2s infinite;
  transition: transform 0.3s ease;
}
.wa-widget:hover {
  transform: scale(1.1);
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}




/* ========================================================================= */
/* ULTRAWIDE (3440px+ vb.) EKRANLAR İÇİN DİNAMİK ÖLÇEKLENDİRME */
/* ========================================================================= */
@media (min-width: 1600px) {
  html {
    font-size: 18px; /* Her şeyi orantılı olarak büyütür (rem tabanlı) */
  }
  .container {
    max-width: 1440px;
  }
}

@media (min-width: 2560px) {
  html {
    font-size: 21px; /* Devasa ekranlarda daha da büyütür */
  }
  .container {
    max-width: 1600px;
  }
}

@media (min-width: 3400px) {
  html {
    font-size: 24px;
  }
  .container {
    max-width: 1920px;
  }
}



@media (max-width: 768px) {
  .team-img-wrapper {
    height: 380px !important;
  }
  .team-img-wrapper img {
    object-position: top center !important;
  }
}


@media (max-width: 1150px) {
  .nav-dropdown.mobile-open .dropdown-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    background: rgba(0, 0, 0, 0.2) !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    margin-top: 5px !important;
  }
}


@media (max-width: 1024px) {
  .top-bar { 
    display: flex !important;
    height: auto !important;
    min-height: 40px;
    padding: 6px 0 !important;
    position: absolute !important;
    top: 0;
    width: 100%;
  }
  .top-bar.scrolled {
    transform: none !important;
    display: none !important;
  }
  .top-bar-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    width: 100%;
  }
  .top-bar-left {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .top-bar-left a {
    font-size: 0.75rem;
  }
  .top-bar-left > span {
    display: none; /* Hide the bullets on mobile to save space, but NOT the numbers inside links */
  }
  .top-bar-right {
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .top-bar-right svg {
    width: 13px;
    height: 13px;
  }
  .navbar {
    top: 68px !important; /* Will be dynamically adjusted by JS if needed, but 68px is a solid default for 2 rows */
  }
  .navbar.scrolled {
    top: 0 !important;
  }
}

