/* Elektrik Teması - Özel CSS */

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #f59e0b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  --light-color: #f8fafc;
  --dark-color: #1f2937;
  --electric-blue: #0ea5e9;
  --electric-yellow: #fbbf24;
}

/* Genel Stiller */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

/* Navigation */
.navbar {
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  margin-right: 0;
}

.navbar-logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  margin-right: 0.5rem;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-collapse {
  margin-top: 1rem;
}

.navbar-nav {
  text-align: center;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--electric-blue) 100%
  );
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Hero Video */
.hero-video {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-video-player {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
  background: #000;
}

.hero-video-player:hover {
  transform: scale(1.02);
}

/* Video Responsive */
@media (max-width: 768px) {
  .hero-video-player {
    height: 250px;
  }
}

/* Video Showcase */
.video-showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  background: #000;
}

.showcase-video {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-showcase:hover .video-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: white;
  transform: scale(1.1);
}

/* Video Showcase Responsive */
@media (max-width: 768px) {
  .showcase-video {
    max-height: 250px;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-content .lead {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-icon {
  font-size: 15rem;
  color: var(--electric-yellow);
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hero-buttons .btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--electric-blue)
  );
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--electric-blue)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.service-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-card {
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--electric-yellow)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.feature-card h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #6b7280;
}

/* About Section */
.about-icon {
  font-size: 12rem;
  color: var(--electric-blue);
  opacity: 0.1;
  text-align: center;
  display: block;
}

.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-item {
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--success-color), #34d399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.contact-item h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-item p {
  color: #6b7280;
  font-size: 1.1rem;
}

/* Form Stiller */
.form-control {
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Button Stiller */
.btn {
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  padding: 12px 25px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--electric-blue)
  );
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-warning {
  background: linear-gradient(
    135deg,
    var(--warning-color),
    var(--electric-yellow)
  );
  color: white;
  border: none;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color), #34d399);
  border: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669, #10b981);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* Card Stiller */
.card {
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--electric-blue)
  );
  color: white;
  border-radius: 15px 15px 0 0 !important;
  border: none;
  padding: 1.5rem;
}

