/* Profil Sayfası - Profesyonel Tasarım */

.profile-main {
  margin-top: 80px;
  min-height: calc(100vh - 160px);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Profil Header */
.profile-header {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.profile-avatar-section {
  display: flex;
  align-items: center;
  gap: 30px;
}

.profile-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #2563eb;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-avatar:hover {
  transform: scale(1.05);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-edit-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #2563eb;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  border: 3px solid white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-avatar:hover .avatar-edit-overlay {
  opacity: 1;
}

.profile-basic-info h1.profile-name {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.profile-email {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 15px;
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 15px;
}

.status-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.join-date {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Profil İstatistikleri */
.profile-stats {
  display: flex;
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  color: white;
  min-width: 120px;
  box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Menü Kartları Grid */
.profile-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.menu-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.menu-card:hover::before {
  transform: scaleX(1);
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.menu-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.menu-card:hover .menu-icon {
  transform: scale(1.1);
}

.menu-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.menu-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.menu-arrow {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #d1d5db;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.menu-card:hover .menu-arrow {
  color: #2563eb;
  transform: translateX(5px);
}

/* Çıkış Bölümü */
.logout-section {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.logout-btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220,38,38,0.3);
}

.logout-btn i {
  font-size: 1rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .profile-main {
    margin-top: 70px;
    padding: 20px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .profile-header {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
    text-align: center;
  }
  
  .profile-avatar-section {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .profile-basic-info h1.profile-name {
    font-size: 1.8rem;
  }
  
  .profile-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .stat-item {
    min-width: 100px;
    padding: 15px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .profile-menu-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .menu-card {
    padding: 25px 20px;
  }
  
  .menu-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .menu-card h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .profile-header {
    padding: 20px 15px;
  }
  
  .profile-avatar {
    width: 100px;
    height: 100px;
  }
  
  .profile-basic-info h1.profile-name {
    font-size: 1.6rem;
  }
  
  .profile-status {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .profile-stats {
    gap: 10px;
  }
  
  .stat-item {
    min-width: 80px;
    padding: 12px 8px;
  }
  
  .menu-card {
    padding: 20px 15px;
  }
  
  .logout-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Animasyonlar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-header {
  animation: fadeInUp 0.6s ease-out;
}

.menu-card {
  animation: fadeInUp 0.6s ease-out;
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-card:nth-child(3) { animation-delay: 0.3s; }
.menu-card:nth-child(4) { animation-delay: 0.4s; }
.menu-card:nth-child(5) { animation-delay: 0.5s; }
.menu-card:nth-child(6) { animation-delay: 0.6s; }

.logout-section {
  animation: fadeInUp 0.6s ease-out 0.7s both;
}
