/* Özel stiller */
:root {
  --atu-primary: #003366;
  --atu-secondary: #E31E24;
  --atu-light-bg: #f8f9fa;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 76px;
  background-color: #f5f7fa;
}

/* Beyaz Navbar */
.navbar-white {
  background-color: #ffffff !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

  .navbar-white .navbar-brand {
    color: var(--atu-primary) !important;
    font-weight: 700;
  }

    .navbar-white .navbar-brand img {
      height: 40px;
    }

  .navbar-white .nav-link {
    color: #2c3e50 !important;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
  }

    .navbar-white .nav-link:hover {
      color: var(--atu-primary) !important;
      background-color: rgba(0, 51, 102, 0.05);
    }

    .navbar-white .nav-link.active {
      color: var(--atu-primary) !important;
      background-color: rgba(0, 51, 102, 0.08);
    }

      .navbar-white .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        background-color: var(--atu-secondary);
        border-radius: 2px;
      }

  .navbar-white .navbar-toggler {
    border-color: var(--atu-primary);
  }

  .navbar-white .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 51, 102, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

.bg-atu-primary {
  background-color: var(--atu-primary) !important;
}

.text-atu-primary {
  color: var(--atu-primary) !important;
}

.text-atu-secondary {
  color: var(--atu-secondary) !important;
}

.btn-atu-primary {
  background-color: var(--atu-primary);
  color: white;
}

  .btn-atu-primary:hover {
    background-color: #002244;
    color: white;
  }

.hero-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-image {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.stat-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 16px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

  .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
  }

  .stat-card .stat-icon {
    font-size: 2.2rem;
    color: var(--atu-primary);
    background: rgba(0, 51, 102, 0.08);
    padding: 12px;
    border-radius: 12px;
  }

  .stat-card .stat-number {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--atu-primary);
    line-height: 1.2;
  }

  .stat-card .stat-label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
  }

.chart-container {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}

  .chart-container:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  }

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: var(--atu-primary);
}

  .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--atu-secondary);
    border-radius: 2px;
  }

.section-bg-light {
  background-color: #ffffff;
}

.section-bg-gray {
  background-color: #f8f9fa;
}

footer {
  background-color: #1a1a2e;
  color: #eee;
}

  footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
  }

    footer a:hover {
      color: white;
    }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  transition: all 0.3s ease;
  margin: 0 5px;
}

  .social-icon:hover {
    background: var(--atu-secondary);
    color: white;
    transform: scale(1.1);
  }

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--atu-secondary);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(227, 30, 36, 0.4);
  transition: all 0.3s ease;
  display: none;
  cursor: pointer;
}

  .back-to-top:hover {
    transform: translateY(-5px);
    background: #c41a1f;
    box-shadow: 0 6px 25px rgba(227, 30, 36, 0.5);
  }

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 66px;
  }

  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  .stat-card .stat-number {
    font-size: 2rem;
  }

  .navbar-white .nav-link {
    padding: 0.4rem 0.8rem;
  }
}
/* Chart container'larını sabitle */
.chart-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 300px;
  overflow: hidden;
}

  .chart-container canvas {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    display: block;
  }

/* Responsive için */
@media (max-width: 768px) {
  .chart-container {
    min-height: 250px;
  }
}

/* Chart.js'in kendi boyutlandırmasını engelle */
.chartjs-size-monitor,
.chartjs-size-monitor-expand,
.chartjs-size-monitor-shrink {
  display: none !important;
}