/* Status Badges */
.badge {
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-icon {
    font-size: 8rem;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .service-card,
  .feature-card,
  .contact-item {
    margin-bottom: 2rem;
  }

  /* Hero Section Mobile Fixes */
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }

  .hero-content {
    text-align: center;
    padding: 1rem 0;
  }

  .hero-content h1 {
    font-size: 1.8rem !important;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero-content .lead {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero-buttons {
    margin-top: 1.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .hero-video {
    margin-top: 2rem;
  }

  .hero-video-player {
    height: 200px;
    border-radius: 10px;
  }

  /* Navigation Mobile */
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-brand {
    font-size: 1.1rem;
    flex: 1;
    justify-content: flex-start;
  }

  .navbar-logo {
    height: 32px;
    margin-right: 0.3rem;
  }

  .navbar-toggler {
    padding: 0.2rem 0.4rem;
    font-size: 1.1rem;
    margin-left: auto;
  }

  .navbar-collapse {
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    backdrop-filter: blur(10px);
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    margin: 0.25rem 0;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
  }

  .navbar-nav .btn {
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
  }

  /* Service Cards Mobile */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-description {
    font-size: 0.9rem;
  }

  /* Feature Cards Mobile */
  .feature-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* About Section Mobile */
  .about-icon {
    font-size: 8rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  /* Contact Section Mobile */
  .contact-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Form Mobile */
  .form-control {
    padding: 12px 15px;
    font-size: 16px; /* iOS zoom önleme */
  }

  .form-label {
    font-size: 0.9rem;
  }

  /* Button Mobile */
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 15px 25px;
    font-size: 1rem;
  }
}

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem !important;
    line-height: 1.1;
  }

  .hero-content .lead {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .hero-icon {
    font-size: 6rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .service-card,
  .feature-card,
  .contact-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .service-icon,
  .feature-icon,
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .about-icon {
    font-size: 6rem;
  }

  .stat-item h3 {
    font-size: 1.8rem;
  }

  .navbar-brand {
    font-size: 0.9rem;
  }

  .navbar-logo {
    height: 28px;
    margin-right: 0.2rem;
  }

  .navbar-toggler {
    padding: 0.15rem 0.3rem;
    font-size: 1rem;
  }

  .navbar-collapse {
    margin-top: 0.3rem;
    padding: 0.75rem;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .btn {
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Very Small Devices (phones, 480px and down) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem !important;
    line-height: 1.1;
  }

  .hero-content .lead {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .hero-buttons .btn {
    padding: 10px 15px;
    font-size: 0.85rem;
  }

  .hero-video-player {
    height: 180px;
  }

  .hero-icon {
    font-size: 5rem;
  }

  .display-4 {
    font-size: 1.8rem;
  }

  .display-5 {
    font-size: 1.3rem;
  }

  .service-card,
  .feature-card,
  .contact-item {
    padding: 0.8rem;
  }

  .service-icon,
  .feature-icon,
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .about-icon {
    font-size: 5rem;
  }

  .stat-item h3 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .btn-lg {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

/* Social Media Logos */
.social-logos {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.social-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1;
}

.social-logo i {
  font-size: 1.3rem;
  color: white;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.social-logo:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.social-logo:hover i {
  transform: scale(1.1);
}

/* YouTube Logo */
.youtube-logo {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}

.youtube-logo:hover {
  background: linear-gradient(135deg, #cc0000, #990000);
}

/* Instagram Logo */
.instagram-logo {
  background: linear-gradient(
    135deg,
    #e4405f,
    #c13584,
    #833ab4,
    #fd1d1d,
    #fcb045
  );
}

.instagram-logo:hover {
  background: linear-gradient(135deg, #c13584, #833ab4, #fd1d1d, #fcb045);
}

/* TikTok Logo */
.tiktok-logo {
  background: linear-gradient(135deg, #000000, #ff0050);
}

.tiktok-logo:hover {
  background: linear-gradient(135deg, #ff0050, #000000);
}

/* Facebook Logo */
.facebook-logo {
  background: linear-gradient(135deg, #1877f2, #0d47a1);
}

.facebook-logo:hover {
  background: linear-gradient(135deg, #0d47a1, #1877f2);
}

/* Social Media Logos Responsive */
@media (max-width: 768px) {
  .social-logos {
    gap: 10px;
  }

  .social-logo {
    width: 40px;
    height: 40px;
  }

  .social-logo i {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .social-logos {
    gap: 8px;
  }

  .social-logo {
    width: 35px;
    height: 35px;
  }

  .social-logo i {
    font-size: 1rem;
  }
}

/* Work Order Form Mobile */
@media (max-width: 768px) {
  .card {
    margin: 1rem 0;
    border-radius: 10px;
  }

  .card-header {
    padding: 1rem;
    font-size: 1.1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .form-control,
  .form-select {
    font-size: 16px; /* iOS zoom önleme */
    padding: 12px 15px;
  }

  .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .btn-lg {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
  }

  .alert {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}

/* Admin Panel Mobile */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .sidebar.show {
    left: 0;
  }

  .main-content {
    margin-left: 0;
    padding: 1rem;
  }

  .stat-card {
    margin-bottom: 1rem;
  }

  .table-responsive {
    font-size: 0.8rem;
  }

  .btn-group .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 10px;
  }
}

/* Animasyonlar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--electric-blue)
  );
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

/* Admin Panel Specific Styles */
.sidebar {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--electric-blue)
  );
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  border-radius: 8px;
  margin-bottom: 5px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.stat-card {
  background: linear-gradient(135deg, #fff, #f8fafc);
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--electric-blue)
  );
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-marker {
  position: absolute;
  left: -35px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--bs-primary);
}

.timeline-content {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid var(--bs-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form Enhancements */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Table Enhancements */
.table-hover tbody tr:hover {
  background-color: rgba(30, 58, 138, 0.05);
}

.table th {
  background-color: var(--primary-color);
  color: white;
  border: none;
  font-weight: 600;
}

/* Badge Enhancements */
.badge {
  font-size: 0.75rem;
  padding: 0.5em 0.75em;
  border-radius: 20px;
  font-weight: 600;
}

/* Card Enhancements */
.card {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--electric-blue)
  );
  color: white;
  border: none;
  font-weight: 600;
}

/* Alert Enhancements */
.alert {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  color: #0c5460;
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  color: #856404;
}

/* Button Enhancements */
.btn {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--electric-blue)
  );
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af, #0284c7);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color), #34d399);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-warning {
  background: linear-gradient(
    135deg,
    var(--warning-color),
    var(--electric-yellow)
  );
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger-color), #f87171);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Modal Enhancements */
.modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--electric-blue)
  );
  color: white;
  border-radius: 15px 15px 0 0;
  border: none;
}

.modal-footer {
  border: none;
  background: #f8f9fa;
  border-radius: 0 0 15px 15px;
}

/* Pagination Enhancements */
.pagination .page-link {
  border: none;
  color: var(--primary-color);
  border-radius: 8px;
  margin: 0 2px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--electric-blue)
  );
  border: none;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Loading Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

/* Admin Panel Mobile Enhancements */
@media (max-width: 768px) {
  /* Sidebar Mobile */
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    height: 100vh;
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
  }

  .sidebar.show {
    left: 0;
  }

  /* Mobile Toggle Button */
  .mobile-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1060;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .mobile-toggle:hover {
    background: var(--electric-blue);
    transform: scale(1.05);
  }

  /* Main Content Mobile */
  .main-content {
    margin-left: 0;
    padding: 1rem 0.5rem;
    padding-top: 4rem; /* Space for mobile toggle */
  }

  /* Cards Mobile */
  .card {
    margin: 0.5rem 0;
    border-radius: 10px;
  }

  .card-header {
    padding: 1rem 0.75rem;
    font-size: 1rem;
  }

  .card-body {
    padding: 1rem 0.75rem;
  }

  /* Tables Mobile */
  .table-responsive {
    font-size: 0.8rem;
    border-radius: 8px;
    overflow-x: auto;
  }

  .table th,
  .table td {
    padding: 0.5rem 0.25rem;
    white-space: nowrap;
  }

  .table th {
    font-size: 0.75rem;
    font-weight: 600;
  }

  /* Buttons Mobile */
  .btn-group .btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.7rem;
  }

  .btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }

  /* Forms Mobile */
  .form-control,
  .form-select {
    font-size: 16px; /* iOS zoom önleme */
    padding: 0.75rem;
  }

  .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  /* Stats Cards Mobile */
  .stat-card {
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .stat-card h3 {
    font-size: 1.5rem;
  }

  .stat-card p {
    font-size: 0.85rem;
  }

  /* Pagination Mobile */
  .pagination {
    font-size: 0.8rem;
  }

  .pagination .page-link {
    padding: 0.4rem 0.6rem;
  }

  /* Alerts Mobile */
  .alert {
    font-size: 0.85rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  /* Modal Mobile */
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .modal-content {
    border-radius: 10px;
  }

  .modal-header {
    padding: 1rem 0.75rem;
  }

  .modal-body {
    padding: 1rem 0.75rem;
  }

  .modal-footer {
    padding: 0.75rem;
  }

  /* Timeline Mobile */
  .timeline {
    padding-left: 20px;
  }

  .timeline-marker {
    left: -25px;
  }

  /* Sidebar Navigation Mobile */
  .sidebar .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .sidebar .nav-link i {
    font-size: 1rem;
    margin-right: 0.5rem;
  }

  /* Sidebar Brand Mobile */
  .sidebar .navbar-brand {
    padding: 1rem;
    font-size: 1.1rem;
  }

  .sidebar .navbar-brand i {
    font-size: 1.5rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 576px) {
  .sidebar {
    width: 90%;
  }

  .main-content {
    padding: 0.5rem 0.25rem;
    padding-top: 3.5rem;
  }

  .mobile-toggle {
    top: 10px;
    left: 10px;
    padding: 8px 10px;
    font-size: 1rem;
  }

  .card {
    margin: 0.25rem 0;
  }

  .card-header,
  .card-body {
    padding: 0.75rem 0.5rem;
  }

  .table-responsive {
    font-size: 0.7rem;
  }

  .table th,
  .table td {
    padding: 0.4rem 0.2rem;
  }

  .btn-group .btn {
    padding: 0.2rem 0.3rem;
    font-size: 0.65rem;
  }

  .form-control,
  .form-select {
    padding: 0.6rem;
    font-size: 16px;
  }

  .stat-card h3 {
    font-size: 1.3rem;
  }

  .pagination {
    font-size: 0.75rem;
  }

  .pagination .page-link {
    padding: 0.3rem 0.5rem;
  }
}
