/**
 * Türkiye Hosting Firmaları Sayfası Özel CSS
 * Optimized and Modern Design
 */

/* Page Container */
article.container {
  max-width: 1200px;
}

/* Header Section */
article header {
  margin-bottom: 3rem;
}

article header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
}

article header .lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 800px;
  margin: 0 auto;
}

/* Statistics Cards */
.row .card {
  border: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  height: 100%;
}

.row .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.row .card-body {
  padding: 1.5rem;
}

.row .card-body i {
  transition: transform 0.3s ease;
}

.row .card:hover .card-body i {
  transform: scale(1.1) rotate(5deg);
}

.row .card-body .h2 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.row .card-body p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Section Headers */
section h2.h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #212529;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

section h2.h3 i {
  font-size: 1.25rem;
}

/* Comparison Table */
.table-responsive {
  border-radius: 0.5rem;
  overflow: hidden;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 1rem;
  border: none;
}

.table tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid #e9ecef;
}

.table tbody tr:hover {
  background-color: rgba(102, 126, 234, 0.05);
  transform: scale(1.01);
}

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border: none;
}

.table tbody td strong {
  color: #212529;
}

.table .btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 0.375rem;
}

/* Price Comparison Cards */
#priceComparisonCards .card {
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

#priceComparisonCards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

#priceComparisonCards .card-header {
  padding: 1rem 1.25rem;
  font-weight: 600;
}

#priceComparisonCards .card-body {
  padding: 1.5rem;
}

#priceComparisonCards .display-4 {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

#priceComparisonCards .list-unstyled li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

#priceComparisonCards .list-unstyled li i {
  color: #28a745;
  font-size: 0.85rem;
}

#priceComparisonCards .card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #e9ecef;
}

/* Features Comparison */
#featuresComparison .card {
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  height: 100%;
}

#featuresComparison .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

#featuresComparison .card-body {
  padding: 1.5rem;
}

#featuresComparison .card-body i {
  transition: transform 0.3s ease;
}

#featuresComparison .card:hover .card-body i {
  transform: scale(1.15) rotate(5deg);
}

/* Why Turkish Hosting Section */
.card.bg-light {
  border-radius: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.card.bg-light .card-body {
  padding: 2.5rem;
}

.card.bg-light h2.h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.card.bg-light .col-md-4 {
  margin-bottom: 1.5rem;
}

.card.bg-light .col-md-4:last-child {
  margin-bottom: 0;
}

.card.bg-light i {
  transition: transform 0.3s ease;
  margin-bottom: 1rem;
}

.card.bg-light .col-md-4:hover i {
  transform: scale(1.1) rotate(5deg);
}

.card.bg-light h4.h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card.bg-light p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* User Reviews */
#userReviews .card {
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  height: 100%;
}

#userReviews .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

#userReviews .card-body {
  padding: 1.5rem;
}

#userReviews .card-body strong {
  font-size: 1rem;
  color: #212529;
}

#userReviews .card-body p {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 1rem 0;
  line-height: 1.6;
}

#userReviews .card-body small {
  font-size: 0.8rem;
  color: #adb5bd;
}

/* Badges */
.badge {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #5568d3;
}

/* Loading States */
.spinner-border {
  width: 2rem;
  height: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
  article header {
    margin-bottom: 2rem;
  }
  
  .card.bg-light .card-body {
    padding: 2rem 1.5rem;
  }
  
  .table thead th,
  .table tbody td {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  article header h1 {
    font-size: 1.75rem;
  }
  
  article header .lead {
    font-size: 1rem;
  }
  
  section h2.h3 {
    font-size: 1.25rem;
  }
  
  .row .card-body {
    padding: 1.25rem;
  }
  
  .row .card-body .h2 {
    font-size: 1.75rem;
  }
  
  .card.bg-light .card-body {
    padding: 1.5rem 1rem;
  }
  
  .card.bg-light h2.h3 {
    font-size: 1.5rem;
  }
  
  #priceComparisonCards .display-4 {
    font-size: 2rem;
  }
  
  .table {
    font-size: 0.8rem;
  }
  
  .table thead th,
  .table tbody td {
    padding: 0.6rem 0.4rem;
  }
}

@media (max-width: 576px) {
  article header {
    margin-bottom: 1.5rem;
  }
  
  article header h1 {
    font-size: 1.5rem;
  }
  
  section h2.h3 {
    font-size: 1.1rem;
  }
  
  .row .card-body {
    padding: 1rem;
  }
  
  .row .card-body .h2 {
    font-size: 1.5rem;
  }
  
  .card.bg-light .card-body {
    padding: 1.25rem 0.75rem;
  }
  
  #priceComparisonCards .display-4 {
    font-size: 1.75rem;
  }
}

/* Smooth Animations */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus States */
.card:focus,
.btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

